CN105635116B - Disconnection reconnecting method, apparatus and system - Google Patents
Disconnection reconnecting method, apparatus and system Download PDFInfo
- Publication number
- CN105635116B CN105635116B CN201510967076.6A CN201510967076A CN105635116B CN 105635116 B CN105635116 B CN 105635116B CN 201510967076 A CN201510967076 A CN 201510967076A CN 105635116 B CN105635116 B CN 105635116B
- Authority
- CN
- China
- Prior art keywords
- data
- sent
- client
- server
- transmission
- 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
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of disconnection reconnecting method, apparatus and systems.The disconnection reconnecting method includes: to receive the reconnection requests that the client is sent after the connection established with client disconnects;Wherein, number corresponding to the data that the data number set is received comprising the client;When there is maximum data number in detecting local cache, and there is the minimal cache number in reception number set, is sent to the client and detect successful information, and re-establish the connection with the client;Wherein, the corresponding relation data for having sent data and having sent number is stored in the local cache, the transmission number is to be numbered and obtain according to data of the incremental order to transmission, described to receive number corresponding to the data that the client of the number set comprising receiving is sent.Using the embodiment of the present invention, the efficiency of disconnection reconnecting can be effectively improved.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of disconnection reconnecting method, apparatus and system.
Background technique
In Internet application, client and server-side are established and are connected to the network, and carry out data interaction by the connection.Mesh
Before, Transmission Control Protocol has been able to preferably guarantee that data are orderly reached with data, but in this process, due to network environment
Complexity and uncertainty, TCP connection still will disconnect, and have sent data so as to cause transmitting terminal but receiving end does not receive number
According to the case where occur, cause loss of data.If client wants to continue being serviced, server-side must be just reconnected to.
In the case where connecting disconnection, generally there are two types of processing modes for client in the prior art: first way is
The display interface of client return back to initial interface (such as login interface), and prompts user network connection already off, then
User is waited to be attached operation manually, to re-establish the connection between client and server;The second way is to retain
The display interface of client locks user's current state and operation interface, and carries out the operation of network reconnection on backstage, in reconnection
After success, client application is restored to normal condition.
Summary of the invention
Although the two kinds of reconnection modes mentioned in background technique can be realized the disconnection reconnecting between client and server,
But both reconnection modes be connected to the network disconnect during and disconnect before it is a bit of during, may result in a part of biography
The loss of transmission of data causes the interruption of user's operation or behavior, moreover, reconnection is identical as initial connection, after successful connection,
A large amount of initialization information can be still transmitted, the waste of a large amount of flows is caused.
The many aspects of the embodiment of the present invention propose a kind of disconnection reconnecting method, apparatus and system, can effectively improve disconnected
The efficiency of line reconnection.
The one aspect of the embodiment of the present invention provides a kind of disconnection reconnecting method, comprising:
After the connection established with client disconnects, the reconnection requests that the client is sent are received;Wherein, the reconnection
Request includes the minimal cache number in client-cache and the maximum data number in data number set;The client is slow
The corresponding relation data of data and caching number that the client has been sent is stored in depositing, the caching number is the visitor
Family end is numbered according to the data that incremental order sends the client and is obtained, and the data number set includes institute
State number corresponding to the data that client receives;
In detecting local cache there is the maximum data to number, and receiving has the minimum slow in number set
When depositing number, detection successful information is sent to the client, and re-establish the connection with the client;Wherein, described
The corresponding relation data for having sent data and having sent number is stored in local cache, the transmission number is according to incremental order
The data of transmission are numbered and are obtained, the data for receiving the client of the number set comprising receiving and sending
Corresponding number.
Further, before the reconnection requests for receiving the client transmission, further includes:
After the connection established with client disconnects, data and corresponding transmission number are sent to the client, and will
The data sent and corresponding transmission number are written in the local cache;
When the size of data stored in detecting the local cache is more than preset value, the minimum in local cache is deleted
It sends number and has sent data with corresponding.
Further, it is described re-establish with after the connection of the client, further includes:
Judge whether there is the transmission number for being greater than maximum data number in the local cache;
If so, retransmitting the transmission number in the local cache with the corresponding data that sent to described
Client.
Further, it is described re-establish with after the connection of the client, further includes:
Obtain the maximum number received in number set;
The maximum number is sent to the client, there is the client in determining the client-cache
Greater than the maximum number caching number when, retransmit caching number in the client-cache with it is corresponding
Send data;
It receives the caching number that the client retransmits and has sent data with corresponding.
Further, the disconnection reconnecting method further include:
Before the connection established with client disconnects, data and corresponding transmission number are sent to the client, and will
The data and transmission number sent are written in the local cache;
Receive the first confirmation message of the client feedback;First confirmation message includes that the transmission sent is compiled
Number;
According in first confirmation message transmission number, delete in the local cache the transmission number and it is right
The transmission data answered.
Further, the disconnection reconnecting method further include:
Before the connection established with client disconnects, the data and corresponding caching number that the client is sent are received;
Caching number is saved in the reception number set, and is numbered according to the caching to the client
The second confirmation message is fed back, deletes the client according to second confirmation message described slow in the client-cache
It deposits number and has sent data with corresponding.
The other side of the embodiment of the present invention also provides a kind of disconnection reconnecting method, comprising:
After the connection established with server disconnects, reconnection requests are sent to the server;Wherein, the reconnection requests
Including the minimal cache number in local cache and the maximum data number in data number set;It is stored in the local cache
Have a corresponding relation data for having sent data and caching number, the caching number be according to incremental order to the data of transmission into
Row number and obtain, the data number set includes number corresponding to data that the server that receives is sent;
The detection successful information that the server is sent is received, and re-establishes the connection with the server;Wherein, institute
Stating detection successful information is that the server has maximum data number in detecting server buffer, and receives number
It is generated when in set with the minimal cache number;The number that the server has been sent is stored in the server buffer
According to and send the corresponding relation data of number, it is described send number be the server according to incremental order to the data of transmission into
Row number and obtain, it is described to receive number corresponding to the data that number set is received comprising the server.
Further, before the transmission reconnection requests to the server, further includes:
After the connection established with server disconnects, data and corresponding caching number are sent to the server, and will
The data sent and corresponding caching number are written in the local cache;
When the size of data stored in detecting the local cache is more than preset value, the minimum in local cache is deleted
Caching number has sent data with corresponding.
Further, it is described re-establish with after the connection of the server, further includes:
It receives the transmission number that the server retransmits and has sent data with corresponding;The transmission of the retransmission
Number and the corresponding data that sent are that the server has in determining the server buffer greater than the maximum data
When the transmission number of number, the corresponding data that is obtained from the server buffer.
Further, it is described re-establish with after the connection of the server, further includes:
Receive the maximum number in the reception number set that the server is sent;
Judge whether there is the caching number for being greater than the maximum number in the local cache;
If so, retransmitting the caching number in the local cache with the corresponding data that sent to described
Server.
Further, the disconnection reconnecting method further include:
Before the connection established with server disconnects, the data and corresponding transmission number that the server is sent are received;
Transmission number is saved in the data number set, and is numbered according to the transmission to the server
The first confirmation message is fed back, the server is made to delete the hair in the server buffer according to first confirmation message
Number is sent to send data with corresponding.
Further, the disconnection reconnecting method further include:
Before the connection established with server disconnects, data and corresponding caching number are sent to the server, and will
The data and transmission number sent are written in the local cache;
Receive the second confirmation message of the server feedback;Second confirmation message includes that the caching sent is compiled
Number;
According in second confirmation message caching number, delete in the local cache the transmission number and it is right
The transmission data answered.
Correspondingly, the one aspect of the embodiment of the present invention also provides a kind of disconnection reconnecting device, comprising:
Reconnection requests receiving module, for after the connection established with client disconnects, receiving what the client was sent
Reconnection requests;Wherein, the reconnection requests include in client-cache minimal cache number and data number set in most
Big data number;The corresponding relationship number of data and caching number that the client has been sent is stored in the client-cache
According to the caching number is that the client is numbered according to the data that incremental order sends the client and is obtained
, number corresponding to the data that the data number set is received comprising the client;And
Connection establishment module for having maximum data number in detecting local cache, and receives number collection
When there is the minimal cache number in conjunction, detection successful information is sent to the client, and re-establish and the client
The connection at end;Wherein, the corresponding relation data for having sent data and having sent number, the transmission are stored in the local cache
Number is to be numbered and obtain according to data of the incremental order to transmission, and the number set that receives includes the institute received
State number corresponding to the data of client transmission.
Further, the disconnection reconnecting device further include:
First data transmission blocks, for sending data to the client after the connection established with client disconnects
It is numbered with corresponding transmission, and the data sent and corresponding transmission number is written in the local cache;And
First data removing module, the size of data for storing in detecting the local cache are more than preset value
When, the minimum transmission number deleted in local cache has sent data with corresponding.
Further, the disconnection reconnecting device further include:
Judgment module, for judging in the local cache whether there is the transmission for being greater than maximum data number to compile
Number;And
Data retransmit module, for when the judgment module is judged to being, described in the local cache
It sends number and the corresponding data that sent is retransmitted to the client.
Further, the disconnection reconnecting device further include:
Number obtains module, for obtaining the maximum number received in number set;
Number sending module makes the client determine institute for the maximum number to be sent to the client
When stating in client-cache with the caching number for being greater than the maximum number, retransmit described in the client-cache
Caching number has sent data with corresponding;And
First data reception module has been sent out for receiving the caching number that the client retransmits with corresponding
Send data.
Further, the disconnection reconnecting device further include:
Second data transmission blocks, for sending data to the client before the connection established with client disconnects
It numbers with corresponding transmission, and by the data sent and sends in the number write-in local cache;
Confirmation message receiving module, for receiving the first confirmation message of the client feedback;First confirmation letter
Breath includes the transmission number sent;And
It is slow to delete the local for numbering according to the transmission in first confirmation message for second data removing module
Transmission number in depositing has sent data with corresponding.
Further, the disconnection reconnecting device further include:
Second data reception module, for before the connection established with client disconnects, receiving what the client was sent
Data and corresponding caching number;And
Information feedback module, for caching number to be saved in the reception number set, and according to described slow
Number is deposited to second confirmation message of client feedback, the client is made to delete the visitor according to second confirmation message
Caching number in the caching of family end has sent data with corresponding.
The other side of the embodiment of the present invention also provides a kind of disconnection reconnecting device, comprising:
Reconnection requests sending module, for sending reconnection to the server after the connection established with server disconnects
Request;Wherein, the reconnection requests include the minimal cache number in local cache and the maximum data in data number set
Number;Be stored with the corresponding relation data for having sent data and caching number in the local cache, the caching number be by
It is numbered and obtains according to data of the incremental order to transmission, the data number set includes the server received
Number corresponding to the data of transmission;And
Connection re-establishes module, the detection successful information sent for receiving the server, and re-establishes and institute
State the connection of server;Wherein, the detection successful information is described in the server has in detecting server buffer
Maximum data number, and while receiving in number set with the minimal cache number, generates;It is deposited in the server buffer
Contain data that the server has been sent and send the corresponding relation data of number, transmissions is numbered be the server by
It is numbered and obtains according to data of the incremental order to transmission, it is described to receive what number set was received comprising the server
Number corresponding to data.
Further, the disconnection reconnecting device further include:
First sending module sends data and right to the server for after the connection established with server disconnects
The caching number answered, and the data sent and corresponding caching number are written in the local cache;And
First removing module is deleted when the size of data for storing in detecting the local cache is more than preset value
Except the minimal cache number in local cache has sent data with corresponding.
Further, the disconnection reconnecting device further include:
First receiving module has sent data with corresponding for receiving the transmission number that the server retransmits;
The transmission number of the retransmission and the corresponding data that sent are that the server has in determining the server buffer
When having the transmission number for being greater than maximum data number, the corresponding data that is obtained from the server buffer.
Further, the disconnection reconnecting device further include:
Number receiving module, for receiving the maximum number in the reception number set that the server is sent;
Number judgment module, for judging whether there is the caching for being greater than the maximum number to compile in the local cache
Number;And
Module is retransmitted, it is for when the number judgment module is judged to being, then described in the local cache
Caching number and the corresponding data that sent are retransmitted to the server.
Further, the disconnection reconnecting device further include:
Second receiving module, for before the connection established with server disconnects, receiving the data that the server is sent
It is numbered with corresponding transmission;And
Feedback module for transmission number to be saved in the data number set, and is compiled according to the transmission
Number to first confirmation message of server feedback, the server is made to delete the server according to first confirmation message
Transmission number in caching has sent data with corresponding.
Further, the disconnection reconnecting device further include:
Second sending module sends data and right to the server for before the connection established with server disconnects
The caching number answered, and by the data sent and send in the number write-in local cache;
Information receiving module, for receiving the second confirmation message of the server feedback;The second confirmation message packet
Include the caching number sent;And
Second removing module is deleted in the local cache for being numbered according to the caching in second confirmation message
Transmission number and corresponding sent data.
Correspondingly, the embodiment of the present invention also provides a kind of disconnection reconnecting system, including client and server;
Disconnection reconnecting device provided by one side of the server configured with above-described embodiment;
Disconnection reconnecting device provided by another aspect of the client configured with above-described embodiment.
The implementation of the embodiments of the present invention has the following beneficial effects:
Disconnection reconnecting method, apparatus and system provided in an embodiment of the present invention can make client and server that will send
Data buffer storage in local, after connection between a client and a server disconnects, to the number cached in client and server
According to being detected, when detecting Data Matching, the connection between client and server is directly re-established, thus effectively anti-
The loss for only transmitting data, improves the efficiency of disconnection reconnecting;Client is not received and caches transmission in the server
Data are retransmitted to client, and the data of transmission that server is not received and cached in the client are retransmitted to clothes
Business device no longer needs to transmission initialization information, saves Internet resources after reconnecting client and server;In client kimonos
After connection between business device disconnects, client gets up the data buffer storage of user's operation, and connection retransmits again after re-establishing,
The continuity of user's operation is kept, user experience is improved.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of disconnection reconnecting method provided by the invention;
Fig. 2 is the flow diagram of second embodiment of disconnection reconnecting method provided by the invention;
Fig. 3 is the structural schematic diagram of one embodiment of disconnection reconnecting device provided by the invention;
Fig. 4 is the structural schematic diagram of second embodiment of disconnection reconnecting device provided by the invention;
Fig. 5 is the structural schematic diagram of one embodiment of disconnection reconnecting system provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is the flow diagram of one embodiment of disconnection reconnecting method provided by the invention referring to Fig. 1, comprising:
S11, after the connection established with client disconnects, receive the reconnection requests that the client is sent;Wherein, described
Reconnection requests include the minimal cache number in client-cache and the maximum data number in data number set;The client
The corresponding relation data of data and caching number that the client has been sent is stored in the caching of end, the caching number is institute
It states client to be numbered and obtain according to the data that incremental order sends the client, the data number set packet
Number corresponding to the data received containing the client;
S12, there is maximum data number in detecting local cache, and receive have in number set it is described most
When small caching number, detection successful information is sent to the client, and re-establish the connection with the client;Wherein,
The corresponding relation data for having sent data and having sent number is stored in the local cache, the transmission number is according to incremental
Sequence is numbered the data of transmission and obtains, described to receive what the client of the number set comprising receiving was sent
Number corresponding to data.
It should be noted that disconnection reconnecting method provided in an embodiment of the present invention is executed by server, wherein local
Caching is server buffer.Client and server is numbered and caches to the data that it sends respectively, wherein according to data
Data are numbered in the sequence of transmission, so that the data of each transmission is had unique number, and numbering is the whole of monotonic increase
Number.Client and server gets off the number respective cache for having sent data, and client while caching has sent data
End and server preserve number corresponding to the data received when receiving the data of other side's transmission.
After the connection of server and client disconnects, client initiates reconnection requests, by the minimum in client-cache
The number for the latest data that caching number and client receive, i.e., the maximum data number in data number set are sent to clothes
Business device.Server detects number and is verified, by maximum number after receiving minimal cache number and maximum data number
It is compared according to number and the transmission number in server buffer, has in detecting server buffer and numbered with maximum data
When identical transmission number, illustrate that the data client of server transmission has received or server has been sent and client
The data not received are held still to cache in the server, the data that server is sent are not lost.Wherein, if nothing in server buffer
It is data cached, then most newly generated number in server can be obtained by the number generating means in server, if this is newest
The number of generation is identical as maximum data number, then the data client for illustrating that server is sent has received, server hair
The data sent are not lost.
Meanwhile minimal cache is numbered and is compared with each number received in number set by server, is being detected
When receiving in number set with minimal cache number, the data server for illustrating that client is sent is had received, Huo Zheke
Family end has been sent and data that server does not receive still cache in the client, and the data that client is sent are not lost.It is examining
The data of server and client side's transmission are measured when not losing, determine that number detects successfully, server will test successful information
It is sent to client, while re-establishing the connection with client.If server detect in server buffer do not have with most
Big data is numbered identical transmission and is numbered, or receives and do not have minimal cache number in number set, then illustrates server and visitor
The data transmitted between the end of family have a loss, determine verification failure, will test failure information and be sent to client, make user again into
Row logs in.The present embodiment effectively prevents the loss of transmission data by way of caching and having sent data, improves broken string weight
Efficiency even.
Further, before the reconnection requests for receiving the client transmission, further includes:
After the connection established with client disconnects, data and corresponding transmission number are sent to the client, and will
The data sent and corresponding transmission number are written in the local cache;
When the size of data stored in detecting the local cache is more than preset value, the minimum in local cache is deleted
It sends number and has sent data with corresponding.
It should be noted that server still can send data to client after the connection of server and client disconnects,
And the data sent are cached, so as to after connection re-establishes the data that do not receive client retransmit to
Client.Meanwhile the caching upper limit of server buffer is set, which establishes generally and normally the big of initialization data after connection
It is small similar or bigger.When server buffer is more than the upper limit, data oldest in caching are deleted, that is, it is minimum to send number
Transmission data, thus caused by avoiding the data retransmitted after a connection setup excessive flow waste.
Further, it is described re-establish with after the connection of the client, further includes:
Judge whether there is the transmission number for being greater than maximum data number in the local cache;
If so, retransmitting the transmission number in the local cache with the corresponding data that sent to described
Client.
Wherein, after client and server re-establishes connection, it need to further judge the data consumers that server is sent
Whether end has received.When not having the transmission number for being greater than maximum data number in determining server caching, illustrate to service
The data client that device is sent has received, and can remove all data in server buffer;Have in determining server caching
When having the transmission number for being greater than maximum data number, illustrate that the partial data client of server transmission does not receive, it need to will be objective
The data that family end does not receive are greater than data corresponding to the transmission number of maximum data number and send out again that is, in server buffer
Client is given, meanwhile, it can remove and be less than or equal to number corresponding to the transmission number of maximum data number in server buffer
According to.For example, the maximum data number that client is sent is m, if the number in server buffer is [m-2, m], then directly remove
Data in server buffer;It is if the number in server buffer is [m-2, m+5], then [m+1, m+5] number institute is right
The data answered are retransmitted to client, while removing the corresponding data of [m-2, m] number.
Further, it is described re-establish with after the connection of the client, further includes:
Obtain the maximum number received in number set;
The maximum number is sent to the client, there is the client in determining the client-cache
Greater than the maximum number caching number when, retransmit caching number in the client-cache with it is corresponding
Send data;
It receives the caching number that the client retransmits and has sent data with corresponding.
Wherein, after client and server re-establishes connection, it need to further judge the data service that client is sent
Whether device has received.By the number of the latest data received, that is, the maximum number received in number set is sent server
To client, compare client by maximum number and the caching number in client-cache.If in client-cache not
When with the caching number for being greater than maximum number, the data server for illustrating that client is sent has been received, and can remove client
All data in caching;If there is the caching number for being greater than maximum number in client-cache, illustrate what client was sent
Partial data server does not receive, and the slow of maximum number need to be greater than by the not received data of server, i.e., in client-cache
The corresponding data of number are deposited to retransmit to server, meanwhile, it can remove and be less than or equal to maximum number in client-cache
The corresponding data of caching number.For example, the maximum number that server is sent is n, if the number in client-cache is [n-
1, n], then the data in client-cache are directly removed;If the number in client-cache is [n-2, n+4], then by [n+
1, n+4] the corresponding data of number are retransmitted to server, while removing the corresponding data of [n-2, n] number.
Further, the disconnection reconnecting method further include:
Before the connection established with client disconnects, data and corresponding transmission number are sent to the client, and will
The data and transmission number sent are written in the local cache;
Receive the first confirmation message of the client feedback;First confirmation message includes that the transmission sent is compiled
Number;
According in first confirmation message transmission number, delete in the local cache the transmission number and it is right
The transmission data answered.
It should be noted that before the connection that server and client are established disconnects, server to sent data into
Row number, and the data and corresponding number are sent to client, meanwhile, the data and corresponding number are stored in service
In device caching.Client saves the number of the data upon receipt of the data, and to server feedback confirmation message, confirms number
According to having received, wherein include the number of the data in confirmation message.Server is receiving the confirmation message containing number
Afterwards, the data in clearing server caching all delete number less than or equal to data corresponding to the number in confirmation message
It removes.
Further, the disconnection reconnecting method further include:
Before the connection established with client disconnects, the data and corresponding caching number that the client is sent are received;
Caching number is saved in the reception number set, and is numbered according to the caching to the client
The second confirmation message is fed back, deletes the client according to second confirmation message described slow in the client-cache
It deposits number and has sent data with corresponding.
It should be noted that before the connection that server and client are established disconnects, client to sent data into
Row number, and the data and corresponding number are sent to server, meanwhile, the data and corresponding number are buffered in client
In the caching of end.Server upon receipt of the data, the corresponding number of the data is stored in reception number set, and to visitor
The confirmation message containing the number is fed back at family end, to confirm that data receiver finishes.Client is receiving the confirmation containing number
After information, the data in client-cache are cleared up, data corresponding to the number that number is less than or equal in confirmation message are complete
It deletes in portion.
Referring to fig. 2, be disconnection reconnecting method provided by the invention second embodiment flow diagram, comprising:
S21, after the connection established with server disconnects, send reconnection requests to the server;Wherein, the reconnection
Request includes the minimal cache number in local cache and the maximum data number in data number set;In the local cache
It is stored with the corresponding relation data for having sent data and caching number, the caching number is the number according to incremental order to transmission
It is obtained according to being numbered, the data number set includes volume corresponding to the data of the server transmission received
Number;
S22, the detection successful information that the server is sent is received, and re-establishes the connection with the server;Its
In, the detection successful information is that the server has maximum data number in detecting server buffer, and connects
It is generated when in the number of incorporating into own forces set with the minimal cache number;The server is stored in the server buffer to have sent out
The data sent and the corresponding relation data for sending number, transmissions number be the server according to incremental order to transmission
Data are numbered and obtain, described to receive number corresponding to the data that number set is received comprising the server.
It should be noted that disconnection reconnecting method provided in an embodiment of the present invention is executed by client, wherein local
Caching is client-cache.After connection between a client and a server disconnects, user end to server sends reconnection requests,
Wherein, reconnection requests include the number for the latest data that the minimal cache number in client-cache is received with client, i.e.,
Maximum data number in data number set is sent to server, and server is made to detect and verify number.If service
Device verification failure, server, which sends detection failure information to client, makes user after client receives the detection failure information
Again it logs in, that is, executes and log in process as user's first login;If server verifies successfully, server is sent out to client
Successful information is surveyed in inspection, after client receives the information, re-establishes the connection between server.
Further, before the transmission reconnection requests to the server, further includes:
After the connection established with server disconnects, data and corresponding caching number are sent to the server, and will
The data sent and corresponding caching number are written in the local cache;
When the size of data stored in detecting the local cache is more than preset value, the minimum in local cache is deleted
Caching number has sent data with corresponding.
It should be noted that user can still operate in client after the connection of server and client disconnects, visitor
Family end caches the operation data of user, to retransmit the operation data of user to visitor after connection re-establishes
Family end guarantees the continuity of user's operation, improves user experience.Meanwhile the caching upper limit of client-cache is set, the upper limit one
As with normally establish connection after the size of initialization data it is similar or bigger.When client-cache is more than the upper limit, delete
Except data oldest in caching, that is, send that number is the smallest to have sent data, thus avoid retransmitting after a connection setup
Flow wastes caused by data are excessive.
Further, it is described re-establish with after the connection of the server, further includes:
It receives the transmission number that the server retransmits and has sent data with corresponding;The transmission of the retransmission
Number and the corresponding data that sent are that the server has in determining the server buffer greater than the maximum data
When the transmission number of number, the corresponding data that is obtained from the server buffer.
Further, it is described re-establish with after the connection of the server, further includes:
Receive the maximum number in the reception number set that the server is sent;
Judge whether there is the caching number for being greater than the maximum number in the local cache;
If so, retransmitting the caching number in the local cache with the corresponding data that sent to described
Server.
Further, the disconnection reconnecting method further include:
Before the connection established with server disconnects, the data and corresponding transmission number that the server is sent are received;
Transmission number is saved in the data number set, and is numbered according to the transmission to the server
The first confirmation message is fed back, the server is made to delete the hair in the server buffer according to first confirmation message
Number is sent to send data with corresponding.
It should be noted that before the connection that server and client are established disconnects, server to sent data into
Row number, and the data and corresponding number are sent to client, meanwhile, the data and corresponding number are stored in service
In device caching.The number of the data is saved in data number set by client upon receipt of the data, and to server
Feedback acknowledgment information, confirmation data have received, wherein include the number of the data in confirmation message.Server is receiving
To containing number confirmation message after, clearing server caching in data, will number be less than or equal to confirmation message in volume
Data corresponding to number are all deleted.
Further, the disconnection reconnecting method further include:
Before the connection established with server disconnects, data and corresponding caching number are sent to the server, and will
The data and transmission number sent are written in the local cache;
Receive the second confirmation message of the server feedback;Second confirmation message includes that the caching sent is compiled
Number;
According in second confirmation message caching number, delete in the local cache the transmission number and it is right
The transmission data answered.
It should be noted that before the connection that server and client are established disconnects, client to sent data into
Row number, and the data and corresponding number are sent to server, meanwhile, the data and corresponding number are buffered in client
In the caching of end.Server upon receipt of the data, the corresponding number of the data is stored in reception number set, and to visitor
The confirmation message containing the number is fed back at family end, to confirm that data receiver finishes.Client is receiving the confirmation containing number
After information, the data in client-cache are cleared up, data corresponding to the number that number is less than or equal in confirmation message are complete
It deletes in portion.
Disconnection reconnecting method provided in an embodiment of the present invention, can make client and server that the data buffer storage of transmission exists
It is local, after connection between a client and a server disconnects, the data cached in client and server are detected,
When detecting Data Matching, the connection between client and server is directly re-established, to effectively prevent transmission data
It loses, improves the efficiency of disconnection reconnecting;The data of transmission that client is not received and is cached in the server retransmit
To client, the data of transmission that server is not received and cached in the client are retransmitted to server, client is made
End and service no longer need to transmission initialization information after thinking highly of new connection, save Internet resources;Between clients and servers
After connection disconnects, client gets up the data buffer storage of user's operation, and connection retransmits again after re-establishing, and keeps user behaviour
The continuity of work improves user experience.
Correspondingly, can be realized the disconnection reconnecting side in above-described embodiment the present invention also provides a kind of disconnection reconnecting device
All processes of method.
It is the structural schematic diagram of one embodiment of disconnection reconnecting device provided by the invention referring to Fig. 3, comprising:
Reconnection requests receiving module 31 is sent for after the connection established with client disconnects, receiving the client
Reconnection requests;Wherein, the reconnection requests include in minimal cache number and the data number set in client-cache
Maximum data number;The corresponding relationship of data and caching number that the client has been sent is stored in the client-cache
Data, the caching number is that the client is numbered according to the data that incremental order sends the client and is obtained
, number corresponding to the data that the data number set is received comprising the client;And
Connection establishment module 32 for having maximum data number in detecting local cache, and receives number
When there is the minimal cache number in set, detection successful information is sent to the client, and re-establish and the visitor
The connection at family end;Wherein, the corresponding relation data for having sent data and having sent number, the hair are stored in the local cache
Sending number is to be numbered and obtain according to data of the incremental order to transmission, and the number set that receives includes to receive
Number corresponding to the data that the client is sent.
Further, the disconnection reconnecting device further include:
First data transmission blocks, for sending data to the client after the connection established with client disconnects
It is numbered with corresponding transmission, and the data sent and corresponding transmission number is written in the local cache;And
First data removing module, the size of data for storing in detecting the local cache are more than preset value
When, the minimum transmission number deleted in local cache has sent data with corresponding.
Further, the disconnection reconnecting device further include:
Judgment module, for judging in the local cache whether there is the transmission for being greater than maximum data number to compile
Number;And
Data retransmit module, for when the judgment module is judged to being, described in the local cache
It sends number and the corresponding data that sent is retransmitted to the client.
Further, the disconnection reconnecting device further include:
Number obtains module, for obtaining the maximum number received in number set;
Number sending module makes the client determine institute for the maximum number to be sent to the client
When stating in client-cache with the caching number for being greater than the maximum number, retransmit described in the client-cache
Caching number has sent data with corresponding;And
First data reception module has been sent out for receiving the caching number that the client retransmits with corresponding
Send data.
Further, the disconnection reconnecting device further include:
Second data transmission blocks, for sending data to the client before the connection established with client disconnects
It numbers with corresponding transmission, and by the data sent and sends in the number write-in local cache;
Confirmation message receiving module, for receiving the first confirmation message of the client feedback;First confirmation letter
Breath includes the transmission number sent;And
It is slow to delete the local for numbering according to the transmission in first confirmation message for second data removing module
Transmission number in depositing has sent data with corresponding.
Further, the disconnection reconnecting device further include:
Second data reception module, for before the connection established with client disconnects, receiving what the client was sent
Data and corresponding caching number;And
Information feedback module, for caching number to be saved in the reception number set, and according to described slow
Number is deposited to second confirmation message of client feedback, the client is made to delete the visitor according to second confirmation message
Caching number in the caching of family end has sent data with corresponding.
Referring to fig. 4, be disconnection reconnecting device provided by the invention second embodiment structural schematic diagram, comprising:
Reconnection requests sending module 41, for sending weight to the server after the connection established with server disconnects
Even request;Wherein, the reconnection requests include the minimal cache number in local cache and the maximum number in data number set
According to number;The corresponding relation data for having sent data and caching number is stored in the local cache, the caching number is
It is numbered and obtains according to data of the incremental order to transmission, the data number set includes the service received
Number corresponding to the data that device is sent;And
Connection re-establishes module 42, the detection successful information sent for receiving the server, and re-establish with
The connection of the server;Wherein, the detection successful information is that the server has institute in detecting server buffer
It is generated when stating maximum data number, and receiving in number set with the minimal cache number;In the server buffer
The data and the corresponding relation data for sending number that the server has been sent are stored with, the transmission number is the server
It is numbered and obtains according to data of the incremental order to transmission, the reception number set is received comprising the server
Data corresponding to number.
Further, the disconnection reconnecting device further include:
First sending module sends data and right to the server for after the connection established with server disconnects
The caching number answered, and the data sent and corresponding caching number are written in the local cache;And
First removing module is deleted when the size of data for storing in detecting the local cache is more than preset value
Except the minimal cache number in local cache has sent data with corresponding.
Further, the disconnection reconnecting device further include:
First receiving module has sent data with corresponding for receiving the transmission number that the server retransmits;
The transmission number of the retransmission and the corresponding data that sent are that the server has in determining the server buffer
When having the transmission number for being greater than maximum data number, the corresponding data that is obtained from the server buffer.
Further, the disconnection reconnecting device further include:
Number receiving module, for receiving the maximum number in the reception number set that the server is sent;
Number judgment module, for judging whether there is the caching for being greater than the maximum number to compile in the local cache
Number;And
Module is retransmitted, it is for when the number judgment module is judged to being, then described in the local cache
Caching number and the corresponding data that sent are retransmitted to the server.
Further, the disconnection reconnecting device further include:
Second receiving module, for before the connection established with server disconnects, receiving the data that the server is sent
It is numbered with corresponding transmission;And
Feedback module for transmission number to be saved in the data number set, and is compiled according to the transmission
Number to first confirmation message of server feedback, the server is made to delete the server according to first confirmation message
Transmission number in caching has sent data with corresponding.
Further, the disconnection reconnecting device further include:
Second sending module sends data and right to the server for before the connection established with server disconnects
The caching number answered, and by the data sent and send in the number write-in local cache;
Information receiving module, for receiving the second confirmation message of the server feedback;The second confirmation message packet
Include the caching number sent;And
Second removing module is deleted in the local cache for being numbered according to the caching in second confirmation message
Transmission number and corresponding sent data.
It is the structural schematic diagram of one embodiment of disconnection reconnecting system provided by the invention, including client referring to Fig. 5
51 and server 52.
The server 52 is no longer retouched in detail herein configured with disconnection reconnecting device provided by above-mentioned one embodiment
It states.
The client 51 is no longer retouched in detail herein configured with disconnection reconnecting device provided by above-mentioned second embodiment
It states.
Disconnection reconnecting apparatus and system provided in an embodiment of the present invention, can make client and server by the data of transmission
It is buffered in local, after connection between a client and a server disconnects, the data cached in client and server are carried out
Detection, when detecting Data Matching, directly re-establishes the connection between client and server, to effectively prevent transmitting
The loss of data improves the efficiency of disconnection reconnecting;Client is not received and caches the data weight of transmission in the server
It newly is sent to client, the data of transmission that server is not received and cached in the client are retransmitted to server,
Transmission initialization information is no longer needed to after reconnecting client and server, saves Internet resources;In client and server
Between connection disconnect after, client gets up the data buffer storage of user's operation, connection re-establish after retransmit again, keep
The continuity of user's operation improves user experience.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (25)
1. a kind of disconnection reconnecting method characterized by comprising
After the connection established with client disconnects, the reconnection requests that the client is sent are received;Wherein, the reconnection requests
Including the minimal cache number in client-cache and the maximum data number in data number set;In the client-cache
It is stored with the corresponding relation data of data and caching number that the client has been sent, the caching number is the client
It is numbered and obtains according to the data that incremental order sends the client, the data number set includes the visitor
Number corresponding to the data that family termination receives;
There is maximum data number in detecting local cache, and receiving in number set, there is the minimal cache to compile
Number when, send detection successful information to the client, and re-establish the connection with the client;Wherein, the local
The corresponding relation data for having sent data and having sent number is stored in caching, the transmission number is according to incremental order to hair
The data sent are numbered and obtain, and the data institute for receiving client transmission of the number set comprising receiving is right
The number answered.
2. disconnection reconnecting method as described in claim 1, which is characterized in that in the reconnection for receiving the client and sending
Before request, further includes:
After the connection established with client disconnects, data and corresponding transmission number are sent to the client, and will send out
The data sent and corresponding transmission number are written in the local cache;
When the size of data stored in detecting the local cache is more than preset value, the minimum in the local cache is deleted
It sends number and has sent data with corresponding.
3. disconnection reconnecting method as claimed in claim 1 or 2, which is characterized in that re-established and the client described
Connection after, further includes:
Judge whether there is the transmission number for being greater than maximum data number in the local cache;
If so, retransmitting the transmission number in the local cache with the corresponding data that sent to the client
End.
4. disconnection reconnecting method as claimed in claim 1 or 2, which is characterized in that re-established and the client described
Connection after, further includes:
Obtain the maximum number received in number set;
The maximum number is sent to the client, there is the client in determining the client-cache and be greater than
When the caching number of the maximum number, the caching number retransmitted in the client-cache has been sent with corresponding
Data;
It receives the caching number that the client retransmits and has sent data with corresponding.
5. disconnection reconnecting method as described in claim 1, which is characterized in that the disconnection reconnecting method further include:
Before the connection established with client disconnects, data and corresponding transmission number are sent to the client, and will send out
The data and transmission number sent are written in the local cache;
Receive the first confirmation message of the client feedback;First confirmation message includes the transmission number sent;
According in first confirmation message transmission number, delete in the local cache the transmission number and it is corresponding
Data are sent.
6. disconnection reconnecting method as described in claim 1, which is characterized in that the disconnection reconnecting method further include:
Before the connection established with client disconnects, the data and corresponding caching number that the client is sent are received;
Caching number is saved in the reception number set, and is numbered according to the caching to the client feedback
Second confirmation message, the caching for deleting the client according to second confirmation message in the client-cache are compiled
Number and corresponding sent data.
7. a kind of disconnection reconnecting method characterized by comprising
After the connection established with server disconnects, reconnection requests are sent to the server;Wherein, the reconnection requests include
Minimal cache number in local cache and the maximum data number in data number set;It is stored in the local cache
The corresponding relation data of data and caching number is sent, the caching number is compiled according to data of the incremental order to transmission
Number and obtain, the data number set includes number corresponding to data that the server that receives sends;
The detection successful information that the server is sent is received, and re-establishes the connection with the server;Wherein, the inspection
Surveying successful information is that the server has maximum data number in detecting server buffer, and receives number set
In with the minimal cache number when generate;Be stored in the server buffer data that the server has been sent and
The corresponding relation data of number is sent, the transmission number is that the server is compiled according to data of the incremental order to transmission
Number and obtain, it is described receive number corresponding to the data that number set is received comprising the server.
8. disconnection reconnecting method as claimed in claim 7, which is characterized in that send reconnection requests to the server described
Before, further includes:
After the connection established with server disconnects, data and corresponding caching number are sent to the server, and will send out
The data sent and corresponding caching number are written in the local cache;
When the size of data stored in detecting the local cache is more than preset value, the minimal cache in local cache is deleted
Number has sent data with corresponding.
9. disconnection reconnecting method as claimed in claim 7 or 8, which is characterized in that re-established and the server described
Connection after, further includes:
It receives the transmission number that the server retransmits and has sent data with corresponding;The transmission of the retransmission is numbered
It is that the server has in determining the server buffer greater than maximum data number with the corresponding data that sent
Transmission number when, the corresponding data that is obtained from the server buffer.
10. disconnection reconnecting method as claimed in claim 7 or 8, which is characterized in that re-established and the server described
Connection after, further includes:
Receive the maximum number in the reception number set that the server is sent;
Judge whether there is the caching number for being greater than the maximum number in the local cache;
If so, retransmitting the caching number in the local cache with the corresponding data that sent to the service
Device.
11. disconnection reconnecting method as claimed in claim 7, which is characterized in that the disconnection reconnecting method further include:
Before the connection established with server disconnects, the data and corresponding transmission number that the server is sent are received;
Transmission number is saved in the data number set, and is numbered according to the transmission to the server feedback
First confirmation message, the transmission for deleting the server according to first confirmation message in the server buffer are compiled
Number and corresponding sent data.
12. disconnection reconnecting method as claimed in claim 7, which is characterized in that the disconnection reconnecting method further include:
Before the connection established with server disconnects, data and corresponding caching number are sent to the server, and will send out
The data and transmission number sent are written in the local cache;
Receive the second confirmation message of the server feedback;Second confirmation message includes the caching number sent;
According in second confirmation message caching number, delete in the local cache the transmission number and it is corresponding
Data are sent.
13. a kind of disconnection reconnecting device characterized by comprising
Reconnection requests receiving module, for after the connection established with client disconnects, receiving the reconnection that the client is sent
Request;Wherein, the reconnection requests include the minimal cache number in client-cache and the maximum number in data number set
According to number;The corresponding relation data of data and caching number that the client has been sent is stored in the client-cache,
The caching number is that the client is numbered according to the data that incremental order sends the client and is obtained, institute
State number corresponding to the data that data number set is received comprising the client;And
Connection establishment module for having maximum data number in detecting local cache, and receives in number set
When with the minimal cache number, detection successful information is sent to the client, and re-establish and the client
Connection;Wherein, the corresponding relation data for having sent data and having sent number, the transmission number are stored in the local cache
It is to be numbered and obtain according to data of the incremental order to transmission, the number set that receives includes the visitor received
Number corresponding to the data that family end is sent.
14. disconnection reconnecting device as claimed in claim 13, which is characterized in that the disconnection reconnecting device further include:
First data transmission blocks send data and right to the client for after the connection established with client disconnects
The transmission number answered, and the data sent and corresponding transmission number are written in the local cache;And
First data removing module is deleted when the size of data for storing in detecting the local cache is more than preset value
Except the minimum transmission number in local cache has sent data with corresponding.
15. disconnection reconnecting device according to claim 13 or 14, which is characterized in that the disconnection reconnecting device further include:
Judgment module, for judging whether there is the transmission number for being greater than maximum data number in the local cache;With
And
Data retransmit module, for when the judgment module is judged to being, by the transmission in the local cache
Number and the corresponding data that sent are retransmitted to the client.
16. disconnection reconnecting device according to claim 13 or 14, which is characterized in that the disconnection reconnecting device further include:
Number obtains module, for obtaining the maximum number received in number set;
Number sending module makes the client determine the visitor for the maximum number to be sent to the client
When there is the caching number for being greater than the maximum number in the caching of family end, the caching in the client-cache is retransmitted
Number has sent data with corresponding;And
First data reception module has sent number with corresponding for receiving the caching number that the client retransmits
According to.
17. disconnection reconnecting device as claimed in claim 13, which is characterized in that the disconnection reconnecting device further include:
Second data transmission blocks send data and right to the client for before the connection established with client disconnects
The transmission number answered, and by the data sent and send in the number write-in local cache;
Confirmation message receiving module, for receiving the first confirmation message of the client feedback;The first confirmation message packet
Include the transmission number sent;And
Second data removing module is deleted in the local cache for being numbered according to the transmission in first confirmation message
Transmission number and corresponding sent data.
18. disconnection reconnecting device as claimed in claim 13, which is characterized in that the disconnection reconnecting device further include:
Second data reception module, for before the connection established with client disconnects, receiving the data that the client is sent
It is numbered with corresponding caching;And
Information feedback module for caching number to be saved in the reception number set, and is compiled according to the caching
Number to second confirmation message of client feedback, the client is made to delete the client according to second confirmation message
Caching number in caching has sent data with corresponding.
19. a kind of disconnection reconnecting device characterized by comprising
Reconnection requests sending module, for sending reconnection requests to the server after the connection established with server disconnects;
Wherein, the reconnection requests include the minimal cache number in local cache and the maximum data number in data number set;
The corresponding relation data for having sent data and caching number is stored in the local cache, the caching number is according to incremental
Sequence is numbered the data of transmission and obtains, and the data number set includes that the server received is sent
Number corresponding to data;And
Connection re-establishes module, the detection successful information sent for receiving the server, and re-establishes and the clothes
The connection of business device;Wherein, the detection successful information is that the server has the maximum in detecting server buffer
Data number, and while receiving in number set with the minimal cache number, generates;It is stored in the server buffer
Data that the server has been sent and the corresponding relation data for sending number, it is the server according to passing that transmissions, which is numbered,
Increasing sequence is numbered the data of transmission and obtains, the data for receiving number set and receiving comprising the server
Corresponding number.
20. disconnection reconnecting device as claimed in claim 19, which is characterized in that the disconnection reconnecting device further include:
First sending module sends data and corresponding to the server for after the connection established with server disconnects
Caching number, and the data sent and corresponding caching number are written in the local cache;And
First removing module deletes this when the size of data for storing in detecting the local cache is more than preset value
Minimal cache number in ground caching has sent data with corresponding.
21. the disconnection reconnecting device as described in claim 19 or 20, which is characterized in that the disconnection reconnecting device further include:
First receiving module has sent data with corresponding for receiving the transmission number that the server retransmits;It is described
The transmission number of retransmission and the corresponding data that sent are that the server has greatly in determining the server buffer
When the transmission number of maximum data number, the corresponding data that is obtained from the server buffer.
22. the disconnection reconnecting device as described in claim 19 or 20, which is characterized in that the disconnection reconnecting device further include:
Number receiving module, for receiving the maximum number in the reception number set that the server is sent;
Number judgment module, for judging whether there is the caching number for being greater than the maximum number in the local cache;With
And
Module is retransmitted, for when the number judgment module is judged to being, then the caching in the local cache
Number and the corresponding data that sent are retransmitted to the server.
23. disconnection reconnecting device as claimed in claim 19, which is characterized in that the disconnection reconnecting device further include:
Second receiving module, for before the connection established with server disconnects, receiving data that the server is sent and right
The transmission number answered;And
Feedback module, for by the transmission number be saved in the data number set, and according to transmissions number to
First confirmation message of server feedback makes the server delete the server buffer according to first confirmation message
In transmission number and corresponding sent data.
24. disconnection reconnecting device as claimed in claim 19, which is characterized in that the disconnection reconnecting device further include:
Second sending module sends data and corresponding to the server for before the connection established with server disconnects
Caching number, and the data sent and transmission number are written in the local cache;
Information receiving module, for receiving the second confirmation message of the server feedback;Second confirmation message includes
The caching of transmission is numbered;And
Second removing module deletes the institute in the local cache for numbering according to the caching in second confirmation message
It states transmission number and has sent data with corresponding.
25. a kind of disconnection reconnecting system, which is characterized in that including client and server;
The server configuration is just like the described in any item disconnection reconnecting devices of claim 13 to 18;
The client configuration is just like the described in any item disconnection reconnecting devices of claim 19 to 24.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510967076.6A CN105635116B (en) | 2015-12-18 | 2015-12-18 | Disconnection reconnecting method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510967076.6A CN105635116B (en) | 2015-12-18 | 2015-12-18 | Disconnection reconnecting method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105635116A CN105635116A (en) | 2016-06-01 |
CN105635116B true CN105635116B (en) | 2019-02-12 |
Family
ID=56049607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510967076.6A Active CN105635116B (en) | 2015-12-18 | 2015-12-18 | Disconnection reconnecting method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105635116B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107665155B (en) | 2016-07-28 | 2021-07-09 | 华为技术有限公司 | Method and device for processing data |
CN106714334A (en) * | 2016-12-22 | 2017-05-24 | 网易(杭州)网络有限公司 | Disconnection reconnection method, device and system |
CN106789281B (en) * | 2016-12-28 | 2019-12-31 | 青岛海天炜业过程控制技术股份有限公司 | Method for realizing disconnection reconnection in OPC protocol communication process |
CN107678885A (en) * | 2017-09-28 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of method, apparatus, equipment and the computer-readable recording medium of cloud backup |
CN109474579B (en) * | 2018-10-22 | 2021-05-21 | 北京龙创悦动网络科技有限公司 | Network reconnection method and device |
CN109714352A (en) * | 2018-12-29 | 2019-05-03 | 北京金山安全软件有限公司 | Network data transmission method and device and electronic equipment |
CN109701268A (en) * | 2018-12-29 | 2019-05-03 | 北京金山安全软件有限公司 | Method and device for transmitting information between devices, electronic device and storage medium |
CN111245939B (en) * | 2020-01-10 | 2022-07-29 | 中国建设银行股份有限公司 | Data synchronization method, device and system |
CN111416849B (en) * | 2020-03-13 | 2021-07-13 | 腾讯科技(深圳)有限公司 | Disconnection reconnection method, device and system and computer equipment |
CN117041305B (en) * | 2023-10-10 | 2024-01-23 | 成都秦川物联网科技股份有限公司 | Offline data management method, device and medium for gas flowmeter based on Internet of things |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761614A (en) * | 2012-06-29 | 2012-10-31 | 浪潮(北京)电子信息产业有限公司 | Method and system for realizing breakpoint resume of network data transmission |
CN103281346A (en) * | 2013-03-06 | 2013-09-04 | 起于凡信息技术(上海)有限公司 | Disconnection reconnection method, network system and proxy server |
CN103516587A (en) * | 2012-06-30 | 2014-01-15 | 北京神州泰岳软件股份有限公司 | Instant communication client terminal disconnection reconnection method and device |
CN103999394A (en) * | 2012-11-16 | 2014-08-20 | 华为技术有限公司 | Data retransmission and feedback methods, and corresponding apparatus |
CN104202414A (en) * | 2014-09-17 | 2014-12-10 | 合一网络技术(北京)有限公司 | Reliable transmission method based on UDP |
CN104320490A (en) * | 2014-11-12 | 2015-01-28 | 深圳市博康系统工程有限公司 | Reliable data transmission method and system based on SIP breakpoint resume |
-
2015
- 2015-12-18 CN CN201510967076.6A patent/CN105635116B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761614A (en) * | 2012-06-29 | 2012-10-31 | 浪潮(北京)电子信息产业有限公司 | Method and system for realizing breakpoint resume of network data transmission |
CN103516587A (en) * | 2012-06-30 | 2014-01-15 | 北京神州泰岳软件股份有限公司 | Instant communication client terminal disconnection reconnection method and device |
CN103999394A (en) * | 2012-11-16 | 2014-08-20 | 华为技术有限公司 | Data retransmission and feedback methods, and corresponding apparatus |
CN103281346A (en) * | 2013-03-06 | 2013-09-04 | 起于凡信息技术(上海)有限公司 | Disconnection reconnection method, network system and proxy server |
CN104202414A (en) * | 2014-09-17 | 2014-12-10 | 合一网络技术(北京)有限公司 | Reliable transmission method based on UDP |
CN104320490A (en) * | 2014-11-12 | 2015-01-28 | 深圳市博康系统工程有限公司 | Reliable data transmission method and system based on SIP breakpoint resume |
Also Published As
Publication number | Publication date |
---|---|
CN105635116A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105635116B (en) | Disconnection reconnecting method, apparatus and system | |
CN106330414B (en) | Message transmission method and device | |
Stock et al. | Walowdac-analysis of a peer-to-peer botnet | |
US6980518B1 (en) | Gossip-based reliable multicast message recovery system and method | |
CN109639712B (en) | Method and system for preventing DDOS attack | |
EP2448206A1 (en) | Method, system and device for transmitting video data | |
CN101547210A (en) | Method and device for processing TCP connection | |
CN102857354A (en) | Method, device and system for reporting alarm information | |
CN113965482B (en) | Data transmission method and device based on gRPC and storage medium | |
CN102209039A (en) | Method and equipment for transmitting file | |
CN108429682A (en) | A kind of optimization method and system of network transmission link | |
CN104640130A (en) | Rapid transfer method for message | |
JP2018517992A (en) | Hypertext transfer protocol request retransmission method, device, and client terminal | |
CN101369879B (en) | Method and apparatus for requesting data retransmission | |
CN108614750A (en) | The restoration methods and device of delay machine data | |
CN111836233B (en) | Data transmission method, communication device, and storage medium | |
CN1980232A (en) | Telnet session maitenance method, telnet proxy and computer network system | |
KR102435334B1 (en) | Adaptive Bidirectional Forwarding Detection protocol and equipment for maximizing service availability in network system | |
CN104580346A (en) | Data transmission method and device | |
CN107786607B (en) | Message retransmission method, message retransmission server and user equipment | |
US8762449B2 (en) | Method of downloading large size data to a large number of networked client machines from a single server | |
CN110266446B (en) | Method and device for adjusting out-of-order time length based on SACK mode | |
CN106131039A (en) | The processing method and processing device of SYN flood attack | |
CN116436570A (en) | Data transmission method, device, equipment and computer readable storage medium | |
CN110808917A (en) | Multilink aggregation data retransmission method and transmitting equipment |
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 |