CN100421431C - Method for realizing instant message communication - Google Patents
Method for realizing instant message communication Download PDFInfo
- Publication number
- CN100421431C CN100421431C CNB2005101154120A CN200510115412A CN100421431C CN 100421431 C CN100421431 C CN 100421431C CN B2005101154120 A CNB2005101154120 A CN B2005101154120A CN 200510115412 A CN200510115412 A CN 200510115412A CN 100421431 C CN100421431 C CN 100421431C
- Authority
- CN
- China
- Prior art keywords
- terminal
- login
- instant message
- access way
- immediate news
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The present invention relates to a method for realizing instant message communication, which comprises the following steps: login priority ratings are configured; a first terminal sends a request for login. Whether login in other modes exists is checked; if the login in other modes exists, then the login in the present access mode is compared for judging whether the login in the present access mode has a higher priority or not; if the login in the present access mode has the higher priority, then the login in other modes exits, or else the login is completed directly. The first terminal sends a request for transmitting instant messages to a second terminal; whether another user logs in or not is judged; if another user logs in, then the instant messages are sent to the user, or else a system can temporally store the instant messages and ends operation. In the present invention, users can log in the system in random one or a plurality of access modes according to own needs and control to the original logging states; moreover, the instant messages can be adapted according to the terminal capabilities of contacts, and the defects that some instant messages can not be obtained or identified due to the terminal capabilities are eliminated.
Description
Technical field
The present invention relates to a kind of method that realizes instant messaging, specifically is a kind of method that is applied to realize in moving communicating field and the wide area network field instant messaging.
Background technology
Instant messaging is a kind of message based real time communication mode in the wide area network field, and the user generally carries out instant messaging by the instant message client that is installed on the personal computer.Carry out the needs of instant messaging in various terminals along with the user, some immediate news systems have appearred, the method of multiple access immediate news systems can be provided, comprise access waies such as mobile phone short message, WAP browser and mobile phone terminal client, but there are following defectives in these immediate news systems:
1, immediate news systems can only can not be logined with plurality of access modes at one time with a kind of login mode login immediate news systems simultaneously.
2, immediate news systems can not come according to the end message that the user uses instant message is carried out sending to user terminal again after adaptive, instant message is not only the information of literal, also may be the information of audio or video, if do not carry out above-mentioned information adaptive, some terminal possibly can't receive, and perhaps receives unrecognizable information.
Summary of the invention
The purpose of this invention is to provide a kind of method that realizes instant messaging, can solve can't be simultaneously with the plurality of access modes login problem, and can carry out content adaptation to instant message according to terminal capability.
For achieving the above object, the invention provides a kind of method that realizes instant messaging, wherein carry out following steps:
Step 1, immediate news systems are provided with the priority level of the login of access way;
Step 2, first terminal are sent log-in request according to user's order to described immediate news systems;
Step 3, described immediate news systems are checked the whether login of existing other access way of described user, are execution in step 4 then, otherwise execution in step 6;
Step 4, described immediate news systems check whether the current access way of described first terminal request login has higher described priority level than the described login that has other access way, it is the login of then withdrawing from described other access way, and execution in step 6, otherwise execution in step 5;
Step 5, described immediate news systems judge whether to abandon the login of current access way according to described user's input information, are execution in step 10 then, otherwise execution in step 6;
Step 6, described immediate news systems are finished login according to the current access way of described first terminal;
Step 7, described first terminal are sent the request that transfers immediate news to second terminal according to described user's order to described immediate news systems;
Step 8, described immediate news systems judge whether described second terminal is logined, and are execution in step 9 then, otherwise the temporary described instant message of described immediate news systems, and execution in step 10;
Step 9, described immediate news systems send to described second terminal with described instant message, the content adaptation services device that is specially in the described immediate news systems carries out content adaptation according to the access way and the terminal capability of described second terminal to described instant messages, and the instant message after adaptive is forwarded to described second terminal through server of instant message;
Step 10, end operation.
Therefore, the present invention has the following advantages:
1, can be with plurality of access modes login system simultaneously, the user can be according to oneself needs with any one access way login system, and original logging status is controlled.
2, can carry out adaptively according to the state information of user terminal to the instant message content, eliminate because the defective that some instant message that terminal capability causes can't obtain or discern.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the structural representation of the immediate news systems of realization the inventive method.
Fig. 2 is the flow chart of one embodiment of the invention.
Embodiment
The present invention has used a kind of method that realizes instant messaging in immediate news systems commonly used, can realize logining simultaneously in many ways, and send instant message after adaptive according to contact person's terminal capability and access way.
Be illustrated in figure 1 as the structural representation of the immediate news systems of realizing the inventive method, wherein portable terminal 1 can insert entity 41 with the short message mode connecting system by note, or insert entity 42 with multimedia message mode connecting system by multimedia message, or insert entity 43 with WAP mode connecting system by WAP, or by being installed in the direct connecting system of client software in the portable terminal 1, PC (PC) terminal 2 can insert the mode connecting system of entity 44 with web browser by WWW, or by the direct connecting system of the client software that is installed in PC terminal 2.If the operation agreement of client is different with the agreement of server of instant message 5, then need to carry out protocol conversion by protocol conversion gateway 3.Server of instant message 5 provides the interface of various access waies, and the function of instant message transrecieving is provided.User data management server 6 has been stored user's the information of immediate news systems and contacts list etc., state (Presence) server 7 can recording user state information, and state information pushed, state information comprises the information etc. of user's logging status, access way and terminal capability, and content adaptation services device 8 carries out corresponding adaptive according to status data to the instant message content of submitting to.
See also Fig. 2, Fig. 2 is the flow chart of one embodiment of the invention, step is: step 101, server of instant message 5 are provided with the priority level of access way, priority level can be set arbitrarily, the priority of access way is set to pc client in the present embodiment, mobile terminal client terminal priority is the highest, WAP browser, Web browser take second place, and multimedia message, note priority are minimum; Step 102, user A use WWW browser login immediate news systems, the PC terminal 2 of operation WWW browser is sent log-in request to server of instant message 5, user A can select any one access way login immediate news systems, do not limit to WWW browser in the present embodiment, can use access way login systems such as pc client, mobile terminal client terminal, WAP browser, Web browser, multimedia message, note; Step 103, server of instant message 5 send the request of the state information of obtaining user A to presence server 7, presence server 7 returns the state information of user A, state information comprises logging status, access way and the terminal capability etc. of user A, whether server of instant message 5 has had the login of other access waies according to the state information inspection, be execution in step 104, otherwise execution in step 109; The priority level that step 104, server of instant message 5 are provided with according to step 101 compares the access way of this login of user A and the priority of listed other access waies, if the access way priority height of this login then execution in step 105, the access way priority of this login is equal to or less than then execution in step 106; Step 105, immediate news systems withdraw from the login of former access way, and upgrade the state information of presence server 7; Step 106, server of instant message 5 receives users and whether abandons the instruction of login this time, is execution in step 115 then, otherwise execution in step 107; Step 107, server of instant message 5 receives the instruction whether users keep the login of former access way, is execution in step 109 then, otherwise execution in step 108; Step 108, immediate news systems withdraw from the login of former access way, and upgrade the state information of presence server 7; Step 109, immediate news systems are accepted this logging request of user A, and server of instant message 5 sends to presence server with state information and carries out Data Update; Step 110, PC terminal 2 are sent the request that transfers immediate news to user B according to the order of user A to server of instant message 5, comprise the content of instant message in this request, can be picture, audio or video etc.; Step 111, server of instant message 5 obtain the state information of user B to presence server 7, this state information comprises logging status, access way and terminal capability etc., server of instant message 5 judges according to state information whether user B logins, be execution in step 113 then, otherwise execution in step 112; Step 112, server of instant message 5 temporary described instant messages, after detecting user B login, content adaptation services device 8 will carry out content adaptation to instant message according to access way and the terminal capability of user B, and the instant message after adaptive sent it back server of instant message 5, server of instant message 5 sends to the instant message after adaptive the terminal of user B login again, and execution in step 115 then; The state information of instant message that step 113, server of instant message 5 send user A and the user B that obtains sends to content adaptation services device 8, content adaptation services device 8 carries out content adaptation according to access way in the state information and terminal capability with instant message, and the instant message after adaptive sent it back server of instant message 5, server of instant message 5 sends to the instant message after adaptive the terminal of user B login again; After the terminal of step 114, user B login receives instant message, send the successful message of acceptance to server of instant message 5; Step 115, end operation.
In the above-described embodiments, described terminal capability can comprise the memory size of terminal models, operating system version, terminal software version and terminal etc., described logging status comprises to be logined or not login, and described access way is access waies such as pc client, mobile terminal client terminal, WAP browser, Web browser, multimedia message, note.When access way is client, if client is different with the communication protocol of immediate news systems, need carry out protocol conversion by protocol conversion gateway 3, for instance: can between SIP/SIMPLE and OMA IMPS WV agreement, change, or can between SIP/SIMPLE and proprietary protocol, change.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can make amendment or the part technical characterictic is equal to replacement the specific embodiment of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.
Claims (11)
1. method that realizes instant messaging, comprising following steps:
Step 1, immediate news systems are provided with the priority level of the login of access way;
Step 2, first terminal are sent log-in request according to user's order to described immediate news systems;
Step 3, described immediate news systems are checked the whether login of existing other access way of described user, are execution in step 4 then, otherwise execution in step 6;
Step 4, described immediate news systems check whether the current access way of described first terminal request login has higher described priority level than the described login that has other access way, it is the login of then withdrawing from described other access way, and execution in step 6, otherwise execution in step 5;
Step 5, described immediate news systems judge whether to abandon the login of current access way according to described user's input information, are execution in step 10 then, otherwise execution in step 6;
Step 6, described immediate news systems are finished login according to the current access way of described first terminal;
Step 7, described first terminal are sent the request that transfers immediate news to second terminal according to described user's order to described immediate news systems;
Step 8, described immediate news systems judge whether described second terminal is logined, and are execution in step 9 then, otherwise the temporary described instant message of described immediate news systems, and execution in step 10;
Step 9, described immediate news systems send to described second terminal with described instant message, the content adaptation services device that is specially in the described immediate news systems carries out content adaptation according to the access way and the terminal capability of described second terminal to described instant message, and the instant message after adaptive is forwarded to described second terminal through server of instant message;
Step 10, end operation.
2. method according to claim 1, the priority level that the login of access way is set in the wherein said step 1 is specially: the priority level that PC client, mobile terminal client terminal are set is for high; During the priority level that WAP browser, Web browser are set is; The priority level that multimedia message, note are set is low.
3. method according to claim 1, wherein said step 2 is specially: described first terminal is sent the request of the described immediate news systems of login to server of instant message according to described user's order.
4. method according to claim 3, immediate news systems in the wherein said step 3 check described user whether the operation of the login of existing other access way be specially: the state server of server of instant message from described immediate news systems obtains described user's the state information that comprises logging status, access way and terminal capability, and the priority with the access way of the access way in this state information and this login compares then.
5. method according to claim 4, wherein said step 6 is specially: server of instant message transmits the state information of described user's login to described state server.
6. method according to claim 4, wherein said terminal capability comprise terminal models, operating system version, terminal software version, memory size.
7. method according to claim 1, also have additional following operation between wherein said step 5 and the step 6: the input according to described user judges whether to keep described other access way, be the login that then described immediate news systems keeps former access way, otherwise described former access way withdraw from described immediate news systems.
8. method according to claim 3 also has additional following operation between wherein said step 6 and the step 7:
Step 61, described first terminal send the request of obtaining contact list data according to described user's order by the user data management server of server of instant message in described immediate news systems;
Step 62, this user data management server return described user's contact list data to described first terminal by described server of instant message.
9. method according to claim 8, wherein said step 62 is specially: when described access way was WAP browser or Web browser, described user data management server was divided into contact list data a plurality of parts and is back to described first terminal respectively by described server of instant message according to the display size of described first terminal.
10. method according to claim 4, wherein said step 8 is specially: described server of instant message obtains the state information of described second terminal from described state server, and judge according to this state information whether this second terminal is logined, it is execution in step 9 then, otherwise described server of instant message is kept in described instant message, and execution in step 10.
11. method according to claim 1 after the wherein said step 9, is also set up following operation: described second terminal is sent the message of successfully accepting instant message to described immediate news systems.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101154120A CN100421431C (en) | 2005-11-03 | 2005-11-03 | Method for realizing instant message communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101154120A CN100421431C (en) | 2005-11-03 | 2005-11-03 | Method for realizing instant message communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1750518A CN1750518A (en) | 2006-03-22 |
CN100421431C true CN100421431C (en) | 2008-09-24 |
Family
ID=36605782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101154120A Active CN100421431C (en) | 2005-11-03 | 2005-11-03 | Method for realizing instant message communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100421431C (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047654B (en) * | 2006-03-31 | 2013-07-17 | 腾讯科技(深圳)有限公司 | Immediate communication system and method based on WAP |
CN102611639B (en) * | 2006-07-21 | 2015-04-08 | 华为技术有限公司 | System for sending instant message report in instant message system |
CN101035095B (en) * | 2007-04-09 | 2010-09-01 | 中国移动通信集团公司 | Information update method for member addition and exit in the temporary group of the instant message |
CN101388819A (en) * | 2008-10-17 | 2009-03-18 | 深圳市同洲电子股份有限公司 | Network access method, system and mobile terminal |
CN101854598B (en) * | 2009-04-01 | 2013-02-13 | 中国电信股份有限公司 | Method and system for switching instant messaging service between clients |
US9143533B2 (en) * | 2010-10-12 | 2015-09-22 | Skype | Integrating communications |
CN102480674A (en) * | 2010-11-26 | 2012-05-30 | 中国移动通信集团北京有限公司 | Data pushing method and state perceiving and pushing module as well as data pushing system |
CN102685167B (en) * | 2011-03-17 | 2016-03-09 | 深圳市同洲国际视讯有限公司 | A kind of multiple terminals business switch method and system |
CN103326925B (en) * | 2012-03-23 | 2016-06-15 | 腾讯科技(深圳)有限公司 | A kind of information push method and device |
CN103581117B (en) * | 2012-07-24 | 2016-12-21 | 国基电子(上海)有限公司 | Exclusive reference managing device and method |
CN103533152B (en) * | 2013-04-10 | 2016-08-03 | Tcl集团股份有限公司 | The SMS processing method of a kind of mobile terminal and system |
CN107770033A (en) * | 2016-08-16 | 2018-03-06 | 中国移动通信有限公司研究院 | A kind of method and device to be communicated between terminal in multisystem |
CN107395641A (en) * | 2017-08-30 | 2017-11-24 | 河南农业大学 | Authentication management method and device based on SSLVPN servers |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6430604B1 (en) * | 1999-08-03 | 2002-08-06 | International Business Machines Corporation | Technique for enabling messaging systems to use alternative message delivery mechanisms |
JP2004194006A (en) * | 2002-12-11 | 2004-07-08 | Nec Access Technica Ltd | Instant message communication system |
CN1540945A (en) * | 2003-04-23 | 2004-10-27 | �����е��ʽ���� | Communication device and communication method |
CN1614959A (en) * | 2003-11-06 | 2005-05-11 | 国际商业机器公司 | Method and system for multiple instant messaging login sessions |
JP2005182169A (en) * | 2003-12-16 | 2005-07-07 | Sony Corp | Communication system and method, information processor and method, program, and recording medium |
CN1642148A (en) * | 2004-01-17 | 2005-07-20 | 腾讯科技(深圳)有限公司 | Immediate communication treatment method |
-
2005
- 2005-11-03 CN CNB2005101154120A patent/CN100421431C/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6430604B1 (en) * | 1999-08-03 | 2002-08-06 | International Business Machines Corporation | Technique for enabling messaging systems to use alternative message delivery mechanisms |
JP2004194006A (en) * | 2002-12-11 | 2004-07-08 | Nec Access Technica Ltd | Instant message communication system |
CN1540945A (en) * | 2003-04-23 | 2004-10-27 | �����е��ʽ���� | Communication device and communication method |
CN1614959A (en) * | 2003-11-06 | 2005-05-11 | 国际商业机器公司 | Method and system for multiple instant messaging login sessions |
JP2005182169A (en) * | 2003-12-16 | 2005-07-07 | Sony Corp | Communication system and method, information processor and method, program, and recording medium |
CN1642148A (en) * | 2004-01-17 | 2005-07-20 | 腾讯科技(深圳)有限公司 | Immediate communication treatment method |
Also Published As
Publication number | Publication date |
---|---|
CN1750518A (en) | 2006-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100421431C (en) | Method for realizing instant message communication | |
JP3822559B2 (en) | Method and apparatus for negotiating mobile services | |
US20050254453A1 (en) | Priority session management system and method for a mobile communication device | |
CN101622587B (en) | Centralized service for awakening a computing device | |
CN100454949C (en) | Method for obtaining mobile terminal professional ability information | |
EP2106060B1 (en) | Method and system for advice of charging | |
JP2008022584A (en) | System and method for wireless multimedia communication | |
KR100814428B1 (en) | Short message processing method and apparatus | |
JP2003536129A (en) | System, computer product and method for processing wireless instructions in a dedicated communication portal | |
CN105376136A (en) | Instant communication method, server andsxja system | |
CN103716230A (en) | Message sending method, device and server | |
US7864779B2 (en) | Internet service synchronization method for mobile communication terminal | |
WO2011044065A1 (en) | Distributing media by subscription | |
CN106385516A (en) | Business transfer setting method, device and terminal | |
CN101860821A (en) | Method and system for acquiring instant messages | |
KR100514359B1 (en) | System for Mutimedia Message Service and thereof method | |
CN105681262A (en) | Interaction message allocating method and system | |
KR20030067319A (en) | Realtime User State Information Management Method for using SMS in Instant Messaging System based on Wireless Internet | |
KR100598461B1 (en) | System for transmitting multimedia message and controlling method thereof | |
KR100528281B1 (en) | Method and device for providing call transfer service among multimedia | |
Moertiyoso et al. | Designing wireless enterprise applications on mobile devices | |
KR100486538B1 (en) | Short message transmission method for mobile communication device | |
KR100620333B1 (en) | Mms transaction verification system using network and method thereof | |
KR100727096B1 (en) | Method and system for call send/receive service in mobile station | |
KR100673258B1 (en) | Method and system for managing schedule |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |