CN115190052A - Long connection management method, system and control unit - Google Patents
Long connection management method, system and control unit Download PDFInfo
- Publication number
- CN115190052A CN115190052A CN202210813842.3A CN202210813842A CN115190052A CN 115190052 A CN115190052 A CN 115190052A CN 202210813842 A CN202210813842 A CN 202210813842A CN 115190052 A CN115190052 A CN 115190052A
- Authority
- CN
- China
- Prior art keywords
- connection
- state
- long connection
- current
- connection process
- 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.)
- Granted
Links
- 238000007726 management method Methods 0.000 title abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 433
- 230000008569 process Effects 0.000 claims abstract description 395
- 238000001514 detection method Methods 0.000 claims abstract description 106
- 238000004891 communication Methods 0.000 claims abstract description 86
- 230000002159 abnormal effect Effects 0.000 claims abstract description 83
- 238000004590 computer program Methods 0.000 claims description 14
- 230000005059 dormancy Effects 0.000 claims description 2
- 239000000523 sample Substances 0.000 claims 1
- 238000012545 processing Methods 0.000 abstract description 27
- 238000013473 artificial intelligence Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 4
- 238000011084 recovery Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000001574 biopsy Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000007958 sleep Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
- H04L41/0661—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention provides a management method, a management system and a control unit for long connection, which can be used in the technical field of artificial intelligence, wherein the method comprises the following steps: performing polling anomaly detection on a plurality of long connection processes in the current transaction according to the process state table; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal, the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table is repeatedly executed after waiting for a specified time interval, the abnormity condition of the long connection processes can be automatically detected, and when the connection of the long connection processes is abnormal, abnormity processing can be automatically performed, so that the labor force is saved, and the parallel communication performance and the transaction processing efficiency of the system are improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a system, and a control unit for managing long connections.
Background
In order to improve the communication efficiency between the host and the platform server and reduce the host consumption, the host and the platform are generally communicated by long connection. After the host is used as a client to establish long communication connection with a platform server, if the connection is abnormal due to a certain platform node problem or network jitter and the like, the long connection process on the host side cannot be sensed, and the long connection process is in a suspended or false active state. When the long connection process is in a suspended state, the long connection process cannot continuously process services and cannot automatically recover, the parallel communication performance of the system can be reduced, and the long connection process cannot communicate with a platform under extreme conditions and needs manual and timely emergency processing; when the long connection process is in the false live state, the transaction and platform communication will fail, which affects the transaction processing efficiency, and if the number of false live connections is large, the service transaction will fail.
Disclosure of Invention
The invention aims to provide a long connection management method, which can automatically detect the abnormal condition of a long connection process, automatically process the abnormal condition when the long connection process has abnormal connection, save manual labor force and improve the parallel communication performance and transaction processing efficiency of a system. It is another object of the invention to provide a management system for long connections. It is a further object of the present invention to provide a control unit. It is a further object of this invention to provide such a computer readable medium. It is a further object of the present invention to provide a computer apparatus.
In order to achieve the above object, an aspect of the present invention discloses a method for managing long connections, including:
performing polling anomaly detection on a plurality of long connection processes in the current transaction according to the acquired process state table;
if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again;
if the connection states of the long connection processes in the current transaction are all normal, repeatedly executing the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval.
Preferably, the process state table includes a plurality of long connection processes and running state information of each long connection process, and the running state information includes a switch state, a connection running state and a process number;
according to the acquired process state table, carrying out polling abnormity detection on a plurality of long connection processes in the current transaction, wherein the polling abnormity detection comprises the following steps:
according to the switch state and the connection running state, carrying out abnormity detection on the connection state of the current long connection process;
if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process;
if the connection state of the current long connection process is detected to be normal, carrying out abnormal detection on the connection state of the current long connection process according to the process number and a preset query instruction;
if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process;
if the connection state of the current long connection process is detected to be normal, carrying out abnormal detection on the connection state of the current long connection process through a preset detection message;
if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process;
if the connection state of the current long connection process is detected to be normal, judging whether a next long connection process exists;
if the connection state of the current long connection process is the current long connection process, determining the next long connection process as the current long connection process, and continuously executing the step of carrying out abnormity detection on the connection state of the current long connection process according to the switch state and the connection running state;
and if the connection state does not exist, the connection states of the long connection processes in the current transaction are all normal.
Preferably, the detecting the abnormal connection status of the current long connection process according to the switch status and the connection running status includes:
if the switch state comprises a starting state and the connection running state is a starting state, determining that the connection state of the current long connection process is normal connection;
if the switch state comprises a closing state and the connection running state is a non-starting state, determining that the connection state of the current long connection process is normal;
if the switch state comprises a closing state and the connection running state is a starting state, determining that the connection state of the current long connection process is abnormal connection;
and if the switch state comprises opening and the connection running state is a non-starting state, determining that the connection state of the current long connection process is abnormal connection.
Preferably, the detecting the abnormal connection state of the current long connection process according to the process number and the preset query instruction includes:
executing the query instruction according to the process number to obtain a query result;
if the query result comprises the existence of the current long connection process, determining that the connection state of the current long connection process is normal;
and if the query result includes that the current long connection process does not exist, determining that the connection state of the current long connection process is abnormal.
Preferably, the detecting the abnormal connection state of the current long connection process through a preset detection message includes:
sending the detection message to a platform server through a current long connection process and a client communication unit;
receiving a feedback message sent by the platform server through the client communication unit within the set receiving time;
if the received feedback message is the same as the stored feedback message, determining that the connection state of the current long connection process is normal;
and if the sending of the detection message fails or a feedback message sent by the platform server through the client communication unit is not received within the set receiving time, determining that the connection state of the current long connection process is abnormal.
Preferably, before sending the detection packet to the platform server through the current long connection process, the method further includes:
and adding a lock resource to the current long connection process.
Preferably, after determining that the connection state of the current long connection process is normal if the received feedback message is the same as the stored feedback message, the method further includes:
the lock resource is released.
Preferably, the operation status information further includes a timestamp of the last normal communication;
the method further comprises the following steps:
and if the connection states of the long connection processes in the current transaction are all normal, updating the timestamp of the last normal communication to the current time.
Preferably, before performing polling anomaly detection on a plurality of long connection processes in the current transaction according to the acquired process state table, the method further includes:
acquiring a process state table from a memory; or,
a process state table is obtained from a database.
Preferably, restarting the current long connection process includes:
and modifying the switch state into a state to be restarted, and modifying the connection running state into a non-starting state.
The invention also discloses a management system of long connection, which comprises: the system comprises a control unit;
the control unit is used for carrying out polling abnormity detection on a plurality of long connection processes in the current transaction according to the acquired process state table; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal, repeatedly executing the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval.
Preferably, the system further comprises a client communication unit and a platform server;
the platform server is used for receiving a detection message sent by the control unit through the current long connection process and the client communication unit; sending the feedback message to a control unit through a client communication unit within the set receiving time;
the control unit is also used for determining that the connection state of the current long connection process is normal if the received feedback message is the same as the stored feedback message; and if the detection message is failed to be sent or the feedback message sent by the platform server through the client communication unit is not received within the set receiving time, determining that the connection state of the current long connection process is abnormal.
Preferably, the system further comprises a memory unit;
the memory unit is used for storing the process state table so that the control unit can acquire the process state table from the memory.
The invention also discloses a control unit, comprising:
the polling abnormity detection module is used for carrying out polling abnormity detection on a plurality of long connection processes in the current transaction according to the acquired process state table;
the restarting module is used for restarting the current long connection process and carrying out anomaly detection on the connection state of the current long connection process again if the connection state of the current long connection process is detected to be abnormal;
and the dormancy module is used for repeatedly executing the step of performing polling abnormity detection on the plurality of long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval if the connection states of the plurality of long connection processes in the current transaction are all normal.
The invention also discloses a computer-readable medium, on which a computer program is stored which, when executed by a processor, implements a method as described above.
The invention also discloses a computer device comprising a memory for storing information comprising program instructions and a processor for controlling the execution of the program instructions, the processor implementing the method as described above when executing the program.
According to the acquired process state table, polling abnormity detection is carried out on a plurality of long connection processes in the current transaction; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal in connection, the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table is repeatedly executed after waiting for a specified time interval, the abnormity condition of the long connection processes can be automatically detected, and when the long connection processes are abnormal in connection, abnormity processing can be automatically performed, so that the labor force is saved, and the parallel communication performance and the transaction processing efficiency of the system are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of a long-connection management system according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for managing long connections according to an embodiment of the present invention;
fig. 3 is a flowchart of another long connection management method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control unit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that the management method, the management system and the control unit for long connection disclosed in the present application may be used in the technical field of artificial intelligence, and may also be used in any field other than the technical field of artificial intelligence.
In order to facilitate understanding of the technical solutions provided in the present application, the following first describes relevant contents of the technical solutions in the present application. One communication long connection process in the host computer corresponds to one communication long transaction, and the communication system can start a plurality of communication long connection processes simultaneously. After each communication connection process successfully establishes long connection with the platform server, the information of the long connection process is stored in a memory. The memory is used for storing information of all communication long connections, an independent memory area is allocated to each communication long connection in the memory, and the memory area stores contents including but not limited to a connection switch state, an available state, an idle or busy state, a message to be sent and message data to be received. The host business transaction realizes the communication with the platform server by calling the communication interface; the communication interface and the communication long connection process established by the client communication unit carry out data interaction through the memory, firstly randomly acquire an idle available long connection process from the memory, then write the message to be transmitted into the memory area to be transmitted, and acquire the communication return message from the receiving memory area; the communication long connection is established by a client communication unit, the communication long connection process is responsible for communicating with the platform server, reading data to be sent from the memory and sending the data to the platform server, and after receiving a return message of the platform server, writing the return message data into a receiving memory area. In order to provide long-term stable long connection for communication between a host and a platform server, the invention provides a long connection management method, which aims at the long connection process to carry out automatic detection and activation and automatic fault recovery regularly and improves the reliability of long connection communication.
Fig. 1 is a schematic structural diagram of a long connection management system according to an embodiment of the present invention, and as shown in fig. 1, the system includes: host computer 100 and platform server 200, host computer 100 and platform server 200 are communicatively coupled. The host 100 includes a host application 110 and a communication device 120, and the host application 110 is communicatively coupled to the communication device 120.
In the embodiment of the present invention, the communication device 120 includes a control unit 121, a memory unit 122, a communication interface 123 and a client communication unit 124. The control unit 121 is in communication connection with the memory unit 122 and the client communication unit 124 respectively; the memory unit 122 is further communicatively connected to the communication interface 123 and the client communication unit 124 respectively; the communication interface 123 is in communication with the host application 110; the client communication unit 124 is also communicatively coupled to the platform server 200.
The host application 110 writes the transmission message data into the memory unit 122 through the communication interface 123; the client communication unit 124 reads the transmission message data from the memory unit 122, and transmits the transmission message data to the platform server 200; the platform server writes the return message data into the memory unit 122 through the client communication unit 124; the communication interface 123 reads the return message data from the memory unit 122 and returns the return message data to the host application 110, thereby completing a communication transaction.
In the process of communication long transaction, in order to ensure the normal connection state of the long connection process and further ensure the reliability of the transaction, the system is additionally provided with a control unit 121. The control unit 121 is configured to perform polling anomaly detection on multiple long connection processes in the current transaction according to the acquired process state table; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal, repeatedly executing the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval.
In the embodiment of the present invention, the platform server 200 is configured to receive a detection message sent by the control unit 121 through the current long connection process and the client communication unit 124; the feedback message is sent to the control unit 121 through the client communication unit 124 within the set reception time.
The control unit 121 is further configured to determine that the connection state of the current long connection process is normal if the received feedback message is the same as the stored feedback message; if the sending of the detection message fails or the feedback message sent by the platform server 200 through the client communication unit 124 is not received within the set receiving time, it is determined that the connection state of the current long connection process is abnormal.
In this embodiment of the present invention, the memory unit 122 is configured to store the process state table, so that the control unit 121 obtains the process state table from the memory. As an alternative, the system may further include a database for storing the process state table, so that the control unit 121 may obtain the process state table from the memory.
In the embodiment of the invention, the control unit is additionally arranged to realize the functions of fault self-discovery and transaction self-recovery of the long connection process, the process state table is regularly acquired from the memory unit, the running state information of all the long connection processes is recorded in the process state table, the health state of each started long connection process is polled and checked, a detection message is sent to the long connection process which has not processed data for a long time, and the long connection process which is hung in a false or abnormal mode is restarted and recovered, so that the functions of fault automatic discovery and automatic recovery of the long connection process are realized.
In the technical scheme provided by the embodiment of the invention, according to the acquired process state table, polling abnormity detection is carried out on a plurality of long connection processes in the current transaction; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal in connection, the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table is repeatedly executed after waiting for a specified time interval, the abnormity condition of the long connection processes can be automatically detected, and when the long connection processes are abnormal in connection, abnormity processing can be automatically performed, so that the labor force is saved, and the parallel communication performance and the transaction processing efficiency of the system are improved.
It should be noted that the management system for long connections shown in fig. 1 is also applicable to the management method for long connections shown in fig. 2 or fig. 3, and is not described herein again.
The following describes an implementation process of the management method for long connections, which is provided by the embodiment of the present invention, by taking a control unit as an execution subject. It can be understood that the execution subject of the management method of long connection provided by the embodiment of the present invention includes, but is not limited to, a control unit.
Fig. 2 is a flowchart of a method for managing a long connection according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
In the embodiment of the invention, the process state table comprises a plurality of long connection processes and running state information of each long connection process, wherein the running state information comprises but is not limited to transaction names, timestamps of last normal communication, switch states, connection running states and process numbers.
And 102, restarting the current long connection process, and carrying out anomaly detection on the connection state of the current long connection process again, and ending the step.
And 103, repeatedly executing the polling abnormity detection step of the plurality of long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval.
It should be noted that the technical solutions in the present application, such as obtaining, storing, using, and processing data, all conform to relevant regulations of national laws and regulations. The user information in the embodiment of the application is obtained through legal compliance, and the user information is obtained, stored, used, processed and the like through authorization and approval of a client.
In the technical scheme provided by the embodiment of the invention, polling abnormity detection is carried out on a plurality of long connection processes in the current transaction according to the acquired process state table; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal, the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table is repeatedly executed after waiting for a specified time interval, the abnormity condition of the long connection processes can be automatically detected, and when the connection of the long connection processes is abnormal, abnormity processing can be automatically performed, so that the labor force is saved, and the parallel communication performance and the transaction processing efficiency of the system are improved.
Fig. 3 is a flowchart of another long connection management method according to an embodiment of the present invention, as shown in fig. 3, the method includes:
In the embodiment of the invention, each step is executed by the control unit.
In the embodiment of the invention, the process state table can be obtained from the memory; alternatively, the process state table is retrieved from a database.
In the embodiment of the invention, the process state table comprises a plurality of long connection processes and running state information of each long connection process, wherein the running state information comprises but is not limited to transaction names, timestamps of last normal communication, switch states, connection running states and process numbers. The switch state can be set in the configuration center, the application system leads the switch state into the memory, the switch state is obtained from the memory, the switch access can be increased under the condition that the transaction performance is not influenced, and the requirement of dynamic refreshing is met.
In the embodiment of the invention, if the process state table is stored in the database, the switch is accessed only when the transaction reaches a certain processing number, and also in order to reduce the access times to the switch, the processing number can be set to 1-20, so that the access frequency of the switch is reduced, and the transaction processing efficiency is improved.
In the embodiment of the invention, the switch state comprises a closing state, an opening state and a state to be restarted, and the connection running state comprises an enabling state and a non-enabling state. The switch state may be modified when the connection process is started and closed. When the switch state is the closing state, the corresponding connection running state under the normal condition is a non-starting state; when the switch state is the on state, the corresponding connection running state under the normal condition is the starting state; and when the switch state is a state to be restarted, indicating that the current long connection process is restarted, wherein the connection running state after restarting is a starting state.
Specifically, the connection running state is detected according to the switch state of the current long connection process, so as to judge whether the connection state of the current long connection process is abnormal. Specifically, if the switch state includes on and the connection running state is the enabled state, it is determined that the connection state of the current long connection process is normal, and step 203 is continuously executed; if the switch state includes a closed state and the connection running state is a non-enabled state, determining that the connection state of the current long connection process is normal, and continuing to execute step 203; if the switch state includes a close state and the connection running state is an enable state, determining that the connection state of the current long connection process is abnormal connection, and continuing to execute step 210; if the switch status includes on and the connection running status is a non-enabled status, it is determined that the connection status of the current long connection process is abnormal, and step 210 is continuously executed.
In the embodiment of the invention, each long connection process corresponds to a unique process number, the query instruction is preset, and the execution of the query instruction can query whether the corresponding long connection process exists or not through the process number. Specifically, the query instruction is executed according to the process number to obtain a query result, if the query result includes that the current long connection process exists, the connection state of the current long connection process is determined to be normal, and step 204 is continuously executed; if the query result includes that the current long connection process does not exist, determining that the connection state of the current long connection process is abnormal, indicating that the long connection process is down due to abnormality, and continuing to execute step 210.
And step 204, adding lock resources to the current long connection process.
In the embodiment of the invention, the switch state, the connection running state and the existing state of the current long connection process are all normal, which indicates that the current long connection process is not suspended, and the detection of the long connection process needs to be further performed through the detection message. Before sending the detection message, lock resources need to be added to the current long connection process, so that other business transactions are prevented from using the current long connection process.
Specifically, the detection message is sent to the platform server through the current long connection process and the client communication unit; receiving a feedback message sent by the platform server through the client communication unit within the set receiving time; comparing the received feedback message with the stored feedback message, if the received feedback message is the same as the stored feedback message, determining that the connection state of the current long connection process is normal, and continuing to execute step 206; if the sending of the detection message fails or the feedback message sent by the platform server through the client communication unit is not received within the set receiving time, it is determined that the connection state of the current long connection process is abnormal, and step 210 is continuously executed. The receiving time may be set according to an actual situation, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the detection packet may be preset according to an actual situation, which is not limited in the embodiment of the present invention. The detection message and the feedback message returned by the platform server are corresponding messages which are predetermined by the control unit and the platform server, and if and only if the control unit sends the detection message and receives the corresponding feedback message within the receiving time, the connection state of the current long connection process is normal.
In the embodiment of the invention, after the detection of the biopsy, whether the current long connection process locks the resource is required to be used for other business transactions.
In the embodiment of the present invention, since the process state table includes a plurality of long connection processes, it is determined whether the current long connection process is the last long connection process in the process state table, if so, it indicates that there is no next long connection process, and step 210 is continuously executed; if not, indicating that there is a next long connection process, proceed to step 208.
Further, if the next long connection process does not exist, the connection states of the long connection processes in the current transaction are all normal, and the timestamp of the last normal communication is updated to be the current time.
And step 208, determining the next long connection process as the current long connection process, and continuing to execute step 201.
In the embodiment of the present invention, if there is a next long connection process, the next long connection process is determined as the current long connection process, the connection state of the current long connection process continues to be detected for abnormality, and step 201 continues to be executed.
Specifically, the switch state is modified to the state to be restarted, the connection running state is modified to the non-enabled state, and step 201 is continuously executed. As an alternative, the long connection process is restarted by POST notification.
In the embodiment of the invention, the current long connection process can be restarted and recovered quickly aiming at abnormal connection, so that the long connection process is prevented from being in a suspended or false active state for a long time, and the parallel communication performance of a system is improved; moreover, the fault discovery and recovery are automatically completed, manual intervention is not needed in the whole process, and the requirement of automatic operation and maintenance is met.
In the embodiment of the invention, if all the connection states of the long connection processes in the process state table are in normal connection, the control unit enters the dormant state to wait for the specified time interval. The waiting time may be set according to an actual situation, which is not limited in the embodiment of the present invention. As an alternative, the waiting time is 5 minutes.
Further, after waiting for a specified time interval, step 201 is repeatedly executed to periodically detect the connection state of the long connection process, automatically diagnose the problem of abnormal connection, isolate abnormal connection, and reduce the influence on service transaction.
In the technical scheme of the management method of the long connection provided by the embodiment of the invention, the polling abnormity detection is carried out on a plurality of long connection processes in the current transaction according to the acquired process state table; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal in connection, the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table is repeatedly executed after waiting for a specified time interval, the abnormity condition of the long connection processes can be automatically detected, and when the long connection processes are abnormal in connection, abnormity processing can be automatically performed, so that the labor force is saved, and the parallel communication performance and the transaction processing efficiency of the system are improved.
Fig. 4 is a schematic structural diagram of a control unit according to an embodiment of the present invention, where the control unit is configured to execute the management method for long connection, and as shown in fig. 4, the control unit includes: a polling anomaly detection module 11, a restart module 12 and a sleep module 13.
The polling anomaly detection module 11 is configured to perform polling anomaly detection on a plurality of long connection processes in the current transaction according to the acquired process state table.
The restart module 12 is configured to restart the current long connection process if it is detected that the connection state of the current long connection process is abnormal, and perform abnormality detection on the connection state of the current long connection process again.
The dormant module 13 is configured to, if the connection states of the multiple long connection processes in the current transaction are all normal, repeatedly execute a polling anomaly detection step for the multiple long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval.
In the embodiment of the invention, the process state table comprises a plurality of long connection processes and running state information of each long connection process, wherein the running state information comprises a switch state, a connection running state and a process number; the polling anomaly detection module 11 is specifically configured to perform anomaly detection on the connection state of the current long connection process according to the switch state and the connection operation state; if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process; if the connection state of the current long connection process is detected to be normal, carrying out abnormal detection on the connection state of the current long connection process according to the process number and a preset query instruction; if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process; if the connection state of the current long connection process is detected to be normal, performing abnormal detection on the connection state of the current long connection process through a preset detection message; if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process; if the connection state of the current long connection process is detected to be normal, judging whether a next long connection process exists; if the connection state of the current long connection process is the current long connection process, determining the next long connection process as the current long connection process, and continuously executing the step of carrying out abnormity detection on the connection state of the current long connection process according to the switch state and the connection running state; and if the connection state does not exist, the connection states of the long connection processes in the current transaction are all normal.
In the embodiment of the present invention, the polling anomaly detection module 11 is specifically configured to determine that the connection state of the current long connection process is normal if the switch state includes on and the connection running state is an enabled state; if the switch state comprises a closing state and the connection running state is a non-starting state, determining that the connection state of the current long connection process is normal connection; if the switch state comprises a closing state and the connection running state is an enabling state, determining that the connection state of the current long connection process is abnormal connection; and if the switch state comprises a starting state and the connection running state is a non-starting state, determining that the connection state of the current long connection process is abnormal connection.
In the embodiment of the present invention, the polling anomaly detection module 11 is specifically configured to execute a query instruction according to a process number to obtain a query result; if the query result includes that the current long connection process exists, determining that the connection state of the current long connection process is normal; and if the query result comprises that the current long connection process does not exist, determining that the connection state of the current long connection process is abnormal.
In the embodiment of the present invention, the polling anomaly detection module 11 is specifically configured to send a detection packet to the platform server through the current long connection process and the client communication unit; receiving a feedback message sent by the platform server through the client communication unit within the set receiving time; if the received feedback message is the same as the stored feedback message, determining that the connection state of the current long connection process is normal; and if the sending of the detection message fails or a feedback message sent by the platform server through the client communication unit is not received within the set receiving time, determining that the connection state of the current long connection process is abnormal.
In an embodiment of the present invention, the control unit further includes: a locking module 14.
The locking module 14 is used to add a lock resource to the current long connection process.
In an embodiment of the present invention, the control unit further includes: unlocking the module 15.
The unlocking module 15 is used to release the lock resource.
In the embodiment of the invention, the running state information also comprises a timestamp of the last normal communication; the control unit further includes: and updating the module 16.
The updating module 16 is configured to update the timestamp of the last normal communication to the current time if the connection statuses of the multiple long connection processes in the current transaction are all normal.
In an embodiment of the present invention, the control unit further includes: and an acquisition module 17.
The obtaining module 17 is configured to obtain a process state table from a memory; alternatively, the process state table is retrieved from a database.
In the embodiment of the present invention, the restart module 12 is specifically configured to modify a switch state into a to-be-restarted state, and modify a connection running state into a non-enabled state.
In the scheme of the embodiment of the invention, according to the acquired process state table, polling abnormity detection is carried out on a plurality of long connection processes in the current transaction; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal, the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table is repeatedly executed after waiting for a specified time interval, the abnormity condition of the long connection processes can be automatically detected, and when the connection of the long connection processes is abnormal, abnormity processing can be automatically performed, so that the labor force is saved, and the parallel communication performance and the transaction processing efficiency of the system are improved.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
An embodiment of the present invention provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded and executed by the processor to implement the steps of the embodiment of the management method for long connections, and for specific description, reference may be made to the embodiment of the management method for long connections.
Referring now to FIG. 5, shown is a schematic diagram of a computer device 600 suitable for use in implementing embodiments of the present application.
As shown in fig. 5, the computer apparatus 600 includes a Central Processing Unit (CPU) 601 that can perform various appropriate jobs and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the computer apparatus 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a Cathode Ray Tube (CRT), a liquid crystal feedback (LCD), and the like, and a speaker and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted as necessary on the storage section 608.
In particular, the processes described above with reference to the flowcharts may be implemented as a computer software program according to an embodiment of the present invention. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus comprising the element.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (16)
1. A method for managing long connections, the method comprising:
performing polling anomaly detection on a plurality of long connection processes in the current transaction according to the acquired process state table;
if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again;
and if the connection states of the long connection processes in the current transaction are all normal, repeatedly executing the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval.
2. The method for managing long connections according to claim 1, wherein the process state table includes a plurality of long connection processes and operation state information of each long connection process, the operation state information including a switch state, a connection operation state, and a process number;
the polling abnormity detection of the plurality of long connection processes in the current transaction according to the acquired process state table comprises the following steps:
according to the switch state and the connection running state, carrying out abnormal detection on the connection state of the current long connection process;
if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process;
if the connection state of the current long connection process is detected to be normal, carrying out anomaly detection on the connection state of the current long connection process according to the process number and a preset query instruction;
if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process;
if the connection state of the current long connection process is detected to be normal, performing abnormal detection on the connection state of the current long connection process through a preset detection message;
if the connection state of the current long connection process is detected to be abnormal, continuing to execute the step of restarting the current long connection process;
if the connection state of the current long connection process is detected to be normal, judging whether a next long connection process exists;
if the connection state of the current long connection process is the current long connection process, determining the next long connection process as the current long connection process, and continuously executing the step of carrying out abnormity detection on the connection state of the current long connection process according to the switch state and the connection running state;
and if the connection state does not exist, the connection states of the long connection processes in the current transaction are all normal.
3. The method for managing long connection according to claim 2, wherein the performing the abnormal detection on the connection status of the current long connection process according to the switch status and the connection running status comprises:
if the switch state comprises a starting state and the connection running state is a starting state, determining that the connection state of the current long connection process is normal connection;
if the switch state comprises a closing state and the connection running state is a non-starting state, determining that the connection state of the current long connection process is normal;
if the switch state comprises a closing state and the connection running state is a starting state, determining that the connection state of the current long connection process is abnormal connection;
and if the switch state comprises a starting state and the connection running state is a non-starting state, determining that the connection state of the current long connection process is abnormal connection.
4. The method for managing long connection according to claim 2, wherein the performing exception detection on the connection status of the current long connection process according to the process number and a preset query instruction includes:
executing the query instruction according to the process number to obtain a query result;
if the query result comprises the existence of the current long connection process, determining that the connection state of the current long connection process is normal;
and if the query result includes that the current long connection process does not exist, determining that the connection state of the current long connection process is abnormal.
5. The method according to claim 2, wherein the performing anomaly detection on the connection status of the current long connection process through a preset detection packet includes:
sending the detection message to a platform server through the current long connection process and a client communication unit;
receiving a feedback message sent by the platform server through a client communication unit within the set receiving time;
if the received feedback message is the same as the stored feedback message, determining that the connection state of the current long connection process is normal;
and if the sending of the detection message fails or the feedback message sent by the platform server through the client communication unit is not received within the set receiving time, determining that the connection state of the current long connection process is abnormal.
6. The method according to claim 5, wherein before sending the probe packet to the platform server through the current long connection process, the method further comprises:
and adding a lock resource to the current long connection process.
7. The method according to claim 6, wherein after determining that the connection status of the current long connection process is normal if the received feedback packet is the same as the stored feedback packet, the method further comprises:
and releasing the lock resource.
8. The method for managing long connections according to claim 5, wherein the operation status information further comprises a timestamp of the last normal communication;
the method further comprises the following steps:
and if the connection states of the long connection processes in the current transaction are all normal, updating the timestamp of the last normal communication to the current time.
9. The method for managing long connections according to claim 1, before performing polling anomaly detection on a plurality of long connection processes in a current transaction according to the acquired process state table, further comprising:
acquiring a process state table from a memory; or,
a process state table is obtained from a database.
10. The method for managing long connections according to claim 2, wherein said restarting said current long connection process comprises:
and modifying the switch state into a state to be restarted, and modifying the connection running state into a non-starting state.
11. A management system for long connections, characterized in that it comprises a control unit;
the control unit is used for performing polling abnormity detection on a plurality of long connection processes in the current transaction according to the acquired process state table; if the connection state of the current long connection process is detected to be abnormal, restarting the current long connection process, and performing abnormal detection on the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are all normal, repeatedly executing the step of performing polling abnormity detection on the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval.
12. The long-connection management system according to claim 11, further comprising a client communication unit and a platform server;
the platform server is used for receiving a detection message sent by the control unit through the current long connection process and the client communication unit; sending a feedback message to the control unit through the client communication unit within the set receiving time;
the control unit is further configured to determine that the connection state of the current long connection process is normal if the received feedback message is the same as the stored feedback message; and if the sending of the detection message fails or a feedback message sent by the platform server through the client communication unit is not received within the set receiving time, determining that the connection state of the current long connection process is abnormal.
13. The system for managing long connections of claim 11, wherein said system further comprises a memory unit;
the memory unit is used for storing the process state table so that the control unit can acquire the process state table from the memory.
14. A control unit, characterized in that the control unit comprises:
the polling abnormity detection module is used for carrying out polling abnormity detection on a plurality of long connection processes in the current transaction according to the acquired process state table;
the restarting module is used for restarting the current long connection process and carrying out abnormity detection on the connection state of the current long connection process again if the connection state of the current long connection process is detected to be abnormal;
and the dormancy module is used for repeatedly executing the step of performing polling abnormity detection on the plurality of long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval if the connection states of the plurality of long connection processes in the current transaction are all normal.
15. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out a method for managing a long connection according to any one of claims 1 to 10.
16. A computer device comprising a memory for storing information including program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the method of managing long connections according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210813842.3A CN115190052B (en) | 2022-07-12 | 2022-07-12 | Management method, system and control unit for long connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210813842.3A CN115190052B (en) | 2022-07-12 | 2022-07-12 | Management method, system and control unit for long connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115190052A true CN115190052A (en) | 2022-10-14 |
CN115190052B CN115190052B (en) | 2024-02-02 |
Family
ID=83516918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210813842.3A Active CN115190052B (en) | 2022-07-12 | 2022-07-12 | Management method, system and control unit for long connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115190052B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116708528A (en) * | 2023-08-02 | 2023-09-05 | 成都卓拙科技有限公司 | Method and device for monitoring TCP long connection between nodes |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020156897A1 (en) * | 2001-02-23 | 2002-10-24 | Murthy Chintalapati | Mechanism for servicing connections by disassociating processing resources from idle connections and monitoring the idle connections for activity |
JP2004254167A (en) * | 2003-02-21 | 2004-09-09 | Mitsubishi Electric Corp | Communication connection management system |
CN103001822A (en) * | 2012-08-29 | 2013-03-27 | 五八同城信息技术有限公司 | Network anomaly handling method and device |
WO2013078869A1 (en) * | 2011-12-02 | 2013-06-06 | 中兴通讯股份有限公司 | Method, system, aoe, aog and terminal for maintaining long connection in aos |
CN109947576A (en) * | 2017-12-21 | 2019-06-28 | 上海盛霄云计算技术有限公司 | A kind of method of virtual machine internal broker program management |
CN111800304A (en) * | 2019-04-09 | 2020-10-20 | 安克创新科技股份有限公司 | Process running monitoring method, storage medium and virtual device |
-
2022
- 2022-07-12 CN CN202210813842.3A patent/CN115190052B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020156897A1 (en) * | 2001-02-23 | 2002-10-24 | Murthy Chintalapati | Mechanism for servicing connections by disassociating processing resources from idle connections and monitoring the idle connections for activity |
JP2004254167A (en) * | 2003-02-21 | 2004-09-09 | Mitsubishi Electric Corp | Communication connection management system |
WO2013078869A1 (en) * | 2011-12-02 | 2013-06-06 | 中兴通讯股份有限公司 | Method, system, aoe, aog and terminal for maintaining long connection in aos |
CN103001822A (en) * | 2012-08-29 | 2013-03-27 | 五八同城信息技术有限公司 | Network anomaly handling method and device |
CN109947576A (en) * | 2017-12-21 | 2019-06-28 | 上海盛霄云计算技术有限公司 | A kind of method of virtual machine internal broker program management |
CN111800304A (en) * | 2019-04-09 | 2020-10-20 | 安克创新科技股份有限公司 | Process running monitoring method, storage medium and virtual device |
Non-Patent Citations (1)
Title |
---|
刘新星;曹祁生;张健;祝振东;陈辉辉;: "智能家居系统中网关与服务器连接方案设计", 电子设计工程, no. 04 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116708528A (en) * | 2023-08-02 | 2023-09-05 | 成都卓拙科技有限公司 | Method and device for monitoring TCP long connection between nodes |
CN116708528B (en) * | 2023-08-02 | 2023-10-03 | 成都卓拙科技有限公司 | Method and device for monitoring TCP long connection between nodes |
Also Published As
Publication number | Publication date |
---|---|
CN115190052B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5579650B2 (en) | Apparatus and method for executing monitored process | |
CN102360324B (en) | Failure recovery method and equipment for failure recovery | |
US10075409B2 (en) | Terminal and application synchronization method therefor | |
CN109299064B (en) | Database monitoring method and terminal equipment | |
CN114764380A (en) | Distributed cluster control method and device based on ETCD | |
CN115190052B (en) | Management method, system and control unit for long connection | |
CN111342986B (en) | Distributed node management method and device, distributed system and storage medium | |
CN112783618A (en) | Task scheduling monitoring system, computer equipment and storage medium | |
CN116185697B (en) | Container cluster management method, device and system, electronic equipment and storage medium | |
CN112631756A (en) | Distributed regulation and control method and device applied to space flight measurement and control software | |
CN111897626A (en) | Cloud computing scene-oriented virtual machine high-reliability system and implementation method | |
CN116107814A (en) | Database disaster recovery method, equipment, system and storage medium | |
CN115499493A (en) | Asynchronous transaction processing method and device, storage medium and computer equipment | |
US20220179680A1 (en) | Application state control method apparatus, and terminal and computer-readable storage medium | |
CN112463514A (en) | Monitoring method and device for distributed cache cluster | |
CN111176959A (en) | Early warning method, system and storage medium for cross-domain application server | |
CN106850283B (en) | Event-driven cloud AC alarm processing system and method | |
CN111208949A (en) | Method for determining data rollback time period in distributed storage system | |
CN117349127B (en) | GPU card-falling detection method and device | |
CN118012700A (en) | Heterogeneous device management method, server, device and medium | |
WO2017096791A1 (en) | Diagnosis test message processing method and device | |
CN115473809B (en) | Configuration processing method and device based on micro-service architecture and storage medium | |
CN114090467A (en) | Chip management method, device, chip, processor and equipment | |
CN118069450A (en) | Alarm processing method, device and storage medium | |
CN116266132A (en) | Method, system, device, equipment and storage medium for executing timing task |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |