Application management method, device and equipment and computer readable storage medium
Through the master node monitoring and the application transfer and wake-up mechanism between slave nodes, the problem of high-availability applications in the automotive industry being offline when the controller is abnormal is solved, the continuous operation of the application and the decoupling of security policies are realized, and the availability of the application is improved. and portability.
Patent Information
- Application Number
- CN202410788340.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-11
AI Technical Summary
In the automotive industry, high-availability applications are prone to go offline when controllers are abnormal, causing vehicle use to be affected. Existing technology is difficult to achieve continuous operation and free scheduling of high-availability applications among resource-short automotive controllers.
The master node monitors the running status of the slave node, transfers high-priority applications to another slave node when an exception occurs on the slave node, and ensures its operation through wake-up messages, realizing application scheduling between nodes and replacement of the master node, ensuring Continuous operation of high-priority applications.
It improves the continuous operation capability of high-priority applications, decouples the binding between applications and controllers, improves application portability and the availability of security policies, and ensures the stable operation of in-car applications.
Smart Images

Figure CN118764374A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automotive technology, and in particular to an application management method, apparatus, device, and computer-readable storage medium. Background Art
[0002] With the advancement of information technology and the evolution of automotive electrical and electronic architecture, traditional distributed automotive electrical and electronic architectures are gradually being replaced by domain-centralized electrical and electronic architectures. The controllers within these architectures have also evolved from traditional microcontroller units (MCUs) to high-performance system-on-chip (SoCs). This new electrical and electronic architecture, combined with high-performance chips, allows vehicles to host richer, more complex, and more secure applications, providing consumers with a more innovative and comfortable passenger experience. However, technological innovation also brings new application security challenges. The automotive industry employs a highly customized, static approach, deploying high-availability applications on designated controllers. This approach, binding high-availability applications to specific controllers, creates the risk of application downtime, whether due to anomalies in the controller itself or in the operating system running on it. Failure to promptly restart applications can negatively impact vehicle usability. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide an application management method, apparatus, device, and computer-readable storage medium, which can freely schedule applications between nodes and effectively improve the continuous operation capability of applications. The specific technical solutions are as follows:
[0004] In a first aspect, the present application provides an application management method, the method comprising:
[0005] Monitoring, by the master node, whether an abnormality occurs in the slave nodes during operation, wherein the slave nodes include a first slave node and a second slave node;
[0006] When an abnormality occurs in the first slave node, transferring a high-priority application in the first slave node to the second slave node through the master node;
[0007] An application wake-up message is sent to the second slave node through the master node, so that the second slave node runs the high-priority application.
[0008] In a possible implementation, monitoring the slave nodes by the master node to see if an abnormality occurs during operation includes:
[0009] Receive the heartbeat message sent by the slave node through the master node;
[0010] When the heartbeat message is not received within a preset time period, sending a wake-up message to the slave node through the master node, wherein the wake-up message is used to wake up the slave node;
[0011] When the wake-up message is sent to the slave node a preset number of times and the heartbeat message is not received, it is determined that the slave node is abnormal.
[0012] In a possible implementation, transferring the high-priority application in the first slave node to the second slave node through the master node includes:
[0013] The low-priority application in the second slave node is replaced by the high-priority application in the first slave node through the master node.
[0014] In a possible implementation, the method further includes:
[0015] Monitor the master node via the slave node to see if any abnormality occurs during operation;
[0016] When an abnormality occurs in the master node, one of the slave nodes is selected as a new master node.
[0017] In a possible implementation, before monitoring the slave nodes by the master node to see whether an abnormality occurs during operation, the method further includes:
[0018] A controller is randomly selected from a plurality of controllers as the master node, and other controllers are determined as the slave nodes, wherein the other controllers are all controllers of the plurality of controllers except the master node, and each controller is used to run an application corresponding to the vehicle.
[0019] In a second aspect, the present application further provides an application management device, the device comprising:
[0020] A master node monitoring module, configured to monitor, through the master node, whether any abnormality occurs in the operation of the slave nodes, wherein the slave nodes include a first slave node and a second slave node;
[0021] an application transfer module, configured to transfer a high-priority application in the first slave node to the second slave node via the master node when an abnormality occurs in the first slave node;
[0022] The message sending module is used to send an application wake-up message to the second slave node through the master node, so that the second slave node runs the high-priority application.
[0023] In a possible implementation, the master node monitoring module includes:
[0024] A message receiving unit, configured to receive a heartbeat message sent by the slave node through the master node;
[0025] A message sending unit, configured to send a wake-up message to the slave node through the master node when the heartbeat message is not received within a preset time period, wherein the wake-up message is used to wake up the slave node;
[0026] The determining unit is configured to determine that the slave node is abnormal when the wake-up message is sent to the slave node a preset number of times and the heartbeat message is not received.
[0027] In a possible implementation, the apparatus further includes:
[0028] A slave node monitoring module, configured to monitor whether the master node has any abnormality during operation through the slave node;
[0029] The master node replacement module is used to select one of the slave nodes as a new master node when an abnormality occurs in the master node.
[0030] In a third aspect, the present application further provides a computer device, comprising: a memory and a processor;
[0031] Wherein, the memory is used to store computer programs;
[0032] The processor is configured to execute the computer program in the memory to implement the first aspect or the method described in any one of the first aspects.
[0033] In a fourth aspect, the present application further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect or any one of the first aspects.
[0034] In an embodiment of the present application, a master node monitors slave nodes for abnormalities during operation, including a first slave node and a second slave node. When an abnormality occurs in the first slave node, the master node transfers a high-priority application from the first slave node to the second slave node. The master node then sends an application wake-up message to the second slave node, instructing the second slave node to run the high-priority application. With this embodiment of the present application, high-priority applications can be freely scheduled between nodes, effectively improving the ability of high-priority applications to continue operating. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0036] Figure 1 A flowchart of an application management method provided by an embodiment of the present application is shown;
[0037] Figure 2 A schematic diagram of a topological structure of a master node, slave nodes, and applications provided in an embodiment of the present application is shown;
[0038] Figure 3 A schematic diagram of application scheduling provided by an embodiment of the present application is shown;
[0039] Figure 4 A schematic diagram of inter-node communication provided by an embodiment of the present application is shown;
[0040] Figure 5 A schematic structural diagram of an application management device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0041] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0042] The automotive industry generally deploys applications in a highly customized, static manner on designated controllers. Application security policies are also tightly bound to the controller as part of the application. After the controller's operating system boots up, it launches the application software and, simultaneously, a background application that monitors the software's status. If the background application detects an anomaly in the target application, it restarts it, ensuring high availability.
[0043] Traditional high-availability application protection methods include the following:
[0044] 1. Background script polling to check application execution status:
[0045] The operating system on the controller starts a script for application polling and checking in the background. When it is detected that the process of the target application disappears in the operating system on the controller, the script is used to restart the process.
[0046] This method relies on the system calls that come with the operating system. The output results of system calls in different operating systems may have differences in naming, format, and units, and the scripting language naturally has the defect of poor readability. Therefore, it is insufficient in portability and standardization, and it is impossible to form a standard method.
[0047] 2. Status Management (SM) plus Execution Management (EXEC) in the Adaptive AUTOSAR system maintains high application availability:
[0048] EXEC checks the application running status and sends it to SM. If SM receives the application offline status flag, SM sends a message to EXEC, requesting EXEC to switch the function group status, and EXEC restarts the application process.
[0049] This method is recommended for implementation in the AdaptiveAUTOSAR specification. It significantly improves standardization and has good portability. However, it can only be deployed on a single controller and lacks the ability to maintain continuous operation of high-availability applications when hardware or system anomalies occur in a single controller.
[0050] High-availability application protection technology has been widely deployed in cloud servers and server clusters on the internet. In internet scenarios, computer resources are plentiful, so overall scheduling strategies are typically implemented through load balancing, which dispatches high-availability applications to idle nodes. While load balancing is a common practice in the internet sector and has achieved large-scale commercial use, it relies on a significant amount of computer resources. Automotive controllers are resource-scarce and require efficient use of all resources, making this approach unsuitable for automotive applications.
[0051] This application proposes an application management method that enables key applications, namely high-availability applications, to be freely scheduled between in-vehicle domain controllers, ensuring that high-availability applications can continue to run during vehicle operation and solving the problem of abnormal offline of high-availability applications during driving.
[0052] See Figure 1 , shows a flow chart of an application management method provided by an embodiment of the present application, which embodiment of the present application includes at least the following steps:
[0053] S11, monitor the slave nodes through the master node to see if there are any abnormalities during operation.
[0054] A vehicle generally includes multiple controllers, each of which is used to run the application corresponding to the vehicle. In an embodiment of the present application, a controller can be randomly selected from multiple controllers as a master node, and the other controllers can be determined as slave nodes. The other controllers are all controllers except the master node in the multiple controllers, and one other controller corresponds to one slave node. In an embodiment of the present application, a node management module (Node Management) and an application (Application, App) can be deployed to each controller so that the controller runs the deployed application.
[0055] As can be seen, the embodiment of the present application may include a master node and multiple slave nodes, and the multiple slave nodes may include a first slave node (slave1), a second slave node (slave2), a third slave node (slave3), ..., an Nth slave node (slaveN), where the value of N depends on the number of controllers in the vehicle. The embodiment of the present application can monitor each slave node through the master node to see if there is any abnormality during operation.
[0056] The master node and multiple slave nodes of the embodiment of the present application can edit the applications initially run by their respective nodes according to the configuration files of their respective nodes, and define the priority of each application. The node management module can determine high-priority applications and low-priority applications according to the priority of each application. In the embodiment of the present application, applications with high priority are high-availability applications (HighAvailableAPP), and applications with low priority are low-availability applications (Non-HighAvailableAPP). The topological structure of the master node, slave nodes and applications is as follows: Figure 2 After each node is configured according to the configuration file, run the application deployed on each node.
[0057] S12, when an abnormality occurs in the first slave node, the high priority application in the first slave node is transferred to the second slave node through the master node.
[0058] When an abnormality is detected in the first slave node, the high-priority application in the first slave node is transferred to the second slave node through the master node for stable operation of the high-priority application.
[0059] The transfer principle of high-priority applications can be pre-set. The specific transfer principle can be set by technical personnel according to actual scenario needs and is not limited in the embodiments of this application.
[0060] Assume that the transfer principle of high-priority applications can be based on the number of deployment nodes. For example, if the first slave node is abnormal, the high-priority application of the first slave node is transferred to the second slave node; if the second slave node is abnormal, the high-priority application of the second slave node is transferred to the third slave node, and so on. Then, the number of the second slave node is the number of the first slave node + 1.
[0061] Assume that the principle for transferring high-priority applications can be based on node priority. For example, multiple slave nodes include a first slave node, a second slave node, and a third slave node. The node priorities of the multiple slave nodes are, from high to low, the third slave node, the second slave node, and the first slave node. Then, when the first slave node is abnormal, the high-priority application of the first slave node is transferred to the third slave node; when the third slave node is abnormal, the high-priority application of the third slave node is transferred to the second slave node. That is, the high-priority application of the slave node is transferred to the high-priority slave node. Therefore, the second slave node is the high-priority slave node.
[0062] It is understandable that if the second slave node also has an abnormality, the continuous operation of the high-availability application cannot be guaranteed. Therefore, the transfer principle of the high-priority application can also be based on the node not having an abnormality.
[0063] Assume that the principle for transferring high-priority applications is based on the number of deployed nodes and the absence of any abnormalities. For example, if multiple slave nodes include a first slave node, a second slave node, and a third slave node, and both the first and second slave nodes experience an abnormality, the high-priority application of the first slave node will be transferred to the third slave node. In this case, the second slave node is a slave node with a higher number than the first slave node and is not experiencing any abnormalities.
[0064] Assume that the transfer principle of high-priority applications can be carried out according to the node priority and the absence of abnormalities in the nodes. For example, multiple slave nodes include a first slave node, a second slave node, and a third slave node, and the node priorities of the multiple slave nodes are, from high to low, the third slave node, the second slave node, and the first slave node. Then, when the first slave node is abnormal, the third slave node is also abnormal, and the high-priority application of the first slave node is transferred to the second slave node. Then, the second slave node is a slave node with no abnormalities among the high-priority nodes. In one possible implementation, transferring the high-priority application in the first slave node to the second slave node through the master node can be: replacing the low-priority application in the second slave node with the high-priority application in the first slave node through the master node.
[0065] S13, sending an application wake-up message to the second slave node through the master node, so that the second slave node runs the high-priority application.
[0066] like Figure 3 As shown, after the high-priority application in the first slave node is transferred to the second slave node, the master node can send an application wake-up message to the second slave node to enable the second slave node to run the high-priority application.
[0067] In an embodiment of the present application, a master node monitors slave nodes for abnormalities during operation, including a first slave node and a second slave node. When an abnormality occurs in the first slave node, the master node transfers a high-priority application from the first slave node to the second slave node. The master node then sends an application wake-up message to the second slave node, instructing the second slave node to run the high-priority application. With this embodiment of the present application, high-priority applications can be freely scheduled between nodes, effectively improving the ability of high-priority applications to continue operating.
[0068] Figure 4 A schematic diagram of inter-node communication provided by an embodiment of the present application is shown. In this embodiment of the present application, a master node can receive heartbeat messages to monitor whether a slave node has an abnormality. Therefore, an implementation method of monitoring whether a slave node has an abnormality during operation by a master node may include the following steps:
[0069] S111, receiving the heartbeat message sent by the slave node through the master node.
[0070] The node management module of the slave node will periodically send heartbeat messages to the node management module of the master node. The heartbeat message is used to reflect the survival status of the current node. If the master node can receive the heartbeat message sent by the slave node, it means that the slave node is in normal operation.
[0071] S112: When no heartbeat message is received within a preset time period, a wake-up message is sent to the slave node via the master node.
[0072] If the master node does not receive the heartbeat message sent by the slave node within the preset time period, it indicates that the slave node may be abnormal. The master node then sends a wake-up message to the slave node. The wake-up message is used to wake up the node management module of the slave node and enable the node management module to wake up the high-priority application on the slave node.
[0073] S113: When a preset number of wake-up messages are sent to the slave node and no heartbeat message is received, it is determined that the slave node is abnormal.
[0074] If the master node has never received a heartbeat message from the slave node after sending a preset number of wake-up messages to the slave node, it indicates that the slave node has an abnormality. The embodiment of the present application can send a wake-up message at a preset interval, that is, the time when the first wake-up message is sent is separated from the time when the second wake-up message is sent by a preset interval. If the master node receives a heartbeat message from the slave node within the preset interval after sending a wake-up message to the slave node, it is determined that the slave node has no abnormality. Figure 3 As shown, as an example, the number of predictions in the embodiment of the present application can be 10. It should be noted that the preset time period, preset interval and preset number of times can be set by technicians according to actual scenario needs, and the embodiment of the present application does not limit them.
[0075] In addition to sending a wake-up message to the slave node, the master node of the embodiment of the present application also sends a heartbeat message to the slave node so that the slave node can determine whether an abnormality has occurred in the master node. Therefore, the embodiment of the present application can also include the following steps:
[0076] S14, monitoring the master node through the slave node to see if there is any abnormality during the operation.
[0077] A slave node can determine whether a master node has experienced an anomaly by receiving a heartbeat message from the master node. The master node can periodically send heartbeat messages to the slave nodes. In one possible implementation, the master node sends heartbeat messages to multiple slave nodes. In another possible implementation, the master node sends a heartbeat message to the slave node with the highest priority among the multiple slave nodes. The slave node with the highest priority can be the node that replaces the master node if an anomaly occurs on the master node.
[0078] S15, when an exception occurs in the master node, a slave node is selected from the slave nodes as a new master node.
[0079] When an exception occurs on the master node, a slave node must be selected from multiple slave nodes as the new master node. The replacement principle for the master node can be pre-set. Assume that the replacement principle for the master node can be based on the number of deployed nodes. For example, if the master node is abnormal, the first slave node is made the master node. Assume that the replacement principle for the master node can be based on node priority. For example, multiple slave nodes include the first slave node, the second slave node, and the third slave node. The node priorities of the multiple slave nodes are, from high to low, the third slave node, the second slave node, and the first slave node. In this case, when the master node is abnormal, the third slave node is made the master node.
[0080] This application embodiment proposes an application management method based on a new domain-centralized electrical and electronic architecture and advanced high-performance chips, achieving an application protection solution that ensures continuous and stable application operation. This method addresses the difficulties of porting high-availability application protection software, the need to bind to specific controllers, and the inability of resource-saving automotive controllers to provide sufficient resources to support load balancing technologies.
[0081] As part of the application, the application security policy is decoupled from the controller's own dependence through the embodiments of this application, thereby ensuring the continuous operation of the application security policy and improving the portability and availability of the application security policy on the domain controller. The embodiments of this application can protect in-vehicle security applications, such as host security applications (such as VST) and information security applications (such as VNSEC / ENSEC), ensuring that such applications can run continuously and stably in the vehicle, thereby protecting the vehicle's host security and information security.
[0082] Next, an application management device provided by the present application is introduced. The application management device introduced below and the application management method introduced above can refer to each other.
[0083] See Figure 5 , shows a schematic structural diagram of an application management device provided by the present application, the device comprising:
[0084] A master node monitoring module 501 is configured to monitor, through the master node, whether any abnormality occurs in the operation of the slave nodes, wherein the slave nodes include a first slave node and a second slave node;
[0085] An application transfer module 502, configured to transfer a high-priority application in the first slave node to the second slave node via the master node when an abnormality occurs in the first slave node;
[0086] The message sending module 503 is configured to send an application wake-up message to the second slave node through the master node, so as to enable the second slave node to run the high-priority application.
[0087] In this embodiment of the present application, the master node monitoring module 501 includes:
[0088] A message receiving unit, configured to receive a heartbeat message sent by the slave node through the master node;
[0089] A message sending unit, configured to send a wake-up message to the slave node through the master node when the heartbeat message is not received within a preset time period, wherein the wake-up message is used to wake up the slave node;
[0090] The determining unit is configured to determine that the slave node is abnormal when the wake-up message is sent to the slave node a preset number of times and the heartbeat message is not received.
[0091] In the embodiment of the present application, the application transfer module 502 is specifically configured to:
[0092] The low-priority application in the second slave node is replaced by the high-priority application in the first slave node through the master node.
[0093] In an embodiment of the present application, the device further includes:
[0094] A slave node monitoring module, configured to monitor whether the master node has any abnormality during operation through the slave node;
[0095] The master node replacement module is used to select one of the slave nodes as a new master node when an abnormality occurs in the master node.
[0096] In an embodiment of the present application, the device further includes:
[0097] A node selection module is used to randomly select a controller from multiple controllers as the master node and determine other controllers as the slave nodes, wherein the other controllers are all controllers among the multiple controllers except the master node, and each controller is used to run the application corresponding to the vehicle.
[0098] The embodiment of the present application further provides a computer device, comprising: a memory and a processor;
[0099] Wherein, the memory is used to store computer programs;
[0100] The processor is configured to execute the computer program in the memory to implement the method described in the above method embodiment.
[0101] An embodiment of the present application further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enables the computer to execute the method described in the above method embodiment.
[0102] In an embodiment of the present application, a master node monitoring module is used to monitor slave nodes, including a first slave node and a second slave node, for abnormalities during operation via the master node. An application transfer module is used to transfer a high-priority application from the first slave node to the second slave node via the master node when an abnormality occurs on the first slave node. A message sending module is used to send an application wake-up message to the second slave node via the master node, instructing the second slave node to run the high-priority application. Through this embodiment of the present application, high-priority applications can be freely scheduled between nodes, effectively improving the ability of high-priority applications to continue operating.
[0103] It should be noted that the same or similar parts between the various embodiments can be referred to each other. As for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0104] For the sake of simplicity, the aforementioned embodiments are described as a series of action combinations. However, those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0105] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0106] The above description of the disclosed embodiments will enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
[0107] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An application management method, characterized in that: The method comprises: Monitoring, by the master node, whether an abnormality occurs in the slave node during operation, wherein the slave node includes a first slave node and a second slave node; When an abnormality occurs in the first slave node, transferring a high priority application in the first slave node to the second slave node through the master node; An application wake-up message is sent to the second slave node through the master node, so that the second slave node runs the high-priority application.
2. The method according to claim 1, characterized in that The monitoring of whether the slave node is abnormal during operation by the master node includes: Receive the heartbeat message sent by the slave node through the master node; When the heartbeat message is not received within a preset time period, a wake-up message is sent to the slave node through the master node, where the wake-up message is used to wake up the slave node; When the wake-up message is sent to the slave node a preset number of times and the heartbeat message is not received, it is determined that the slave node is abnormal.
3. The method according to claim 1, characterized in that The transferring the high priority application in the first slave node to the second slave node through the master node comprises: The low priority application in the second slave node is replaced by the high priority application in the first slave node through the master node.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Monitor the master node through the slave node to see if there is any abnormality during operation; When an abnormality occurs in the master node, one of the slave nodes is selected as a new master node.
5. The method according to any one of claims 1 to 3, characterized in that: Before monitoring the slave nodes by the master node to see whether an abnormality occurs during operation, the method further includes: A controller is randomly selected from a plurality of controllers as the master node, and other controllers are determined as slave nodes, wherein the other controllers are all controllers of the plurality of controllers except the master node, and each controller is used to run an application corresponding to the vehicle.
6. An application management device, characterized in that: The device comprises: A master node monitoring module, used to monitor whether a slave node has an abnormality during operation through the master node, wherein the slave node includes a first slave node and a second slave node; An application transfer module, configured to transfer a high priority application in the first slave node to the second slave node through the master node when an abnormality occurs in the first slave node; The message sending module is used to send an application wake-up message to the second slave node through the master node, so that the second slave node runs the high-priority application.
7. The device according to claim 6, characterized in that The master node monitoring module includes: A message receiving unit, used for receiving a heartbeat message sent by the slave node through the master node; A message sending unit, configured to send a wake-up message to the slave node through the master node when the heartbeat message is not received within a preset time period, wherein the wake-up message is used to wake up the slave node; The determination unit is used to determine that the slave node is abnormal when the wake-up message is sent to the slave node a preset number of times and the heartbeat message is not received.
8. The device according to claim 6 or 7, characterized in that The device also includes: A slave node monitoring module, used to monitor whether the master node has any abnormality during operation through the slave node; The master node replacement module is used to select one of the slave nodes as a new master node when an abnormality occurs in the master node.
9. A computer device, characterized in that: include: Memory and processor; The memory is used to store computer programs; The processor is configured to execute the computer program in the memory to implement the method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The device stores instructions which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 5.
