CN105635248B - A kind of method for releasing and system of TCP connection resource - Google Patents
A kind of method for releasing and system of TCP connection resource Download PDFInfo
- Publication number
- CN105635248B CN105635248B CN201510950526.0A CN201510950526A CN105635248B CN 105635248 B CN105635248 B CN 105635248B CN 201510950526 A CN201510950526 A CN 201510950526A CN 105635248 B CN105635248 B CN 105635248B
- Authority
- CN
- China
- Prior art keywords
- server
- terminal
- tcp connection
- heartbeat packet
- response message
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/163—In-band adaptation of TCP data exchange; In-band control procedures
Abstract
The invention discloses the method for releasing and system of a kind of TCP connection resource, and after terminal and server-side establish TCP connection, the terminal sends heartbeat packet to the server-side at interval of a period of time;If server-side is not received by the heartbeat packet of terminal transmission in the first predetermined time, the server-side sends detection message to the terminal;When the server-side does not receive response message, the server-side discharges the TCP resource that the terminal occupies, wherein the response message is the response message of the detection message.Server-side need not reach 2 times again etc. in this method or 3 heartbeat timeouts just close connection, and the phase achievees the purpose that the release useless connection resource of server-side as early as possible.Meanwhile the terminal in suspension power-off reconnects server failure probability after restarting is reduced, the login rate of increasing terminal brings convenience to the users.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of the method for releasing and system of TCP connection resource.
Background technique
In internet area, TCP(Transfer Control Protocol, transmission control protocol) the application phase of agreement
When extensive, most C/S server-side model is reliably communicated using TCP connection.It is assisted even if Web is applied using Http
View, but it also be unable to do without Transmission Control Protocol, and because Http agreement is application layer protocol, the realization of bottom is also to rely on TCP association
View.The SOCKET connection that TCP communicates both ends is uniquely determined by a four-tuple, i.e. { terminal IP, terminal prot, server-side
IP, server-side listening port }.Server-side, its usual IP and listening port are constant, the IP of different terminals in service process
And port is different.It needs to provide service to a large amount of user as server-side, during service, server-side and visitor
Family end needs to keep TCP connection, so that server-side needs to have more system resource.Although with computer and network technology
Development, the processing capacity of computer increases rapidly, and memory greatly increases, but resource is limited after all, such as available connection
Port number.How preferably quick Resource recovery, provide clients with more stable faster service, be measure a server-side
Whether efficient, available standard.
In Mobile IM and Internet of Things, number of users is quite huge, and network condition is complex unstable, warp
The case where often will appear suspension suddenly.And server-side maintains the TCP connection having built up at this time, Transmission Control Protocol itself is no
Can quick sensing to disconnecting.Because terminal has little time to issue Fin packet, so that server-side will continue to safeguard the company that this has broken
It connects, to cause SOCKET resource that cannot discharge at once.If network recovery is normal at this time, terminal carries out reconnection, terminal system
The local port being randomly assigned is with the local port that last connection uses, it will TCP connection occur can not succeed
The case where establishing, multiple reconnection also will appear can not successful connection.Because of the SOCKET before server-side does not discharge also at this time
When unexpected power-off such situation can also occur for connection resource.For server-side cannot fast automatic perception connection whether
The problem of also living, usual terminal periodically can give server-side to send a heartbeat packet, set a heartbeat timeout number, server-side
To close those inactive ossified connections for a long time using heartbeat detection, and then discharge connection resource.But this heartbeat
Interval duration cannot set to obtain very little again, because this problem that mobile terminal flow can be brought excessive, while aggravating the pressure of server-side
Power.If eartbeat interval duration is longer, as terminal every 30 seconds heartbeat packets of transmission to server-side, while agreement can occur
Expired times, if time-out only have an opportunity, this practice can seem quite roughly because message delay is normal in network
There is the thing of generation, many times network is that congestion is a little, the abnormal company's of mistake problem not occurs;Generally there are 2 times or 3 times overtime machines
Meeting, in this case, that server-side at least want 2 (or 30 * 3)=60 (or 90) second of 30 * just to will be considered that TCP connection exception,
Server-side can just actively close connection at this time, but since terminal connection before has been failed, and disconnect four times of TCP at this time are held
Hand process cannot smoothly complete, and also need at least 30 seconds time could be complete by original SOCKET connection to will lead to
It discharges.Here 30 seconds are the shortest times that the Fin_wait1 state of TCP maintains, to if break in connection procedure
When net power-off, server-side at least needs heartbeat duration * 2(in total or 3)+30 time could finally discharge this SOCKET company
Connect resource.In this time, if the local port that terminal is randomly assigned is identical with last time connection, terminal will always not
TCP connection can be established with server-side again, until cloud completely discharges that SOCKET.And if server-side service mistake
Occur the terminal situation of a large amount of this type in journey, will lead to a large amount of resource in a period of time it is occupied and cannot obtain effectively
It uses, causes service end system resource occupation virtual height.
Thus the prior art could be improved and improve.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the deficiencies of the prior art, providing a kind of releasing for TCP connection resource
Method and system are put, to solve to deposit a large amount of resource quilt whithin a period of time in the existing method for releasing using TCP connection resource
The problem of occupying and cannot being efficiently used, cause service end system resource occupation virtual height.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of method for releasing of TCP connection resource comprising:
After terminal and server-side establish TCP connection, the terminal sends heartbeat packet to the clothes at interval of a period of time
Business end;
If server-side is not received by the heartbeat packet of terminal transmission in the first predetermined time, the server-side is to the end
End sends detection message, wherein first predetermined time is greater than heartbeat packet interval time;
When the server-side does not receive response message, the server-side discharges the TCP resource that the terminal occupies,
In, the response message is the response message of the detection message.
The method for releasing of the TCP connection resource, wherein the method also includes:
When the server device receives response message, the server continues to keep the TCP connection, and records
The reception heartbeat packet expired times, when accumulating expired times more than preset threshold, the server-side discharges the terminal and accounts for
TCP resource.
The method for releasing of the TCP connection resource, wherein terminal and server-side are established before TCP connection further include:
The terminal selects connectivity port, and the connectivity port can for different from the connectivity port of last linkage record
Use port.
The method for releasing of the TCP connection resource, wherein after the terminal establishes TCP connection with server-side further include:
The terminal records the connectivity port of this connection.
The method for releasing of the TCP connection resource, wherein the server-side does not receive response message specifically:
The server-side sends in detection message failure or the second preset time and does not receive the terminal to the inspection
Survey the response message of message.
The method for releasing of the TCP connection resource, wherein described to be not received by end within the first predetermined time of server-side
Hold the heartbeat packet sent, then the server-side sends detection message to the terminal, specifically:
Server-side starting for judge to receive terminal transmission heartbeat packet whether Chao Shi timer, when the timer times out
When, the server-side sends detection message to the terminal.
A kind of release system of TCP connection resource comprising:
Sending module, for after terminal and server-side establish TCP connection, the terminal to send the heart at interval of a period of time
Packet is jumped to the server-side;Wherein, first predetermined time is greater than heartbeat packet interval time
Receiving module receives the heartbeat packet that the terminal is sent for the server-side, and when the pre- timing of server-side first
When the interior heartbeat packet for being not received by terminal transmission, Xiang Suoshu terminal sends detection message;
Release module, for when the server-side does not receive response message, the server-side to discharge the terminal and accounts for
TCP resource, wherein the response message is the response message of the detection message.
The release system of the TCP connection resource, wherein the release module is also used to: when the server device connects
When receiving response message, the server continues to keep the TCP connection, and records the reception heartbeat packet expired times, when
When accumulating expired times more than preset threshold, the server-side discharges the TCP resource that the terminal occupies.
The release system of the TCP connection resource, wherein its further include:
Selecting module, the connectivity port recorded when being connected for terminal according to the last time, selects current connectivity port,
In, current connectivity port is different from the last connectivity port of linkage record.
The release system of the TCP connection resource, wherein the selecting module is also used to terminal and records the company currently connected
Connect port.
The utility model has the advantages that compared with prior art, the present invention mentions the method for releasing and system of a kind of TCP connection resource,
After terminal and server-side establish TCP connection, the terminal sends heartbeat packet to the server-side at interval of a period of time;If service
The heartbeat packet that terminal transmission is not received by the first predetermined time is held, then the server-side sends detection to the terminal and disappears
Breath;When the server-side does not receive response message, the server-side discharges the TCP resource that the terminal occupies, wherein institute
State the response message that response message is the detection message.Server-side need not reach 2 times or 3 heartbeat timeouts again etc. in this method
Connection is just closed, the phase achievees the purpose that discharge the useless connection resource of server-side as early as possible.Meanwhile reducing the terminal in suspension power-off
The probability of server failure is reconnected after restarting, the login rate of increasing terminal brings convenience to the users.
Detailed description of the invention
Fig. 1 is the sequence chart of the method for releasing preferred embodiment of TCP connection resource of the present invention.
Fig. 2 is the flow chart of the method for releasing preferred embodiment of TCP connection resource of the present invention.
Fig. 3 is the flow chart of another embodiment of the method for releasing of TCP connection resource of the present invention.
Fig. 4 is the structure principle chart of the release system of TCP connection resource of the present invention.
Fig. 5 is the structure principle chart of the release device of TCP connection resource of the present invention.
Specific embodiment
The present invention provides the method for releasing and system of TCP connection resource, to make the purpose of the present invention, technical solution and effect
Clearer, clear, the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should be appreciated that this place is retouched
It states that specific examples are only used to explain the present invention, is not intended to limit the present invention.
In the present invention, the terminal device refers to mobile terminal, intelligent electric appliance etc., for example, mobile phone, computer, intelligence electricity
Depending on etc..
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Referring to Figure 1 and Fig. 2, the method for releasing of the TCP connection resource comprising:
S1, after terminal and server-side establish TCP connection, the terminal at interval of a period of time send heartbeat packet to described
Server-side.
Specifically, after terminal establishes the request of TCP connection and carries out account certification to server-side transmission, terminal and server-side
Establish TCP connection.After the two establishes connection, terminal sends heartbeat packet to server-side at interval of a period of time.The interval one
The section time is that system is preset, and the interval time cannot set to obtain very little, because this can bring mobile terminal flow excessive
The problem of, while aggravating the pressure of server-side.It can not be arranged excessive simultaneously, will lead to a large amount of resource quilt in a period of time
It occupies and cannot be efficiently used, cause service end system resource occupation virtual height, be set as 30 seconds.
The heartbeat packet content is that terminal and server-side are pre-set, and in a particular embodiment, heartbeat packet content can
Think space etc..
Further, due to when terminal discovery when powering off suspension reconnection server-side, divide automatically at random according to terminal system
The port matched, the biggish probability assignments of terminal to the same port, so as to cause the not upper server-side of terminal meeting reconnection, then always
Reconnection is multiple, causes a kind of login failure or logs in slow-paced problem.Terminal is when establishing connection with server-side, terminal choosing
Connection local port is selected, port different and available from the port used when last time connection is selected to connect as this
Port, and record this and connect the local port used, the connectivity port that the last connection of record uses is emptied.If when eventually
When the connection server-side of end, when can only have the port that last connection uses with connectivity port, the last connection of terminal selection is used
Port.
If S2, being not received by the heartbeat packet of terminal transmission in the first predetermined time of server-side, the server-side is to institute
It states terminal and sends detection message, wherein first predetermined time is greater than heartbeat packet interval time.
Specifically, server-side by starting for judge receive terminal transmission heartbeat packet whether Chao Shi timer, according to
Whether time-out is to determine whether terminate the heartbeat packet sent to terminal for timer.The timer is established in terminal and server-side to be connected
When connecing, start to start.When server-side receives the heartbeat packet of terminal transmission within the first predetermined time that timer is set, then
Illustrate that terminal is connect normally with server-side, timer is reset and the timing since new.That is, when server-side is predetermined first
When receiving the heartbeat packet of terminal transmission in the time, timer restarts timing.And when the server-side in the first preset time
The heartbeat packet of terminal transmission is not received, and the server-side sends detection message to the terminal.That is, when timer is super
Constantly, server-side sends detection message to the terminal.It is noted that the detection message is that server-side appoints in advance with terminal
It is fixed, and the detection message of this agreement must be responded when terminal receives detection message.That is, working as terminal
When receiving detection message must feedback response message to server-side.Thus detection message can be received to avoid due to terminal
And not sent response message and caused by interrupt terminal and server-side connection, and influence user use the problem of.
Further, the first predetermined time of the timer setting, it was greater than the interval time that terminal sends heartbeat packet.This
Sample can guarantee that server-side does not receive the heartbeat packet for arriving terminal transmission less.Here by taking the terminal compartment time is 30 seconds as an example, then
First predetermined time of timer setting can be 33-35 seconds.
S3, when the server-side does not receive response message, the server-side discharges the TCP money that the terminal occupies
Source, wherein the response message is the response message of the detection message.
Specifically, the server-side does not receive response message and refers to that server-side does not receive service within a certain period of time
Hold the response message of the detection message sent.Here, certain time can be 3-5 seconds, ensure that terminal device has abundance in this way
Time receive the detection message of server-side transmission and it fed back, send response message, while can also be to avoid one section
In time a large amount of resource it is occupied and the problem of cannot be efficiently used.
Further, when the server-side does not receive response message, the connection of server-side active terminal and the terminal,
To realize the TCP resource for discharging the terminal and occupying.
In another embodiment, as described in Figure 3, the method for releasing of the TCP connection resource, further include:
S4, when the server-side receives response message, the server-side records the reception heartbeat packet expired times,
And repeat step S2-S3;
S5, when accumulating expired times and being more than preset threshold, the server-side discharges the TCP resource that the terminal occupies.
Here, when server-side receives response message, timer is restarted, and repeat step S2-S3;Until note
When recording expired times greater than preset threshold, then the connection of server-side active break and the terminal discharges what the terminal occupied
TCL resource.Wherein, record receive heartbeat packet time-out number its can be realized by counter, when reception heartbeat packet time-out simultaneously
When not receiving response message, counter adds 1, when counter, which counts, is more than preset threshold, then server-side active break and institute
The connection for stating terminal discharges the TCL resource that the terminal occupies.And after server-side active break is connect with the terminal,
Counter O reset.The preset threshold can be 2,3 etc..
The present invention also provides a kind of release systems of TCP connection resource, as shown in figure 4, comprising:
Sending module 100, for after terminal and server-side establish TCP connection, the terminal to be sent out at interval of a period of time
Send heartbeat packet to the server-side;
Receiving module 200 receives the heartbeat packet that the terminal is sent for the server-side, and when server-side first is predetermined
When being not received by the heartbeat packet of terminal transmission in the time, Xiang Suoshu terminal sends detection message, wherein the described first pre- timing
Between be greater than heartbeat packet interval time;
Release module 300, for when the server-side does not receive response message, the server-side to discharge the terminal
The TCP resource of occupancy, wherein the response message is the response message of the detection message.
The release system of the TCP connection resource, wherein the release module 300 is also used to: when the server device
When receiving response message, the service continues to keep the TCP connection, and holds and record the reception heartbeat packet expired times,
When accumulating expired times more than preset threshold, the server-side discharges the TCP resource that the terminal occupies.
The release system of the TCP connection resource, wherein its further include:
Selecting module selects connectivity port for terminal, and the connectivity port is the connecting pin with last linkage record
Mouth difference and available port.
The release system of the TCP connection resource, wherein the selecting module is also used to the company that terminal records this connection
Connect port.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skills
Bright design is subject to equivalent substitution or change, and all these changes or replacement all should belong to the guarantor of appended claims of the invention
Protect range.
Claims (8)
1. a kind of method for releasing of TCP connection resource, characterized in that it comprises:
After terminal and server-side establish TCP connection, the terminal sends heartbeat packet to the server-side at interval of a period of time;
If server-side is not received by the heartbeat packet of terminal transmission in the first predetermined time, the server-side is sent out to the terminal
Message is surveyed in inspection, wherein first predetermined time is greater than heartbeat packet interval time;
When the server-side does not receive response message, the server-side discharges the TCP resource that the terminal occupies, wherein
The response message is the response message of the detection message;
When the server device receives response message, the server continues to keep the TCP connection, and described in record
Heartbeat packet expired times are received, when accumulating expired times more than preset threshold, the server-side discharges what the terminal occupied
TCP resource.
2. the method for releasing of TCP connection resource according to claim 1, which is characterized in that terminal and server-side establish TCP company
Before connecing further include:
The terminal selects connectivity port, and the connectivity port is the available end different from the connectivity port of last linkage record
Mouthful.
3. the method for releasing of TCP connection resource according to claim 2, which is characterized in that the terminal and server-side are established
After TCP connection further include:
The terminal records the connectivity port of this connection.
4. the method for releasing of TCP connection resource according to claim 1, which is characterized in that the server-side does not receive sound
Answer message specifically:
The terminal is not received in the server-side transmission detection message failure or the second preset time to disappear to the detection
The response message of breath.
5. the method for releasing of TCP connection resource according to claim 1, which is characterized in that described when server-side first is predetermined
The heartbeat packet of terminal transmission is not received by time, then the server-side sends detection message to the terminal, specifically:
Server-side starting for judge to receive terminal transmission heartbeat packet whether Chao Shi timer, when the timer expires,
The server-side sends detection message to the terminal.
6. a kind of release system of TCP connection resource, characterized in that it comprises:
Sending module, for after terminal and server-side establish TCP connection, the terminal to send heartbeat packet at interval of a period of time
To the server-side;
Receiving module receives the heartbeat packet that the terminal is sent for the server-side, and when in the first predetermined time of server-side
When being not received by the heartbeat packet of terminal transmission, Xiang Suoshu terminal sends detection message, wherein first predetermined time is greater than
Heartbeat packet interval time;
Release module, for when the server-side does not receive response message, the server-side to discharge what the terminal occupied
TCP resource, wherein the response message is the response message of the detection message;
The release module is also used to: when the server device receives response message, the server continues to keep institute
TCP connection is stated, and records the reception heartbeat packet expired times, when accumulating expired times more than preset threshold, the service
End discharges the TCP resource that the terminal occupies.
7. the release system of TCP connection resource according to claim 6, which is characterized in that its further include:
Selecting module selects the connectivity port currently connected for terminal according to the connectivity port of last linkage record,
In, current connectivity port is different from the last connectivity port of linkage record.
8. the release system of TCP connection resource according to claim 7, which is characterized in that the selecting module is also used to end
The connectivity port that end record currently connects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510950526.0A CN105635248B (en) | 2015-12-18 | 2015-12-18 | A kind of method for releasing and system of TCP connection resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510950526.0A CN105635248B (en) | 2015-12-18 | 2015-12-18 | A kind of method for releasing and system of TCP connection resource |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105635248A CN105635248A (en) | 2016-06-01 |
CN105635248B true CN105635248B (en) | 2019-06-11 |
Family
ID=56049720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510950526.0A Active CN105635248B (en) | 2015-12-18 | 2015-12-18 | A kind of method for releasing and system of TCP connection resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105635248B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106209890A (en) * | 2016-07-25 | 2016-12-07 | 天脉聚源(北京)教育科技有限公司 | A kind of method and device of long-distance education client login authentication |
CN106961364A (en) * | 2017-04-24 | 2017-07-18 | 努比亚技术有限公司 | Heartbeat detecting method and application server |
CN107071046A (en) * | 2017-05-10 | 2017-08-18 | 武汉票据交易中心有限公司 | The processing method and system of a kind of network interruption |
CN107454184B (en) * | 2017-08-22 | 2020-07-24 | 深圳先进技术研究院 | Method for establishing stable network connection between Android client and server |
CN109981717A (en) * | 2017-12-28 | 2019-07-05 | 中国移动通信集团公司 | A kind of connection optimization method, device and computer storage medium |
CN110049068A (en) * | 2018-01-15 | 2019-07-23 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of the Chief Web Officer connection optimization based on hypertext transfer protocol |
CN108830675A (en) * | 2018-05-23 | 2018-11-16 | 武汉华工正源光子技术有限公司 | Instrument share system and method |
CN110708500B (en) * | 2018-07-09 | 2021-12-10 | 视联动力信息技术股份有限公司 | Method and device for releasing communication channel of video network |
CN109089358B (en) * | 2018-08-20 | 2020-11-03 | 厦门久贤新能源科技有限公司 | Communication control method and system based on Internet of things light energy street lamp |
CN109167962A (en) * | 2018-09-26 | 2019-01-08 | 视联动力信息技术股份有限公司 | It is a kind of to turn server depending on networked resources method for releasing and monitoring association |
CN109150905B (en) * | 2018-09-27 | 2022-01-11 | 视联动力信息技术股份有限公司 | Video network resource release method and video network sharing platform server |
CN109302472A (en) * | 2018-09-27 | 2019-02-01 | 视联动力信息技术股份有限公司 | A kind of view networked resources method for releasing and view networking share Platform Server |
CN109889775B (en) * | 2018-12-26 | 2020-09-18 | 视联动力信息技术股份有限公司 | Data timeout processing method and device |
CN110974204A (en) * | 2019-12-25 | 2020-04-10 | 杭州涂鸦信息技术有限公司 | Method, system and device for realizing bidirectional heartbeat mechanism |
CN111698337B (en) * | 2020-07-21 | 2022-08-09 | 杭州海康威视数字技术股份有限公司 | Method, device and equipment for establishing communication connection |
CN113326318A (en) * | 2021-05-28 | 2021-08-31 | 广州市炬元互联网科技有限公司 | Method and system for data synchronization between two systems |
CN113542380A (en) * | 2021-07-06 | 2021-10-22 | 四川创智联恒科技有限公司 | High-efficiency heartbeat keep-alive method |
CN115734374B (en) * | 2023-01-10 | 2023-09-29 | 深圳酷源数联科技有限公司 | Control method and device of 5G network resources, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420770A (en) * | 2008-12-03 | 2009-04-29 | 浙江中控软件技术有限公司 | Fault connection processing method and system in wireless transmission |
CN102209302A (en) * | 2011-07-07 | 2011-10-05 | 深圳市金立通信设备有限公司 | System and method for realizing information push of mobile terminal |
CN102664763A (en) * | 2012-03-20 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for rapidly detecting connection states and making virtual machine HA |
CN103051724A (en) * | 2012-12-28 | 2013-04-17 | 北京思特奇信息技术股份有限公司 | Socket synchronization method based on long connection |
CN203350317U (en) * | 2013-07-16 | 2013-12-18 | 沈阳时尚实业有限公司 | Three-phase multifunction watt-hour meter for data communication |
CN103546528A (en) * | 2013-02-05 | 2014-01-29 | Tcl集团股份有限公司 | Distributed message pushing method and system |
CN103595587A (en) * | 2013-11-13 | 2014-02-19 | 杭州华三通信技术有限公司 | Information transmission method and device |
CN104426714A (en) * | 2013-08-30 | 2015-03-18 | 联想(北京)有限公司 | Heart-beat testing method and device for keeping connection |
CN104427598A (en) * | 2013-09-09 | 2015-03-18 | 中国移动通信集团公司 | Heartbeat-free method and device for long-term online service |
CN104703146A (en) * | 2013-12-09 | 2015-06-10 | 腾讯科技(深圳)有限公司 | Information push method, information push client and information push system |
-
2015
- 2015-12-18 CN CN201510950526.0A patent/CN105635248B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420770A (en) * | 2008-12-03 | 2009-04-29 | 浙江中控软件技术有限公司 | Fault connection processing method and system in wireless transmission |
CN102209302A (en) * | 2011-07-07 | 2011-10-05 | 深圳市金立通信设备有限公司 | System and method for realizing information push of mobile terminal |
CN102664763A (en) * | 2012-03-20 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for rapidly detecting connection states and making virtual machine HA |
CN103051724A (en) * | 2012-12-28 | 2013-04-17 | 北京思特奇信息技术股份有限公司 | Socket synchronization method based on long connection |
CN103546528A (en) * | 2013-02-05 | 2014-01-29 | Tcl集团股份有限公司 | Distributed message pushing method and system |
CN203350317U (en) * | 2013-07-16 | 2013-12-18 | 沈阳时尚实业有限公司 | Three-phase multifunction watt-hour meter for data communication |
CN104426714A (en) * | 2013-08-30 | 2015-03-18 | 联想(北京)有限公司 | Heart-beat testing method and device for keeping connection |
CN104427598A (en) * | 2013-09-09 | 2015-03-18 | 中国移动通信集团公司 | Heartbeat-free method and device for long-term online service |
CN103595587A (en) * | 2013-11-13 | 2014-02-19 | 杭州华三通信技术有限公司 | Information transmission method and device |
CN104703146A (en) * | 2013-12-09 | 2015-06-10 | 腾讯科技(深圳)有限公司 | Information push method, information push client and information push system |
Also Published As
Publication number | Publication date |
---|---|
CN105635248A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105635248B (en) | A kind of method for releasing and system of TCP connection resource | |
EP2645636B1 (en) | Home gateway, cloud server, and method for communication therebetween | |
CN105516080B (en) | The processing method of TCP connection, apparatus and system | |
CN107517136B (en) | Method, device and system for realizing heartbeat keep-alive | |
EP2637365B1 (en) | Method for controlling internet services, and relevant device and system | |
JP6226348B2 (en) | Method for transmitting heartbeat message and portable terminal | |
CN102111419B (en) | Message middleware-based client automatic reconnection method | |
CN105025080B (en) | A kind of overload protection method and server of distributed system | |
CN107919994B (en) | Method and server for realizing hot standby of network service dual-computer | |
CN103812823A (en) | Method, device and system for configuration information migration in thermal migration of virtual machine | |
WO2016152307A1 (en) | Communication device, communication method and program | |
CN108712485A (en) | A kind of resource subscription method and apparatus of internet of things equipment | |
CN109040295B (en) | Method and device for determining abnormal disconnection, terminal and storage medium | |
CN105262836A (en) | Information push method of server and push information reception method of client | |
CN108243222A (en) | Server network architecture method and device | |
JP5813891B2 (en) | Processing method and processing apparatus for automatically setting Internet access mode | |
US9749825B2 (en) | Connection-oriented messaging and signaling in mobile heath networks | |
CN109547293A (en) | Heartbeat data packet transmission method | |
CN104009961B (en) | A kind of pppoe session mark distributing method and equipment | |
CN108259213A (en) | NETCONF session status detection method and device | |
CN105515936A (en) | Method, server and system for message communication | |
CN109039747B (en) | Dual-computer hot standby control method and device for DPDK service | |
US10321395B2 (en) | Data packet processing method and related device | |
US8560638B2 (en) | Systems and methods for changing the address of an interface | |
CN111934939B (en) | Network node fault detection method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |