CN114285863B - System and method for judging device operation status by updating execution status - Google Patents
System and method for judging device operation status by updating execution status Download PDFInfo
- Publication number
- CN114285863B CN114285863B CN202010979617.8A CN202010979617A CN114285863B CN 114285863 B CN114285863 B CN 114285863B CN 202010979617 A CN202010979617 A CN 202010979617A CN 114285863 B CN114285863 B CN 114285863B
- Authority
- CN
- China
- Prior art keywords
- server
- data
- host
- event
- slave server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000002159 abnormal effect Effects 0.000 claims abstract description 25
- 230000001360 synchronised effect Effects 0.000 claims description 14
- 230000001960 triggered effect Effects 0.000 claims 2
- 230000005540 biological transmission Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Abstract
A system and method for judging the operation state of device by updating the execution state features that after the main server records the event data containing execution state when the target data is changed, the slave server detects the event data and then sends the information to the consumption host to update the execution state according to the generated download notice, and the consumption host reads the target data to update the execution state, and the connection between the consumption host and slave server and the consumption host is abnormal according to the execution state.
Description
Technical Field
A device operation status judging system and a method thereof, in particular to a system and a method for judging the device operation status by updating an execution status.
Background
With the development of economy and science, the large-scale enterprises are larger and larger, and communication and transportation means are greatly improved, so that the enterprise groups can set offices at different places and establish internal networks to connect different offices.
The internal network established by the enterprise group generally establishes different network domains according to different geographic positions, and sets access rights meeting requirements for each network domain, so that the online of the data application hosts in the different network domains to the data providing server for data access can be realized through the network topology structure and the access rights of the network domains.
In general, even though they are all devices within the same enterprise group, the data providing server will not monitor whether the data application host executing the consuming application system or the data query service can function properly. However, if the data providing server does not monitor the operation status of the data application host, the data providing server may repeatedly push data under the condition that the data application host cannot operate normally, resulting in waste of bandwidth and resources and even data errors of the data application host.
Therefore, some data providing servers rely on the request packets and/or the response packets transmitted between the data providing servers and the data application hosts, or monitor the specific program executed by the data application hosts to determine whether the data application hosts are operating normally. However, the manner of receiving and transmitting the request packet/response packet requires developing corresponding application subsystems on the data providing server and the data application host to provide relevant interfaces, which increases additional development cost and burden; the method of monitoring the specific program executed by the client host requires additional analysis of the data obtained by the monitoring, and also requires increased cost and burden.
In view of the foregoing, it is known that there is a long-felt need in the art for an improved technical means to solve the problem that the monitoring of the operation status of the data application host by the data providing server will increase the cost.
Disclosure of Invention
In view of the problem that the cost is increased when the data providing server monitors the operation status of the data application host, the present invention further discloses a system and method for determining the operation status of the device by updating the execution status, wherein:
The invention discloses a system for judging the operation condition of a device by updating an execution state, which at least comprises: the main server is used for generating and recording event data comprising an execution state when the target data are judged to be changed; a consuming host; the slave server is used for synchronizing data with the master server, generating a download notification message and transmitting the download notification message to the consumption host when event data is detected, updating an execution state according to whether the download notification message is successfully transmitted to the consumption host, enabling the consumption host to read target data from the slave server when the download notification message is received, and judging whether the connection between the consumption host and the slave server and the consumption host is abnormal according to whether the consumption host reads the target data to update the execution state after the download notification message is successfully transmitted to the consumption host and according to the execution state.
The invention discloses a method for judging the operation condition of a device by updating an execution state, which at least comprises the following steps: when the main server judges that the target data changes, generating and recording event data containing an execution state; the slave server synchronizes data with the master server; generating a download notification message and transmitting the download notification message to the consumption host when the event data is detected from the server; the slave server updates the execution state according to whether the download notification message is successfully transmitted to the consumption host; after receiving the download notification message, the consumption host reads target data from the server; after the server successfully transmits the download notification message to the consumption host, updating the execution state according to whether the consumption host reads the target data; the slave server judges whether the connection between the consumption host and the consumption host is abnormal according to the execution state.
The system and the method disclosed by the invention are different from the prior art in that after the event data comprising the execution state is recorded when the target data is judged to be changed through the server, the slave server successfully transmits the generated download notification message to the consumption host to update the execution state when the event data is detected, and judges whether the connection between the consumption host and the slave server and the consumption host is abnormal according to the execution state and whether the target data is read by the consumption host or not, thereby solving the problems in the prior art and achieving the technical effect of accurately knowing whether the data providing server and the data application host are abnormal and the time when the abnormality occurs.
Drawings
FIG. 1 is a diagram of a system architecture for determining an operating condition of a device by updating an execution status according to the present invention.
FIG. 2A is a flowchart illustrating a method for determining an operating status of a device by updating an execution status according to the present invention.
Fig. 2B is a flowchart of a method for establishing a correspondence between target data, a slave server and a consuming host according to the present invention.
FIG. 2C is a flowchart illustrating an additional method for determining the operating status of the device by updating the execution status according to the present invention.
The reference numerals are as follows:
110 consuming host
120, Master Server
130 Slave server
Step 211, the consumer host transmits the target identification data of the target data to the host server
Step 215, the master server transmits the target identification data and the network identification data of the consuming host to the slave server
Step 220, when the main server determines that the target data has changed, generating event data including the execution state and recording the event data
Step 230, the slave server synchronizes data with the master server
Step 240, when the event data is detected from the server, generating a download notification message and transmitting the download notification message to the consumer host
Step 250, updating the execution status from the server according to whether the download notification message was successfully transmitted to the consumer host
Step 260, after receiving the download notification message, the consuming host reads the target data from the server
Step 270, after the server successfully transmits the download notification message to the consuming host, updating the execution state according to whether the consuming host reads the target data
Step 280, the slave server judges whether the connection between the slave server and the consuming host is abnormal according to the execution state
Step 290, the master server judges whether the connection between the slave server and the master server is abnormal according to the execution state
Detailed Description
The following features and embodiments of the present invention will be described in sufficient detail to enable those skilled in the art to readily understand and practice the technical means employed to solve the technical problems of the present invention, and to achieve the effects of the present invention.
The invention can record the execution state corresponding to the target data in the main server, thereby judging whether the operation state of the slave server and the consumption host and the connection state between the slave server and the consumption host are abnormal according to the execution state. In the present invention, the consuming host may provide services (including but not limited to monitoring services, statistics services, etc.) through the target data.
The system operation of the present invention will be described with reference to fig. 1 by updating the system architecture diagram of the operation status of the execution status determination device according to the present invention. As shown in FIG. 1, the system of the present invention comprises a consuming host 110, a main server 120, and a server 130. Wherein the consuming host 110, the master server 120, and the slave server 130 may all be computing devices. It should be noted that, in the present invention, the consuming host 110 and the slave server 130 may be more than one, that is, there may be two or more consuming hosts 110 or slave servers 130.
The consumer host 110 may be connected to the master server 120 and the slave server 130 via a wired network or a wireless network, and may receive data or signals transmitted by the master server 120/the slave server 130, or may transmit data or signals to the master server 120/the slave server 130. The wired network includes but is not limited to cable direct connection, ethernet, etc.; the wireless network of the present invention is, for example, a mobile communication network (cellular network) such as 3G/4G/5G, a wireless local area network such as WiFi, zigbee, bluetooth, infrared, near-end communication, etc., but the present invention is not limited thereto.
Consumer host 110 may set one or more target identification data. The target identification data set by the consuming host 110 may at least represent target data to be acquired by the consuming host 110, for example, the target identification data may be a name of the target data, or may be a name of the target data, an operation identifier capable of representing an operation performed by the target data, etc., but the invention is not limited thereto. The operations include adding, updating, deleting, etc. the target data, but the operations are not limited to the above, and any operation that can change the target data may be the operation of the present invention; the operation identifier may be formed by any number of letters, numbers, letters, symbols arranged in any order.
Consumer host 110 may also generate a registration request. The registration request generated by consumer host 110 contains the set target identification data. In general, the registration request also contains network identification data of the consuming host 110. In some embodiments, the registration request may also include other information, such as related information of the consuming host, a request source of the target data, etc., but the invention is not limited thereto. Wherein the network identification data includes, but is not limited to, a network address (IP ADDRESS).
Consumer host 110 may also transmit the generated registration request to host server 120. In most embodiments, consumer host 110 may connect to host server 120 using an Application Programming Interface (API) provided by host server 120 and communicate registration requests to host server 120 via the application programming interface provided by host server 120.
Consumer host 110 is also responsible for receiving download notification messages transmitted from server 130. The download notification message received by the consumer host 110 may include target identification data, but the invention is not limited thereto, and for example, the download notification message may further include an application programming interface provided from the server 130.
The consuming host 110 is also responsible for linking to the slave server 130 sending the download notification message according to the received download notification message, and for downloading the target data from the connected slave server 130. The consuming host 110 may be connected to the slave server 130 according to the api described in the download notification message to download the target data, but the invention is not limited thereto, for example, the consuming host 110 may also directly transmit the request for downloading the target data back to the slave server 130 when receiving the download notification message.
The master server 120 may be connected to the consumer host 110, the slave server 130, and the management server 140 through a wired or wireless network, and may receive data or signals transmitted from the consumer host 110/the slave server 130/the management server 140, or may transmit data or signals to the consumer host 110/the slave server 130/the management server 140.
The master server 120 may determine the slave server 130 corresponding to the consuming host 110. In general, the master server 120 may determine the slave server 130 corresponding to the consuming host 110 according to the network identification data of the consuming host 110, for example, the master server 120 may select the slave server 130 corresponding to the consuming host 110 in the same network domain as the consuming host 110, but the invention is not limited thereto.
The master server 120 may also receive the target identification data transmitted by the consuming host 110 and may transmit the received target identification data to the slave server 130 corresponding to the consuming host 110. In some embodiments, master server 120 may also read network identification data of consumer host 110 from a request to transfer target identification data and transfer the network identification data along with the target identification data to slave server 130.
The main server 120 may also store various data including target data. If the main server 120 stores data using a database, the main server 120 may additionally build and maintain a specific event table in the database; if the primary server 120 does not use the database to store data, the primary server 120 can use the file to build and maintain an event table.
The main server 120 may further add a new piece of event data to the maintained event table when the stored data is changed due to the triggering of the operation event (such as adding, modifying, deleting) of the stored data. Each event data stored in the event table maintained by the main server 120 may include identification data (such as a name) of the operated data, an operation identifier indicating the operated behavior, and an execution state, but the present invention is not limited thereto, and for example, the event data may further include a time when the data is operated and a time when the state is updated. In some embodiments, the execution state of the event data as it is being added may be a message indicating that the data has been created.
The master server 120 may also determine whether the operation state of the slave server 130 and the online state between the slave server 130 and the master server 120 are abnormal according to the execution state in the maintained event table. In more detail, when the execution status in the event table is a message indicating that the notification is successful or the transmission is successful, the master server 120 may determine that the slave server 130 is functioning properly, and the online status between the master server 120 and the slave server 130 and the online status between the slave server 130 and the consumer host 110 are both normal; when the execution status in the event table is a message indicating a notification failure or a transmission failure, the master server 120 may also determine that the slave server 130 is functioning normally, and the online status between the master server 120 and the slave server 130 is normal, but may determine that the online status between the slave server 130 and the consumer host 110 is abnormal; when the execution state in the event table is a message indicating that the reading or ending has been performed, the master server 120 may determine that the functions of the slave server 130 and the consuming host 110 are normal, and the online state between the master server 120 and the slave server 130 and the online state between the slave server 130 and the consuming host 110 are normal; when the execution state in the event table is the information of abnormal data acquisition, the master server 120 can determine that the function of the slave server 130 is normal, and the online state between the master server 120 and the slave server 130 and the online state between the slave server 130 and the consumption host 110 are normal, but the function of the consumption host 110 is abnormal; when the execution status in the event table continues to be a message indicating that the data has been established, the master server 120 may determine that the slave server 130 is malfunctioning and/or that the online status between the master server 120 and the slave server 130 is malfunctioning.
The slave server 130 may be connected to the master server 120 and the consumer host 110 through a wired or wireless network, and may receive data or signals transmitted by the master server 120/the consumer host 110, or may transmit data or signals to the master server 120/the consumer host 110.
The slave server 130 may synchronize data with the master server 120. The data synchronized by the slave server 130 and the master server 120 may include an event table maintained by the master server 120, and may include all data stored by the master server 120 or target data corresponding to target identification data transmitted to the master server 120 by the corresponding consuming host 110.
The slave server 130 may also receive the target identification data and the network identification data transmitted by the master server 120, and record the received target identification data and network identification data as one data in the host attention data table, thereby establishing a corresponding relationship between the target data corresponding to the target identification data and the consuming host 110 represented by the network identification data.
The slave server 130 is also responsible for detecting whether event data exists in the data synchronized with the master server 120. The slave server 130 may continuously monitor the record newly added to the event table synchronized with the master server 120 or query the event data newly added to the event table after synchronizing data with the master server 120 each time through a monitoring function provided by a database management program (or database management system, DBMS), thereby acquiring the event data newly added to the event table; if the slave server 130 does not store data using the database, the slave server 130 may query the event data newly added to the event table after synchronizing the data with the master server 120 each time, thereby obtaining the event data newly added to the event table. The slave server 130 may determine that event data is detected when the acquired event data includes target identification data corresponding to the target data. For example, if the target identification data is only the name of the target data, the server 130 may determine that the event data is detected when the event data newly added to the event table includes the name of the target data; if the target identification data includes the name and the operation identifier of the target data, the main server 130 may determine that the event data is detected when the event data added to the event table includes the name and the same operation identifier of the target data.
The slave server 130 is also responsible for generating a download notification message upon detection of event data. The slave server 130 is also responsible for transmitting the generated download notification message to the consumer host 110 corresponding to the detected event data. In more detail, the network identification data corresponding to the target identification data in the detected event data may be read out from the maintained host attention data table from the server 130, and the download notification message may be transmitted to the consumer host 110 corresponding to the acquired network identification data.
The slave server 130 is also responsible for updating the execution state in the event table synchronized with the master server 120 according to the result of transmitting the download notification message to the corresponding consumer host 110. For example, when the slave server 130 receives a response transmitted by the consumer host 110 indicating that the download notification message is received within a certain period of time after transmitting the download notification message to the consumer host 110, the slave server 130 may update the execution status of the corresponding event data in the event table to a message indicating that the transmission is successful or that the notification is successful; when the download notification message cannot be transmitted from the server 130 to the consumer host 110, or the response transmitted from the consumer host 110 indicating that the download notification message is received is not received within a certain period of time after the download notification message is transmitted from the server 130 to the consumer host 110, the execution state of the corresponding event data in the event table may be updated from the server 130 to a message indicating that the transmission is failed or the notification is failed. However, the manner of determining whether the download notification message is successfully transmitted to the consumer host 110 from the server 130 is not limited thereto.
The slave server 130 may also provide an application programming interface to download target data to the corresponding consumer host 110. The slave server 130 may provide the same application programming interface for all the target data, or may provide different application programming interfaces for different target data, which is not particularly limited in the present invention.
The slave server 130 is also responsible for receiving the read request transmitted by the corresponding consumer host 110, reading out the corresponding target data according to the target identification data in the received read request, and transmitting the read-out target data back to the corresponding consumer host 110. If the slave server 130 provides the application programming interface to the consumer host 110, the slave server 130 may receive the read request transmitted from the consumer host 110 through the provided application programming interface and transmit the target data to the consumer host 110 through the application programming interface.
The slave server 130 is also responsible for updating the execution state of the corresponding event data in the event table synchronized with the master server 120 to a message indicating that it has been read or ended when the read target data is returned to the corresponding consumer host 110. The slave server 130 is also responsible for updating the execution status of the corresponding event data in the event table to a message indicating an abnormal data reading when the corresponding read request transmitted by the consumer host 110 is not received within a predetermined time after updating the execution status in the event table to a message indicating that the transmission is successful or the notification is successful.
The slave server 130 is also responsible for determining whether the operation state of the consuming host 110 and the online state between the slave server 130 and the consuming host 110 are abnormal according to the execution state in the event table. In more detail, when the execution state in the event table synchronized with the master server 120 is a message indicating that the notification is successful or the transmission is successful, the slave server 130 may determine that the online state between the slave server 130 and the consumer host 110 is normal; when the execution status in the event table is a message indicating a notification failure or a transmission failure, the master server 120 may determine that the online status between the slave server 130 and the consuming host 110 is abnormal; when the execution status in the event table is a message indicating that the reading or ending has been performed, the master server 120 may determine that the function of the consuming host 110 is normal and the online status between the slave server 130 and the consuming host 110 is normal; when the execution status in the event table is the data acquisition abnormal message, the master server 120 may determine that the online status between the slave server 130 and the consuming host 110 is normal but the function of the consuming host 110 is abnormal.
Next, an embodiment of the present invention is described with reference to fig. 2A, which is a flowchart illustrating a method for determining an operation status of a device by updating an execution status.
First, the main server 120 may continuously determine whether the stored data is changed, and generate corresponding event data when the stored data is operated to change, and write the generated event data into the maintained event table (step 220), wherein the execution status of the event data generated by the main server 120 may include a message indicating that the data is established.
After the slave server 130 performs data synchronization with the master server 120 (step 230), the slave server 130 may detect whether the event data generated by the master server 120 exists in the synchronized data. In this embodiment, assuming that the data synchronized between the slave server 130 and the master server 120 includes an event table maintained by the master server 120, the slave server 120 may query the event table synchronized with the master server 120 for new event data after each synchronization or continuously monitor the event table for new event data through a monitoring function of the database, and may compare the target identification data in the event table for new event data with the target identification data in the maintained master attention data table, and when the event data and the master attention data table have the same target identification data, the slave server 120 may determine that the event data is detected.
The slave server 130 may generate a download notification message after determining that event data is detected, and may transmit the generated download notification message to the consumer host 110 (step 240). In this embodiment, it is assumed that the download notification message generated from the server 130 includes the target identification data and the application programming interface provided to the consuming host 110 for reading the target data, and the server 130 can read out the network identification data corresponding to the target identification data in the event data according to the maintained host attention data table, and transmit the download notification message to the consuming host 110 corresponding to the obtained network identification data.
After the server 130 transmits the generated download notification message to the consuming host 110 (step 240), the slave server 130 may update the execution state of the corresponding event data in the event table synchronized with the master server 120 according to whether the download notification message is successfully transmitted to the consuming host 110 (step 250).
After the consumer host 110 receives the download notification message transmitted from the server 130, the consumer host 110 may connect to the server 130 and may read the target data from the server 130 (step 260). In this embodiment, it is assumed that the consuming host 110 may connect to the slave server 130 according to the application programming interface included in the download notification message, and request the slave server 130 to download the target data corresponding to the target identification data in the download notification message through the application programming interface.
After the slave server 130 determines that the download notification message is successfully transmitted to the consuming host 110, the execution state of the corresponding event data in the event table synchronized with the master server 120 may be updated according to whether the consuming host 110 reads the target data (step 270). In this embodiment, it is assumed that the slave server 130 may start the countdown after updating the execution status of the corresponding event data in the event table to a message indicating that the transmission is successful or the notification is successful. If the consuming host 110 is online to the slave server 130 to read the target data within the time period from the last count of the slave server 130, the slave server 130 may update the execution status to a message indicating that the operation is ended or the data is read; if none of the consuming hosts 110 is connected to the slave server 130 at the end of the reciprocal of the slave server 130, the slave server 130 may update the execution status to a message indicating that the data read is abnormal.
After the slave server 130 updates the execution state of the corresponding event data in the event table synchronized with the master server 120 according to whether the target data is read by the slave server 110 (step 270), the slave server 130 may determine whether the operation state of the corresponding slave server 110 and the online state between the slave server 130 and the slave server 110 are abnormal according to the execution state of each event data in the event table synchronized with the master server 120 (step 280).
In addition, as shown in the flow of "fig. 2C", after the slave server 130 performs data synchronization with the master server 120 (step 230), the master server 120 may determine whether the operation state of the corresponding slave server 130 and the online state between the master server 120 and the slave server 120 are abnormal according to the execution state of each event data in the maintained event table (step 290).
Thus, the present invention can accurately determine the operation status of the data providing server (slave server 130) and the data application host (consumer host 110).
In the above embodiment, before the event data is detected from the server 130 (step 240), the consuming host 110 may register the target data of interest with the master server 120, so that the corresponding relationship between the target data and the consuming host 110 is established from the server 130 corresponding to the consuming host 110, and thus the slave server 130 may transmit the generated download notification message to the corresponding consuming host 110 according to the established corresponding relationship when the event data is detected.
In more detail, as shown in the flow of "fig. 2B", the consumer host 110 may set target identification data corresponding to target data of interest, may generate a registration request, and may transmit the generated registration request to the host server 120 (step 211). In addition, assuming that the registration request includes the device identification data of the consuming host 110 and the access address of the target identification data in addition to the target identification data, the consuming host 110 may transmit the registration request to the host server 120 according to the application programming interface provided by the host server 120.
After the master server 120 receives the registration request including the target identification data transmitted by the consumer host 110 (step 211), the master server 120 may select the consumer host 110 that issued the registration request as the slave server 130 corresponding to the consumer host 110, and may transmit the target identification data in the registration request to the slave server 130 corresponding to the consumer host 110 (step 215). The master server 120 may obtain the network address of the consuming host 110 from the registration request, and select the slave server 130 in the same network domain as the consuming host 110 as the slave server 130 corresponding to the consuming host 110 according to the obtained network address, assuming that the network identification data is the network address.
After the master server 120 transmits the target identification data and the network identification data to the slave server 130 corresponding to the consuming host 110 (step 215), the slave server 130 may write the received target identification data and network identification data as one data into the maintained host attention data table, thereby establishing a corresponding relationship between the target data and the consuming host 110.
In summary, the difference between the present invention and the prior art is that the server records the event data including the execution state when the target data is determined to be changed, and then the server updates the execution state according to whether the generated download notification message is successfully transmitted to the consuming host when the event data is detected, and updates the execution state according to whether the target data is read by the consuming host, and determines whether the connection between the consuming host and the slave server is abnormal according to the execution state.
Furthermore, the method for determining the operation status of the device by updating the execution status according to the present invention may be implemented in a distributed manner in which hardware, software, or a combination of hardware and software is distributed among a plurality of interconnected different components.
Although the embodiments of the present invention have been described above, the disclosure is not intended to limit the scope of the present invention. Any person of ordinary skill in the art to which the present invention pertains will appreciate that it is within the scope of the invention to make minor changes in form and details of the embodiments of the invention without departing from the spirit and scope of the invention as disclosed herein. The scope of the invention is defined by the appended claims.
Claims (10)
1. A method for determining an operating condition of a device by updating an execution state, the method comprising the steps of:
when judging that target data change, a main server generates corresponding event data and records the event data in a maintained event table, wherein the event data comprises an execution state;
The slave server synchronizes data with the master server, wherein the data comprises an event table maintained by the master server and target data corresponding to target identification data transmitted to the master server by a corresponding consumption host;
The slave server generates a download notification message and transmits the download notification message to the consumption host when detecting the event data;
The slave server updates the execution state according to whether the download notification message is successfully transmitted to a consuming host;
after receiving the download notification message, the consumption host reads the target data from the server;
After the slave server successfully transmits the download notification message to the consumption host, the execution state is updated according to whether the consumption host reads the target data; and
And the slave server judges whether the operation state of the consumption host and the online state between the slave server and the consumption host are abnormal or not according to the execution state.
2. The method according to claim 1, further comprising the step of determining, by the master server, whether the operation state of the slave server and the online state between the master server and the slave server are abnormal according to the execution state after the slave server synchronizes data with the master server.
3. The method according to claim 1, wherein the method further comprises the step of the consuming host transmitting a target identification of the target data to the master server, the master server transmitting the target identification and a network identification of the consuming host to the slave server, the slave server recording the target identification and the network identification.
4. The method according to claim 1, wherein the step of detecting the event data by the slave server is to continuously monitor whether an event table is written in the event data or to inquire whether the event table records the event data at a specific time.
5. The method according to claim 1, wherein the step of determining that the target data has changed by the main server is to determine whether the target data has changed by the main server according to whether an operation event of the target data is triggered.
6. A system for determining the operation status of a device by updating an execution status, the system comprising:
the main server is used for generating corresponding event data and recording the event data in the maintained event table when judging that the target data is changed, wherein the event data comprises an execution state;
A consuming host; and
The slave server is used for synchronizing data with the master server, wherein the data comprises an event table maintained by the master server and target data corresponding to target identification data transmitted to the master server by a corresponding consumption host, generating a download notification message and transmitting the download notification message to the consumption host when the event data is detected, updating the execution state according to whether the download notification message is successfully transmitted to the consumption host or not, enabling the consumption host to read the target data from the slave server when the download notification message is received, and judging whether the operation state of the consumption host and the online state between the slave server and the consumption host are abnormal according to whether the execution state is updated according to whether the target data is read by the consumption host or not after the download notification message is successfully transmitted to the consumption host.
7. The system according to claim 6, wherein the master server is further configured to determine whether the operation state of the slave server and the online state with the slave server are abnormal according to the execution state synchronized with the slave server.
8. The system according to claim 6, wherein the consuming host is further configured to transmit a target identification of the target data to the master server, the master server is further configured to transmit the target identification and a network identification of the consuming host to the slave server, and the slave server is further configured to record the target identification and the network identification.
9. The system according to claim 6, wherein the slave server continuously monitors whether an event table is written with the event data or whether the event table is checked for recording the event data at a specific time to detect the event data.
10. The system according to claim 6, wherein the main server determines whether the target data has changed according to whether an operation event of the target data is triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010979617.8A CN114285863B (en) | 2020-09-17 | System and method for judging device operation status by updating execution status |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010979617.8A CN114285863B (en) | 2020-09-17 | System and method for judging device operation status by updating execution status |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114285863A CN114285863A (en) | 2022-04-05 |
CN114285863B true CN114285863B (en) | 2024-07-26 |
Family
ID=
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660455A (en) * | 2013-11-22 | 2015-05-27 | 英业达科技有限公司 | Server system and node detection method |
CN110737566A (en) * | 2019-09-17 | 2020-01-31 | 平安科技(深圳)有限公司 | Host performance monitoring method and device, electronic equipment and storage medium |
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660455A (en) * | 2013-11-22 | 2015-05-27 | 英业达科技有限公司 | Server system and node detection method |
CN110737566A (en) * | 2019-09-17 | 2020-01-31 | 平安科技(深圳)有限公司 | Host performance monitoring method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5548829B2 (en) | Computer system, data management method, and data management program | |
US20030028577A1 (en) | HTTP distributed XML-based automated event polling for network and E-service management | |
US20030105801A1 (en) | Method, system and agent for connecting event consumers to event producers in a distributed event management system | |
US8095495B2 (en) | Exchange of syncronization data and metadata | |
US20070198554A1 (en) | Apparatus for business service oriented management infrastructure | |
WO2017020715A1 (en) | Method and device for monitoring status of cdn node | |
US20130139178A1 (en) | Cluster management system and method | |
CN101621548A (en) | Method and system for realizing terminal resource sharing based on peer connection system | |
CN112333249A (en) | Business service system and method | |
CN114448686B (en) | Cross-network communication device and method based on micro-service | |
US20040003007A1 (en) | Windows management instrument synchronized repository provider | |
CN114553867A (en) | Cloud-native cross-cloud network monitoring method and device and storage medium | |
CN114285863B (en) | System and method for judging device operation status by updating execution status | |
KR102665749B1 (en) | Method and apparatus for ensuring continued device operational reliability in cloud-degraded mode | |
CN104954505B (en) | Monitoring method and system for DNS data updating overall process | |
JP2009206731A (en) | Monitoring system, monitoring device, monitoring method, and program | |
CN111314427A (en) | Method, equipment and storage medium for acquiring all node information of block chain | |
TWI748653B (en) | System and method for determining operation status of device by updating execution status | |
US7734640B2 (en) | Resource discovery and enumeration in meta-data driven instrumentation | |
CN111090648B (en) | Relational database data synchronization conflict resolution method | |
CN114285863A (en) | System and method for judging device operation state by updating execution state | |
CN115604160A (en) | Network detection processing method and device, electronic equipment and storage medium | |
CN114268619B (en) | System and method for selecting mirror server to obtain data according to identification data | |
EP3895015A1 (en) | Collecting repeated diagnostics data from across users participating in a document collaboration session | |
CN113708973B (en) | Resource state monitoring system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |