A data synchronization system, method, apparatus, and equipment.
Patent Information
- Application Number
- CN202210650510.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2042-06-10
AI Technical Summary
[0004]为了克服现有技术的不足,本发明提供一种数据同步系统及数据同步方法、装置和设备,以解决现有冗余设计,当主控制器高负荷运行时,主控制器与备用控制器数据同步变慢,同时容易出现异常情况
[0045]本申请技术方案提供一种数据同步系统及数据同步方法、装置和设备,将备用控制器的第二主控芯片与主控制器的第一存储单元直接电连接,通过该结构,备用控制器在数据同步时,可以直接从主控制器的第一存储单元获取数据进行数据同步,由于不用经过主控制器的第一主控芯片,因此当主控制器运行负荷高时,也能够及时同步数据,确保数据同步正常,解决了主控制器运行负荷高时数据同步速度慢的问题,具有结构简单,同步数据快的优点。
Smart Images

Figure CN115203318B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing, and in particular to a data synchronization system, method, apparatus, and device. Background Technology
[0002] In an automatic control system, the controller includes an upper interface, a main control chip, storage units (RAM and ROM), and a lower interface. The main control chip controls the controller, the lower interface is responsible for connecting various field devices, the upper interface interacts with the server, and the storage unit stores data from the server and field devices. To ensure the stability of the controller, redundant designs are often used.
[0003] In redundant design, data synchronization between the primary and backup controllers is a critical step. In current automatic control systems, the primary controller's main control chip is directly connected to the backup controller's main control chip for data synchronization. However, data synchronization between the primary and backup controllers requires packet assembly and parsing of communication data. The primary controller itself reads and controls data from field devices, as well as reports and receives data from the server. Adding communication with backup devices undoubtedly increases the controller's workload. While the primary controller functions normally under low load, under high load, its primary function is data processing, which slows down data synchronization between the primary and backup controllers and increases the likelihood of malfunctions. Summary of the Invention
[0004] To overcome the shortcomings of the prior art, the present invention provides a data synchronization system, data synchronization method, apparatus and equipment to solve the problem that in the existing redundant design, when the main controller is running under high load, the data synchronization between the main controller and the backup controller becomes slow and abnormal situations are prone to occur.
[0005] The technical solution adopted by this invention to solve its technical problem is:
[0006] Firstly,
[0007] A data synchronization system includes: a main controller and at least one backup controller; the main controller includes a first main control chip and a first storage unit; any backup controller includes a second main control chip and a second storage unit.
[0008] The second master control chip of any standby controller is electrically connected to the first storage unit of the master controller.
[0009] Furthermore, the first main control chip of the main controller is electrically connected to the second storage unit of any backup controller.
[0010] Secondly,
[0011] A data synchronization method, applied to the system described in the first aspect of the technical solution, includes the following steps:
[0012] Obtain the operating status of the main controller;
[0013] The data synchronization method of the backup controller is determined based on the operating conditions, and the data synchronization method includes: obtaining data from the first storage unit of the main controller for data synchronization;
[0014] The backup controller is controlled to synchronize data according to the determined synchronization method.
[0015] Furthermore, the data synchronization method also includes: obtaining data from a server or host computer that is jointly connected to the main controller and the backup controller for data synchronization.
[0016] Furthermore, the operational status includes the CPU utilization rate of the main controller, and determining the data synchronization method of the standby controller based on the operational status includes:
[0017] When the CPU utilization rate of the main controller is greater than the preset utilization rate, data is obtained from the first storage unit of the main controller for data synchronization.
[0018] Furthermore, obtaining the operating status of the main controller includes:
[0019] Create an idle task with a fixed execution time in the main controller, and execute the idle task when the main controller is idle;
[0020] Obtain the total execution time of the idle task within the preset time period;
[0021] The operating status of the main controller is determined based on the ratio of the total execution time to the preset time.
[0022] Furthermore, determining the data synchronization method of the standby controller based on the operating conditions includes:
[0023] When the ratio is not greater than the preset ratio, data is obtained from the first storage unit of the main controller for data synchronization.
[0024] Furthermore, the step of controlling the backup controller to perform data synchronization according to the determined synchronization method includes:
[0025] When data is retrieved from the first storage unit of the main controller for data synchronization, it is determined whether the first storage unit is occupied by the main controller.
[0026] If not, data is retrieved from the first storage unit of the main controller for data synchronization; if yes, data synchronization is performed after the main controller is released from its occupancy.
[0027] Furthermore, it also includes:
[0028] Detect whether the main controller is malfunctioning;
[0029] When an anomaly is detected in the main controller, the backup controller is controlled to obtain data from the first storage unit of the main controller and update the data in the second storage unit of the backup controller according to the obtained data; at the same time, the backup controller is switched to the main controller.
[0030] Furthermore, detecting whether the main controller is abnormal includes:
[0031] An anomaly determination area is established in the first storage unit of the main controller, and the main controller is controlled to update the anomaly determination area at a first preset time interval.
[0032] The backup controller is controlled to read the update interval of the anomaly determination area of the main controller at a second preset time interval, wherein the second preset time interval is not less than the first preset time interval;
[0033] If the update interval is a first preset duration, the main controller is determined to be normal; if the update interval is not a first preset duration, the main controller is determined to be abnormal.
[0034] Thirdly,
[0035] A data synchronization device, applied to the system described in the first aspect of the technical solution, includes:
[0036] The operation status acquisition module is used to acquire the operation status of the main controller;
[0037] The synchronization mode determination module is used to determine the data synchronization mode of the standby controller based on the operating conditions. The data synchronization mode includes: obtaining data from a server or host computer that is jointly connected to the main controller and the standby controller for data synchronization; or obtaining data from the first storage unit of the main controller for data synchronization.
[0038] The data synchronization module is used to control the backup controller to perform data synchronization according to the determined synchronization method.
[0039] Fourthly,
[0040] A data synchronization device, comprising:
[0041] processor;
[0042] Memory used to store the processor's executable instructions;
[0043] The processor is configured to perform the method according to any one of claims 3-9.
[0044] Beneficial effects:
[0045] This application provides a data synchronization system, method, apparatus, and device. The second main control chip of the backup controller is directly electrically connected to the first storage unit of the main controller. Through this structure, the backup controller can directly obtain data from the first storage unit of the main controller for data synchronization. Since it does not go through the first main control chip of the main controller, it can synchronize data in a timely manner even when the main controller is under high load, ensuring normal data synchronization. This solves the problem of slow data synchronization speed when the main controller is under high load, and has the advantages of simple structure and fast data synchronization. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a schematic diagram of a data synchronization system structure provided in an embodiment of the present invention;
[0048] Figure 2 This is a flowchart of a data synchronization method provided in an embodiment of the present invention;
[0049] Figure 3 This is a schematic diagram of a data synchronization device provided in an embodiment of the present invention. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of the present invention will be described in detail below with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other implementation methods obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0051] The first embodiment, referred to Figure 1 This invention provides a data synchronization system, including: a main controller 10 and at least one backup controller 20. Figure 1 Only one backup controller is provided in the middle); the main controller 10 includes a first main control chip 11 and a first storage unit 12; any backup controller 20 includes a second main control chip 21 and a second storage unit 22;
[0052] The second master control chip 21 of any backup controller 20 is electrically connected to the first storage unit 12 of the master controller 10 so that the backup controller 20 can synchronize the data in the first storage unit 12 to the second storage unit 22 through the second master control chip 21.
[0053] like Figure 1 As shown, the main controller 10 also includes:
[0054] The first lower interface 13 is used to connect various field devices 30;
[0055] The first interface 14 is used for data interaction with the server or host computer 40.
[0056] The backup controller 20 also includes:
[0057] The second lower interface 23 is used to connect to various field devices 30 when the backup controller 20 switches to the main controller;
[0058] The second interface 24 is used for data interaction with the server or host computer 40.
[0059] When the system provided in this embodiment of the invention starts operating, it first needs to determine the main controller 10 and the backup controller 20. Since the main controller 10 and the backup controller 20 have basically the same structure in actual use, they can be randomly set. The setting can be specified through a server or host computer 40, that is, the controller designated as the main controller interacts with the server or host computer 40 and the field device 30, while the controller designated as the backup controller 20 does not interact with the field device 30. Alternatively, it can be set through a built-in switch on the controller itself, that is, the switch can select whether to interact with the field device 30. The controller that can interact with the field device 30 is the main controller 10, and the controller that cannot interact with the field device 30 is the backup controller 20. Therefore, for ease of use, as an optional implementation of this embodiment of the invention, the first main control chip 11 of the main controller 10 is electrically connected to the second storage unit 22 of any backup controller 20. This setting is to facilitate data synchronization when the backup controller 20 switches to the main controller and the original main controller 10 switches to the backup controller, so that the original main controller 10 can directly obtain data from the second storage unit 22 of the original main controller for data synchronization.
[0060] It should be noted that, in practice, the first storage unit 12 of the main controller 10 and the second storage unit 22 of the backup controller 20 are generally composed of read-only memory (ROM) and random access memory (RAM). The main controller 10 communicates with the server or host computer 40 via a communication bus to obtain configuration information for communication with the field device 30 and data storage area distribution configuration information, etc., and stores the relevant information in the ROM. Since the backup controller 20 is connected to the same field device 30, it should obtain the same configuration information. Therefore, the backup controller 20 can communicate with the server or host computer 40 via the communication bus to obtain configuration information for communication with the field device 30 and data storage area distribution information, etc.; the backup controller 20 can also directly obtain the same configuration information from the ROM of the main controller 10. After obtaining the configuration information, the main controller 10 interacts with the field device 30 to obtain the data information of the field device 30, and simultaneously stores the data in RAM according to the storage area distribution configuration information. The second main control chip 21 is directly connected to the first storage unit 12, which reduces the protocol transmission and parsing time between the main controller 10 and the backup controller 20 and speeds up the data synchronization.
[0061] The data synchronization system provided in this embodiment of the invention directly connects the second main control chip of the backup controller to the first storage unit of the main controller. Through this structure, the backup controller can directly obtain data from the first storage unit of the main controller for data synchronization. Since it does not go through the first main control chip of the main controller, it can synchronize data in a timely manner even when the main controller is under high load, ensuring normal data synchronization. This solves the problem of slow data synchronization speed when the main controller is under high load and has the advantages of simple structure and fast data synchronization.
[0062] Second embodiment, such as Figure 2 As shown, the present invention provides a data synchronization method applied to the system provided in the first embodiment, comprising the following steps:
[0063] S11: Obtain the operating status of the main controller;
[0064] S12: Determine the data synchronization method of the standby controller based on the operating conditions. The data synchronization method includes: obtaining data from the first storage unit of the main controller for data synchronization.
[0065] S13: Control the backup controller to perform data synchronization according to the determined synchronization method.
[0066] As a preferred implementation of this invention, the data synchronization method further includes: obtaining data from a server or host computer jointly connected to both the main controller and the backup controller for data synchronization. That is, this invention includes two data synchronization methods: obtaining data from a server or host computer for data synchronization and obtaining data from the first storage unit of the main controller for data synchronization. It should be noted that when the first main control chip of the main controller and the second main control chip of the backup controller are electrically connected, the data synchronization method can also be to obtain data from the first main control chip of the main controller for data synchronization; however, this solution has a high setup cost and generally poor performance. Therefore, this invention only uses data obtained from a server or host computer for data synchronization and data obtained from the first storage unit of the main controller for data synchronization.
[0067] As an optional implementation of this invention, the operating status includes the CPU utilization rate of the main controller. Based on the operating status, the data synchronization method of the standby controller is determined, including: when the CPU utilization rate of the main controller is not greater than a preset utilization rate (the preset utilization rate can be set according to actual needs; for example, the preset utilization rate is 50%), data is obtained from the server or host computer for data synchronization; when the CPU utilization rate of the main controller is greater than the preset utilization rate, data is obtained from the first storage unit of the main controller for data synchronization. That is, the CPU utilization rate reflects the operating load of the main controller, intuitively demonstrating the operating load of the main controller and facilitating the determination of the data synchronization method.
[0068] As another optional implementation of this invention, obtaining the operating status of the main controller includes: creating an idle task with a fixed execution time in the main controller, executing the idle task when the main controller is idle; obtaining the total execution time of the idle task within a preset time period (for example, the total execution time of the idle task within 1 second is 500ms); and judging the operating status of the main controller based on the ratio of the total execution time to the preset time period. When the ratio is greater than a preset ratio (the preset ratio is set according to actual needs, and for example, the preset ratio is 50%), data is obtained from the server or host computer for data synchronization; when the ratio is not greater than the preset ratio, data is obtained from the first storage unit of the main controller for data synchronization. That is, the ratio of the total execution time of the idle task to the preset time period is used to determine whether the main controller is busy. Then, an appropriate data synchronization method is selected.
[0069] In practical use, the first storage unit in the main controller (as described in the first embodiment, composed of ROM and RAM) cannot be read or written by multiple controllers simultaneously. Therefore, the backup controller is controlled to perform data synchronization according to a determined synchronization method, including: when data is obtained from the first storage unit of the main controller for data synchronization, determining whether the first storage unit is occupied by the main controller; if not, then obtaining data from the first storage unit of the main controller for data synchronization; if so, then waiting for the main controller to release the occupancy before performing data synchronization. That is, a time-division multiplexing method is adopted, and a device busy status line is added to the communication bus connecting the second main control chip of the backup controller and the first storage unit of the main controller. When the main controller occupies the first storage unit, the status line is set high. When not occupied, the status line is low. The backup controller immediately uses the main controller after detecting that it is not occupied.
[0070] Optionally, it further includes: detecting whether the main controller is abnormal; when the main controller is detected to be abnormal, controlling the backup controller to obtain data from the first storage unit of the main controller and updating the data in the second storage unit of the backup controller according to the obtained data; and simultaneously switching the backup controller to the main controller.
[0071] Detecting whether the main controller is malfunctioning can be done by a server or host computer, specifically by checking if the server or host computer can interact with the main controller. Alternatively, it can be detected by a backup controller. Specifically, an anomaly determination area is established in the main controller's first storage unit. The main controller updates this area at a first preset interval. The backup controller reads the update interval of the main controller's anomaly determination area at a second preset interval. If the update interval is the first preset interval, the main controller is considered normal; otherwise, it is considered malfunctioning. It should be noted that if the second preset interval is less than the first preset interval, even if the main controller is normal (i.e., the update interval of the anomaly determination area is the first preset interval), the backup controller will still read the update interval of the main controller's anomaly determination area at least twice within this first preset interval. Therefore, to avoid wasting the backup controller's control resources, the second preset interval is made less than the first preset interval. This ensures that when the main controller is normal, the main controller updates the anomaly determination area at least twice every time the backup controller reads the update interval.
[0072] The data synchronization method provided in this embodiment of the invention involves a backup controller directly connected to the first storage unit of the main controller. This allows the system to determine, based on the main controller's operating status, whether to obtain data from a server or host computer for synchronization, or to obtain data directly from the main controller's first storage unit. This data synchronization method provides both data synchronization methods and allows the system to determine the appropriate method based on the main controller's operating status, ensuring data synchronization can be performed regardless of the main controller's state and guaranteeing a relatively fast data synchronization speed.
[0073] In a third embodiment, the present invention provides a data synchronization device applied to the system provided in the first embodiment, such as... Figure 3 As shown, it includes:
[0074] The operation status acquisition module 31 is used to acquire the operation status of the main controller;
[0075] The synchronization mode determination module 32 is used to determine the data synchronization mode of the standby controller based on the operating conditions. The data synchronization modes include: obtaining data from a server or host computer that is connected to both the main controller and the standby controller for data synchronization; and obtaining data from the first storage unit of the main controller for data synchronization.
[0076] The data synchronization module 33 is used to control the standby controller to perform data synchronization according to the determined synchronization method.
[0077] As an optional implementation of this invention, the operating status includes the CPU utilization rate of the main controller. When the CPU utilization rate of the main controller is not greater than the preset utilization rate, the synchronization mode determination module 32 determines to obtain data from the server or host computer for data synchronization. When the CPU utilization rate of the main controller is greater than the preset utilization rate, the synchronization mode determination module 32 determines to obtain data from the first storage unit of the main controller for data synchronization.
[0078] As another optional implementation of this invention, the operation status acquisition module 31 acquires the operation status of the main controller, including: creating an idle task with a fixed execution time in the main controller, executing the idle task when the main controller is idle; acquiring the total execution time of the idle task within a preset time period; and determining the operation status of the main controller based on the ratio of the total execution time to the preset time period. When the ratio is greater than the preset ratio, the synchronization mode determination module 32 determines to acquire data from the server or host computer for data synchronization; when the ratio is not greater than the preset ratio, the synchronization mode determination module 32 determines to acquire data from the first storage unit of the main controller for data synchronization.
[0079] Optionally, when data is retrieved from the first storage unit of the main controller for data synchronization, the data synchronization module determines whether the first storage unit is occupied by the main controller; if not, it retrieves data from the first storage unit of the main controller for data synchronization; if so, it waits for the main controller to release the occupancy before performing data synchronization.
[0080] As an optional implementation of the present invention, the data synchronization device provided in the present invention is further used to detect whether the main controller is abnormal; when the main controller is detected to be abnormal, the backup controller is controlled to obtain data from the first storage unit of the main controller and update the data in the second storage unit of the backup controller according to the obtained data; at the same time, the backup controller is switched to the main controller.
[0081] The method for detecting whether the main controller is abnormal includes: establishing an abnormality determination area in the first storage unit of the main controller; controlling the main controller to update the abnormality determination area at a first preset time interval; controlling the backup controller to read the update interval of the abnormality determination area of the main controller at a second preset time interval, wherein the second preset time interval is not less than the first preset time interval; if the update interval is the first preset time interval, the main controller is determined to be normal; if the update interval is not the first preset time interval, the main controller is determined to be abnormal.
[0082] The data synchronization device provided in this embodiment of the invention includes an operation status acquisition module that acquires the operation status of the main controller; a synchronization mode determination module that determines the data synchronization mode of the backup controller based on the operation status; and a data synchronization module that controls the backup controller to perform data synchronization according to the determined synchronization mode. The synchronization device directly electrically connects the second main control chip of the backup controller to the first storage unit of the main controller. During data synchronization, the backup controller can directly obtain data from the first storage unit of the main controller for data synchronization. Since it does not need to go through the first main control chip of the main controller, it can synchronize data in a timely manner even when the main controller is under high load, ensuring normal data synchronization. This solves the problem of slow data synchronization speed when the main controller is under high load, and has the advantages of simple structure and fast data synchronization.
[0083] Fourth embodiment: The present invention provides a data synchronization device, comprising:
[0084] processor;
[0085] Memory used to store processor-executable instructions;
[0086] The processor is configured to perform the data synchronization method provided in the first embodiment.
[0087] This invention stores the processor's executable instructions in a memory. When the processor executes these instructions, it can determine, based on the main controller's operating status, whether to obtain data for synchronization from a server or host computer, or directly from the main controller's first storage unit. This provides two data synchronization methods and allows the choice of method based on the main controller's operating status, ensuring data synchronization can be performed regardless of the main controller's state and guaranteeing a relatively fast synchronization speed.
[0088] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0089] It should be noted that in the description of this application, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means at least two.
[0090] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0091] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0092] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0093] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0094] The storage media mentioned above can be read-only memory, disk, or optical disk, etc.
[0095] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0096] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A data synchronization method, characterized in that, This is applied to a data synchronization system, which includes a main controller and at least one backup controller. The main controller includes a first main control chip and a first storage unit. Each backup controller includes a second main control chip and a second storage unit. The second main control chip of each backup controller is electrically connected to the first storage unit of the main controller. The first main control chip of the main controller is electrically connected to the second storage unit of each backup controller. Data synchronization methods include the following steps: Obtain the operating status of the main controller; The data synchronization method of the backup controller is determined based on the operating conditions, and the data synchronization method includes: obtaining data from the first storage unit of the main controller for data synchronization; The backup controller is controlled to synchronize data according to the determined synchronization method; The operational status includes the CPU utilization rate of the main controller, and determining the data synchronization method of the standby controller based on the operational status includes: When the CPU utilization rate of the main controller is greater than the preset utilization rate, data is obtained from the first storage unit of the main controller for data synchronization. The step of controlling the backup controller to perform data synchronization according to the determined synchronization method includes: When data is retrieved from the first storage unit of the main controller for data synchronization, it is determined whether the first storage unit is occupied by the main controller. If not, data is retrieved from the first storage unit of the main controller for data synchronization; if yes, data synchronization is performed after the main controller is released from its storage. Also includes: Detect whether the main controller is malfunctioning; When an anomaly is detected in the main controller, the backup controller is controlled to retrieve data from the first storage unit of the main controller and update the data in the second storage unit of the backup controller based on the retrieved data; simultaneously, the backup controller is switched to become the main controller. The detection of whether the main controller is abnormal includes: An anomaly determination area is established in the first storage unit of the main controller, and the main controller is controlled to update the anomaly determination area at a first preset time interval. The backup controller is controlled to read the update interval of the anomaly determination area of the main controller at a second preset time interval, wherein the second preset time interval is not less than the first preset time interval; If the update interval is a first preset duration, the main controller is determined to be normal; if the update interval is not a first preset duration, the main controller is determined to be abnormal.
2. The data synchronization method according to claim 1, characterized in that: The acquisition of the main controller's operating status includes: Create an idle task with a fixed execution time in the main controller, and execute the idle task when the main controller is idle; Obtain the total execution time of the idle task within the preset time period; The operating status of the main controller is determined based on the ratio of the total execution time to the preset time.
3. The data synchronization method according to claim 2, characterized in that: The step of determining the data synchronization method for the standby controller based on the operating conditions includes: When the ratio is not greater than a preset ratio, data is obtained from the first storage unit of the main controller for data synchronization.
4. A data synchronization device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to perform the method according to any one of claims 1-3.
Citation Information
Patent Citations
Redundancy control method, device and system
CN112083646A
Master-CPU and Reserve-CPU synchronisation interface
EP1262872A2