CN1972252A - A method for maintaining communication connection in mobile instant communication - Google Patents
A method for maintaining communication connection in mobile instant communication Download PDFInfo
- Publication number
- CN1972252A CN1972252A CN 200610113731 CN200610113731A CN1972252A CN 1972252 A CN1972252 A CN 1972252A CN 200610113731 CN200610113731 CN 200610113731 CN 200610113731 A CN200610113731 A CN 200610113731A CN 1972252 A CN1972252 A CN 1972252A
- Authority
- CN
- China
- Prior art keywords
- server
- connect
- customer terminal
- cell
- phone customer
- 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.)
- Pending
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This invention provides one method for new mobile instant communication connection, which comprises long connection type cell phone customer end and servo and is characterized by the following: the customer end loads servo according to certain time interval and sending one or more data packs. This invention method can establish double direction send on current long connection to reduce user break possibility and improves user experience.
Description
Technical field
The present invention relates to mobile data communication, keep the method that communicates to connect in particularly a kind of mobile immediate communication.Adopt the inventive method, in the mobile immediate communication field, when mobile phone by being built in the client in the mobile phone, communicate with server through mobile data network, client is with, allowing client keep connecting with server and carry out proper communication when mode connects with data communication by " long connection " between the server.
" length connects ": just be meant between the client and server to establish a communications link, in case after connecting foundation, can between client and service end, carry out repeatedly not disconnecting with long data communication.
Background technology
In traditional mobile immediate communication, after client and server connects in " the long connection " mode, server sends packet to client at interval according to certain hour, to keep client to be in " activation " state rather than " dormancy " state with the connection between the server, when between client and server, carrying out business datum communication like this, do not need to connect again, and can directly send data.But this only server " activation " ways of connecting loses connection easily, is mainly reflected in:
Because the characteristic of part mobile data network, after client connects by mobile data network and server, when the connection long period between the client and server does not have data communication, its connection is in " dormancy " state automatically, can cause the situation of user " false online " this moment, though that is to say that state of user looks like " online " but user and is in " off-line " or client in fact and is in " disconnection " state with the connection of server on client, at this time information can not normally be sent between the user and state of user can not normally be upgraded, at this time, if user's good friend is when the user sends message, the user can not normally receive, cause information dropout.Can not carry out normal data communication again if just do not reconnect between the client and server, and rebulid the use cost that connection will increase mobile data network flow and user.
In addition, because some portable terminal limits, even when client is in normal connection with server, the situation generation that client can not normally be received also can appear in the message that server sends to client, when this situation occurs, also can cause user " false online ".Because client is not received the number pick from server for a long time, client can be judged by accident and oneself go offline, can initiatively carry out setting up with the connection between the server, the new login of laying equal stress on server, this login process again can cause the consumption for no reason of mobile data network resource, can increase the user simultaneously and use professional cost.
Summary of the invention
The present invention is directed to the defective or the deficiency that exist in the prior art, particularly keeping connecting the employed single unidirectional transmit mechanism that sends packet by server to client in the prior art, provide and keep the method that communicates to connect in a kind of new mobile immediate communication, adopt this method on existing long connection basis, to set up two-way transmit mechanism, thereby reduce user " false online " to a great extent, connect " dormancy " and be connected the probability that disconnects, improve user experience.
Technical conceive of the present invention is, constantly sends to server at interval by certain hour by cell-phone customer terminal login back and activates or wake one or more packets of connection up, provides technical support for setting up two-way transmit mechanism.
Technical scheme of the present invention is as follows:
The method that maintenance communicates to connect in the mobile immediate communication, comprise to grow cell-phone customer terminal and the server that connected mode connects, it is characterized in that: described cell-phone customer terminal login back constantly sends to described server at interval by certain hour and activates or wake up one or more packets of connection.
Described server sends by the continuous at interval cell-phone customer terminal after described login of certain hour and activates or wake up one or more packets of connection.
Described cell-phone customer terminal login is to connect by mobile data network with server.
Unless oneself withdraws from cell-phone customer terminal the user, close connection, otherwise cell-phone customer terminal and server will keep being connected always in the mode of sending out packet mutually, make data communication normal.
The mode of described mutual packet is the mode that a kind of cell-phone customer terminal and server interlock and send according to certain time interval separately.
It is the response that described server is sent packet that described cell-phone customer terminal sends packet.
Technique effect of the present invention is as follows:
The present invention be directed to the situation that cell-phone customer terminal and server connect in " the long connection " mode, for fear of problem such as connect the user " false online " that " dormancy " bring and go offline, and a kind of mechanism that connects of keeping that designs.The number of times that this method has significantly reduced user's " false online " probability and gone offline, thus guarantee the state of user immediate updating and normally receive and send messages.
The present invention keeps the mechanism that communicates to connect between cell-phone customer terminal and the server in the instant messaging.After between client is with server, connecting by " long connect " mode, connect and do not disconnect, server constantly sends one or more packets to client by the certain hour gap periods, client also constantly sends one or more packets to server according to the certain hour gap periods, all the time carry out data message with the assurance client with service end and communicate by letter, keep connecting normal.The two-way transmit mechanism of this packet can significantly reduce user " false online ", connects " dormancy " and be connected the probability that disconnects.When the normal renewal that guarantees User Status, user profile send, the expense that can save the mobile data flow for the user.
The main effect of this mechanism is embodied in: guaranteed that better the server and client side connects normally.Originally only server sends to client and sends packet, is subjected to the restriction of mobile data network or mobile phone terminal itself sometimes, when causing the long-time free of data information transmit-receive of client, loses connection easily.This user will occur and in fact not be connected with server, but state does not upgrade like this situation of " false online "; Perhaps client reconnects, and has influenced the user and has has normally received and sent messages, and can increase owing to reconnect the mobile data flow that brings.This method, increased client and regularly sent packet to server, after login, the server and client side is constantly " waking up " connection, than originally only server send packet, can better guarantee that two ends keep connecting normally, connect the problem of bringing thereby reduced to a great extent to lose.When the user used business, energy immediate updating state was received and sent messages normally.Reduced because the difficulty that restrictions such as mobile data network bring to the user has been saved the user and used professional cost, reduced the trouble that frequently goes offline and bring when using business, improved user experience to the user.
Description of drawings
Fig. 1 is a workflow diagram of the present invention.
Embodiment
Further the present invention is described in detail below in conjunction with accompanying drawing.
The present invention keeps the mechanism that communicates to connect between cell-phone customer terminal and the server in a kind of instant messaging.In mobile data network communication, after cell-phone customer terminal and server connect in " the long connection " mode, make the user can't update mode and normally receive and send messages for fear of connecting " dormancy ", the server and client side is with the certain hour gap periods, constantly send packet to the other side, with constantly " waking up " connection, keep the normal of two ends connection, guarantee the normal communication service of user.Because the server and client side is constantly " activation " connection each other, than originally only server send packet, can guarantee effectively that more two ends keep connecting normal, communication is uninterrupted, thereby the probability etc. that has reduced user " false online " to a great extent, connects " dormancy " and has been connected disconnection loses the problem that connection brings.When the user uses business, can better the immediate updating state, receive and send messages normally.Reduced because the difficulty that restrictions such as mobile data network, mobile phone terminal bring to the user, saved the data network flux expense that the user reconnects increase, reduced the trouble that has frequently gone offline and brought when using business, improved user experience to the user.
At first, core of the present invention is described, be after between client is with server, connecting by " long connect " mode, server is pressed the certain hour gap periods and is constantly sent packet to client, client also according to the certain hour gap periods constantly to the server response packet, to guarantee that client has data message to communicate by letter with service end all the time, keep connecting normal.
Further specify mechanism and concrete steps as shown in Figure 1 that this maintenance connects, wherein:
1) user enters cell-phone customer terminal, selects the client login.
2) client login, after client and service end connected, connection did not disconnect.
3) server constantly sends one or more packets to client according to the certain hour gap periods; Simultaneously, client also constantly sends one or more packets to server according to the certain hour gap periods.
4) server and client side keeps connection status, and data communication is normal always.
In the described step 1, the cell-phone customer terminal login is to connect by mobile data network with server.
In the described step 2, the connection that client and server is set up is " the long connection ", does not disconnect after being characterized in connecting.
In the described step 3, the server and client side sends one or more packets to the other side, and constantly " waking up " connects, and connection is kept always.
In the described step 3, it is according to the time interval that configures that the server and client side sends one or more packets to the other side, periodic, continuous transmission.With the rational time interval, guarantee to connect normal.
In the described step 4,, close connection unless user oneself withdraws from client.Otherwise client and service end will keep connection status in the mode of sending out packet mutually always, make data communication normal.
This method, increased client and regularly sent packet to server, after login, the server and client side " wakes " connection constantly each other up, than originally only server send packet, can guarantee that more two ends keep normal and connect communication, connect the problem of bringing thereby reduced to a great extent to lose.When the user uses business, can better the immediate updating state, receive and send messages normally.Reduced because the difficulty that restrictions such as mobile data network bring to the user has reduced the trouble that frequently goes offline and bring to the user when using business, improved user experience.
Claims (6)
1. keep the method communicate to connect in the mobile immediate communication, comprise to grow cell-phone customer terminal and the server that connected mode connects, it is characterized in that: described cell-phone customer terminal login back constantly sends to described server at interval by certain hour and activates or wake up one or more packets of connection.
2. the method that maintenance communicates to connect in the mobile immediate communication according to claim 1 is characterized in that: described server sends by the continuous at interval cell-phone customer terminal after described login of certain hour and activates or wake up one or more packets of connection.
3. the method that maintenance communicates to connect in the mobile immediate communication according to claim 1 is characterized in that: described cell-phone customer terminal login is to connect by mobile data network with server.
4. the method that maintenance communicates to connect in the mobile immediate communication according to claim 2, it is characterized in that: unless user oneself withdraws from cell-phone customer terminal, close connection, otherwise cell-phone customer terminal and server will keep being connected always in the mode of sending out packet mutually, and make data communication normal.
5. the method that maintenance communicates to connect in the mobile immediate communication according to claim 4 is characterized in that: the mode of described mutual packet is the mode that a kind of cell-phone customer terminal and server interlock and send according to certain time interval separately.
6. the method that maintenance communicates to connect in the mobile immediate communication according to claim 5 is characterized in that: it is the response that described server is sent packet that described cell-phone customer terminal sends packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610113731 CN1972252A (en) | 2006-10-13 | 2006-10-13 | A method for maintaining communication connection in mobile instant communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610113731 CN1972252A (en) | 2006-10-13 | 2006-10-13 | A method for maintaining communication connection in mobile instant communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1972252A true CN1972252A (en) | 2007-05-30 |
Family
ID=38112849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610113731 Pending CN1972252A (en) | 2006-10-13 | 2006-10-13 | A method for maintaining communication connection in mobile instant communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1972252A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035880A (en) * | 2010-11-02 | 2011-04-27 | 中兴通讯股份有限公司 | Method and device for maintaining connection |
CN102111421A (en) * | 2011-04-02 | 2011-06-29 | 北京互通无线科技有限公司 | Instant messaging client and method thereof for communicating with server |
CN101291348B (en) * | 2008-06-12 | 2011-11-30 | 巴别塔(北京)科技有限公司 | Prompt method for wireless channel awaking |
CN102438003A (en) * | 2010-08-16 | 2012-05-02 | 佳能株式会社 | Information processing system, Web server, information processing apparatus, and control methods thereof |
WO2013020402A1 (en) * | 2011-08-10 | 2013-02-14 | 中兴通讯股份有限公司 | Resource scheduling method and network element |
CN102984598A (en) * | 2011-09-07 | 2013-03-20 | 华为软件技术有限公司 | Method and terminal for resource downloading |
CN103260215A (en) * | 2012-02-16 | 2013-08-21 | 深圳富泰宏精密工业有限公司 | Automatic line connection method and automatic line connection system for mobile device |
CN103297409A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Method and device for maintaining connection |
CN103312766A (en) * | 2011-11-15 | 2013-09-18 | 华为技术有限公司 | Method, system and device for supporting permanent online of application client |
CN103581131A (en) * | 2012-07-31 | 2014-02-12 | 上海凌攀信息科技有限公司 | Method for processing automatic repeated logins in mobile environment |
CN101599982B (en) * | 2008-06-06 | 2014-03-05 | 广东宇天科技有限公司 | Mobile phone information browsing device, mobile phone information browsing system and realizing method thereof |
CN104301318A (en) * | 2014-10-15 | 2015-01-21 | 北京国信灵通网络科技有限公司 | Network reconnection method and device used for instant messaging application |
CN104469970A (en) * | 2013-09-18 | 2015-03-25 | 联想(北京)有限公司 | Method and device for reconnecting data network |
CN107276859A (en) * | 2017-08-21 | 2017-10-20 | 武汉斗鱼网络科技有限公司 | Keep the method and device of long connection |
-
2006
- 2006-10-13 CN CN 200610113731 patent/CN1972252A/en active Pending
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599982B (en) * | 2008-06-06 | 2014-03-05 | 广东宇天科技有限公司 | Mobile phone information browsing device, mobile phone information browsing system and realizing method thereof |
CN101291348B (en) * | 2008-06-12 | 2011-11-30 | 巴别塔(北京)科技有限公司 | Prompt method for wireless channel awaking |
CN102438003A (en) * | 2010-08-16 | 2012-05-02 | 佳能株式会社 | Information processing system, Web server, information processing apparatus, and control methods thereof |
CN102438003B (en) * | 2010-08-16 | 2015-01-07 | 佳能株式会社 | Information processing system, Web server, information processing apparatus, and control methods thereof |
CN102035880A (en) * | 2010-11-02 | 2011-04-27 | 中兴通讯股份有限公司 | Method and device for maintaining connection |
CN102035880B (en) * | 2010-11-02 | 2014-04-30 | 中兴通讯股份有限公司 | Method and device for maintaining connection |
CN102111421A (en) * | 2011-04-02 | 2011-06-29 | 北京互通无线科技有限公司 | Instant messaging client and method thereof for communicating with server |
WO2013020402A1 (en) * | 2011-08-10 | 2013-02-14 | 中兴通讯股份有限公司 | Resource scheduling method and network element |
CN102984598A (en) * | 2011-09-07 | 2013-03-20 | 华为软件技术有限公司 | Method and terminal for resource downloading |
CN103312766A (en) * | 2011-11-15 | 2013-09-18 | 华为技术有限公司 | Method, system and device for supporting permanent online of application client |
CN103312766B (en) * | 2011-11-15 | 2016-06-29 | 华为技术有限公司 | A kind of method, system and device supporting applications client forever online |
CN103260215A (en) * | 2012-02-16 | 2013-08-21 | 深圳富泰宏精密工业有限公司 | Automatic line connection method and automatic line connection system for mobile device |
CN103260215B (en) * | 2012-02-16 | 2018-06-26 | 深圳迈辽技术转移中心有限公司 | Mobile device automatic connecting method and system |
CN103297409A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Method and device for maintaining connection |
CN103581131A (en) * | 2012-07-31 | 2014-02-12 | 上海凌攀信息科技有限公司 | Method for processing automatic repeated logins in mobile environment |
CN104469970A (en) * | 2013-09-18 | 2015-03-25 | 联想(北京)有限公司 | Method and device for reconnecting data network |
CN104301318A (en) * | 2014-10-15 | 2015-01-21 | 北京国信灵通网络科技有限公司 | Network reconnection method and device used for instant messaging application |
CN107276859A (en) * | 2017-08-21 | 2017-10-20 | 武汉斗鱼网络科技有限公司 | Keep the method and device of long connection |
CN107276859B (en) * | 2017-08-21 | 2019-10-25 | 武汉斗鱼网络科技有限公司 | Keep the method and device of long connection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1972252A (en) | A method for maintaining communication connection in mobile instant communication | |
CN1965284B (en) | Automatic user device presence registration system | |
CN100405260C (en) | Reduction of idle power expense in networked battery power supply apparatus | |
CN102647314A (en) | Client side on-line state judgment method and system | |
US20140115125A1 (en) | Method for Receiving Data, Method for Sending Data, Mobile Terminal, and Server | |
CN102726104B (en) | Successional mobile computing device and method is applied for keeping | |
CN101291348B (en) | Prompt method for wireless channel awaking | |
CN101374116B (en) | Method and apparatus for implementing on-line business | |
WO2007072125A1 (en) | Managing connections in a wireless communications network | |
CN100452777C (en) | Mobile instant communication method and connecting mode of server and client terminal thereof | |
CN101699911A (en) | Mobile instant messaging image compression method | |
CN103222335A (en) | Low-power, low-atency, end-to-end communication messaging over multi-hop, heterogenous communication networks | |
CN104813637A (en) | Push service without persistent TCP connection in mobile network | |
EP2456169B1 (en) | Method and apparatus pertaining to energy efficient task execution offloading | |
CN102695137B (en) | A kind of mobile Internet communication connecting method of combined circuit territory | |
CN103312528A (en) | Heartbeat message sending method and user terminal | |
CN102238108A (en) | Off-line message transmission method | |
CN101699912A (en) | Transmission method for connecting server and mobile terminal | |
WO2012155651A1 (en) | Online processing system and method for implementing terminal application | |
CN111417182A (en) | Data transmission method, device, storage medium, processor and system | |
CN101990283A (en) | Wireless communication device and electricity saving method thereof | |
JP2011010043A (en) | Packet repeating unit | |
CN102624566A (en) | Method, device and system for waking up calling terminal | |
CN102571376B (en) | Method and system for implementing multi-window chat | |
CN101247365A (en) | User mode indication method, instant communication system and server in instant communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |