CN106533845A - Long-connection state monitoring method and device - Google Patents

Long-connection state monitoring method and device Download PDF

Info

Publication number
CN106533845A
CN106533845A CN201611224516.XA CN201611224516A CN106533845A CN 106533845 A CN106533845 A CN 106533845A CN 201611224516 A CN201611224516 A CN 201611224516A CN 106533845 A CN106533845 A CN 106533845A
Authority
CN
China
Prior art keywords
time
intervalometer
long
array
long connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611224516.XA
Other languages
Chinese (zh)
Inventor
张振忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201611224516.XA priority Critical patent/CN106533845A/en
Publication of CN106533845A publication Critical patent/CN106533845A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a long-connection state monitoring method and device. The method comprises the following steps of: when long connection with a client side is established, setting the corresponding time-out time for the long connection; recording the time when a data packet sent by the client side based on the long connection is received in the last time; and, after the time-out time is up, if the period between the time, when the data packet sent by the client side based on the long connection is received in the last time, and the time-out time is beyond a pre-set time threshold value, disconnecting the long connection. By means of the method for setting the time-out time for each long connection, when the time-out time is up, whether the long connection is abnormal or not is judged; furthermore, abnormal long connection is disconnected; and thus, the resource waste problem due to abnormal connection can be avoided. The long-connection state monitoring method and device disclosed by the invention are independent of the monitoring function of an Epoll itself; even in a condition that a network system and a service structure are relatively complex, the abnormal connection also can be monitored; the monitoring failure problem can be avoided; the monitoring process is steady; and thus, the stability and the processing efficiency of an access system can be increased.

Description

A kind of long connection status monitoring method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of long connection status monitoring method and device.
Background technology
Long connection is referred to using TCP (Transmission Control Protocol, transmission control protocol) in client The connection set up and server between, long connection need client timing to send heartbeat packet to keep connecting continuously effective, are based on Long connection, can carry out data transmission between client and server at any time.
Effectively long connection is kept to be to provide the basis of good service, this requires server stablize, is effectively located in The concurrently access of a large amount of clients is managed, the abnormal length connection of connection, and the long company abnormal to connection can be quickly and accurately monitored Connect and deal with time, keep the access service ability of server.
With the expansion of cloud platform operation system, substantial amounts of client needs to access cloud platform server (abbreviation cloud platform) And be connected with cloud platform foundation length, communicated with cloud platform with will pass through length connection.Using the server of linux system by different Walk non-obstruction Epoll to process substantial amounts of client connection.Connection occurs in some cases between client and server Abnormal problem, for example:Due to connecting abnormal caused by unstable networks, but Epoll is more multiple in cloud platform operation system It is not sufficiently stable in the case of miscellaneous, it may occur that the problem of monitoring failure, so Epoll is easily monitored less than in cloud platform operation system Abnormal connection, and then the problem of corpse connection occurs, causes system resource waste, and as the long-time of problem is accumulated Server-capabilities can be caused to decline, or even service can not be provided.
The content of the invention
The present invention will provide a kind of long connection status monitoring method and device, to solve existing long connection status monitoring side The unstable problem of formula.
In order to solve above-mentioned technical problem, the present invention is by the following technical programs solving:
The invention provides a kind of long connection status monitoring method, performs in access system side, including:Building with client During vertical long connection, it is the corresponding time-out time of the long connect setting;Record last time receives the client based on institute State the time of the packet of long linkup transmit;After the time-out time is reached, if the last time receive it is described Time-out time described in time gap of the client based on the packet of the long linkup transmit exceedes default time threshold, then break Open the long connection.
Wherein, it is described for the corresponding time-out time of the long connect setting, including:It is corresponding fixed for the long connect setting When device, then time of the intervalometer is the time-out time.
Wherein, described is the corresponding time-out time of the long connect setting when long connection is set up with client, including: When setting up length respectively with multiple client and being connected, it is the corresponding intervalometer of each described long connect setting;Will be multiple described fixed When device according to time-out time sequential storage from small to large in the intervalometer array for pre-setting;If there is it is multiple overtime when Between identical intervalometer, then the plurality of time-out time identical intervalometer is stored to the intervalometer in the form of chained list In array.
Wherein, it is described after the time-out time is reached, if the last time receives the client and is based on Time-out time described in the time gap of the packet of the long linkup transmit exceedes default time threshold, then disconnect the length even Connect, including:Whether then every prescribed time period inquiry is located at the intervalometer of the array head of the intervalometer array;Inquiring Positioned at the array head intervalometer then after, delete the intervalometer in the intervalometer array, and to the timing Remaining intervalometer in device array is resequenced;It is determined that last time receives client based on the deleted intervalometer pair The absolute value of the difference of the time of the packet of the long linkup transmit answered and the corresponding time-out time of the long connection;If described The absolute value of difference is more than the time threshold, then disconnect the long connection.
Wherein, methods described also includes:If the absolute value of the difference is less than or equal to the time threshold, for described Long connection resets corresponding intervalometer, then time of the intervalometer be again for the long connect setting it is overtime when Between;The intervalometer for resetting is inserted in the intervalometer array according to time-out time order from small to large.
Wherein, it is described for the corresponding time-out time of the long connect setting, including:The access system be contained in it is described Access system or the timing system independently of the access system, are the corresponding intervalometer of the long connect setting;It is described fixed When device include:The address of call back function and the time-out time as the intervalometer then time;It is described to reach the time-out After time, if the last time receives time gap of the client based on the packet of the long linkup transmit The time-out time exceedes default time threshold, then disconnect the long connection, including:The timing system is at predetermined time intervals Whether then section inquiry is located at the intervalometer of the array head of the intervalometer array, and is inquiring determining positioned at the array head When device then after, the call back function according to the call by location of the call back function in the intervalometer, in the intervalometer number The intervalometer is deleted in group, and remaining intervalometer in the intervalometer array is resequenced;The access system is performed The call back function, it is determined that last time receives client based on the deleted corresponding long linkup transmit of the intervalometer The absolute value of the difference of the time of packet and the corresponding time-out time of the long connection, if the absolute value of the difference is more than The time threshold, then disconnect the long connection, conversely, then resetting for the long connection in the timing system corresponding Intervalometer.
Wherein, the access system is being contained in the access system or the timing system independently of the access system System, is the corresponding intervalometer of the long connect setting, also includes:The timing system is that the intervalometer arranges corresponding index Number and feed back to the access system;Methods described also includes:The access system is before the intervalometer is then, if connect The request for disconnecting the corresponding long connection of the intervalometer that the client sends is received, then by the index of the intervalometer Number and the corresponding time-out time of the long connection be sent to the timing system;The timing system is in the intervalometer array The middle deletion call number and the corresponding intervalometer of the time-out time.
Present invention also offers a kind of long connection status supervising device, is arranged on access system side, including:Setup module, For with client set up length be connected when, be the corresponding time-out time of the long connect setting;Logging modle, for record most Client time based on the packet of the long linkup transmit is received afterwards once;Module is disconnected, for reaching institute After stating time-out time, if the last time receive the client based on the packet of the long linkup transmit when Between time-out time described in distance exceed default time threshold, then disconnect the long connection.
Wherein, the setup module, for for the corresponding intervalometer of the long connect setting, the intervalometer to constantly Between be the time-out time.
Wherein, the setup module, is used for:When long connection is set up respectively with multiple client, it is that each described length connects Connect the corresponding intervalometer of setting;By multiple intervalometers according to time-out time sequential storage from small to large to pre-setting In intervalometer array;If there is multiple time-out time identical intervalometers, then by the timing of the plurality of time-out time identical Device is stored in the intervalometer array in the form of chained list.
Wherein, the disconnection module, is used for:Every prescribed time period inquiry is positioned at the array head of the intervalometer array Then whether intervalometer;Inquire positioned at the array head intervalometer then after, in the intervalometer array delete The intervalometer, and call the setup module to resequence remaining intervalometer in the intervalometer array;It is determined that last Time and the length of the client based on the packet of the deleted corresponding long linkup transmit of the intervalometer are received once Connect the absolute value of the difference of corresponding time-out time;If the absolute value of the difference is more than the time threshold, disconnect The long connection.
Wherein, the setup module is additionally operable to:If the absolute value of the difference is less than or equal to the time threshold, for The long connection resets corresponding intervalometer, and the then time of the intervalometer is again surpassing for the long connect setting When the time;The intervalometer for resetting is inserted into into the intervalometer array according to time-out time order from small to large In.
Wherein, the setup module in the access system, for being contained in the access system or independently of described The timing system of access system, is the corresponding intervalometer of the long connect setting;The intervalometer includes:The address of call back function With the time-out time as the intervalometer then time;The timing system every prescribed time period inquiry is positioned at the timing The intervalometer of the array head of device array whether then, and inquire positioned at the array head intervalometer then after, according to Call back function described in the call by location of the call back function in the intervalometer, deletes the timing in the intervalometer array Device, and remaining intervalometer in the intervalometer array is resequenced;Disconnection module in the access system, for performing The call back function, it is determined that last time receives client based on the deleted corresponding long linkup transmit of the intervalometer The absolute value of the difference of the time of packet and the corresponding time-out time of the long connection, if the absolute value of the difference is more than The time threshold, then disconnect the long connection, conversely, then resetting for the long connection in the timing system corresponding Intervalometer.
Wherein, the timing system is that the intervalometer arranges corresponding call number and feeds back in the access system Disconnect module;Disconnection module in the access system, was additionally operable to before the intervalometer is then, if receiving the visitor The request for disconnecting the corresponding long connection of the intervalometer that family end sends, then by the call number of the intervalometer and described The corresponding time-out time of length connection is sent to the timing system;The timing system is deleted described in the intervalometer array Call number and the corresponding intervalometer of the time-out time.
Beneficial effects of the present invention are as follows:
By the method for each long connect setting time-out time, the present invention judges that when time-out time arrives the length connects It is whether abnormal, and disconnect abnormal long connection, it is to avoid abnormal connection causes the problem of the wasting of resources.The present invention is not relied on The monitoring function of Epoll itself, even if in the case where network system and business structure are complex, it is also possible to abnormal connection It is monitored, is not in the problem of monitoring failure, monitors process stabilization, the stability of access system can be improved and effect is processed Rate.
Description of the drawings
Fig. 1 is the flow chart of long connection status monitoring method according to a first embodiment of the present invention;
Fig. 2 is the flow chart of long connection status monitoring method according to a second embodiment of the present invention;
Fig. 3 is the flow chart of the storage method of intervalometer according to a third embodiment of the present invention;
Fig. 4 is the flow chart of long connection status monitoring method according to a fourth embodiment of the present invention;
Fig. 5 is the interactive schematic diagram of client, access system and timing system according to a fourth embodiment of the present invention;
Fig. 6 is the interactive schematic diagram of access system according to a fourth embodiment of the present invention and timing system;
Fig. 7 is the structure chart of long connection status supervising device according to a fifth embodiment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing and embodiment, the present invention will be described in further detail.It should be appreciated that described herein Specific embodiment only to explain the present invention, not limit the present invention.
Embodiment one
The present embodiment provides a kind of long connection status monitoring method.Fig. 1 is long connection according to a first embodiment of the present invention The flow chart of method for monitoring state.The executive agent of the present embodiment is access system.
Step S110, when setting up length with client and being connected, is the corresponding time-out time of the long connect setting.
Time-out time is time point, and the present embodiment judges the long connection that has built up whether shape after the time point is reached State exception.
Receive the connection request that client sends;Length is set up according to the connection request and client to be connected, and is connected for the length Connect the corresponding time-out time of setting.
It is possible to further the time to set up long connection as initial time, the initial time is corresponding with the length connection Time-out time between have a period of time difference.When setting up length with multiple client respectively and being connected, can according to identical or Different time differences, is respectively the corresponding time-out time of each long connect setting.Certainly, the initial time can also select which His time point.
Specifically, when long connection is set up with client, according to the type of service of the client, it is the long connect setting pair The time-out time answered.
The type of service of client is included but is not limited to:Real time business and non-real-time service.Real time business is, for example,:Voice Business and video traffic.Non-real-time service is, for example,:Information issuing service.Certainly, the type of service of client can be according to need The difference asked carries out different settings.
Corresponding time difference can be set for every kind of type of service in advance, so when long connection is set up with client, Just on the basis of the time for setting up the length connection can add the corresponding time difference of type of service of the client, obtain The length connects corresponding time-out time.
Step S120, record last time receive time of the client based on the packet of the long linkup transmit.
The type of the packet includes:Connect effective heartbeat data packets and for the common of transmission data for remaining long Packet.
For a long connection, a packet is often received, just record receives the time of the packet (during reception Between).The time for receiving each packet based on the length can be stored in internal memory;Base can also be only stored in internal memory The time of packet is received in the length connection last time, i.e., newly receives a packet, just with this reception time Cover the reception time of last storage.
Step S130, after the time-out time is reached, if last time is received the client and is connected based on the length The time gap of the packet of the transmission time-out time then disconnects the length and connects more than default time threshold.
Time threshold is not connect for weighing the max-timeout time range of the packet for being not received by client transmission The time for receiving packet exceedes the time threshold, illustrates that long connection occurs abnormal.The size of time threshold can be empirical value Or the value that experiment is obtained.It is possible to further arrange corresponding time threshold for every kind of type of service in advance.
Come interim in the corresponding time-out time of length connection, obtain when packet is received for the last time in the case where the length connects Between the reception time of storage (last time), if the time-out time and last time receive the difference of the time of packet Absolute value is more than default time threshold, then disconnect the length and connect, conversely, then keeping the length connection effective.
Further, the time gap time-out time for the packet that the client sends is received for the last time more than pre- If time threshold, then it represents that client does not send packet within a period of time, or the packet of client transmission without Method reaches local terminal, and the long connection of this explanation occurs abnormal.In such a case, it is possible to disconnect the length connect, free system resources, drop Low system pressure.
The access system of the present embodiment can be a subsystem in cloud platform operation system, to length in access system The connection status of connection carries out real-time monitoring, and abnormal connection can be avoided to cause the problem of the wasting of resources.
The present embodiment does not rely on the monitoring function of Epoll itself, even if complex in network system and business structure In the case of, it is also possible to abnormal connection is monitored, is not in the problem of monitoring failure, is monitored process stabilization, Ke Yiti The stability of high access system and treatment effeciency.
Embodiment two
It is of the invention that the present embodiment provides a description that more specific embodiment is come further.Fig. 2 is according to this The flow chart of the long connection status monitoring method of bright second embodiment.In the present embodiment, executive agent is access system.
Step S210, when setting up length with client and being connected, is the corresponding time value of the long connect setting.
Step S220, when setting up length with client and being connected, is the corresponding intervalometer of the long connect setting.
The then time of intervalometer is time-out time, and such intervalometer can be used for judging whether present system time reaches The time-out time of long connection.
Specifically, when long connection is set up with client, according to the type of service of the client, it is the long connect setting pair The intervalometer answered.Intervalometer has timing length, can select timing according to the corresponding time difference of the type of service of client Duration and the time difference identical intervalometer, the intervalometer then mean that current time reaches time-out time, and then pass through Intervalometer is judging whether time-out time arrives.
In general, the timing length of intervalometer is second level.In timer creation success, represent that long connection is also created as Work(, the at this moment timing of intervalometer start.
Step S230, when packet of the client based on the long linkup transmit is received, being updated according to current time should Time value, makes the time that the time value is the packet that last time receives client transmission.
It can receive the time of connection request to be initially the long time value being correspondingly arranged that connects, subsequently, based on the length Connection receives the packet that client sends, and often receives a packet, and just the time value is updated once, in the time of renewal During value, the time for receiving packet using the last time updates time value, can so make time value be always the last Receive the time of packet.
Step S240, monitors the intervalometer, and the intervalometer then after, time-out time and the time value are compared Compared with.
Then, current time reaches time-out time to the intervalometer.After the corresponding time-out time of long connection arrives, need According to the packet reception state based on the length connection, judge whether the length connection is abnormal.
In the present embodiment, time-out time and last time are received the time of the packet of client transmission, will Time value after time-out time and renewal is compared, it is determined that the last time receives the time gap time-out time of packet Duration.
If after long connection establishment, just receiving any packet of client transmission not over the length, Then it is considered that it is exactly that the connection for receiving client transmission is asked that last time receives the time of the packet of client transmission The time asked, the i.e. time value are the time of the connection request for receiving client transmission.
Whether step S250, judge the absolute value of difference of the time value and time-out time more than time threshold;If it is, Then execution step S260;If it is not, then execution step S270.
Step S260, if the absolute value of the difference of the time value and time-out time is more than default time threshold, breaks Open the length to connect, and delete the intervalometer.
Step S270, if the absolute value of the difference of the time value and time-out time is less than or equal to the time threshold, protects Hold the long connection effective, delete the intervalometer and intervalometer is reset for the length connection.
The then time of the intervalometer for resetting is new time-out time.
In the present embodiment, the state of long connection is monitored by using intervalometer, and intervalometer does not receive network system and business The impact of the complexity of structure, can be monitored to all of abnormal connection, and safeguard simple, be not in monitoring failure Problem, and then stability and the treatment effeciency of access system is improved, lift the disposal ability of access system.
Embodiment three
Under normal circumstances, access system can set up long connection with multiple, even substantial amounts of clients, at this moment be accomplished by accessing System is the corresponding time-out time of each long connect setting, and the time-out time can be realized by intervalometer.Due to intervalometer Quantity it is more, need to be managed intervalometer, the management to intervalometer below is illustrated.The present embodiment can accessed System is performed.
As shown in figure 3, Fig. 3 is the flow chart of the storage method of intervalometer according to a third embodiment of the present invention.
Step S310, when setting up length respectively with multiple client and being connected, is the corresponding intervalometer of each long connect setting.
Long connection and intervalometer have one-to-one relation.
Specifically, when intervalometer is arranged, it is the unique call number of timer configuration (coding), by recording long connection letter The corresponding relation of breath and intervalometer call number, records the corresponding relation of long connection and intervalometer.Wherein, long link information bag Include:The IP (Internet Protocol Address, Internet protocol address) of client, MAC (Media Access Control, media access control) information such as address, port numbers.
Step S320, by multiple intervalometers according to time-out time sequential storage from small to large to determining for pre-setting When device array in.
If there is multiple time-out time identical intervalometers, then the plurality of time-out time identical intervalometer is adopted The form of chained list is stored in the intervalometer array.
Using each intervalometer as an array element in timer data group.The collection to intervalometer can so be realized Middle management and monitoring.
Whether then step S330, every prescribed time period inquiry are located at the intervalometer of the array head of the intervalometer array.
The intervalometer that lookup will be then for convenience is in the present embodiment, each self-corresponding super according to multiple intervalometers When the time, by sequential storage of multiple intervalometers according to time-out time from little to long in the intervalometer array for pre-setting.It is fixed When device time started plus timing length be time-out time.
Intervalometer array for example shown in table 1, it will be appreciated by those skilled in the art that table 1 is served only for schematic explanation Intervalometer array, rather than limit intervalometer array.
Table 1
In table 1, Timer1~Timer4 is respectively the call number of four intervalometers, and each call number has unique Property, according to time-out time from the order of little arrival, Timer1 also has and reaches within 3 seconds time-out time, Timer3 and also have 6 seconds to reach time-out Time, Timer2 also have 8 seconds arrival time-out times and Timer4 to also have 20 seconds to reach time-out time.In table 1, under array element Subscript of the numeral 0~3 of side for array element.
If the client data being connected with access system foundation length is more, multiple long connections are likely to occur corresponding fixed When device time-out time identical situation, for this problem, the present embodiment is solved by the array element of chain sheet form.Tool Body, if there is multiple time-out time identical intervalometers, then by multiple time-out time identical intervalometers using chained list Form is stored in intervalometer array.Intervalometer array for example shown in table 2, it will be appreciated by those skilled in the art that 2 use of table In schematically explanation intervalometer array, rather than limit intervalometer array.
Table 2
In table 2, Timer1~Timer7 is respectively the call number of seven intervalometers, and each call number has unique Property;According to time-out time order from small to large, Timer1~Timer3 also have 3 seconds reach time-out time, by Timer1~ Timer3 is stored in the form of chained list and the chained list is designated as under 0 array element;Timer4 also has 6 seconds to reach time-out Time, be designated as 1 array element as under, Timer5~Timer6 also has 8 seconds to reach time-out time, by Timer5~ Timer6 is designated as 2 array element as under using storage of linked list and using the chained list;Timer7 also has 20 seconds to reach time-out time, And 3 array element is designated as under.
Step S340, inquire positioned at the array head intervalometer then after, delete in the intervalometer array Except the intervalometer, and remaining intervalometer in the intervalometer array is resequenced.
To remaining the intervalometer rearrangement in intervalometer array or by the intervalometer in intervalometer array according to time-out Time order from small to large is ranked up.Because only deleting the intervalometer positioned at array head position in the present embodiment, can So that remaining intervalometer is moved to left in intervalometer array one, second array element of intervalometer array is made to move on to array head Position.
Step S350, it is determined that last time receives client sent out based on the deleted corresponding long connection of the intervalometer The absolute value of the difference of the time of the packet for sending and the corresponding time-out time of the long connection.
Whether step S360, judge the absolute value of the difference more than time threshold;If it is, execution step S370;Such as It is really no, then execution step S380.
Step S370, disconnects the long connection.
Step S380, is that the long connection resets corresponding intervalometer, and the then time of the intervalometer is for again For the time-out time of the long connect setting.
Step S390, it is described fixed to be inserted into the intervalometer for resetting according to time-out time order from small to large When device array in.
In order that order of the intervalometer in intervalometer array all the time according to time-out time from small to large is arranged, in this enforcement In example, using binary insertion sorting mode, newly-installed intervalometer is inserted in intervalometer array.Further, two points Method insertion sort is, when i-th array element is inserted, 0~i-1 above stored array element to be reduced by half, first I-th array element and that array element in the middle of 0~i-1 array element are compared, if i-th array Element then reduces by half to the array element of the front half section in 0~i-1 array element again less than middle array element, no Then the array element of the second half section in 0~i-1 array element is reduced by half, until (left in two neighboring array element It is right adjacent), till i-th array element is more than the array element on the left side, the array element less than the right, by the array unit on the right I-th array element is stored in the right by element and the shifting one after all data elements behind the data element on the right side The original position of array element on.Wherein, compare array element, be the timing length for comparing data element.
In embodiment, the intervalometer in monitor in real time intervalometer array, intervalometer then after, notify access system System, so that access system judges whether the corresponding long connection of the intervalometer needs to disconnect.
If multiple intervalometers according to timing length sequential storage from small to large in the intervalometer array for pre-setting, Intervalometer so positioned at the array head position of intervalometer array can first then, then can be with array head position in supervision timer array The intervalometer put.Array head is designated as 0 array element under being, the timing length of the intervalometer of the position is minimum.
Example IV
Management to intervalometer can be access system is contained in or independently of access system timing system carry out.It is logical Cross timing system to manage intervalometer, then, timing system notifies access system to intervalometer, and then realizes the prison of long connection status The method of control, can further reduce the processing pressure of access system, lift the disposal ability of access system, and can make The structure of cloud platform operation system becomes apparent from, and is easy to safeguard.In order that the present invention is clearer, below to access system and calmly When system coordinate perform long connection status monitoring method illustrate.Fig. 4 is long connection according to a fourth embodiment of the present invention The flow chart of method for monitoring state.
Step S410, access system are being contained in access system or the timing system independently of access system, are to grow company Connect the corresponding intervalometer of setting.
Intervalometer includes:The address of call back function and the time-out time as intervalometer then time.
The intervalometer created for long connection is sent to timing system by access system, and timing system completion timing device is deposited Storage, at this moment means timer creation success, long connection establishment success.Timer creation success, regularly starts.
Further, timing system monitoring access system is the intervalometer that multiple long connections are correspondingly arranged respectively;Wherein, will Multiple intervalometers are stored in the intervalometer array for pre-setting, and the intervalometer to storing in intervalometer array is monitored.
Manage multiple intervalometers for the ease of timing system, timing system by multiple intervalometers according to time-out time from it is little to Big sequential storage is in the intervalometer array for pre-setting, and the intervalometer to being stored in the array head of intervalometer array is carried out Monitoring.If there is multiple time-out time identical intervalometers, then multiple time-out time identical intervalometers are adopted by timing system Stored in intervalometer array with the form of chained list.
When the new intervalometer of access system transmission is received, can be using binary insertion sorting mode, newly being set The intervalometer put is inserted in intervalometer array.
Step S420, intervalometer of the timing system every prescribed time period inquiry positioned at the array head of the intervalometer array Whether then.
Step S430, timing system inquire positioned at the array head intervalometer then after, according to the timing Call back function described in the call by location of the call back function in device, deletes the intervalometer in the intervalometer array, and to institute Remaining intervalometer stated in intervalometer array is resequenced.
Step S440, access system perform the call back function, it is determined that last time receives client based on deleted The corresponding long linkup transmit of the intervalometer packet time and the difference of the long connection corresponding time-out time Absolute value, if the absolute value of the difference is more than the time threshold, disconnects the long connection, conversely, then described fixed When system reset corresponding intervalometer for the long connection.
In the present embodiment, long connection can be responsible for disconnection by client.Timing system is that intervalometer arranges corresponding rope Quotation marks simultaneously feed back to access system;Access system before intervalometer is then, if receive client transmission for disconnecting The request of the corresponding long connection of the intervalometer, then by when the call number of the intervalometer and the corresponding overtime long connection Between be sent to the timing system;The timing system delete in the intervalometer array call number and it is described overtime when Between corresponding intervalometer.
In order that the interaction between client, access system and timing system is clearer, it is given below such as Fig. 5 institutes The interactive schematic diagram of client, access system and the timing system shown.In order that the present invention is easier to understand, in the present embodiment In by taking a client as an example, client independently of access system and timing system, during timing system is included in access system or Person is independently of access system.
Step 1, timing system start.
Step 2, access system create Epoll, into listening state.
Step 3, client initiate connection request.
Connection request is used for request and access system sets up long connection.
Step 4, access system are long connect setting time value, and add Epoll to monitor queue the information of long connection.
By the storage information of long connection corresponding with time value.
Step 5, access system create corresponding intervalometer for the length connection.
Access system creates intervalometer and intervalometer is sent to timing system.
The parameter of the intervalometer includes:The address of time-out time and call back function.
Step 6, timing system return the successful message of timer creation to access system.
Timing system stores intervalometer in the intervalometer array for pre-setting, and intervalometer storage finishes expression intervalometer Create successfully, at this moment, the successful message of timer creation is returned to access system.
Step 7, access system return the successful message of long connection establishment to client.
The corresponding time value of length connection and intervalometer are arranged successfully, long connection establishment success, and at this moment access system is to client End returns the successful message of long connection establishment.
Step 8, client send packet to access system.
Step 9, access system processing data bag, and update the time value of the length connection.
Connect corresponding time value according to the information of long connection to the length to be updated.
Step 10, access system return reply data bag to client.
Step 11, then whether timing system supervision timer.
Then whether timing system is monitored to the intervalometer in intervalometer array, judge intervalometer.
After timer creation success, whether then timing system begins to supervision timer.
Step 12, timing system monitor timing and arrive, and delete the intervalometer.
Timing then, that is, reaches the corresponding time-out time of long connection to explanation intervalometer.
Step 13, access system judge whether have received the data that the client sends in max-timeout time range Bag.
When a length of time threshold of max-timeout time range, the terminal of max-timeout time range is time-out time.
Step 14, access system be judged to it is no in the case of, disconnect long connection, and delete the length from Epoll and connect.
If have received the packet that the client sends in max-timeout time range, keep long connection effective, And be connected to timing system for the length and reset intervalometer.
Carry out description further below to the interaction between access system and timing system, Fig. 6 is according to this The interactive schematic diagram of the access system and timing system of invention fourth embodiment.
Step 1, timing system initialization timer array, starts the thread for supervision timer array, using linux Select is used as clocked flip.
A big array is created as intervalometer array, in the intervalometer array, each array element is a chain Table, each array element can represent an intervalometer.
Step 2, access system create intervalometer for long connection, and by intervalometer (parameter:Time-out time and call back function Address etc.) it is sent to timing system.
In new establishment intervalometer, the parameter of the intervalometer includes access system:The time-out time and readjustment letter of intervalometer Several addresses.Caller of the access system as call back function.
Step 3, timing system be intervalometer ID of the distribution with uniqueness as call number, and according to timing length from little Intervalometer is inserted in intervalometer array to big order.
Timing system is ranked up according to time-out time, and the intervalometer for making time-out time minimum is located at the number of intervalometer array Group head.If there is the intervalometer of identical time-out time in intervalometer array, the intervalometer is inserted into the chained list of array element In.
Step 4, timing system return the successful message of timer creation to access system.
In message successful to access system return timer creation, the ID of intervalometer is carried within the message.
Step 5, then whether the intervalometer of the array head of timing system supervision timer array.
Step 6, timing system call call back function after the intervalometer of array head is monitored then, to realize notifying Intervalometer purpose then.
Timing system is pointed to the monitoring of the intervalometer of array head by linux select clocked flips.
Access system determination receives data not over the corresponding long connection of the intervalometer in max-timeout time range In the case of bag, long connection is disconnected.
Step 7, timing system delete intervalometer then
Step 8, resequences to intervalometer array.
Before timing system does not call call back function, if the long connection that access system receives client transmission is disconnected Request is opened, is then sent the instruction for deleting intervalometer to timing system, is included the ID and the intervalometer of intervalometer in the instruction Timing length.Timing system finds corresponding intervalometer simultaneously in intervalometer array according to the ID and timing length of intervalometer Delete, and to intervalometer array in remaining intervalometer resequence.
Embodiment five
The present embodiment provides a kind of long connection status supervising device for being arranged on access system side.Fig. 7 is according to the present invention The structure chart of the long connection status supervising device of the 5th embodiment.
This is arranged on the long connection status supervising device of access system side, including:
Setup module 710, for client set up length be connected when, when being that the long connect setting is corresponding overtime Between.
Logging modle 720, receives data of the client based on the long linkup transmit for recording last time The time of bag.
Module 730 is disconnected, for after the time-out time is reached, if last time receives client's end group Time-out time described in time gap in the packet of the long linkup transmit exceedes default time threshold, then disconnect the length Connection.
In one embodiment, setup module 710, for for the corresponding intervalometer of the long connect setting, the timing The then time of device is the time-out time.Logging modle 720, for when setting up length with client and be connected, being the long company Connect the corresponding time value of setting;When packet of the client based on the long linkup transmit is received, according to it is current when Between update the time value, make the time that the time value is that last time receives the packet that the client sends.It is disconnected Die sinking block 730, for monitoring the intervalometer;The intervalometer then after, delete the intervalometer, and by current time It is compared with the time value;If the absolute value of the difference of the time value and the time-out time is more than the time threshold Value, then disconnect the long connection, and delete the intervalometer.
In another embodiment, setup module 710, for multiple client set up respectively length be connected when, be each The corresponding intervalometer of the long connect setting;By multiple intervalometers according to time-out time sequential storage from small to large to pre- In the intervalometer array for first arranging.If there is multiple time-out time identical intervalometers, then by the plurality of time-out time phase Same intervalometer is stored in the intervalometer array in the form of chained list.
In another embodiment, module 730 is disconnected, for every prescribed time period inquiry positioned at the intervalometer array Then whether the intervalometer of array head;Inquire positioned at the array head intervalometer then after, in the intervalometer number Delete the intervalometer in group, and call remaining intervalometer in the intervalometer array of the setup module 710 pairs to arrange again Sequence;It is determined that last time receive client based on the packet of the deleted corresponding long linkup transmit of the intervalometer when Between and the corresponding time-out time of the long connection difference absolute value;If the absolute value of the difference is more than the time threshold Value, then disconnect the long connection.Setup module 710, if the absolute value for being additionally operable to the difference is less than or equal to the time threshold Value, then reset corresponding intervalometer for the long connection, and it is the long connection again that the then time of the intervalometer is The time-out time of setting;The intervalometer for resetting is inserted into into the timing according to time-out time order from small to large In device array.
In another embodiment, the setup module 710 in the access system, for be contained in the access system or Timing system of the person independently of the access system, is the corresponding intervalometer of the long connect setting;The intervalometer includes:Return The address of letter of transfer number and the time-out time as the intervalometer then time;The timing system every prescribed time period inquiry Positioned at the intervalometer array array head intervalometer whether then, and arrive the intervalometer positioned at the array head is inquired When after, the call back function according to the call by location of the call back function in the intervalometer is deleted in the intervalometer array Except the intervalometer, and remaining intervalometer in the intervalometer array is resequenced;Disconnection mould in the access system Block 730, for performing the call back function, it is determined that last time receives client based on the deleted intervalometer correspondence Long linkup transmit packet time and the corresponding time-out time of the long connection difference absolute value, if the difference The absolute value of value then disconnects the long connection more than the time threshold, conversely, then connecting for the length in the timing system Reset corresponding intervalometer.
The timing system is that the intervalometer arranges corresponding call number and feeds back to the disconnection in the access system Module 730;Disconnection module 730 in the access system, was additionally operable to before the intervalometer is then, if received described The request for disconnecting the corresponding long connection of the intervalometer that client sends, then by the call number of the intervalometer and institute State the corresponding time-out time of long connection and be sent to the timing system;The timing system deletes institute in the intervalometer array State call number and the corresponding intervalometer of the time-out time.
The function of the device described in the present embodiment is described in the embodiment of the method shown in Fig. 1~Fig. 6, therefore In the description of the present embodiment, not detailed part, may refer to the related description in previous embodiment, will not be described here.
Although being example purpose, the preferred embodiments of the present invention are had been disclosed for, those skilled in the art will recognize Various improvement, increase and replacement be also it is possible, therefore, the scope of the present invention should be not limited to above-described embodiment.

Claims (14)

1. a kind of long connection status monitoring method, it is characterised in that perform in access system side, including:
When long connection is set up with client, it is the corresponding time-out time of the long connect setting;
Record last time receives time of the client based on the packet of the long linkup transmit;
After the time-out time is reached, if the last time receives the client based on the long linkup transmit Packet time gap described in time-out time exceed default time threshold, then disconnect the long connection.
2. the method for claim 1, it is characterised in that described for the corresponding time-out time of the long connect setting, bag Include:
For the corresponding intervalometer of the long connect setting, the then time of the intervalometer is the time-out time.
3. method as claimed in claim 2, it is characterised in that described when setting up length with client and be connected, is the long company The corresponding time-out time of setting is connect, including:
When setting up length respectively with multiple client and being connected, it is the corresponding intervalometer of each described long connect setting;
By multiple intervalometers according to time-out time sequential storage from small to large in the intervalometer array for pre-setting;Such as There are multiple time-out time identical intervalometers in fruit, then by the plurality of time-out time identical intervalometer in the form of chained list Store in the intervalometer array.
4. method as claimed in claim 3, it is characterised in that described after the time-out time is reached, if it is described most Once receive time-out time described in time gap of the client based on the packet of the long linkup transmit afterwards to exceed in advance If time threshold, then disconnect the long connection, including:
Whether then every prescribed time period inquiry is located at the intervalometer of the array head of the intervalometer array;
Inquire positioned at the array head intervalometer then after, delete the intervalometer in the intervalometer array, And remaining intervalometer in the intervalometer array is resequenced;
It is determined that last time receives client based on the packet of the deleted corresponding long linkup transmit of the intervalometer The absolute value of the difference of time and the corresponding time-out time of the long connection;
If the absolute value of the difference is more than the time threshold, the long connection is disconnected.
5. method as claimed in claim 4, it is characterised in that methods described also includes:
If the absolute value of the difference is less than or equal to the time threshold, corresponding timing is reset for the long connection Device, the then time of the intervalometer are time-out time again for the long connect setting;
The intervalometer for resetting is inserted in the intervalometer array according to time-out time order from small to large.
6. method as claimed in claim 5, it is characterised in that
It is described for the corresponding time-out time of the long connect setting, including:
The access system is being contained in the access system or the timing system independently of the access system, is the length The corresponding intervalometer of connect setting;The intervalometer includes:The address of call back function and as the intervalometer then time Time-out time;
It is described after the time-out time is reached, if the last time receives the client based on the long connection Time-out time described in the time gap of the packet of transmission exceedes default time threshold, then disconnect the long connection, including:
Whether then the timing system every prescribed time period inquiry is located at the intervalometer of the array head of the intervalometer array, And inquire positioned at the array head intervalometer then after, according to the call by location of the call back function in the intervalometer The call back function, deletes the intervalometer in the intervalometer array, and to remaining timing in the intervalometer array Think highly of new sort;
The access system performs the call back function, it is determined that last time receives client based on the deleted timing The absolute value of the difference of the time of the packet of the corresponding long linkup transmit of device and the corresponding time-out time of the long connection, if The absolute value of the difference is more than the time threshold, then disconnect the long connection, conversely, being then described in the timing system Long connection resets corresponding intervalometer.
7. method as claimed in claim 6, it is characterised in that
The access system is being contained in the access system or the timing system independently of the access system, is the length The corresponding intervalometer of connect setting, also includes:
The timing system is that the intervalometer arranges corresponding call number and feeds back to the access system;
Methods described also includes:
The access system is before the intervalometer is then, if receiving the described fixed for disconnecting of the client transmission When the corresponding long connection of device request, then the call number of the intervalometer and the corresponding time-out time of the long connection are sent To the timing system;
The timing system deletes the call number and the corresponding intervalometer of the time-out time in the intervalometer array.
8. a kind of long connection status supervising device, it is characterised in that be arranged on access system side, including:
Setup module, for client set up length be connected when, be the corresponding time-out time of the long connect setting;
Logging modle, for record last time receive the client based on the packet of the long linkup transmit when Between;
Module is disconnected, for after the time-out time is reached, if the last time receives the client and is based on Time-out time described in the time gap of the packet of the long linkup transmit exceedes default time threshold, then disconnect the length even Connect.
9. device as claimed in claim 8, it is characterised in that the setup module, for for the long connect setting correspondence Intervalometer, then time of the intervalometer is the time-out time.
10. device as claimed in claim 9, it is characterised in that the setup module, is used for:
When setting up length respectively with multiple client and being connected, it is the corresponding intervalometer of each described long connect setting;
By multiple intervalometers according to time-out time sequential storage from small to large in the intervalometer array for pre-setting;Such as There are multiple time-out time identical intervalometers in fruit, then by the plurality of time-out time identical intervalometer in the form of chained list Store in the intervalometer array.
11. devices as claimed in claim 10, it is characterised in that the disconnection module, are used for:
Whether then every prescribed time period inquiry is located at the intervalometer of the array head of the intervalometer array;
Inquire positioned at the array head intervalometer then after, delete the intervalometer in the intervalometer array, And call the setup module to resequence remaining intervalometer in the intervalometer array;
It is determined that last time receives client based on the packet of the deleted corresponding long linkup transmit of the intervalometer The absolute value of the difference of time and the corresponding time-out time of the long connection;
If the absolute value of the difference is more than the time threshold, the long connection is disconnected.
12. devices as claimed in claim 11, it is characterised in that the setup module is additionally operable to:
If the absolute value of the difference is less than or equal to the time threshold, corresponding timing is reset for the long connection Device, the then time of the intervalometer are time-out time again for the long connect setting;
The intervalometer for resetting is inserted in the intervalometer array according to time-out time order from small to large.
13. devices as claimed in claim 12, it is characterised in that
Setup module in the access system, for being contained in the access system or independently of the access system Timing system, is the corresponding intervalometer of the long connect setting;The intervalometer includes:The address of call back function and as described The time-out time of intervalometer then time;
Whether then the timing system every prescribed time period inquiry is located at the intervalometer of the array head of the intervalometer array, And inquire positioned at the array head intervalometer then after, according to the call by location of the call back function in the intervalometer The call back function, deletes the intervalometer in the intervalometer array, and to remaining timing in the intervalometer array Think highly of new sort;
Disconnection module in the access system, for performing the call back function, it is determined that last time receives client's end group In time and the corresponding time-out time of the long connection of the packet of the corresponding long linkup transmit of the intervalometer being deleted Difference absolute value, if the absolute value of the difference is more than the time threshold, disconnect the long connection, conversely, then Corresponding intervalometer is reset in the timing system for the long connection.
14. devices as claimed in claim 13, it is characterised in that
The timing system is that the intervalometer arranges corresponding call number and feeds back to the disconnection module in the access system;
Disconnection module in the access system, was additionally operable to before the intervalometer is then, if receiving the client The request for disconnecting the corresponding long connection of the intervalometer for sending, then connect the call number of the intervalometer and the length Connect corresponding time-out time and be sent to the timing system;
The timing system deletes the call number and the corresponding intervalometer of the time-out time in the intervalometer array.
CN201611224516.XA 2016-12-27 2016-12-27 Long-connection state monitoring method and device Pending CN106533845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611224516.XA CN106533845A (en) 2016-12-27 2016-12-27 Long-connection state monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611224516.XA CN106533845A (en) 2016-12-27 2016-12-27 Long-connection state monitoring method and device

Publications (1)

Publication Number Publication Date
CN106533845A true CN106533845A (en) 2017-03-22

Family

ID=58337573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611224516.XA Pending CN106533845A (en) 2016-12-27 2016-12-27 Long-connection state monitoring method and device

Country Status (1)

Country Link
CN (1) CN106533845A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734032A (en) * 2017-10-16 2018-02-23 北京旷视科技有限公司 Internetwork connection establishing method and device
CN107800589A (en) * 2017-10-31 2018-03-13 普天东方通信集团有限公司 To the monitoring method of cloud platform access device, device and its cloud platform used
CN107958414A (en) * 2017-11-07 2018-04-24 中国银行股份有限公司 A kind of method and system of removing CICS systems length transaction
CN108900370A (en) * 2018-06-08 2018-11-27 努比亚技术有限公司 It is long to connect multiple overtime judgment method, device and computer readable storage medium
CN109067698A (en) * 2018-06-05 2018-12-21 中国平安人寿保险股份有限公司 A kind of variation and equipment of document of agreement
CN109191286A (en) * 2018-10-19 2019-01-11 中国银行股份有限公司 The processing method and processing device of one kind of multiple external datas
CN109889406A (en) * 2019-02-02 2019-06-14 北京百度网讯科技有限公司 For managing method, apparatus, equipment and the storage medium of network connection
CN109889775A (en) * 2018-12-26 2019-06-14 视联动力信息技术股份有限公司 A kind of method and apparatus of data timeout treatment
CN110708283A (en) * 2019-08-29 2020-01-17 中国第一汽车股份有限公司 Method and device for processing abnormal connection between vehicle and terminal, vehicle and storage medium
CN110855726A (en) * 2018-08-20 2020-02-28 北京京东尚科信息技术有限公司 Communication method, communication device, gateway, computing device and medium
CN111399997A (en) * 2020-02-25 2020-07-10 新浪网技术(中国)有限公司 Overload protection method and device for MongoDB
CN112350973A (en) * 2019-08-07 2021-02-09 广州虎牙科技有限公司 Remote procedure call load balancing method and device and data processing system
CN113839809A (en) * 2021-08-26 2021-12-24 上海探寻信息技术有限公司 Method, equipment and system for upgrading server
CN114244754A (en) * 2021-11-30 2022-03-25 慧之安信息技术股份有限公司 Equipment online state calculation method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083667A (en) * 2007-07-04 2007-12-05 华为技术有限公司 Communication method, system and gateway equipment
CN101262452A (en) * 2008-05-04 2008-09-10 杭州华三通信技术有限公司 Network connection control method and control device and routing device
CN102270156A (en) * 2011-05-30 2011-12-07 北京华源格林科技有限公司 Method for managing real-time embedded system timers
CN102546465A (en) * 2011-12-22 2012-07-04 苏州阔地网络科技有限公司 Method and device for removing failed connection
CN102938770A (en) * 2012-11-22 2013-02-20 亚信联创科技(中国)有限公司 Method for realizing uniform interface for multi-protocol messages and related device and system
CN103312558A (en) * 2013-05-15 2013-09-18 武汉长江通信产业集团股份有限公司 Network connection availability monitoring method and system in computer client server system
CN104035786A (en) * 2014-07-01 2014-09-10 上海斐讯数据通信技术有限公司 Optimization method and system of software timers
CN104268015A (en) * 2014-09-05 2015-01-07 烽火通信科技股份有限公司 Implementation method of high-availability timer of embedded equipment and timer
CN105939241A (en) * 2016-03-10 2016-09-14 杭州迪普科技有限公司 Connection disconnecting method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083667A (en) * 2007-07-04 2007-12-05 华为技术有限公司 Communication method, system and gateway equipment
CN101262452A (en) * 2008-05-04 2008-09-10 杭州华三通信技术有限公司 Network connection control method and control device and routing device
CN102270156A (en) * 2011-05-30 2011-12-07 北京华源格林科技有限公司 Method for managing real-time embedded system timers
CN102546465A (en) * 2011-12-22 2012-07-04 苏州阔地网络科技有限公司 Method and device for removing failed connection
CN102938770A (en) * 2012-11-22 2013-02-20 亚信联创科技(中国)有限公司 Method for realizing uniform interface for multi-protocol messages and related device and system
CN103312558A (en) * 2013-05-15 2013-09-18 武汉长江通信产业集团股份有限公司 Network connection availability monitoring method and system in computer client server system
CN104035786A (en) * 2014-07-01 2014-09-10 上海斐讯数据通信技术有限公司 Optimization method and system of software timers
CN104268015A (en) * 2014-09-05 2015-01-07 烽火通信科技股份有限公司 Implementation method of high-availability timer of embedded equipment and timer
CN105939241A (en) * 2016-03-10 2016-09-14 杭州迪普科技有限公司 Connection disconnecting method and device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734032A (en) * 2017-10-16 2018-02-23 北京旷视科技有限公司 Internetwork connection establishing method and device
CN107800589A (en) * 2017-10-31 2018-03-13 普天东方通信集团有限公司 To the monitoring method of cloud platform access device, device and its cloud platform used
CN107958414A (en) * 2017-11-07 2018-04-24 中国银行股份有限公司 A kind of method and system of removing CICS systems length transaction
CN107958414B (en) * 2017-11-07 2021-09-21 中国银行股份有限公司 Method and system for eliminating long transactions of CICS (common integrated circuit chip) system
CN109067698A (en) * 2018-06-05 2018-12-21 中国平安人寿保险股份有限公司 A kind of variation and equipment of document of agreement
CN108900370A (en) * 2018-06-08 2018-11-27 努比亚技术有限公司 It is long to connect multiple overtime judgment method, device and computer readable storage medium
CN110855726B (en) * 2018-08-20 2024-02-06 北京京东尚科信息技术有限公司 Communication method, device, gateway, computing device and medium
CN110855726A (en) * 2018-08-20 2020-02-28 北京京东尚科信息技术有限公司 Communication method, communication device, gateway, computing device and medium
CN109191286A (en) * 2018-10-19 2019-01-11 中国银行股份有限公司 The processing method and processing device of one kind of multiple external datas
CN109889775A (en) * 2018-12-26 2019-06-14 视联动力信息技术股份有限公司 A kind of method and apparatus of data timeout treatment
US11038783B2 (en) 2019-02-02 2021-06-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for managing network connection, and storage medium
CN109889406A (en) * 2019-02-02 2019-06-14 北京百度网讯科技有限公司 For managing method, apparatus, equipment and the storage medium of network connection
CN112350973A (en) * 2019-08-07 2021-02-09 广州虎牙科技有限公司 Remote procedure call load balancing method and device and data processing system
CN110708283A (en) * 2019-08-29 2020-01-17 中国第一汽车股份有限公司 Method and device for processing abnormal connection between vehicle and terminal, vehicle and storage medium
CN111399997A (en) * 2020-02-25 2020-07-10 新浪网技术(中国)有限公司 Overload protection method and device for MongoDB
CN111399997B (en) * 2020-02-25 2024-02-23 新浪技术(中国)有限公司 Overload protection method and device for MongoDB
CN113839809A (en) * 2021-08-26 2021-12-24 上海探寻信息技术有限公司 Method, equipment and system for upgrading server
CN114244754A (en) * 2021-11-30 2022-03-25 慧之安信息技术股份有限公司 Equipment online state calculation method and device

Similar Documents

Publication Publication Date Title
CN106533845A (en) Long-connection state monitoring method and device
CN103262482B (en) Communication system, control equipment and node control method
CN101577722B (en) Method for realizing MAC forced forwarding function and device
CN101146047B (en) A method, system and gateway for controlling quantity of network access terminal under routing mode
US9538440B2 (en) Method and system of changing service points
WO2018049966A1 (en) Method, apparatus and system for controlling video monitoring system
CN109391661B (en) Block chain networking method and system for terminal of Internet of things
CN107979592A (en) A kind of method and device for sending business request information
CN102420868B (en) The providing method of service, apparatus and system
CN107846457A (en) Load-balancing method, device, storage medium and the system of server cluster
TW201737107A (en) Data synchronization method and apparatus
CN108833149A (en) Method and system for monitoring network availability and self-healing of express delivery cabinet
CN103546528B (en) Distributed message method for pushing and system
CN113132227A (en) Method, device, computer equipment and storage medium for updating routing information
JP2010154159A (en) Call control system, call controller, terminal, and call control method
CN101695049A (en) Method and device for processing businesses in monitoring system
CN105791015B (en) Distributed warning processing system based on High Availabitity message transmission channel and method
CN110661836B (en) Message routing method, device and system, and storage medium
US20190036793A1 (en) Network service implementation method, service controller, and communications system
CN106169982B (en) Method, device and system for processing expansion port
CN104270255B (en) A kind of inter-node communication system and method based on LINX processes
CN107682265B (en) Message routing method and device of payment system
CN104581796B (en) A kind of sending method, CSE and the system of M2M application request
US7609683B2 (en) Communication system, connection management server apparatus, and recording medium on which program is recorded
CN103458499A (en) Off-line processing method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication