CN115190052B - Management method, system and control unit for long connection - Google Patents

Management method, system and control unit for long connection Download PDF

Info

Publication number
CN115190052B
CN115190052B CN202210813842.3A CN202210813842A CN115190052B CN 115190052 B CN115190052 B CN 115190052B CN 202210813842 A CN202210813842 A CN 202210813842A CN 115190052 B CN115190052 B CN 115190052B
Authority
CN
China
Prior art keywords
state
connection
long connection
current
current long
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210813842.3A
Other languages
Chinese (zh)
Other versions
CN115190052A (en
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210813842.3A priority Critical patent/CN115190052B/en
Publication of CN115190052A publication Critical patent/CN115190052A/en
Application granted granted Critical
Publication of CN115190052B publication Critical patent/CN115190052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session 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 system and a control unit for long connection, which can be used in the technical field of artificial intelligence, and the method comprises the following steps: according to the process state table, carrying out polling abnormality detection 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 detecting the connection state of the current long connection process; if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval, automatically detecting the abnormality of the long connection processes, automatically performing abnormality processing when the connection abnormality of the long connection processes occurs, saving labor force, and improving the parallel communication performance of the system and the transaction processing efficiency.

Description

Management method, system and control unit for long connection
Technical Field
The present invention relates to the field of communications technologies, and in particular, to the field of artificial intelligence 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 consumption of the host, the host and the platform are generally communicated by adopting long connection. After the host computer is used as a client to establish a long communication connection with the platform server, if the connection is abnormal due to a certain platform node problem or network jitter and other reasons, the long connection process at the host computer side cannot be perceived, and the long connection process can be in a suspended or false active state. When the long connection process is in a suspended state, the service cannot be continuously processed, the service cannot be automatically recovered, the parallel communication performance of the system can be reduced, and the system cannot communicate with a platform under extreme conditions, so that manual and timely emergency treatment is required; when the long connection process is in a false active state, the communication between the transaction and the platform is failed, and the transaction processing efficiency is affected, for example, if the number of the false active connections is large, the service transaction is failed.
Disclosure of Invention
The invention aims to provide a management method for long connection, which can automatically detect the abnormal condition of a long connection process, automatically process the abnormal condition when the connection of the long connection process is abnormal, save the labor force and improve the parallel communication performance and the transaction processing efficiency of a system. It is a further object of the invention to provide a management system for long connections. It is a further object of the invention to provide a control unit. It is yet another object of the present invention to provide a computer readable medium. It is a further object of the invention to provide a computer device.
In order to achieve the above object, an aspect of the present invention discloses a method for managing long connections, including:
according to the acquired process state table, carrying out polling abnormality detection 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 detecting the connection state of the current long connection process;
and if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for the specified time interval.
Preferably, the process state table comprises a plurality of long connection processes and running state information of each long connection process, and the running state information comprises a switch state, a connection running state and a process number;
according to the acquired process state table, carrying out polling abnormality detection on a plurality of long connection processes in the current transaction, wherein the polling abnormality detection comprises the following steps:
according to the switch state and the connection running state, carrying out abnormality 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 connection, 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 connection, 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 connection, 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 the next long connection process exists;
if the current long connection process exists, determining the next long connection process as the current long connection process, and continuously executing the step of detecting the abnormality of the connection state of the current long connection process according to the switch state and the connection running state;
if the connection state does not exist, the connection states of a plurality of long connection processes in the current transaction are normal.
Preferably, the detecting of the abnormality of the connection state of the current long connection process according to the switch state and the connection running state includes:
If the switch state comprises the on state and the connection running state is the starting state, determining that the connection state of the current long connection process is normal connection;
if the switch state comprises the closed state and the connection running state is the non-starting state, determining that the connection state of the current long connection process is normal connection;
if the switch state comprises closing and the connection running state is an enabling state, determining that the connection state of the current long connection process is abnormal connection;
if the switch state comprises an on state and the connection running state is a non-enabling state, determining that the connection state of the current long connection process is abnormal.
Preferably, the detecting of the abnormality of the 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 includes that the current long connection process exists, determining that the connection state of the current long connection process is normal;
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 abnormality of the connection state of the current long connection process through a preset detection message 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 a platform server through a client communication unit in 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;
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.
Preferably, before the probe message is sent to the platform server through the current long connection process, the method further comprises:
lock resources are added to the current long connection process.
Preferably, after determining that the connection state of the current long connection process is normal connection if the received feedback message is the same as the stored feedback message, the method further includes:
releasing the lock resource.
Preferably, the running state information further comprises a time stamp of the last normal communication;
the method further comprises the steps of:
if the connection states of a plurality of long connection processes in the current transaction are normal, updating the time stamp of the last normal communication to the current time.
Preferably, before the polling exception detection is performed on the plurality of long connection processes in the current transaction according to the acquired process state table, the method further comprises:
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 to-be-restarted state, and modifying the connection running state into a non-started state.
The invention also discloses a management system of the long connection, which comprises: the system comprises a control unit;
the control unit is used for carrying out polling abnormality 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 detecting the connection state of the current long connection process; and if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for the specified time interval.
Preferably, the system further comprises a client communication unit and a platform server;
The platform server is used for receiving the detection message sent by the control unit through the current long connection process and the client communication unit; the feedback message is sent to the control unit through the client communication unit in 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; 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.
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, which comprises:
the polling abnormality detection module is used for carrying out polling abnormality 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 if the connection state of the current long connection process is detected to be abnormal, and restarting the abnormal detection of the connection state of the current long connection process;
And the dormancy module is used for repeatedly executing the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for the specified time interval if the connection states of the long connection processes in the current transaction are normal.
The invention also discloses a computer readable medium having stored thereon a computer program 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 abnormality 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 detecting the connection state of the current long connection process; if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval, automatically detecting the abnormality of the long connection processes, automatically performing abnormality processing when the connection abnormality of the long connection processes occurs, saving labor force, and improving the parallel communication performance of the system and the transaction processing efficiency.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a management system with long connection according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for managing long connection according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for managing long connections 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 following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the method, system and control unit for long connection disclosed in the present application may be used in the field of artificial intelligence technology, and may also be used in any field other than the field of artificial intelligence technology, and the application field of the method, system and control unit for long connection disclosed in the present application is not limited.
In order to facilitate understanding of the technical solutions provided in the present application, the following description will first explain relevant content of the technical solutions of the present application. One communication long connection process in the host 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 long connection process information is stored in the memory. The memory is used for storing information of all the communication long connections, and a separate memory area is allocated to each communication long connection in the memory, and the storage content of the memory area includes, but is not limited to, a connection switch state, an available state, a free or busy state, a message to be sent and message data to be received. The host business transaction realizes communication with the platform server by calling the communication interface; the communication interface performs data interaction with a communication long connection process established by the client communication unit through a memory, firstly randomly acquires an idle available long connection process from the memory, then writes a message to be sent into a memory area to be sent, and acquires a communication return message from a receiving memory area; the communication long connection is established by the client communication unit, the communication long connection process is responsible for communicating with the platform server, reads data to be sent from the memory, sends the data to the platform server, and writes the data of the return message into the receiving memory area after receiving the return message of the platform server. In order to provide long connection stable for communication between a host and a platform server for a long time, the invention provides a management method of the long connection, which aims at automatically detecting and recovering faults at fixed time of a long connection process and improves the reliability of the long connection communication.
Fig. 1 is a schematic structural diagram of a long-connection management system according to an embodiment of the present invention, as shown in fig. 1, where the system includes: host 100 and platform server 200, host 100 and platform server 200 are communicatively coupled. The host 100 includes a host application 110 and a communication device 120, the host application 110 being 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 respectively in communication connection with the memory unit 122 and the client communication unit 124; the memory unit 122 is also connected to the communication interface 123 and the client communication unit 124 in a communication manner; the communication interface 123 is communicatively connected to the host application program 110; the client communication unit 124 is also communicatively connected to the platform server 200.
The host application 110 writes the send message data into the memory unit 122 via 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 to complete a long communication transaction.
In the process of communicating long transactions, in order to ensure the normal connection state of the long connection process, thereby ensuring the reliability of the transactions, the system is additionally provided with a control unit 121. The control unit 121 is configured to perform polling exception detection on a plurality of long connection processes in a 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 detecting the connection state of the current long connection process; and if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for the specified time interval.
In the embodiment of the present invention, the platform server 200 is configured to receive a probe packet 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 in 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, the connection state of the current long connection process is determined to be abnormal.
In the embodiment of the present invention, the memory unit 122 is configured to store a process state table, so that the control unit 121 obtains the process state table from the memory. As an alternative, the system may further comprise a database for storing the process state table for the control unit 121 to retrieve from memory the process state table.
In the embodiment of the invention, the fault self-discovery and transaction self-recovery functions of the long connection process are realized by adding the control unit, 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 checked by polling, a detection message is sent to the long connection process which does not process data for a long time, and the long connection process which is falsely or abnormally suspended is restarted and recovered, so that the functions of the fault automatic discovery and the automatic recovery of the long connection process are realized.
According to the technical scheme provided by the embodiment of the invention, polling abnormality 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 detecting the connection state of the current long connection process; if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval, automatically detecting the abnormality of the long connection processes, automatically performing abnormality processing when the connection abnormality of the long connection processes occurs, saving labor force, and improving the parallel communication performance of the system and the transaction processing efficiency.
It should be noted that the management system of the long connection shown in fig. 1 is also applicable to the management method of the long connection in fig. 2 or fig. 3, and will not be described herein.
The implementation process of the long connection management method provided by the embodiment of the present invention is described below by taking a control unit as an execution body as an example. It can be understood that the execution body of the long connection management method provided by the embodiment of the invention includes, but is not limited to, a control unit.
Fig. 2 is a flowchart of a method for managing long connection according to an embodiment of the present invention, as shown in fig. 2, where the method includes:
step 101, according to the acquired process state table, carrying out polling abnormality detection on a plurality of long connection processes in the current transaction, and if the connection state of the current long connection process is detected to be abnormal, executing step 102; if the connection states of the long connection processes in the current transaction are normal, step 103 is executed.
In the embodiment of the invention, the process state table comprises a plurality of long connection processes and the running state information of each long connection process, wherein the running state information comprises, but is not limited to, a transaction name, a time stamp of last normal communication, a switch state, a connection running state and a process number.
And 102, restarting the current long connection process, and detecting the connection state of the current long connection process abnormally again, wherein the step is ended.
And 103, repeatedly executing the step of detecting polling abnormality of a plurality of long connection processes in the current transaction according to the acquired process state table after waiting for the specified time interval.
It is worth to say that, in the technical scheme in the application, the acquisition, storage, use, processing and the like of the data all meet the relevant regulations of national laws and regulations. The user information in the embodiment of the application is obtained through legal compliance approaches, and the user information is obtained, stored, used, processed and the like through client authorization consent.
According to the technical scheme provided by the embodiment of the invention, polling abnormality 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 detecting the connection state of the current long connection process; if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval, automatically detecting the abnormality of the long connection processes, automatically performing abnormality processing when the connection abnormality of the long connection processes occurs, saving labor force, and improving the parallel communication performance of the system and the transaction processing efficiency.
Fig. 3 is a flowchart of another method for managing long connection according to an embodiment of the present invention, as shown in fig. 3, where the method includes:
step 201, a process state table is obtained.
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 acquired from the memory; alternatively, the process state table is obtained from a database.
In the embodiment of the invention, the process state table comprises a plurality of long connection processes and the running state information of each long connection process, wherein the running state information comprises, but is not limited to, a transaction name, a time stamp of last normal communication, a switch state, a connection running state and a process number. The switch state can be set in the configuration center, and is imported into the memory by the application system, and the switch state is obtained from the memory, so that the access of the switch can be increased without affecting the transaction performance, 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 by setting the transaction to reach a certain processing number, and in order to reduce the access times to the switch, the processing number can be set to be 1 to 20 so as to reduce the access frequency of the switch and improve the transaction processing efficiency.
Step 202, detecting abnormality of the connection state of the current long connection process according to the switch state and the connection running state, and if the connection is abnormal, executing step 210; if the connection is normal, step 203 is performed.
In the embodiment of the invention, the switch state comprises a closed state, an open state and a to-be-restarted state, and the connection operation state comprises an enabled state and a non-enabled state. The switch state may be modified when the connection process is started and closed. When the switch state is the off state, the corresponding normal connection running state is a non-start state; when the switch state is the on state, the corresponding connection running state under normal conditions should be the starting state; when the switch state is to be restarted, the current long connection process is restarted, and the connection running state after restarting is the starting state.
Specifically, the connection running state is detected through the switching state of the current long connection process, so as to judge whether the connection state of the current long connection process is abnormal or not. Specifically, if the switch state includes on and the connection running state is the enabling state, determining that the connection state of the current long connection process is normal connection, and continuing to execute step 203; if the switch state includes the off state and the connection running state is the non-enabling state, determining that the connection state of the current long connection process is normal connection, and continuing to execute step 203; if the switch state includes closing and the connection running state is the enabling state, determining that the connection state of the current long connection process is abnormal connection, and continuing to execute step 210; if the switch state includes on and the connection running state is not enabled, it is determined that the connection state of the current long connection process is abnormal connection, and step 210 is continued.
Step 203, according to the process number and the preset query instruction, performing anomaly detection on the connection state of the current long connection process, and if the connection is abnormal, executing step 210; if the connection is normal, step 204 is performed.
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, executing the query instruction according to the 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 continuing to execute step 204; if the query result includes that the current long connection process does not exist, it is determined that the connection state of the current long connection process is abnormal, which indicates that the long connection process is down when it is abnormal, and step 210 is continuously executed.
Step 204, adding lock resources to the current long connection process.
In the embodiment of the invention, the on-off state, the connection running state and the existence state of the current long connection process are all normal, which indicates that the current long connection process is not suspended, and the long connection process needs to be further detected by a detection message. Before sending the detection message, lock resources are needed to be added to the current long connection process, so that other business transactions are prevented from using the current long connection process.
Step 205, detecting an abnormality of the connection state of the current long connection process through a preset detection message, and if the connection is abnormal, executing step 210; if the connection is normal, step 206 is performed.
Specifically, the detection message is sent to a platform server through the current long connection process and a client communication unit; receiving a feedback message sent by a platform server through a client communication unit in 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, the connection state of the current long connection process is determined to be abnormal, and the step 210 is continuously executed. The receiving time may be set according to practical situations, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the detection message may be preset according to the actual situation, which is not limited in the embodiment of the present invention. The feedback message returned by the detection message and the platform server is a corresponding message appointed by the control unit and the platform server in advance, 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 indicated to be normal.
Step 206, releasing the lock resource.
In the embodiment of the invention, after the detection, whether the current long connection process is opposite to the lock resource is needed or not is judged so that other business transactions can use the current long connection process.
Step 207, determining whether there is a next long connection process, if so, executing step 208; if not, step 210 is performed.
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 indicated to be normal, and the timestamp of the last normal communication is updated to be the current time.
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, determining the next long connection process as the current long connection process, continuing to perform abnormality detection on the connection state of the current long connection process, and continuing to execute step 201.
Step 209, restarting the current long connection process, and continuing to execute step 201.
Specifically, the switch state is modified to be restarted, and the connection running state is modified to be the non-enabled state, and the step 201 is continued. 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 rapidly aiming at abnormal connection, so that the long connection process is prevented from being in a suspended or pseudo-active state for a long time, and the parallel communication performance of the system is improved; and the fault discovery and recovery are automatically completed, manual intervention is not needed in the whole process, and the automatic operation and maintenance requirements are met.
Step 210, wait for a specified time interval, and continue to execute step 201.
In the embodiment of the invention, if the connection states of all the long connection processes in the process state table are normal, the control unit enters the dormant state to wait for a specified time interval. The waiting time may be set according to practical situations, which is not limited in the embodiment of the present invention. As an alternative, the waiting time is 5 minutes.
Further, the step 201 is repeatedly executed after waiting for a specified time interval, so as 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 business transaction.
According to the technical scheme of the long connection management method provided by the embodiment of the invention, polling anomaly 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 detecting the connection state of the current long connection process; if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval, automatically detecting the abnormality of the long connection processes, automatically performing abnormality processing when the connection abnormality of the long connection processes occurs, saving labor force, and improving the parallel communication performance of the system and the transaction processing efficiency.
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 above-mentioned long connection management method, 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 a current transaction according to the acquired process state table.
The restarting module 12 is configured to restart the current long connection process and restart the abnormality detection of the connection state of the current long connection process if the connection state of the current long connection process is detected to be abnormal.
The sleep module 13 is configured to repeatedly execute the step of detecting the polling anomaly for the plurality of long connection processes in the current transaction according to the obtained process state table after waiting for the specified time interval if the connection states of the plurality of long connection processes in the current transaction are all normal.
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 a connection state of a current long connection process according to a switch state and a connection operation state; if the connection state of the current long connection process is detected to be abnormal connection, 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 connection, 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 connection, 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 the next long connection process exists; if the current long connection process exists, determining the next long connection process as the current long connection process, and continuously executing the step of detecting the abnormality of the connection state of the current long connection process according to the switch state and the connection running state; if the connection state does not exist, the connection states of a plurality of long connection processes in the current transaction are 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 the closed state and the connection running state is the non-starting state, determining that the connection state of the current long connection process is normal connection; if the switch state comprises closing and the connection running state is an enabling state, determining that the connection state of the current long connection process is abnormal connection; if the switch state comprises an on state and the connection running state is a non-enabling state, 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 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; 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.
In the embodiment of the present invention, the polling anomaly detection module 11 is specifically configured to send a detection message to a platform server through a current long connection process and a client communication unit; receiving a feedback message sent by a platform server through a client communication unit in 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; 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.
In an embodiment of the present invention, the control unit further includes: locking module 14.
The locking module 14 is used to add lock resources to the current long connection process.
In an embodiment of the present invention, the control unit further includes: unlocking module 15.
The unlocking module 15 is used to release the lock resources.
In the embodiment of the invention, the running state information also comprises a time stamp of the last normal communication; the control unit further includes: updating module 16.
The updating module 16 is configured to update the timestamp of the last normal communication to the current time if the connection states of the 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 acquiring module 17 is configured to acquire a process state table from the memory; alternatively, the process state table is obtained from a database.
In the embodiment of the present invention, the restart module 12 is specifically configured to modify the switch state to a to-be-restarted state, and modify the connection running state to a non-started state.
In the scheme of the embodiment of the invention, polling abnormality 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 detecting the connection state of the current long connection process; if the connection states of the long connection processes in the current transaction are normal, repeating the step of detecting the polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval, automatically detecting the abnormality of the long connection processes, automatically performing abnormality processing when the connection abnormality of the long connection processes occurs, saving labor force, and improving the parallel communication performance of the system and the transaction processing efficiency.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. 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.
The embodiment of the invention provides a computer device, which comprises a memory and a processor, wherein the memory is used for storing information comprising program instructions, the processor is used for controlling the execution of the program instructions, and the program instructions realize the steps of the embodiment of the long connection management method when being loaded and executed by the processor.
Referring now to FIG. 5, there is illustrated 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, which can perform various appropriate works 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 required for the operation of the computer device 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other through 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, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a liquid crystal feedback device (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 drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on drive 610 as needed, so that a computer program read therefrom is mounted as needed as storage section 608.
In particular, according to embodiments of the present invention, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present 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 shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 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 storage media for a computer 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 disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
It will be appreciated by those skilled in the art that 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 the like) 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.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (14)

1. A method of managing long connections, the method comprising:
according to the acquired process state table, carrying out polling abnormality detection 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 detecting the connection state of the current long connection process again;
if the connection states of the long connection processes in the current transaction are normal, repeatedly executing the step of detecting polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval;
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 step of detecting polling abnormality of a 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 abnormality 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 the next long connection process exists;
If yes, determining the next long connection process as the current long connection process, and continuing to execute the step of detecting the abnormality of the connection state of the current long connection process according to the switch state and the connection running state;
if the connection state does not exist, the connection states of a plurality of long connection processes in the current transaction are normal;
the detecting of the abnormality of the connection state of the current long connection process according to the switch state and the connection operation state comprises:
if the switch state comprises the on state and the connection running state is the starting state, determining that the connection state of the current long connection process is normal connection;
if the switch state comprises a closed 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 closing 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 an on state and the connection running state is a non-enabling state, determining that the connection state of the current long connection process is abnormal connection.
2. The method for managing long connection according to claim 1, wherein the performing anomaly detection on the connection state of the current long connection process according to the process number and a preset query command includes:
Executing the query instruction according to the process number to obtain a query result;
if the query result comprises 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.
3. The method for managing long connection according to claim 1, wherein the detecting the connection state of the current long connection process by using a preset probe packet includes:
the detection message is sent 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 the client communication unit in 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;
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.
4. A method of managing long connections according to claim 3, further comprising, prior to said sending said probe message to a platform server via said current long connection procedure:
and adding lock resources to the current long connection process.
5. The method for managing long connection according to claim 4, further comprising, 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:
releasing the lock resource.
6. A method of managing long connections according to claim 3, wherein the operational status information further includes a time stamp of the last normal communication;
the method further comprises the steps of:
if the connection states of a plurality of long connection processes in the current transaction are normal, updating the time stamp of the last normal communication to the current time.
7. The method according to claim 1, further comprising, before the polling exception detection is performed on the plurality of long connection processes in the current transaction according to the acquired process state table:
acquiring a process state table from a memory; or,
A process state table is obtained from a database.
8. The method of managing long connections according to claim 1, wherein the restarting the 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.
9. A long connection management system, characterized in that the system comprises a control unit;
the control unit is used for carrying out polling abnormality 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 detecting the connection state of the current long connection process again; if the connection states of the long connection processes in the current transaction are normal, repeatedly executing the step of detecting polling abnormality of the long connection processes in the current transaction according to the acquired process state table after waiting for a specified time interval;
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 control unit is specifically used for detecting abnormality of the connection state of the current long connection process according to the switch state and the connection running 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, 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 the next long connection process exists; if yes, determining the next long connection process as the current long connection process, and continuing to execute the step of detecting the abnormality of the connection state of the current long connection process according to the switch state and the connection running state; if the connection state does not exist, the connection states of a plurality of long connection processes in the current transaction are normal;
The control unit is specifically configured to determine that the connection state of the current long connection process is normal connection if the switch state includes on and the connection running state is an enabled state; if the switch state comprises a closed 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 closing 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 an on state and the connection running state is a non-enabling state, determining that the connection state of the current long connection process is abnormal connection.
10. The long connection management system of claim 9, further comprising a client communication unit and a platform server;
the platform server is used for receiving detection messages sent by the control unit through the current long connection process and the client communication unit; the feedback message is sent to the control unit through the client communication unit in 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; 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.
11. The long connection management system of claim 9, wherein the system further comprises a memory unit;
the memory unit is used for storing a process state table so that the control unit can acquire the process state table from the memory.
12. A control unit, characterized in that the control unit comprises:
the polling abnormality detection module is used for carrying out polling abnormality 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 if the connection state of the current long connection process is detected to be abnormal, and carrying out abnormal detection on the connection state of the current long connection process again;
the dormancy module is used for repeatedly executing the step of detecting the polling abnormality of the 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 long connection processes in the current transaction are normal;
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 abnormality detection module is specifically configured to perform abnormality detection on a connection state of a 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, 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 the next long connection process exists; if yes, determining the next long connection process as the current long connection process, and continuing to execute the step of detecting the abnormality of the connection state of the current long connection process according to the switch state and the connection running state; if the connection state does not exist, the connection states of a plurality of long connection processes in the current transaction are normal;
The polling abnormality detection module is specifically configured to determine that the connection state of the current long connection process is normal connection if the switch state includes on and the connection running state is an enabled state; if the switch state comprises a closed 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 closing 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 an on state and the connection running state is a non-enabling state, determining that the connection state of the current long connection process is abnormal connection.
13. A computer readable medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the long connection management method according to any one of claims 1 to 8.
14. A computer device comprising a memory for storing information including program instructions and a processor for controlling execution of the program instructions, characterized in that the program instructions, when loaded and executed by the processor, implement the long connection management method of any one of claims 1 to 8.
CN202210813842.3A 2022-07-12 2022-07-12 Management method, system and control unit for long connection Active CN115190052B (en)

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 CN115190052A (en) 2022-10-14
CN115190052B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708528B (en) * 2023-08-02 2023-10-03 成都卓拙科技有限公司 Method and device for monitoring TCP long connection between nodes

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6988140B2 (en) * 2001-02-23 2006-01-17 Sun Microsystems, Inc. Mechanism for servicing connections by disassociating processing resources from idle connections and monitoring the idle connections for activity

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)

* Cited by examiner, † Cited by third party
Title
智能家居系统中网关与服务器连接方案设计;刘新星;曹祁生;张健;祝振东;陈辉辉;;电子设计工程(第04期);全文 *

Also Published As

Publication number Publication date
CN115190052A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN108710544B (en) Process monitoring method of database system and rail transit comprehensive monitoring system
CN106909411B (en) File updating method and device
WO2016184175A1 (en) Database processing method and apparatus
CN102360324B (en) Failure recovery method and equipment for failure recovery
US10075409B2 (en) Terminal and application synchronization method therefor
JPH0576654B2 (en)
CN110768873B (en) Distributed heartbeat detection method, system and device and computer equipment
CN115190052B (en) Management method, system and control unit for long connection
CN109245966A (en) The monitoring method and device of the service state of cloud platform
CN109361542A (en) The fault handling method of client, device, system, terminal and server
WO2022001313A1 (en) Smart device and wcn module exception recovery system thereof and method therefor
CN116055285B (en) Process management method and system of industrial control system
CN114764380A (en) Distributed cluster control method and device based on ETCD
CN107729213B (en) Background task monitoring method and device
CN115499447A (en) Cluster master node confirmation method and device, electronic 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
CN113867915A (en) Task scheduling method, electronic device and storage medium
CN116032932A (en) Cluster management method, system, equipment and medium for edge server
CN113472566A (en) Status monitoring method of union block chain and master node status monitoring system
CN113157493A (en) Backup method, device and system based on ticket checking system and computer equipment
CN112463514A (en) Monitoring method and device for distributed cache cluster
CN115001956B (en) Method, device, equipment and storage medium for running server cluster
CN118012700A (en) Heterogeneous device management method, server, device and medium
CN115460568B (en) Vehicle-mounted terminal network management method, system, electronic equipment and storage medium

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