A backup running method and system based on an RK3399 mainboard and a medium

By adopting a backup operation method based on the RK3399 motherboard, and utilizing dual motherboard backup modules and a self-test mechanism, the problem of business processing when the terminal device motherboard fails is solved, enabling rapid detection and backup of motherboard business processing, and reducing operation and maintenance costs.

CN114356664BActive Publication Date: 2026-05-29INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD
Filing Date
2021-12-21
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

When the motherboard of a terminal device fails, current technology requires waiting for repair personnel to come to the site for maintenance, which affects business progress and user experience.

Method used

The backup operation method based on the RK3399 motherboard is adopted. Through dual motherboard backup modules and self-test mechanism, the system can quickly detect and back up the motherboard when the motherboard fails. The LDO unit group and the motherboard controller are electrically connected and communicated to perform the power-on self-test jump operation to ensure the normal operation of the motherboard.

Benefits of technology

It enables accurate and rapid detection and backup of the motherboard in case of motherboard failure, ensuring motherboard utilization, reducing maintenance costs, and improving the level of intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114356664B_ABST
    Figure CN114356664B_ABST
Patent Text Reader

Abstract

The application discloses a backup running method and system based on an RK3399 mainboard and a medium, and the method comprises the following steps: configuring a first mainboard, a second mainboard and an LDO unit group; performing a module building operation based on the first mainboard, the second mainboard and the LDO unit group to obtain a double-mainboard backup module; setting a first reference time, a second reference time and a third reference time; configuring a mainboard controller and an interface pattern package; firstly, connecting the double-mainboard backup module with the mainboard controller, and then performing a self-check jump operation based on the double-mainboard backup module, the first reference time, the second reference time, the third reference time, the mainboard controller and the interface pattern package; the application can provide a smart backup running logic for a terminal device mainboard, can accurately and quickly detect when a fault occurs in one mainboard, and can maintain normal business processing by simultaneously running a backup mainboard, and the intelligent degree is extremely high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of motherboard boot configuration technology, and in particular to a backup operation method, system and medium based on an RK3399 motherboard. Background Technology

[0002] Currently, with the increasing system requirements of terminal devices, the probability of motherboard failure on terminal devices is gradually increasing. The maintenance of terminal devices is extremely time-consuming. If we have to wait for maintenance personnel to come to the site for maintenance every time, it will greatly affect the business progress and user experience. Therefore, based on this, we need to develop a method to maintain the operation of the terminal device motherboard for business processing when the terminal device motherboard fails, and thus provide a solution for the special operating conditions of the terminal device motherboard. Summary of the Invention

[0003] The main objective of this invention is to develop a method for maintaining the operation of the terminal device motherboard in the event of a motherboard failure, thereby providing a solution for special operating conditions of the terminal device motherboard.

[0004] To achieve the above objectives, one technical solution adopted by the present invention is to provide a backup operation method based on an RK3399 motherboard, comprising the following steps:

[0005] Backup module setup steps:

[0006] Configure a first motherboard, a second motherboard, and an LDO unit group; perform a module building operation based on the first motherboard, the second motherboard, and the LDO unit group to obtain a dual motherboard backup module;

[0007] Backup and self-test steps:

[0008] Set the first reference time, the second reference time, and the third reference time; configure the motherboard controller and the interface pattern package; first, establish a connection between the dual motherboard backup module and the motherboard controller, and then perform a power-on self-test jump operation based on the dual motherboard backup module, the first reference time, the second reference time, the third reference time, the motherboard controller, and the interface pattern package.

[0009] As an improved solution, the LDO unit group includes a first LDO and a second LDO;

[0010] The motherboard controller is equipped with a display module and a network communication module;

[0011] The interface pattern package stores a first uboot interface pattern, a first kernel interface pattern, and a first launcher interface pattern.

[0012] The connection established between the dual motherboard backup module and the motherboard controller includes an electrical connection and a communication connection; the communication connection uses Ethernet transmission technology.

[0013] As an improved solution, the module assembly operation includes:

[0014] Obtain the first pin information of the first motherboard and the second pin information of the second motherboard; identify the first pin position in the first pin information and the second pin position in the second pin information; firstly, connect the power interface of the first motherboard to the second pin corresponding to the second pin position of the second motherboard through the first LDO, and then connect the power interface of the second motherboard to the first pin corresponding to the first pin position of the first motherboard through the second LDO to obtain the first backup module; configure a first programmable controller in the first backup module, and electrically connect the first programmable controller to the first motherboard and the second motherboard respectively to obtain the dual motherboard backup module.

[0015] As an improved solution, the power-on self-test jump operation specifically includes:

[0016] First, the motherboard controller is invoked to start the display module and the network communication module. Then, the motherboard controller is invoked to send a first enable signal to the dual motherboard backup module. The first programmable controller is invoked to receive the first enable signal and to perform a pre-boot step on the first motherboard based on the first enable signal.

[0017] The pre-startup step includes:

[0018] First, the first programmable controller sends the first enable signal to the first motherboard, then performs the first timing operation to generate a first time; compares the first time with the first reference time; when the first time reaches the first reference time, identifies whether the display module outputs a first interface that matches the first uboot interface pattern;

[0019] If the first interface is output in the display module, the first advanced confirmation step is executed; if the first interface is not output in the display module, the backup startup step is executed, and the first programmable controller is invoked to send the first fault information to the motherboard controller.

[0020] As an improved approach, the first advanced verification step includes:

[0021] Perform a second timing operation to generate a second time; compare the second time with the first reference time, and when the second time reaches the first reference time, identify whether the display module outputs a second interface that matches the first kernel interface pattern;

[0022] If the second interface is not output in the display module, the process jumps to the backup startup step and calls the first programmable controller to send the second fault information to the motherboard controller.

[0023] If the second interface is output in the display module, a third timing operation is performed to generate a third time; the third time is compared with the first reference time; when the third time reaches the first reference time, it is identified whether the third interface that matches the first launcher interface pattern is output in the display module; if the third interface is output in the display module, the first programmable controller is invoked to send a first standby signal to the second motherboard; if the third interface is not output in the display module, the process jumps to the backup startup step and the first programmable controller is invoked to send a restart request to the motherboard controller.

[0024] As an improved solution, the backup startup step includes:

[0025] The motherboard controller is invoked to detect data reception status; the data reception status includes: a first situation, a second situation, and a third situation; the first situation is receiving the first fault information; the second situation is receiving the second fault information; the third situation is receiving the restart request;

[0026] The motherboard controller is invoked to perform a first operation when the data reception status is the first or the second status; the motherboard controller is invoked to perform a second operation when the data reception status is the third status.

[0027] The first operation includes: calling the motherboard controller to send a second enable signal to the dual motherboard backup module; calling the first programmable controller to receive the second enable signal; and performing backup operation steps on the second motherboard based on the first programmable controller and the second enable signal.

[0028] The second operation includes: calling the motherboard controller to send a first system restart signal and a second enable signal to the dual motherboard backup module; and calling the first programmable controller to perform a waiting detection step based on the first system restart signal, the second enable signal, the first motherboard, and the second motherboard.

[0029] As an improved approach, the backup operation steps include:

[0030] First, the first programmable controller sends the second enable signal to the second motherboard, and then obtains the first detection time point; calculates the sum of the first detection time point and the second reference time to obtain the second detection time point; within the period from the first detection time point to the second detection time point, it is determined whether the display module outputs the first interface, the second interface, and the third interface in sequence; if yes, the first programmable controller sends the first standby signal to the first motherboard; if no, the network communication module sends dual motherboard fault information to the management background of the motherboard controller.

[0031] The waiting detection step includes:

[0032] The system first calls the first programmable controller to receive the first system restart signal. First, the first programmable controller sends the first system restart signal to the first processing chip on the first motherboard. Then, it performs a fourth timing operation to generate a fourth time. The fourth time is compared with the third reference time. When the fourth time reaches the third reference time, it is determined whether the third interface is output on the display module. If the display module outputs the third interface, the first programmable controller sends the first standby signal to the second motherboard. If the display module does not output the third interface, the first programmable controller receives the second enable signal, and based on the first programmable controller and the second enable signal, the backup operation steps are performed on the second motherboard.

[0033] As an improved solution, both the first motherboard and the second motherboard are based on the RK3399 motherboard;

[0034] The first system restart signal is a restart signal used for the Android system.

[0035] This invention also provides a backup operating system based on an RK3399 motherboard, comprising:

[0036] Backup module setup module and backup operation self-test module;

[0037] The backup module building module is used to configure the first motherboard, the second motherboard, and the LDO unit group; the backup module building module performs module building operations based on the first motherboard, the second motherboard, and the LDO unit group to obtain a dual motherboard backup module;

[0038] The backup operation self-test module is used to set the first reference time, the second reference time, and the third reference time; the backup operation self-test module is also used to configure the motherboard controller and the interface pattern package; the backup operation self-test module first establishes a connection between the dual motherboard backup module and the motherboard controller, and then the backup operation self-test module performs a power-on self-test jump operation based on the dual motherboard backup module, the first reference time, the second reference time, the third reference time, the motherboard controller, and the interface pattern package.

[0039] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the backup operation method based on the RK3399 motherboard.

[0040] The beneficial effects of this invention are:

[0041] 1. The backup operation method based on the RK3399 motherboard described in this invention can provide a clever backup operation logic for the terminal device motherboard. When one motherboard fails, it can perform accurate and rapid detection, and at the same time run the backup motherboard to maintain normal business processing. While executing the backup operation logic, it also ensures the utilization rate of each motherboard, and will not arbitrarily run the backup motherboard due to minor faults. It has a high degree of intelligence and low development cost, which reduces the operation and maintenance cost of terminal devices and has certain application value.

[0042] 2. The backup operation system based on the RK3399 motherboard described in this invention can achieve accurate and rapid detection when one motherboard fails, through the cooperation of the backup module building module and the backup operation self-test module. At the same time, the backup motherboard can be run to maintain normal business processing. While executing the backup operation logic, the utilization rate of each motherboard is also guaranteed. The backup motherboard will not be run arbitrarily due to minor faults. It has a high degree of intelligence and low development cost, which reduces the operation and maintenance cost of terminal equipment and has certain application value.

[0043] 3. The computer-readable storage medium described in this invention can enable the backup module building module and the backup operation self-test module to cooperate, thereby achieving accurate and rapid detection when one motherboard fails, while running the backup motherboard to maintain normal business processing. While executing the backup operation logic, it also ensures the utilization rate of each motherboard, and will not arbitrarily run the backup motherboard due to minor faults. It has a high degree of intelligence and effectively improves the operability of the backup operation method based on the RK3399 motherboard. Attached Figure Description

[0044] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0045] Figure 1 This is a flowchart of the backup operation method based on the RK3399 motherboard described in Embodiment 1 of the present invention;

[0046] Figure 2 This is a schematic diagram of the specific process of the backup operation method based on the RK3399 motherboard described in Embodiment 1 of the present invention;

[0047] Figure 3 This is an architecture diagram of the backup operating system based on the RK3399 motherboard described in Embodiment 2 of the present invention. Detailed Implementation

[0048] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby providing a clearer and more explicit definition of the scope of protection of the present invention.

[0049] In the description of this invention, it should be noted that the embodiments described in this invention are only some embodiments of this invention, not all embodiments; based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0050] In the description of this invention, it should be noted that the terms "first", "second", "third" and "fourth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0051] In the description of this invention, it should be noted that: LDO is a low dropout linear regulator; uboot is a console interface; kernel is a kernel interface; and launcher is the Android system desktop.

[0052] Example 1

[0053] This embodiment provides a backup operation method based on an RK3399 motherboard, such as... Figure 1 and Figure 2 As shown, it includes the following steps:

[0054] The steps for setting up the S100 backup module include:

[0055] S110: Configure the first motherboard, the second motherboard, and the LDO unit group; perform module building operations based on the first motherboard, the second motherboard, and the LDO unit group to obtain a dual motherboard backup module;

[0056] Specifically, in this embodiment, both the first motherboard and the second motherboard are equipped with RK3399 motherboards running the Android system. The purpose is to build a system in which the two motherboards provide backup support for each other. In the event of a power failure or malfunction of one motherboard, the other motherboard can play an emergency role, thereby preventing the terminal device from failing due to a single motherboard failure, which would affect the operation of the institution or reduce the user experience.

[0057] Specifically, the LDO unit group includes a first LDO and a second LDO; the two LDOs are used to cooperate with the first motherboard and the second motherboard to build a dual motherboard backup module.

[0058] Specifically, the module setup process includes:

[0059] Obtain the first pin information of the first motherboard; obtain the second pin information of the second motherboard; identify the first pin position in the first pin information and the second pin position in the second pin information; firstly, connect the power interface of the first motherboard to the second pin corresponding to the second pin position of the second motherboard through the first LDO, and then connect the power interface of the second motherboard to the first pin corresponding to the first pin position of the first motherboard through the second LDO to obtain the first backup module; configure a first programmable controller in the first backup module, and electrically connect the first programmable controller to the first motherboard and the second motherboard respectively to obtain the dual motherboard backup module; in this embodiment, the power interface is the power output interface on the first motherboard or the second motherboard; correspondingly, in this embodiment, the first pin corresponding to the first pin position is GPIO1 of the first motherboard; the second pin corresponding to the second pin position is GPIO2 of the second motherboard; correspondingly, the process of building this module includes, but is not limited to, the first motherboard and the second motherboard. If there are more distributed terminal devices, multiple RK3399 motherboards can be connected again according to this idea to form a motherboard module with stronger backup and redundancy functions.

[0060] S200 backup self-test steps include:

[0061] S210. Set the first reference time, the second reference time, and the third reference time; configure the motherboard controller and the interface pattern package; first, establish a connection between the dual motherboard backup module and the motherboard controller, and then perform a power-on self-test jump operation based on the dual motherboard backup module, the first reference time, the second reference time, the third reference time, the motherboard controller, and the interface pattern package.

[0062] Specifically, in this embodiment, the motherboard controller is the main controller of the terminal device, and the motherboard controller is equipped with a display module and a network communication module. The display module is used to intuitively display the motherboard's operating status to the operator, and the network communication module is used for data interaction between the terminal device management backend and the terminal device. Specifically, the connection established between the dual motherboard backup module and the motherboard controller includes both electrical and communication connections. Specifically, the interface pattern package stores a first uboot interface pattern, a first kernel interface pattern, and a first launcher interface pattern. These patterns are used to check the motherboard's boot progress, thereby accurately judging the motherboard's boot status and determining whether to perform backup boot to ensure normal terminal device operation. In this embodiment, the first reference time is set to any value between 2s and 4s, the second reference time is set to any value between 13s and 15s, and the third reference time is set to any value between 8s and 10s. Correspondingly, the second reference time is set according to the boot time of the second motherboard, and the second reference time is guaranteed to be greater than the boot time of the second motherboard. The third reference time is set according to the Android system restart time of the first and second motherboards, and the third reference time is guaranteed to be greater than the Android system restart time.

[0063] Specifically, the power-on self-test jump operation includes:

[0064] First, to ensure the effectiveness of the detection and timely fault handling during the detection, the motherboard controller is invoked to start the display module and the network communication module. Then, the motherboard controller is invoked to send a first enable signal to the dual motherboard backup module. The first enable signal includes, but is not limited to, the motherboard startup signal and the motherboard power-on signal, used to initialize and start the RK3399 motherboard. The first programmable controller is invoked to receive the first enable signal and to perform a pre-startup step on the first motherboard based on the first enable signal.

[0065] Specifically, the pre-boot step includes: firstly, the first programmable controller is invoked to send the first enable signal to the first motherboard. After receiving the first enable signal, the first motherboard starts booting and then performs a first timing operation to generate a first time. The first time is the length of time that changes with real-time. The first time and the first reference time are compared. When the first time reaches the first reference time, which is 2s to 4s after sending the first enable signal in this embodiment, it is identified whether the display module outputs a first interface that matches the first uboot interface pattern. If yes, it indicates that the uboot of the first motherboard has started successfully, so the first advanced confirmation step is executed. If no, it indicates that the uboot of the first motherboard has failed to start, so the backup boot step is executed, and the first programmable controller is invoked to send the first fault information to the motherboard controller. The first fault information is that the uboot of the first motherboard is abnormal.

[0066] Specifically, the advanced confirmation step includes: immediately following, performing a second timing operation to generate a second time, comparing the second time with the first reference time; when the second time reaches the first reference time, identifying whether the display module outputs a second interface matching the first kernel interface pattern; if not, it indicates that the kernel of the first motherboard has failed to boot, so proceeding to the backup boot step and calling the first programmable controller to send a second fault message to the motherboard controller; the second fault message is that the first motherboard kernel is abnormal; if yes, it indicates that the kernel of the first motherboard has booted successfully, so at this time only Android system boot verification is needed, therefore performing a third timing operation to generate a third time, comparing the third time with the first reference time, and identifying whether the third time reaches the first reference time. The display module outputs a third interface that matches the first launcher interface pattern. If the display module outputs the third interface, it indicates that the Android system of the first motherboard has started successfully, and the first motherboard has started successfully. Therefore, there is no need to use the second motherboard for backup operation. Thus, the first programmable controller is called to send a first standby signal to the second motherboard. In this embodiment, the first standby signal includes, but is not limited to, a power-off signal or a motherboard stop operation signal. If the display module does not output the third interface, it indicates that the Android system of the first motherboard has failed to start at this time. However, since the uboot and kernel of the first motherboard have started successfully, in order to ensure the utilization rate of the motherboard, it is necessary to try to restart the Android system. Therefore, the process jumps to the backup startup step and the first programmable controller is called to send a restart request to the motherboard controller.

[0067] Specifically, the backup startup step includes: firstly, calling the motherboard controller to detect the data reception status on the motherboard controller; the data reception status includes: a first situation, a second situation, and a third situation; the first situation is: receiving the first fault information; the second situation is: receiving the second fault information; the third situation is: receiving the restart request;

[0068] Correspondingly, when the data reception situation is either the first situation or the second situation, the motherboard controller is invoked to perform a first operation. The first operation is an operation that requires backing up the second motherboard for operational needs. Therefore, the first operation includes: invoking the motherboard controller to send a second enable signal to the dual motherboard backup module; invoking the first programmable controller to receive the second enable signal; and performing backup operation steps on the second motherboard based on the first programmable controller and the second enable signal. Correspondingly, when performing the first operation, the motherboard controller will also report the first fault information and the second fault information to its management terminal, thereby providing feedback on the relevant faults and timely maintenance.

[0069] Correspondingly, when the data reception situation is the third situation, the motherboard controller is invoked to perform a second operation; the second operation requires attempting to restart the Android system of the first motherboard to ensure the utilization rate of the motherboard; therefore, the second operation includes: invoking the motherboard controller to send a first system restart signal and a second enable signal to the dual motherboard backup module; invoking the first programmable controller to perform a waiting detection step based on the first system restart signal, the second enable signal, the first motherboard and the second motherboard; in this embodiment, the first system restart signal is a restart signal for the Android system.

[0070] Specifically, the backup process includes:

[0071] First, the first programmable controller sends the second enable signal to the second motherboard. Then, the first detection time point is obtained, which is the current time point. The sum of the first detection time point and the second reference time is calculated to obtain the second detection time point. Between the first detection time point and the second detection time point, it is determined whether the display module outputs the first interface, the second interface, and the third interface in sequence. Correspondingly, the first interface, the second interface, and the third interface must be output in sequence to indicate that the second motherboard is functionally complete and without abnormalities. Therefore, if so, the first motherboard is not needed, the first motherboard needs maintenance, and the second motherboard is used for business processing. Therefore, the first programmable controller sends the first standby signal to the first motherboard. If not, it indicates that both the first and second motherboards are faulty. Therefore, the network communication module sends dual motherboard fault information to the management terminal / backend of the motherboard controller. Correspondingly, the dual motherboard fault information is: both the first and second motherboards are faulty, please contact maintenance personnel for repair. Correspondingly, based on this logic, it can be thought that not only two first and second motherboards are used, but more motherboards can be matched in the dual motherboard backup module to achieve better redundancy.

[0072] Specifically, the waiting detection step includes: calling the motherboard controller to send a first system restart signal and a second enable signal to the dual motherboard backup module when the data reception situation is the third situation; calling the first programmable controller to receive the first system restart signal, first determining whether the first motherboard can restart, if it cannot restart, then using the second motherboard for business processing, therefore, first calling the first programmable controller to send the first system restart signal to the first processing chip of the first motherboard, then executing the fourth timing operation to generate a fourth time, comparing the fourth time with the third reference time, and when the fourth time reaches the third reference time, determining the display module If the third interface is output on the block, it indicates that the first motherboard has successfully restarted and can perform business processing, so the second motherboard is not needed. The second motherboard is powered off or put into standby mode, so the first programmable controller is called to send a first standby signal to the second motherboard. If not, it indicates that the first motherboard is faulty and cannot operate, so the first programmable controller is called to receive the second enable signal, and the backup operation steps are performed on the second motherboard based on the first programmable controller and the second enable signal. Correspondingly, while performing the backup operation of the second motherboard, the first programmable controller is called to send a third fault information to the motherboard controller. The third fault information is that the first motherboard's Android system startup is abnormal.

[0073] Example 2

[0074] This embodiment is based on the same inventive concept as the backup operation method based on the RK3399 motherboard described in Embodiment 1, and provides a backup operation system based on the RK3399 motherboard, such as... Figure 3 As shown, it includes: a backup module building module and a backup operation self-test module;

[0075] In the backup operation system based on the RK3399 motherboard, the backup module building module is used to configure the first motherboard, the second motherboard, and the LDO unit group; the backup module building module performs module building operations based on the first motherboard, the second motherboard, and the LDO unit group to obtain a dual motherboard backup module;

[0076] Specifically, the LDO unit group includes a first LDO and a second LDO;

[0077] Specifically, the module assembly operation includes: the backup module assembly module acquiring the first pin information of the first motherboard, and the backup module assembly module acquiring the second pin information of the second motherboard; the backup module assembly module identifying the first pin position in the first pin information, and the backup module assembly module identifying the second pin position in the second pin information; the backup module assembly module first connecting the power interface of the first motherboard to the second pin corresponding to the second pin position of the second motherboard through the first LDO, and then connecting the power interface of the second motherboard to the first pin corresponding to the first pin position of the first motherboard through the second LDO, to obtain the first backup module; the backup module assembly module configuring a first programmable controller in the first backup module, and electrically connecting the first programmable controller to the first motherboard and the second motherboard respectively, to obtain the dual motherboard backup module.

[0078] In the backup operation system based on the RK3399 motherboard, the backup operation self-test module is used to set the first reference time, the second reference time, and the third reference time; the backup operation self-test module is also used to configure the motherboard controller and the interface pattern package; the backup operation self-test module first establishes a connection between the dual motherboard backup module and the motherboard controller, and then the backup operation self-test module performs a power-on self-test jump operation based on the dual motherboard backup module, the first reference time, the second reference time, the third reference time, the motherboard controller, and the interface pattern package;

[0079] Specifically, the motherboard controller is equipped with a display module and a network communication module; the interface pattern package stores a first uboot interface pattern, a first kernel interface pattern, and a first launcher interface pattern; the connection established between the dual motherboard backup module and the motherboard controller includes an electrical connection and a communication connection; the communication connection adopts Ethernet transmission technology.

[0080] Specifically, the power-on self-test jump operation includes: the backup running self-test module first calls the motherboard controller to start the display module and the network communication module, then the backup running self-test module calls the motherboard controller to send a first enable signal to the dual motherboard backup module; the backup running self-test module calls the first programmable controller to receive the first enable signal, and calls the first programmable controller to perform a pre-boot step on the first motherboard based on the first enable signal;

[0081] Specifically, the pre-boot step includes: the backup operation self-test module first calls the first programmable controller to send the first enable signal to the first motherboard, then the backup operation self-test module performs a first timing operation to generate a first time; the backup operation self-test module compares the first time with the first reference time; when the first time reaches the first reference time, the backup operation self-test module identifies whether the display module outputs a first interface that matches the first uboot interface pattern; if the display module outputs the first interface, the backup operation self-test module performs a first advanced confirmation step; if the display module does not output the first interface, the backup operation self-test module performs a backup boot step and calls the first programmable controller to send first fault information to the motherboard controller.

[0082] Specifically, the first advanced confirmation step includes: the backup operation self-test module performs a second timing operation to generate a second time; the backup operation self-test module compares the second time with the first reference time, and when the second time reaches the first reference time, the backup operation self-test module identifies whether the display module outputs a second interface that matches the first kernel interface pattern; if the display module does not output the second interface, the backup operation self-test module jumps to the backup startup step and calls the first programmable controller to send second fault information to the motherboard controller; if the display module outputs the second interface, the backup operation self-test module performs... The third timing operation is performed to generate a third time; the backup operation self-test module compares the third time with the first reference time; when the third time reaches the first reference time, the backup operation self-test module identifies whether the display module outputs a third interface that matches the first launcher interface pattern; if the display module outputs the third interface, the backup operation self-test module calls the first programmable controller to send a first standby signal to the second motherboard; if the display module does not output the third interface, the backup operation self-test module jumps to the backup startup step and calls the first programmable controller to send a restart request to the motherboard controller.

[0083] Specifically, the backup startup steps include: the backup operation self-test module calling the motherboard controller to detect data reception status; the data reception status includes: a first status, a second status, and a third status; the first status is receiving the first fault information; the second status is receiving the second fault information; the third status is receiving the restart request; the backup operation self-test module calling the motherboard controller to perform a first operation when the data reception status is the first status or the second status; the backup operation self-test module calling the motherboard controller to perform a second operation when the data reception status is the third status;

[0084] Specifically, the first operation includes: the backup operation self-test module calling the motherboard controller to send a second enable signal to the dual motherboard backup module; the backup operation self-test module calling the first programmable controller to receive the second enable signal; and the backup operation self-test module performing backup operation steps on the second motherboard based on the first programmable controller and the second enable signal.

[0085] Specifically, the second operation includes: the backup operation self-test module calling the motherboard controller to send a first system restart signal and a second enable signal to the dual motherboard backup module; the backup operation self-test module calling the first programmable controller to perform a waiting test step based on the first system restart signal, the second enable signal, the first motherboard and the second motherboard.

[0086] Specifically, the backup operation steps include: the backup operation self-test module first calls the first programmable controller to send the second enable signal to the second motherboard; then the backup operation self-test module obtains the first detection time point; the backup operation self-test module calculates the sum of the first detection time point and the second reference time to obtain the second detection time point; within the period from the first detection time point to the second detection time point, the backup operation self-test module determines whether the display module sequentially outputs the first interface, the second interface, and the third interface; if yes, the backup operation self-test module calls the first programmable controller to send the first standby signal to the first motherboard; if no, the backup operation self-test module calls the network communication module to send dual motherboard fault information to the management background of the motherboard controller.

[0087] Specifically, the waiting detection step includes: the backup operation self-test module calls the first programmable controller to receive the first system restart signal; the backup operation self-test module first calls the first programmable controller to send the first system restart signal to the first processing chip of the first motherboard; then the backup operation self-test module performs a fourth timing operation to generate a fourth time; the backup operation self-test module compares the fourth time with the third reference time; when the fourth time reaches the third reference time, the backup operation self-test module determines whether the third interface is output on the display module; if the display module outputs the third interface, the backup operation self-test module calls the first programmable controller to send the first standby signal to the second motherboard; if the display module does not output the third interface, the backup operation self-test module calls the first programmable controller to receive the second enable signal, and performs the backup operation step on the second motherboard based on the first programmable controller and the second enable signal.

[0088] Example 3

[0089] This embodiment provides a computer-readable storage medium, including:

[0090] The storage medium is used to store computer software instructions used to implement the backup operation method based on the RK3399 motherboard described in Embodiment 1 above. It includes a program for executing the backup operation method based on the RK3399 motherboard described above. Specifically, the executable program can be built into the backup operation system based on the RK3399 motherboard described in Embodiment 2. In this way, the backup operation system based on the RK3399 motherboard can implement the backup operation method based on the RK3399 motherboard described in Embodiment 1 by executing the built-in executable program.

[0091] Furthermore, the computer-readable storage medium in this embodiment can be any combination of one or more readable storage media, wherein the readable storage medium includes an electrical, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.

[0092] Unlike existing technologies, the backup operation method, system, and media based on the RK3399 motherboard proposed in this application can provide a clever backup operation logic for the terminal device motherboard. When one motherboard fails, it can perform accurate and rapid detection, while running the backup motherboard to maintain normal business processing. While executing the backup operation logic, it also ensures the utilization rate of each motherboard, and will not arbitrarily run the backup motherboard due to minor faults. It has a high degree of intelligence and low development cost. This system provides effective technical support for this method, ultimately reducing the operation and maintenance cost of terminal devices and has certain application value.

[0093] The embodiment numbers disclosed in the above embodiments of the present invention are merely for description and do not represent the superiority or inferiority of the embodiments.

[0094] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware to implement the program, which can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0095] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A backup operation method based on an RK3399 motherboard, characterized in that, Includes the following steps: Backup module setup steps: Configure a first motherboard, a second motherboard, and an LDO unit group; perform a module building operation based on the first motherboard, the second motherboard, and the LDO unit group to obtain a dual motherboard backup module; The LDO unit group includes a first LDO and a second LDO; The module assembly operation includes: acquiring first pin information of the first motherboard and acquiring second pin information of the second motherboard; identifying the first pin position in the first pin information and identifying the second pin position in the second pin information; firstly connecting the power interface of the first motherboard to the second pin corresponding to the second pin position of the second motherboard through the first LDO, and then connecting the power interface of the second motherboard to the first pin corresponding to the first pin position of the first motherboard through the second LDO to obtain a first backup module; configuring a first programmable controller in the first backup module, and electrically connecting the first programmable controller to the first motherboard and the second motherboard respectively to obtain the dual motherboard backup module; Backup and self-test steps: Set the first reference time, the second reference time, and the third reference time; configure the motherboard controller and the interface pattern package; first, establish a connection between the dual motherboard backup module and the motherboard controller, and then perform a power-on self-test jump operation based on the dual motherboard backup module, the first reference time, the second reference time, the third reference time, the motherboard controller, and the interface pattern package; The motherboard controller is equipped with a display module and a network communication module; the interface pattern package stores a first uboot interface pattern, a first kernel interface pattern, and a first launcher interface pattern; the connection established between the dual motherboard backup module and the motherboard controller includes an electrical connection and a communication connection; the communication connection adopts Ethernet transmission technology; The power-on self-test jump operation specifically includes: First, the motherboard controller is invoked to start the display module and the network communication module. Then, the motherboard controller is invoked to send a first enable signal to the dual motherboard backup module. The first programmable controller is invoked to receive the first enable signal and to perform a pre-boot step on the first motherboard based on the first enable signal. The pre-boot step includes: firstly, calling the first programmable controller to send the first enable signal to the first motherboard, and then performing a first timing operation to generate a first time; comparing the first time with the first reference time; when the first time reaches the first reference time, identifying whether the display module outputs a first interface that matches the first uboot interface pattern; if the display module outputs the first interface, then performing a first advanced confirmation step; if the display module does not output the first interface, then performing a backup boot step, and calling the first programmable controller to send first fault information to the motherboard controller.

2. The backup operation method based on an RK3399 motherboard according to claim 1, characterized in that: The first advanced confirmation step includes: Perform a second timing operation to generate a second time; compare the second time with the first reference time, and when the second time reaches the first reference time, identify whether the display module outputs a second interface that matches the first kernel interface pattern; If the second interface is not output in the display module, the process jumps to the backup startup step and calls the first programmable controller to send the second fault information to the motherboard controller. If the second interface is output in the display module, a third timing operation is performed to generate a third time; the third time is compared with the first reference time; when the third time reaches the first reference time, it is identified whether the third interface matching the first launcher interface pattern is output in the display module; if the third interface is output in the display module, the first programmable controller is invoked to send a first standby signal to the second motherboard; if the third interface is not output in the display module, the process jumps to the backup startup step and the first programmable controller is invoked to send a restart request to the motherboard controller.

3. The backup operation method based on an RK3399 motherboard according to claim 2, characterized in that: The backup startup steps include: The motherboard controller is invoked to detect data reception status; the data reception status includes: a first situation, a second situation, and a third situation; the first situation is receiving the first fault information; the second situation is receiving the second fault information; the third situation is receiving the restart request; The motherboard controller is invoked to perform a first operation when the data reception status is the first or the second status; the motherboard controller is invoked to perform a second operation when the data reception status is the third status. The first operation includes: calling the motherboard controller to send a second enable signal to the dual motherboard backup module; calling the first programmable controller to receive the second enable signal; and performing backup operation steps on the second motherboard based on the first programmable controller and the second enable signal. The second operation includes: calling the motherboard controller to send a first system restart signal and a second enable signal to the dual motherboard backup module; and calling the first programmable controller to perform a waiting detection step based on the first system restart signal, the second enable signal, the first motherboard, and the second motherboard.

4. The backup operation method based on an RK3399 motherboard according to claim 3, characterized in that: The backup process includes: First, the first programmable controller sends the second enable signal to the second motherboard, and then obtains the first detection time point; calculates the sum of the first detection time point and the second reference time to obtain the second detection time point; within the period from the first detection time point to the second detection time point, it is determined whether the display module outputs the first interface, the second interface, and the third interface in sequence; if yes, the first programmable controller sends the first standby signal to the first motherboard; if no, the network communication module sends dual motherboard fault information to the management background of the motherboard controller. The waiting detection step includes: The system first calls the first programmable controller to receive the first system restart signal. First, the first programmable controller sends the first system restart signal to the first processing chip on the first motherboard. Then, it performs a fourth timing operation to generate a fourth time. The fourth time is compared with the third reference time. When the fourth time reaches the third reference time, it is determined whether the third interface is output on the display module. If the display module outputs the third interface, the first programmable controller sends the first standby signal to the second motherboard. If the display module does not output the third interface, the first programmable controller receives the second enable signal, and based on the first programmable controller and the second enable signal, the backup operation steps are performed on the second motherboard.

5. A backup operation method based on an RK3399 motherboard according to claim 4, characterized in that: Both the first motherboard and the second motherboard are based on the RK3399 motherboard. The first system restart signal is a restart signal used for the Android system.

6. A backup operation system based on an RK3399 motherboard, based on any one of claims 1 to 5, characterized in that, include: Backup module setup module and backup operation self-test module; The backup module assembly module is used to configure the first motherboard, the second motherboard, and the LDO unit group; The backup module building module performs a module building operation based on the first motherboard, the second motherboard and the LDO unit group to obtain a dual motherboard backup module; The backup operation self-test module is used to set the first reference time, the second reference time, and the third reference time; The backup operation self-test module is also used to configure the motherboard controller and interface pattern package; The backup operation self-test module first establishes a connection between the dual motherboard backup module and the motherboard controller. Then, the backup operation self-test module performs a power-on self-test jump operation based on the dual motherboard backup module, the first reference time, the second reference time, the third reference time, the motherboard controller, and the interface pattern package.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the backup operation method based on the RK3399 motherboard as described in any one of claims 1 to 5.