Startup control method, OPS and electronic equipment
By identifying the wake-up signal category, the boot control logic of OPS computers and display terminals is optimized to ensure that the display terminal starts first and then the OPS computer starts later, solving software compatibility problems and loss of hard disk data, and improving the boot stability and user experience of electronic devices.
Patent Information
- Application Number
- CN202410149832.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, the order of booting of OPS computers and display terminals is uncontrollable, which may lead to software compatibility issues, and there is a risk of loss of hard disk data during power-down and then power-up of OPS computers.
By identifying the categories of wake-up signals, the power-on control logic of the network wake-up signal and RTC wake-up signal is designed separately to ensure that the display terminal is started first and the OPS computer is started later, to avoid power-down and then power-on operation, and to optimize the power management of the BIOS self-test stage.
It realizes that while meeting the startup timing requirements, it avoids the loss of hard disk data, and solves the problem of loss of hard disk data caused by power down and then power-up of OPS computers, improving the user experience.
Smart Images

Figure CN120407026A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device control, and in particular to a power-on control method, an OPS, and an electronic device. Background Art
[0002] With the development of science and technology, electronic devices such as conference tablets, electronic whiteboards, and advertising machines are increasingly used. This type of electronic equipment is usually composed of an OPS (Open Pluggable Specification) computer and a display terminal. Among them, the OPS computer and the display terminal are connected together using a UART (Universal Asynchronous Receiver / Transmitter) bus. The OPS computer is used to provide computing power to run various applications and multimedia content. The display terminal is used to display various information. At the same time, in order to facilitate users to write, draw, and annotate directly on the display terminal, the display terminal is usually also installed with an operating system independent of the OPS computer.
[0003] Because both the display terminal and the OPS computer are installed with an operating system, their boot processes are independent of each other. In practice, if the boot order of the display terminal and the OPS computer is uncontrollable, various software compatibility issues may arise. Therefore, manufacturers typically configure boot logic for such electronic devices, ensuring that the display terminal boots up first and the OPS computer boots up later to avoid software compatibility issues.
[0004] In the prior art, when both the display terminal and the OPS computer are in standby mode, they are powered on via an RTC signal or network signal from the OPS computer. The specific power-on logic is as follows: After the OPS computer is awakened, the OPS computer's MCU notifies the display terminal's MCU that the OPS computer has awakened and powered on. Upon receiving the signal, the display terminal's MCU immediately shuts off the OPS computer's main power supply and notifies the display terminal's system to power on. After a period of time, the display terminal restores the OPS computer's main power supply. After the display terminal's system boots up, it sends a wake-up signal to the OPS computer, causing it to restart.
[0005] However, during the above-mentioned startup process, the OPS computer needs to be powered off and then powered on again, and there is a possibility of data loss on the OPS computer hard disk during this process. Summary of the Invention
[0006] The purpose of this application is to provide a startup control method, OPS, and electronic equipment that can not only meet the timing requirements during startup, but also solve the problem of hard disk data loss.
[0007] To achieve the above object, on the one hand, the present application provides a power-on control method, which is applied to an electronic device including an OPS terminal and a display terminal. When the OPS terminal and the display terminal are in the standby state, a wake-up signal is acquired, and the category of the wake-up signal is identified. Among them, the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; if the category of the wake-up signal is a network wake-up signal, the display terminal is started based on the network wake-up signal, and the OPS terminal is started based on the network wake-up signal fed back by the display terminal; if the category of the wake-up signal is an RTC wake-up signal, and the RTC wake-up signal is a signal automatically generated by the OPS terminal to power on, the OPS terminal is turned off and the display terminal is started based on the RTC wake-up signal, and the OPS terminal is restarted after receiving the RTC wake-up signal fed back by the display terminal.
[0008] To achieve the above object, on the other hand, the present application further provides a power-on control method, which is applied to the OPS terminal. The power-on control method includes: when the OPS is in the standby state, acquiring a wake-up signal; identifying the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; if the category of the wake-up signal is a network wake-up signal, a network power-on signal is sent to the display terminal via the first MCU module of the OPS terminal, and the network power-on signal is used to wake up the display terminal; the operation of the first main control module in the OPS terminal is started after receiving the network wake-up signal from the display terminal via the first MCU module; the display terminal is connected to the OPS; if the category of the wake-up signal is an RTC wake-up signal, and the RTC wake-up signal is a signal automatically generated by the OPS terminal to power on, the operation of the first main control module of the OPS is controlled to stop, and an RTC power-on signal is sent to the display terminal via the first MCU module, and the RTC power-on signal is used to wake up the display terminal; the operation of the first main control module in the OPS terminal is started after receiving the RTC wake-up signal from the display terminal via the first MCU module.
[0009] To achieve the above object, on the other hand, the present application also provides an OPS, which includes: an acquisition unit for acquiring a wake-up signal when in a standby state; a processing unit for identifying the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; if the category of the wake-up signal is a network wake-up signal, a network power-on signal is sent to the display end via the first MCU module at the OPS end, and the network power-on signal is used to wake up the display end; upon receiving the network wake-up signal from the display end via the first MCU module, the operation of the first main control module at the OPS end is started; the display end is connected to the OPS; if the category of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal automatically generated by the OPS end to power on, the operation of the first main control module of the OPS is controlled to stop, and an RTC power-on signal is sent to the display end via the first MCU module, and the RTC power-on signal is used to wake up the display end; upon receiving the RTC wake-up signal from the display end via the first MCU module, the operation of the first main control module at the OPS end is started.
[0010] To achieve the above object, on the other hand, the present application also provides an electronic device, which includes an OPS end and a display end; the OPS end is used to acquire a wake-up signal and identify the category of the wake-up signal when the OPS end and the display end are in a standby state, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; the OPS end is further used to send a network power-on signal to the display end if the category of the wake-up signal is a network wake-up signal, and the network power-on signal is used to wake up the display end; upon receiving the network wake-up signal from the display end, the operation of the first main control module at the OPS end is started; the display end is connected to the OPS; and is further used to control the operation of the first main control module of the OPS to stop and send an RTC power-on signal to the display end if the category of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal automatically generated by the OPS end to power on, and the RTC power-on signal is used to wake up the display end; upon receiving the RTC wake-up signal from the display end via the first MCU module, the operation of the first main control module at the OPS end is started; the display end is used to receive the network power-on signal and start running based on the network power-on signal, and is used to receive the RTC power-on signal and start running based on the RTC power-on signal.
[0011] It can be seen that in the technical solution provided by this application, when the electronic device receives a wake-up signal, the electronic device will first identify the wake-up signal to distinguish whether it is a network wake-up signal or an RTC wake-up signal. If the wake-up signal is a network wake-up signal, then the OPS terminal (i.e., the OPS computer) in the electronic device will, based on the above network wake-up signal, first start the display terminal (i.e., the display device) in the electronic device. After the display terminal completes the power-on operation, the display terminal will send a network wake-up signal to the OPS terminal. In this way, the OPS terminal can trigger a power-on action to start the OPS terminal after receiving the above network wake-up signal. During the above power-on process, the display terminal starts first, and the OPS terminal starts later, and there is no power-off and then power-on operation for the OPS terminal, eliminating the possibility of hard disk data loss caused by hard power-off. If the wake-up signal is an RTC (Real-Time Clock) wake-up signal, then the OPS terminal in the electronic device will, based on the RTC wake-up signal, start the display terminal in the electronic device and turn off the OPS terminal. After the display terminal completes the power-on operation, the display terminal will send an RTC wake-up signal to the OPS terminal. In this way, the OPS terminal can trigger a power-on action to restart the OPS terminal after receiving the above RTC wake-up signal. During the above power-on process, it is still the display terminal that starts first and the OPS terminal that starts later. Although there is an operation of power-on standby for the OPS terminal, since the recognition of the RTC wake-up signal occurs in the power-on self-check stage of the BIOS, the OPS terminal will standby before reaching the hard disk reading stage, and there is also no possibility of hard disk data loss caused by hard power-off for the OPS terminal. In summary, regardless of what kind of wake-up signal the electronic device receives, the solution of this application can ensure that the display terminal starts first and the OPS terminal starts later, so as to meet the timing requirements when the electronic device is powered on, and at the same time, it can also solve the problem of hard disk data loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of this application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0013] Figure 1 is a flowchart of the power-on control method in the implementation manner of this application;
[0014] Figure 2 is the power-on logic for the RTC wake-up signal in the prior art;
[0015] Figure 3 is the power-on logic for the network wake-up signal in the prior art;
[0016] Figure 4It is the power-on timing diagram of the network wake-up signal and the RTC wake-up signal in the embodiment of the present application;
[0017] Figure 5 It is the schematic diagram of the functional modules of the electronic device in the embodiment of the present application;
[0018] Figure 6 It is the schematic structural diagram of the electronic device in the embodiment of the present application. Specific embodiments
[0019] To make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0020] With the development of technology, electronic devices such as conference tablets, electronic whiteboards, and advertising machines are increasingly used. Such electronic devices are usually composed of an OPS computer and a display terminal. Among them, the OPS computer and the display terminal are connected together by a UART (Universal Asynchronous Receiver / Transmitter) bus. The OPS computer is used to provide computing power to run various application programs and multimedia content, and the display terminal is used to display various information and power the OPS computer. At the same time, in order to facilitate users to directly perform operations such as writing, drawing, and marking on the display terminal, the display terminal usually also installs an operating system independent of the OPS computer.
[0021] Since both the display terminal and the OPS computer are installed with operating systems, the power-on processes of the display terminal and the OPS computer are independent of each other. If the power-on sequence of the display terminal and the OPS computer is uncontrollable, various software compatibility problems may occur. For this reason, manufacturers usually set a power-on logic for such electronic devices to ensure that the display terminal is powered on first and the OPS computer is powered on later to avoid software compatibility problems.
[0022] In the current system architecture, when both the OPS computer and the display terminal are in the standby state, the above-mentioned electronic device can be started through the RTC timing chip or the network wake-up function of the OPS computer.
[0023] For the RTC wake-up signal, please refer to Figure 2, the existing boot-up logic is as follows: When the main control module of the OPS computer receives the RTC wake-up signal sent by the RTC module (step 1), the main control module of the OPS computer will trigger the OPS computer to boot up (step 2), and send the signal that the OPS computer has booted up to the MCU of the OPS computer (step 3). The MCU of the OPS computer will then send the information that the OPS computer has booted up to the MCU of the display terminal (step 4). After receiving the above information that the OPS computer has booted up, the MCU of the display terminal will send an instruction to the power control module to turn off the main power supply of the OPS computer (step 5), and at the same time send a wake-up signal to the main control module of the display terminal to trigger the system boot-up of the display terminal (step 5'). After receiving this instruction, the power control module will immediately turn off the main power supply of the OPS computer to ensure that the OPS computer is on standby (step 6). After a certain period of time, the power control module will resume power supply to the OPS computer. When the system of the display terminal has finished starting up, the main control module of the display terminal will send a wake-up signal to the main control module of the OPS computer (step 7). When the main control module of the OPS computer receives the above wake-up signal, the OPS computer can boot up again.
[0024] For the network wake-up signal, please refer to Figure 3 , the existing boot-up logic is as follows: When the network module of the OPS computer receives the network wake-up signal, the network module will send this network wake-up signal to both the main control module of the OPS computer and the MCU of the OPS computer at the same time (steps 1 and 1'). After receiving the network wake-up signal, the main control module of the OPS computer will trigger the OPS computer to boot up (step 2), and send the signal that the OPS computer has booted up to the MCU of the OPS computer (step 3). The MCU of the OPS computer will then send the information that the OPS computer has booted up to the MCU of the display terminal (step 4). After receiving the above information that the OPS computer has booted up, the MCU of the display terminal will send an instruction to the power control module to turn off the main power supply of the OPS computer (step 5), and at the same time send a wake-up signal to the main control module of the display terminal to trigger the system boot-up of the display terminal (step 5'). After receiving this instruction, the power control module will immediately turn off the main power supply of the OPS computer to ensure that the OPS computer is on standby (step 6). After a certain period of time, the power control module will resume power supply to the OPS computer. When the system of the display terminal has finished starting up, the main control module of the display terminal will send a wake-up signal to the main control module of the OPS computer (step 7). When the main control module of the OPS computer receives the above wake-up signal, the OPS computer can boot up again.
[0025] Although the above startup logic can ultimately achieve the function of the display terminal starting first and the OPS computer starting later, during the startup process, the OPS computer has an operation of being actively powered off and then powered on again. During this process, the hard disk data in the OPS computer may be lost due to hard power-off. At the same time, if the power-off time of the OPS computer is too short, there may be a problem that the OPS computer cannot be powered on again within a short time due to incomplete discharge of the OPS computer. If the power-off duration is increased to ensure complete discharge of the OPS computer, the startup speed of the entire system will be slowed down, ultimately affecting the user experience.
[0026] Therefore, for such electronic devices including an OPS computer and a display terminal, how to solve the problem of hard disk data loss while ensuring the startup sequence has become an urgent issue to be solved in this field.
[0027] This application provides a startup control method, an OPS, and an electronic device, which optimize the existing startup control logic, can not only meet the startup timing requirements of the OPS computer and the display terminal, but also solve the problem of hard disk data loss in the OPS computer.
[0028] After analyzing the existing startup logic, the defects of the existing technology mainly exist in the power-off and power-on process of the OPS computer. Solving this defect can solve the problem of hard disk data loss. Taking this as the starting point of the technical solution and tracing back to the entire startup process, we can find that the wake-up signal is the trigger point of the startup action. In real scenarios, the wake-up signal is mainly divided into the RTC wake-up signal and the network wake-up signal. The RTC wake-up signal is sent by the RTC timing chip, and the RTC timing chip is usually integrated in the PCH (Platform Controller Hub) chipset or SOC (System on a Chip) chip of the computer. The receiver of the RTC wake-up signal is generally the PCH chipset or the SOC chip. For the convenience of description, this application refers to the circuit module integrated with the PCH chipset, the SOC chip, and the BIOS chip as the main control module.
[0029] A network wake-up signal refers to a specific signal sent through a network connection for remotely waking up a computer system. The network wake-up signal is usually sent by remote management software or devices (such as servers, routers, or remote desktop applications). After the network module such as the network card of the device to be woken up (such as an OPS computer) receives this signal, it will automatically enter the working state from the sleep or standby state. Since the receivers of the RTC wake-up signal and the network wake-up signal are different, correspondingly, there are also certain differences in the startup processes triggered by the RTC wake-up signal and the network wake-up signal. Therefore, it is necessary to set up a set of startup control logics for the RTC wake-up signal and the network wake-up signal respectively, so that it can not only meet the timing requirements during startup but also solve the problem of hard disk data loss. The above content is the conceptual process of the technical solution of this application. The technical solution of this application will be described in detail below.
[0030] Please refer to Figure 1 and Figure 4 , Figure 1 which is the flowchart of the startup control method in the embodiment of this application, Figure 4 and is the startup timing diagram of the network wake-up signal and the RTC wake-up signal in the embodiment of this application. The above startup control method is applied to an electronic device including an OPS side and a display side. The specific form of the electronic device can be an interactive smart tablet, a conference tablet, an electronic whiteboard, an advertising machine, etc.
[0031] S101: When the OPS side and the display side are in the standby state, obtain the wake-up signal and identify the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal.
[0032] In this embodiment, when both the OPS side and the display side in the electronic device are in the standby state, the OPS side can obtain the wake-up signal to start the startup process. It should be noted that the standby state here means that neither the OPS side nor the display side has loaded the operating system, but both the OPS side and the display side are powered on and can receive signals. At the same time, the OPS side and the display side are connected together.
[0033] The OPS side has a hardware component capable of receiving external signals, such as a network card or an RTC circuit, so that the OPS side can obtain the wake-up signal. When the OPS side receives the above wake-up signal, the OPS side can decode the wake-up signal to determine its category. Specifically, the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal. The network module in the OPS side can receive the network wake-up signal sent by the remote management software or device through the network. The RTC circuit is set in the first main control module of the OPS side. When the RTC timing chip sends out the RTC wake-up signal, the first main control module can receive the above RTC wake-up signal.
[0034] In one embodiment, the OPS side can use some matching algorithms or rules to identify the category of the wake-up signal. For example, for a network wake-up signal, the OPS side can identify it by parsing the transmission protocol (such as the remote power-on Magic Packet). For an RTC wake-up signal, the OPS side can determine it by reading the trigger condition of the RTC circuit.
[0035] After the OPS side identifies the category of the wake-up signal, the OPS side can execute the corresponding power-on process according to the category of the wake-up signal. The power-on processes triggered by the network wake-up signal and the RTC wake-up signal will be described separately later.
[0036] S102: If the category of the wake-up signal is a network wake-up signal, then based on the network wake-up signal, start the display side, and start the OPS side based on the network wake-up signal fed back by the display side.
[0037] In this embodiment, if the OPS side identifies that the category of the wake-up signal is a network wake-up signal, then the OPS side can generate corresponding information according to the above network wake-up signal to start the display side. After the display side completes the power-on operation, the display side will feed back the network wake-up signal to the OPS side. When the OPS side receives the above network wake-up signal, the OPS side can perform the power-on operation.
[0038] It should be noted that the OPS side generates corresponding information according to the network wake-up signal, and this information can be either in the form of message information or in the form of level information. When the above information is message information, the OPS side can send the message information to the display side through wired transmission or wireless transmission. When the above information is level information, the OPS side can send the level information to the display side through a circuit (such as a Universal Asynchronous Receiver / Transmitter, UART). Of course, the OPS side can also comprehensively use message information and level information to start the display side.
[0039] This application takes the OPS side generating corresponding level information according to the network wake-up signal as an example for illustration. For this purpose, the circuit of the OPS side needs to be improved. Specifically, the designer needs to cancel the electrical connection between the network module of the OPS side and the first main control module of the OPS side to ensure that the signal sent by the network module of the OPS side is no longer transmitted to the first main control module of the OPS side, but only transmitted to the first MCU module of the OPS side.
[0040] In one embodiment, after the network module in the OPS side receives the network wake-up signal, starting the display side based on the network wake-up signal can be achieved in the following way:
[0041] First, the network module sends a network wake-up signal to the first MCU module at the OPS end. Then, in response to the network wake-up signal, the first MCU module sends a network power-on signal to the second MCU module at the display end. After that, the second MCU module sends a first network start signal to the second main control module at the display end based on the network power-on signal, so that the second main control module starts to run.
[0042] In this embodiment, there is a connection circuit between the network module at the OPS end and the first MCU module at the OPS end. When the network module at the OPS end receives the above network wake-up signal, the network module can use the above connection circuit to send the network wake-up signal to the first MCU module at the OPS end. After the first MCU module at the OPS end receives the above network wake-up signal, it can send a network power-on signal to the second MCU module at the display end using the UART bus between the OPS end and the display end. Since the signal sent by the network module at the OPS end is no longer transmitted to the first main control module at the OPS end, the first main control module at the OPS end cannot receive the above network wake-up signal, so the first main control module at the OPS end will not be triggered to start the boot process. That is, the network wake-up signal will only trigger the display end to enter the boot process, rather than triggering the OPS end to enter the boot process.
[0043] When the second MCU module at the display end receives the above network power-on signal, the second MCU module will start the boot process of its own end (i.e., the display end). Specifically, the second MCU module will generate a first network start signal based on the above network power-on signal and send the first network start signal to the second main control module at the display end to notify the second main control module to start running, so that the second main control module can start the display end.
[0044] When the display end completes the boot operation, the display end will send a network wake-up signal to the first MCU module at the OPS end to trigger the OPS end to perform the boot operation. In one embodiment, the OPS end performs the boot operation based on the network wake-up signal feedback from the display end can be achieved by the following method:
[0045] The second main control module first monitors the boot state of the display end and judges whether the display end has completed the boot operation. If the second main control module judges that the display end has completed the boot operation, then the second main control module will send a network wake-up signal to the first MCU module at the OPS end. When the first MCU module receives the above network wake-up signal, the first MCU module can generate a second network start signal based on the network wake-up signal and send the second network start signal to the first main control module to trigger the first main control module to start running, so that the first main control module can start the boot process of its own end (i.e., the OPS end).
[0046] S103: If the type of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal automatically generated for powering on the OPS side, then based on the RTC wake-up signal, turn off the OPS side and start the display side, and restart the OPS side after receiving the RTC wake-up signal fed back by the display side.
[0047] In practical applications, since the RTC timing chip is usually integrated in the main control module of the computer, the RTC wake-up is initiated actively by the main control module of the computer. That is to say, in this application, the RTC wake-up signal is generated by the first main control module on the OPS side, so there must be a power-on operation on the OPS side. To avoid the chaos of the power-on sequence of the entire electronic device caused by the OPS side powering on first, it is necessary to optimize the power-on process triggered by the RTC wake-up signal. Since the OPS side must go through the BIOS self-check process during the power-on process, and the BIOS self-check process includes steps such as power supply self-check, power-on self-check, and hardware detection. In the power supply self-check step, the power supply will perform a self-check to ensure normal operation. It will check whether the power connection on the motherboard is normal and provide sufficient power supply to other components. Considering that the hard disk is not powered on during the power supply self-check step, when the OPS side performs the power supply self-check, even if the OPS side is powered off, the data on the hard disk of the OPS side will not be lost. This application utilizes the above characteristics of the power supply self-check to optimize the power-on process triggered by the RTC wake-up signal.
[0048] In this embodiment, if the OPS side identifies that the type of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal automatically generated for powering on the OPS side, then the OPS side can trigger the power-on process of the display side by using the above RTC wake-up signal. At the same time, after the power supply self-check step of the BIOS self-check on the OPS side, perform a standby operation on the OPS side, such as triggering the first main control module on the OPS side to perform a standby operation, or powering off the OPS side, so as to interrupt the subsequent BIOS self-check steps and prevent the OPS side from powering on. When the display side completes the power-on operation, the display side will feed back the RTC wake-up signal to the OPS side. In this way, when the OPS side receives the above RTC wake-up signal, the OPS side can perform a power-on operation again to restart the OPS side. In the above power-on process, although there is a power-on operation on the OPS side, its power-on operation only reaches the power supply self-check stage and has not reached the hard disk reading stage. Therefore, even if the OPS side is powered off, there is no risk of data loss due to hard disk reading power-off.
[0049] In one embodiment, turning off the OPS side and starting the display side based on the RTC wake-up signal can be achieved in the following ways:
[0050] First, the first main control module on the OPS side sends the RTC wake-up signal to the first MCU module on the OPS side. Then, the first MCU module sends the RTC power-on signal to the second MCU module on the display side and sends the standby signal to the first main control module. After that, the first main control module stops running based on the standby signal, and the second MCU module sends the first RTC start signal to the second main control module on the display side based on the RTC power-on signal, so that the second main control module starts running.
[0051] In this embodiment, technicians can implant an identification code in the BIOS chip. When the RTC wake-up signal triggers the BIOS chip to enter the BIOS self-check stage, the BIOS chip will run the above identification code to determine whether the above BIOS self-check operation is triggered by the RTC wake-up signal. If the BIOS chip determines that the above BIOS self-check operation is triggered by the RTC wake-up signal, the BIOS chip can send the above RTC wake-up signal to the first MCU module to inform the first MCU module that the current boot process is triggered by the RTC wake-up signal.
[0052] After receiving the above RTC wake-up signal, the first MCU module will generate the RTC power-on signal and the standby signal, and then send the RTC power-on signal to the second MCU module on the display side through the UART bus between the OPS side and the display side. At the same time, the first MCU module will also send the above standby signal to the first main control module. When the first main control module receives this standby signal, the first main control module will stop running, thus interrupting the subsequent BIOS self-check process, and in this way, the OPS side will enter the standby mode. When the second MCU module receives the above RTC power-on signal, the second MCU module will start the boot process of its own side (i.e., the display side). Specifically, the second MCU module will generate the first RTC start signal based on the above RTC power-on signal and send the above first RTC start signal to the second main control module on the display side to notify the second main control module to start running, so that the second main control module can start the display side.
[0053] After the display side completes the boot operation, the display side will send the RTC wake-up signal to the OPS side to trigger the OPS side to re-execute the boot operation. In one embodiment, the OPS side can re-execute the boot operation after receiving the RTC wake-up signal feedback from the display side through the following method:
[0054] The second main control module first monitors the power-on state of the display terminal and determines whether the display terminal has completed the power-on operation. If the second main control module determines that the display terminal has completed the power-on operation, then the second main control module will send an RTC wake-up signal to the first MCU module of the OPS terminal. When the first MCU module receives the above RTC wake-up signal, the first MCU module can generate a second RTC start signal based on the RTC wake-up signal, and then send the second RTC start signal to the first main control module to trigger the first main control module to restart the power-on process of its own terminal (i.e., the OPS terminal).
[0055] In an actual scenario, the OPS terminal may be in a single-board state, that is, the OPS terminal exists independently and is not connected to the display terminal. For example, when technicians need to perform separate debugging on the OPS terminal, they usually disconnect the connection between the OPS terminal and the display terminal to make the OPS terminal in a single-board state. When the OPS terminal is in a single-board state, there is no need to consider the power-on sequence between the OPS terminal and the display terminal. Therefore, it is necessary to set the power-on logic of the OPS terminal in the single-board state.
[0056] In one embodiment, if the OPS terminal identifies that the category of the wake-up signal is a network wake-up signal, and the first MCU module identifies that the OPS terminal is in a disconnected state from the display terminal, then after receiving the above network wake-up signal, the first MCU module can directly send a start signal to the first main control module to trigger the first main control module to start the OPS terminal.
[0057] For the RTC wake-up signal, before the OPS terminal shuts down the OPS terminal and starts the display terminal based on the RTC wake-up signal, it will identify the state of the OPS terminal to judge the next behavior according to the current state.
[0058] In one embodiment, after receiving the above RTC wake-up signal, the first MCU module does not immediately generate an RTC power-on signal and a standby signal, but detects the connection state between the OPS terminal and the display terminal to judge whether the OPS terminal and the display terminal are in a connected state.
[0059] If the first MCU module determines that the OPS terminal and the display terminal are in a connected state, then the first MCU module can confirm that the OPS terminal is not in a single-board state, and the first MCU module needs to consider the power-on sequence between the OPS terminal and the display terminal. Therefore, the first MCU module will send an RTC power-on signal to the second MCU module of the display terminal through the UART bus between the OPS terminal and the display terminal. At the same time, the first MCU module will also send the above standby signal to the first main control module.
[0060] After the first main control module receives the standby signal, the first main control module will stop the BIOS self-check process and turn off the OPS port to enter the standby mode. After the second MCU module receives the above RTC power-on signal, the second MCU module will start the boot process of its own port (i.e., the display port). Specifically, the second MCU module will generate a first RTC start signal based on the above RTC power-on signal and send the first RTC start signal to the second main control module of the display port to notify the second main control module to start the display port. After the display port completes the boot operation, the display port will send an RTC wake-up signal to the OPS port to trigger the OPS port to re-execute the boot operation.
[0061] If the first MCU module determines that the OPS port and the display port are not in a connected state, it means that the OPS port is in a single-board state, and the first MCU module does not need to consider the boot sequence between the OPS port and the display port. Therefore, the first MCU module will not generate a standby signal and will not interfere with the BIOS self-check process of the OPS port, so the BIOS self-check process of the OPS port will continue, and finally the OPS port will complete the boot operation based on the above RTC wake-up signal.
[0062] In one embodiment, the first MCU module can determine whether the OPS port and the display port are in a connected state according to the communication status with the second MCU module. Specifically, the first MCU module can use the UART bus between the OPS port and the display port to periodically send communication information to the second MCU module and determine whether it receives the response information feedback by the second MCU module. If the first MCU module receives the response information feedback by the second MCU module, the first MCU module can determine that the OPS port and the display port are in a connected state. Correspondingly, the first MCU module can determine that the OPS port is not in a single-board state. If the first MCU module does not receive the response information feedback by the second MCU module, the first MCU module can determine that the OPS port and the display port are in a disconnected state. Correspondingly, the first MCU module can determine that the OPS port is in a single-board state.
[0063] It can be seen that in the technical solution provided by this application, when the electronic device receives a wake-up signal, the electronic device will first identify the wake-up signal to determine whether it is a network wake-up signal or an RTC wake-up signal. If the wake-up signal is a network wake-up signal, then the OPS terminal in the electronic device will, based on the above network wake-up signal, first start the display terminal in the electronic device. After the display terminal completes the power-on operation, the display terminal will send a wake-up signal to the OPS terminal, so that the OPS terminal can trigger the power-on action to start the OPS terminal after receiving the above wake-up signal. During the above power-on process, the display terminal starts first, and the OPS terminal starts later, and there is no operation of power-off and then power-on for the OPS terminal, eliminating the possibility of hard disk data loss caused by hard power-off. If the wake-up signal is an RTC wake-up signal, then the OPS terminal in the electronic device will, based on the RTC wake-up signal, start the display terminal in the electronic device and turn off the OPS terminal. After the display terminal completes the power-on operation, the display terminal will send a wake-up signal to the OPS terminal, so that the OPS terminal can trigger the power-on action to restart the OPS terminal after receiving the above wake-up signal. During the above power-on process, it is still the display terminal that starts first and the OPS terminal that starts later. Although there is an operation of power-on and standby for the OPS terminal, this behavior occurs in the power self-check stage of the BIOS and does not proceed to the hard disk reading stage. Therefore, there is also no possibility of hard disk data loss caused by hard power-off. In summary, regardless of what kind of wake-up signal the electronic device receives, the solution of this application can ensure that the display terminal starts first and the OPS terminal starts later to meet the timing requirements when the electronic device is powered on, and at the same time can solve the problem of hard disk data loss. Since there is no active power-off and then power-on operation for the OPS terminal, there will also be no problem that the OPS computer cannot be powered on again within a short time due to incomplete discharge of the OPS computer.
[0064] Based on the same concept, the present application also provides a boot control method, which is applied to the OPS side. The boot control method includes: when the OPS is in the standby state, obtaining a wake-up signal; identifying the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; if the category of the wake-up signal is a network wake-up signal, sending a network power-on signal to the display side via the first MCU module of the OPS side, where the network power-on signal is used to wake up the display side; receiving a network wake-up signal from the display side via the first MCU module, and starting the operation of the first main control module in the OPS side; the display side is connected to the OPS; if the category of the wake-up signal is an RTC wake-up signal, and the RTC wake-up signal is a signal automatically generated by the OPS side to power on, controlling the first main control module of the OPS to stop running, and sending an RTC power-on signal to the display side via the first MCU module, where the RTC power-on signal is used to wake up the display side; receiving an RTC wake-up signal from the display side via the first MCU module, and starting the operation of the first main control module in the OPS side.
[0065] Regarding the specific implementation process of this boot control method, reference can be made to the content in the above-mentioned embodiments, and details are not described herein again.
[0066] Based on the same concept, the present application also provides an OPS, which includes: an obtaining unit, configured to obtain a wake-up signal when in the standby state; a processing unit, configured to identify the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; if the category of the wake-up signal is a network wake-up signal, sending a network power-on signal to the display side via the first MCU module of the OPS side, where the network power-on signal is used to wake up the display side; receiving a network wake-up signal from the display side via the first MCU module, and starting the operation of the first main control module in the OPS side; the display side is connected to the OPS; if the category of the wake-up signal is an RTC wake-up signal, and the RTC wake-up signal is a signal automatically generated by the OPS side to power on, controlling the first main control module of the OPS to stop running, and sending an RTC power-on signal to the display side via the first MCU module, where the RTC power-on signal is used to wake up the display side; receiving an RTC wake-up signal from the display side via the first MCU module, and starting the operation of the first main control module in the OPS side.
[0067] Please refer to Figure 5, the present application further provides an electronic device, which includes an OPS terminal and a display terminal; the OPS terminal is used to obtain a wake-up signal and identify the category of the wake-up signal when the OPS terminal and the display terminal are in the standby state, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; the OPS terminal is further used to send a network power-on signal to the display terminal if the category of the wake-up signal is a network wake-up signal, and the network power-on signal is used to wake up the display terminal; upon receiving the network wake-up signal from the display terminal, start the operation of the first main control module in the OPS terminal; the display terminal is connected to the OPS; and is further used to control the first main control module of the OPS to stop running and send an RTC power-on signal to the display terminal if the category of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal automatically generated by the OPS terminal to power on, and the RTC power-on signal is used to wake up the display terminal; upon receiving the RTC wake-up signal from the display terminal via the first MCU module, start the operation of the first main control module in the OPS terminal; the display terminal is used to receive the network power-on signal and start running based on the network power-on signal, and is used to receive the RTC power-on signal and start running based on the RTC power-on signal.
[0068] Please refer to Figure 6 , the present application further provides an electronic device, the above-mentioned electronic device includes a memory and a processor, the above-mentioned memory is used to store a computer program, and when the above-mentioned computer program is executed by the above-mentioned processor, the above-mentioned power-on control method can be implemented. Specifically, at the hardware level, the device may include a processor, an internal bus, and a memory. The above-mentioned memory may include a memory and a non-volatile memory. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs. Those of ordinary skill in the art can understand that Figure 6 the structure shown is only schematic and does not limit the structure of the above-mentioned device. For example, the above-mentioned device may further include more or fewer components than those shown in Figure 6 , such as other processing hardware, such as a GPU (Graphics Processing Unit, image processor), or an external communication port, etc. Of course, in addition to the software implementation method, the present application does not exclude other implementation methods, such as a logic device or a combination of software and hardware, etc.
[0069] In this embodiment, the above-mentioned processor may include a central processing unit (CPU) or a graphics processing unit (GPU). Of course, it may also include other single-chip microcomputers, logic gate circuits, integrated circuits, etc. with logical processing capabilities, or a suitable combination thereof. The above-mentioned memory in this embodiment may be a memory device for storing information. In a digital system, a device that can store binary data can be a memory; in an integrated circuit, a circuit with a storage function without a physical form can also be a memory, such as RAM, FIFO, etc.; in a system, a storage device with a physical form can also be called a memory, etc. When implemented, the memory can also be implemented in the form of cloud memory. The specific implementation method is not limited in this specification.
[0070] It should be noted that for the electronic device in this specification, the specific implementation method can refer to the description of the method embodiment and will not be elaborated here one by one.
[0071] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute each embodiment or some parts of the above-mentioned method of the embodiments.
[0072] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A boot control method, characterized in that, The method is applied to an electronic device including an OPS side and a display side, and the method includes: When the OPS side and the display side are in the standby state, obtain a wake-up signal and identify the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; If the category of the wake-up signal is a network wake-up signal, based on the network wake-up signal, start the display side, and based on the network wake-up signal fed back by the display side, start the OPS side; If the category of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal automatically generated by the OPS side to power on, based on the RTC wake-up signal, turn off the OPS side and start the display side, and restart the OPS side after receiving the RTC wake-up signal fed back by the display side.
2. The method according to claim 1, wherein When the wake-up signal is the network wake-up signal, the obtaining of the wake-up signal includes: The network module of the OPS side receives the network wake-up signal; Based on the network wake-up signal, starting the display side includes: The network module sends the network wake-up signal to the first MCU module of the OPS side; In response to the network wake-up signal, the first MCU module sends a network power-on signal to the second MCU module of the display side; The second MCU module sends a first network start signal to the second main control module of the display side based on the network power-on signal, so that the second main control module starts to run.
3. The method according to claim 2, wherein Based on the network wake-up signal fed back by the display side, starting the OPS side includes: The first MCU module receives the network wake-up signal sent by the second main control module; The first MCU module sends a second network start signal to the first main control module based on the network wake-up signal, so that the first main control module starts to run.
4. The method according to claim 1, characterized in that, Based on the RTC wake-up signal, turning off the OPS side and starting the display side includes: The first main control module of the OPS side sends the RTC wake-up signal to the first MCU module of the OPS side; The first MCU module sends an RTC power-on signal to the second MCU module of the display side and sends a standby signal to the first main control module; The first main control module stops running based on the standby signal; The second MCU module sends a first RTC start signal to the second main control module of the display side based on the RTC power-on signal, so that the second main control module starts to run.
5. The method according to claim 4, wherein Restarting the OPS side after receiving the RTC wake-up signal fed back by the display side includes: The first MCU module receives the RTC wake-up signal sent by the second main control module; The first MCU module sends a second RTC start signal to the first main control module based on the RTC wake-up signal, so that the first main control module restarts to run.
6. A boot control method, characterized in that, The method is applied to the OPS side, and the power-on control method includes: When the OPS is in the standby state, obtain a wake-up signal; Identify the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; If the category of the wake-up signal is a network wake-up signal, send a network power-on signal to the display terminal via the first MCU module at the OPS end, where the network power-on signal is used to wake up the display terminal; receive the network wake-up signal from the display terminal via the first MCU module, and start the operation of the first main control module in the OPS end; the display terminal is connected to the OPS; If the category of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal generated by the OPS end for automatic startup, control the first main control module of the OPS to stop operating, and send an RTC power-on signal to the display terminal via the first MCU module, where the RTC power-on signal is used to wake up the display terminal; receive the RTC wake-up signal from the display terminal via the first MCU module, and start the operation of the first main control module in the OPS end.
7. An OPS, characterized in that, The OPS includes: An acquisition unit, configured to acquire a wake-up signal when in a standby state; A processing unit, configured to identify the category of the wake-up signal, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; if the category of the wake-up signal is a network wake-up signal, send a network power-on signal to the display terminal via the first MCU module at the OPS end, where the network power-on signal is used to wake up the display terminal; receive the network wake-up signal from the display terminal via the first MCU module, and start the operation of the first main control module in the OPS end; the display terminal is connected to the OPS; if the category of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal generated by the OPS end for automatic startup, control the first main control module of the OPS to stop operating, and send an RTC power-on signal to the display terminal via the first MCU module, where the RTC power-on signal is used to wake up the display terminal; receive the RTC wake-up signal from the display terminal via the first MCU module, and start the operation of the first main control module in the OPS end.
8. An electronic device, characterized in that, The electronic device includes an OPS end and a display end; The OPS end is configured to acquire a wake-up signal and identify the category of the wake-up signal when the OPS end and the display end are in a standby state, where the category of the wake-up signal includes a network wake-up signal or an RTC wake-up signal; The OPS side is further configured to, if the category of the wake-up signal is a network wake-up signal, send a network power-on signal to the display side, where the network power-on signal is used to wake up the display side; upon receiving the network wake-up signal from the display side, start the operation of the first main control module in the OPS side; the display side is connected to the OPS; and is further configured to, if the category of the wake-up signal is an RTC wake-up signal and the RTC wake-up signal is a signal automatically generated by the OPS side for power-on, control the first main control module of the OPS to stop operating and send an RTC power-on signal to the display side, where the RTC power-on signal is used to wake up the display side; upon receiving the RTC wake-up signal from the display side via the first MCU module, start the operation of the first main control module in the OPS side; The display side is configured to receive the network power-on signal and start operating based on the network power-on signal, and is configured to receive the RTC power-on signal and start operating based on the RTC power-on signal.