A protection method, device and education or conference all-in-one machine for an OPS system

By receiving the display signal and keep-alive information of the OPS system, combined with re-power-on and pin level modification, the OPS system problem is automatically judged and solved, and the security and inefficiency of the OPS system in the existing technology is solved, and the reliability and user experience of the system are improved.

CN114942864BActive Publication Date: 2025-07-18ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210578185.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-25
Publication Date
2025-07-18
Estimated Expiration
2042-05-25

AI Technical Summary

Technical Problem

In the prior art, the connection between the OPS system and the terminal device cannot be implemented to adaptive detection or control, resulting in the inability to guarantee system security, and the manual discovery of problems is inefficient, which affects the user experience.

Method used

By receiving the display signal and keep-alive information of the OPS system, we can determine whether the OPS system is operating normally, and when the information has not been obtained, the system is instructed to enter recovery mode when the preset time is reached. Combined with re-powering and pin level modification, the system problem will be automatically solved.

Benefits of technology

It realizes rapid and automatic discovery and solving the operation problems of the OPS system, improves the reliability and user experience of the system, and avoids the inefficiency of manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114942864B_ABST
    Figure CN114942864B_ABST
Patent Text Reader

Abstract

The present application discloses a protection method, device and education or conference all-in-one machine for an OPS system, which is used to quickly discover and solve problems occurring in the operation of the OPS system. The method is applied to a terminal device connected to the OPS system and includes: when running a program in the OPS system, receiving a display signal from the OPS system and obtaining keep-alive information fed back by the OPS system; the keep-alive information is used to indicate that the OPS system is running normally; if the duration of not obtaining the keep-alive information reaches a first preset duration, or the duration of not receiving the display signal reaches a second preset duration, it is determined that the OPS system is not running normally; and the OPS system is instructed to enter the recovery mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer security technology, and in particular to a protection method and device for an OPS system and an all-in-one education or conference machine. Background Art

[0002] At present, there are many kinds of intelligent terminal devices on the market, such as home TVs, office personal computers or educational all-in-one computers used in educational scenarios. With the widespread application of these terminal devices, the corresponding Open Pluggable Specification (OPS) system is also widely used. OPS is a standardized digital signage interface specification jointly formulated by Intel and display manufacturers. Its internal structure is a mini computer with X86 architecture, equipped with memory, hard disk, multiple input and output interfaces and Windows operating interface. The OPS system is connected to the intelligent terminal device through pins.

[0003] However, since the connection method between the terminal device and the OPS system and the pins used for connection are all specified by the protocol standard, it is impossible to adaptively deploy the corresponding detection or control strategy. Accordingly, the security of the system cannot be guaranteed. The solution to the security problem in the prior art is to manually discover problems in the operation of the OPS system and return it to the factory for repair. This method is not only inefficient, but also affects the user experience. Summary of the invention

[0004] In an exemplary embodiment of the present application, a protection method, device and an all-in-one education or conference machine for an OPS system are provided to quickly discover problems that occur during the operation of the OPS and solve the problems in a timely manner.

[0005] In a first aspect, an embodiment of the present application provides a method for protecting an OPS system, the method being applied to a terminal device connected to an open pluggable specification OPS system, the method comprising:

[0006] When the program in the OPS system is running, a display signal from the OPS system is received, and keep-alive information fed back by the OPS system is obtained; the keep-alive information is used to indicate that the OPS system is running normally;

[0007] If the duration of not obtaining the keep-alive information reaches a first preset duration, or the duration of not receiving the display signal reaches a second preset duration, it is determined that the OPS system is not operating normally;

[0008] Instruct the OPS system to enter recovery mode.

[0009] In the scenario where the OPS system is connected to a terminal device, this application proposes to lock the operation problem of the OPS system by using the display signal and keep-alive information sent during the operation of the OPS system program, so as to efficiently and quickly discover problems with the OPS system. After discovering a problem, the terminal device can automatically instruct the OPS system to enter the recovery mode, and the problems of the OPS system can be solved without manual intervention.

[0010] In some embodiments, before instructing the OPS system to enter the recovery mode, the method further includes:

[0011] Sending instruction information for instructing a power-on reset to the OPS system, and continuing to receive the display signal and obtain the keep-alive information;

[0012] If the heartbeat information is still not received within the first preset duration after sending the instruction information, or the display signal is still not received within the second preset duration after sending the instruction information, it is determined that the OPS system is still not operating normally;

[0013] Returning to execute the step of sending the instruction information to the OPS system until the number of times of executing the step of sending the instruction information reaches the set number of times.

[0014] Based on the above solution, before instructing the OPS system to enter the recovery mode, the terminal device can first instruct the OPS system to perform several power-on resets. The power-on reset can solve general system crash problems. If the power-on reset still cannot solve the problems of the OPS system, then perform the operation of instructing it to enter the recovery mode. Solving the problems of the OPS system through two-level processing improves the reliability of the OPS system.

[0015] In some embodiments, the obtaining of the keep-alive information fed back by the OPS system includes:

[0016] Receiving the heartbeat information periodically sent by the OPS system through a first reserved pin; or,

[0017] Detecting that the level of the first reserved pin periodically becomes a first preset value;

[0018] Wherein, the first reserved pin is any one of multiple reserved pins connected to the OPS; the multiple reserved pins are pins not defined in the protocol.

[0019] In some embodiments, the instructing the OPS system to enter the recovery mode includes:

[0020] Send an instruction for indicating entering the recovery mode to the OPS system through the second reserved pin; or,

[0021] Modify the level of the second reserved pin to a second preset value;

[0022] Wherein, the second reserved pin is any one of the multiple reserved pins except the first reserved pin.

[0023] In a second aspect, an embodiment of the present application provides another protection method for an OPS system. The method is applied to an OPS system connected to a terminal device, and the method includes:

[0024] When running the program in the OPS system, periodically modify the level of the first reserved pin to a first preset value; wherein the first reserved pin is any one of the multiple reserved pins connected to the OPS, and the multiple reserved pins are pins not defined in the protocol; or,

[0025] Periodically send heartbeat information to the terminal device;

[0026] Obtain an instruction fed back by the terminal device, and enter the recovery mode according to the instruction; the instruction is fed back by the terminal device based on the level of the first reserved pin or the heartbeat information.

[0027] In some embodiments, the obtaining the instruction fed back by the terminal device includes:

[0028] Receive an instruction for indicating entering the recovery mode sent by the terminal device through the second reserved pin; or,

[0029] Detect that the level of the second reserved pin becomes the second preset value;

[0030] Wherein, the second reserved pin is any one of the multiple reserved pins except the first reserved pin.

[0031] In a third aspect, an embodiment of the present application provides a protection device for an OPS system. The device is a terminal device connected to the OPS system, or the device is applied to the terminal device. The device includes:

[0032] A communication unit, configured to receive a display signal from the OPS system when running the program in the OPS system;

[0033] A processing unit, configured to execute:

[0034] Obtain the keep-alive information fed back by the OPS system; the keep-alive information is used to indicate that the OPS system is running normally;

[0035] When the duration of not obtaining the keep-alive information reaches a first preset duration, or when the duration of not receiving the display signal reaches a second preset duration, it is determined that the OPS system is not operating normally;

[0036] Instruct the OPS system to enter the recovery mode.

[0037] In some embodiments, the communication unit is further configured to send indication information for instructing a power-on again to the OPS system and continue to receive the display signal;

[0038] The processing unit is further configured to execute:

[0039] Continue to obtain the keep-alive information;

[0040] When the heartbeat information is still not received within the first preset duration after sending the indication information, or when the display signal is still not received within the second preset duration after sending the indication information, it is determined that the OPS system is still not operating normally;

[0041] Instruct the communication unit to return to execute the step of sending the indication information to the OPS system until the number of times of executing the step of sending the indication information reaches a set number of times.

[0042] In some embodiments, the processing unit is specifically configured to:

[0043] Receive the heartbeat information periodically sent by the OPS system through a first reserved pin included in the communication unit; or,

[0044] Detect that the level of the first reserved pin periodically becomes a first preset value;

[0045] Wherein, the first reserved pin is any one of a plurality of reserved pins connected to the OPS; the plurality of reserved pins are pins not defined in the protocol.

[0046] In some embodiments, the processing unit is specifically configured to:

[0047] Send an instruction for instructing to enter the recovery mode to the OPS system through a second reserved pin included in the communication unit; or,

[0048] Modify the level of the second reserved pin to a second preset value;

[0049] Wherein, the second reserved pin is any one of the plurality of reserved pins except the first reserved pin.

[0050] Fourthly, an embodiment of the present application provides another protection device for an OPS system. The device is an OPS system connected to a terminal device, or the device is applied to the OPS system. The device includes:

[0051] A processing unit, configured to periodically modify the level of a first reserved pin to a first preset value when running a program in the OPS system; wherein the first reserved pin is any one of a plurality of reserved pins connected to the OPS, and the plurality of reserved pins are pins not defined in the protocol;

[0052] A communication unit, configured to periodically send heartbeat information to the terminal device;

[0053] The processing unit is further configured to obtain an indication fed back by the terminal device and enter the recovery mode according to the indication; the indication is fed back by the terminal device based on the level of the first reserved pin or the heartbeat information.

[0054] In some embodiments, the processing unit is specifically configured to:

[0055] Receive, through a second reserved pin included in the communication unit, an instruction from the terminal device for indicating to enter the recovery mode; or,

[0056] Detect that the level of the second reserved pin becomes a second preset value;

[0057] Wherein, the second reserved pin is any one of the plurality of reserved pins other than the first reserved pin.

[0058] Fifthly, an embodiment of the present application provides an education or conference all-in-one machine. The education or conference all-in-one machine is connected to an OPS system. The education or conference all-in-one machine includes:

[0059] A transceiver, configured to receive a display signal from the OPS system when running a program in the OPS system;

[0060] A processor, configured to execute:

[0061] Obtain keep-alive information fed back by the OPS system; the keep-alive information is used to indicate that the OPS system is running normally;

[0062] When the duration of not obtaining the keep-alive information reaches a first preset duration, or when the duration of not receiving the display signal reaches a second preset duration, determine that the OPS system is not running normally;

[0063] Indicate the OPS system to enter the recovery mode.

[0064] In some embodiments, the transceiver is further configured to send indication information for instructing a power-on reset to the OPS system and continue to receive the display signal;

[0065] The processor is further configured to execute:

[0066] Continue to obtain the keep-alive information;

[0067] When the heartbeat information is not received within the first preset duration after sending the indication information, or when the display signal is not received within the second preset duration after sending the indication information, determine that the OPS system is still not operating normally;

[0068] Instruct the transceiver to return to execute the step of sending the indication information to the OPS system until the number of times of executing the step of sending the indication information reaches a set number.

[0069] In some embodiments, the processor is specifically configured to:

[0070] Receive the heartbeat information periodically sent by the OPS system through a first reserved pin included in the transceiver; or,

[0071] Detect that the level of the first reserved pin periodically becomes a first preset value;

[0072] Wherein, the first reserved pin is any one of a plurality of reserved pins connected to the OPS; the plurality of reserved pins are pins not defined in the protocol.

[0073] In some embodiments, the processor is specifically configured to:

[0074] Send an instruction for instructing to enter the recovery mode to the OPS system through a second reserved pin included in the transceiver; or,

[0075] Modify the level of the second reserved pin to a second preset value;

[0076] Wherein, the second reserved pin is any one of the plurality of reserved pins other than the first reserved pin.

[0077] In a sixth aspect, an embodiment of the present application provides an electronic device, which includes a controller and a memory. The memory is used to store computer execution instructions, and the controller executes the computer execution instructions in the memory to execute the operation steps of the method according to any one of the possible implementations in the first aspect and the second aspect by using the hardware resources in the controller.

[0078] In a seventh aspect, the present application provides a computer-readable storage medium storing instructions that, when run on a computer, cause the computer to execute the methods in the above aspects.

[0079] In addition, the beneficial effects of the second to seventh aspects can be referred to the beneficial effects described in the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application.

[0081] Figure 1 It is a display interface of an education all-in-one machine provided by an embodiment of the present application;

[0082] Figure 2 It is a schematic diagram of a system architecture provided by an embodiment of the present application;

[0083] Figure 3 It is a schematic diagram of a JAE standard plug-in provided by an embodiment of the present application;

[0084] Figure 4 It is a flowchart of a protection method for an OPS system provided by an embodiment of the present application;

[0085] Figure 5 It is a flowchart of a method for solving OPS system operation problems provided by an embodiment of the present application;

[0086] Figure 6 It is another flowchart of a protection method for an OPS system provided by an embodiment of the present application;

[0087] Figure 7 It is a schematic diagram of the structure of a protection device for an OPS system provided by an embodiment of the present application;

[0088] Figure 8 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0089] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the technical solutions of the present application. Based on the embodiments recorded in this application document, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the technical solutions of the present application.

[0090] In the description and claims of this application and the above-mentioned drawings, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any variations thereof are intended to cover non-exclusive protection. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in this application may mean at least two, for example, it may be two, three or more, and the embodiments of this application do not make limitations.

[0091] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after without special explanation.

[0092] To facilitate the understanding of the solution proposed in this application, the technical terms involved in this application are briefly introduced first:

[0093] (1) Open Pluggable Specification (OPS) system: It is a computing module plug-in used to increase the computing power of the electronic device connected to it. Its internal structure is a mini computer with an X86 architecture, configured with memory, hard disk, multiple input and output interfaces, and a Windows operating interface. The OPS system is connected to the electronic device through pins, and the functions of each pin used are defined in the standard, and it also includes multiple reserved pins that are not used and not defined in the standard.

[0094] (2) Interactive flat panel for education: It is an electronic device for teaching, integrating technologies such as multi-touch, artificial intelligence, and cloud computing, and is generally configured with an Android system. When used in conjunction with the OPS system, it can implement dual systems of Android and Windows. The interactive flat panel for education equipped with the OPS system can run Android version programs and Windows version programs during use. Optionally, for the convenience of understanding how the interactive flat panel for education connected to the OPS system implements running dual systems, reference can be made to Figure 1 , which is a display interface for the startup of an interactive flat panel for education provided by the embodiments of this application, and users can select the system program to run according to this display interface.

[0095] The protection method of the OPS system proposed in this application is applicable to scenarios where some non-Windows system terminal devices are connected to the OPS system. To facilitate understanding of the solution proposed in this application, the system architecture applicable to this application is first introduced. Exemplarily, see Figure 2 , which is a schematic diagram of a system architecture provided by an embodiment of this application. It should be understood that the embodiments of this application are not limited to Figure 2 the system shown. Figure 2 It includes a terminal device and an OPS system. Optionally, Figure 2 the terminal device shown in Figure 2 can be a terminal device using a non-Windows system such as a TV, an education all-in-one machine, or a conference all-in-one machine. Optionally, see Figure 2 In Figure 3 , which is a schematic diagram of a JAE standard plug provided by an embodiment of this application. Optionally, in Figure 2 the definitions of pin signals specified in some protocols are also shown. There are some reserved pins in the pins connecting the terminal device and the OPS system that are not defined in the protocol. For example, see Table 1 below, which are reserved pins not defined in the standard.

[0096] Table 1

[0097] 49 Reserved (RSVD) Reserved Pins 48 RSVD Reserved Pins 47 RSVD Reserved Pins 46 RSVD Reserved Pins 45 RSVD Reserved Pins 44 RSVD Reserved Pins 43 RSVD Reserved Pins 42 RSVD Reserved Pins 41 RSVD Reserved Pins

[0098] In the related art, if two interconnected devices need to perform keep-alive, generally, adaptive configuration is performed on the two devices, and different strategies are designed to be executed in different operating states to ensure that the two systems can timely know the operating states of each other. However, this adaptive definition method is not applicable to the OPS system. For a device with a standard definition like the OPS system, adaptive adjustment cannot be achieved. In view of this, the embodiments of this application provide a protection method for the OPS system. When the terminal device runs a program in the OPS system, the OPS system is kept alive (that is, it is determined whether the OPS system is running normally) according to the display signal sent by the OPS system and the feedback keep-alive information. When it is determined that there is a problem with the operation of the OPS system, the OPS system can also be automatically instructed to enter the recovery mode to solve problems such as abnormal power-off, systematic crash, system loss, or hot plugging of the OPS.

[0099] To facilitate understanding of the method proposed in this application, the protection method of the OPS system proposed in this application is introduced below in combination with Figure 2 the system architecture shown. See Figure 4, which is a flowchart of a protection method for an OPS system provided by an embodiment of the present application. Optionally, this method flow can be executed by a terminal device connected to the OPS system. The method flow specifically includes:

[0100] 401. When the terminal device runs a program in the OPS system, it receives a display signal from the OPS system and obtains keep-alive information fed back by the OPS system.

[0101] Among them, the keep-alive information is used by the OPS system to indicate that it is running normally. Optionally, the keep-alive information can be periodically fed back by the OPS system to the terminal device.

[0102] Optionally, the terminal device running the program in the OPS system can be that the terminal device responds to the user's operation of selecting the OPS system on the display interface as shown in Figure 1 and executes the program of running the OPS system. During the process of running the program in the OPS system, the OPS system can send display information to the terminal device in real time, such as a High Definition Multimedia Interface (HDMI) display signal, for the terminal device to display the corresponding program interface on the display screen.

[0103] 402. If the duration for which the terminal device does not obtain the keep-alive information reaches a first preset duration, or the duration for which it does not receive the display signal reaches a second preset duration, it is determined that the OPS system is not running normally.

[0104] Optionally, during the process of the terminal device running the program in the OPS system, it continuously counts the time when it does not receive the keep-alive information and the display signal. If the terminal device does not obtain the keep-alive information for a continuous period of time, and the duration of this continuous period reaches the first preset duration, it can be determined that there is a problem with the operation of the OPS system. Or, if the terminal device does not receive the display signal for a continuous period of time, and the duration of this continuous period reaches the second preset duration, it can also be determined that there is a problem with the operation of the OPS system.

[0105] 403. The terminal device instructs the OPS system to enter the recovery mode.

[0106] Specifically, after the terminal device determines that the OPS system is not running normally, it can instruct it to enter the recovery mode to restore the OPS system to the backed-up initial system, thereby solving problems such as system loss and ensuring the reliability of the OPS system.

[0107] In the scenario where the OPS system is connected to the terminal device, this application proposes to lock the operation problem of the OPS system through the display signal and keep-alive information sent during the operation of the OPS system program, so as to efficiently and quickly discover the problems of the OPS system. After discovering the problem, the terminal device can automatically instruct the OPS system to enter the recovery mode, and the problems of the OPS system can be solved without manual intervention.

[0108] In some embodiments, the terminal device can obtain the keep-alive information of the OPS system in the following manner. For example, in some cases, the terminal device can receive the heartbeat information periodically sent by the OPS system through the first reserved pin. Optionally, the first reserved pin can be any one of the pins in Table 1 above, that is, any one of the multiple pins not defined in the protocol. The terminal device can determine that it has received the keep-alive information when it periodically receives the heartbeat information. For example, the OPS system can send the heartbeat information to the terminal device every 10 seconds. The terminal device can determine that there is a problem with the operation of the OPS system when it does not receive the heartbeat information sent by the OPS system for three consecutive cycles (30 seconds).

[0109] In other cases, the terminal device can detect the level of the first reserved pin. When it detects that the level of the first reserved pin changes periodically, for example, when the level of the first reserved pin becomes a certain preset value every other cycle, or when the level of the first reserved pin increases and is greater than a certain preset value every certain cycle, the terminal device can consider that it has obtained the keep-alive information of the OPS system. Then, when the terminal device does not detect a change in the level of the first reserved pin for a period of time, it can be considered that there is a problem with the operation of the OPS system. For example, the OPS system can periodically raise the level of the first reserved pin, such as raising the level of the first reserved pin every 10 seconds. Then, when the terminal device does not detect the high level of the first reserved pin for 30 consecutive seconds, it can be considered that there is a problem with the operation of the OPS system.

[0110] In some scenarios, after determining that there is a problem with the operation of the OPS system based on the keep-alive information or the display signal, the terminal device may first instruct the OPS system to power on several times before instructing it to enter the recovery mode. In a possible implementation manner, after determining that there is a problem with the operation of the OPS system, the terminal device may send instruction information for instructing a power-on to the OPS system and continue to receive the display signal and obtain the keep-alive information. If the keep-alive information is still not obtained within the first preset duration after sending the instruction information, it may be determined that the OPS system is still not operating properly. Alternatively, if the terminal device still does not receive the display signal within the second preset duration after sending the instruction information, it may also be determined that the OPS system is still not operating properly. After determining that the OPS system is still not operating properly after a power-on, the terminal device may send the instruction information for instructing a power-on to the OPS system again. After repeating the set number of times and determining that the OPS system is still not operating properly, the terminal device then instructs the OPS system to enter the recovery mode. To further understand the method for solving the problem of the operation of the OPS system proposed in this application, the following will be introduced in combination with specific embodiments. Refer to Figure 5 , which is a flowchart of a method for solving the problem of the operation of the OPS system provided by an embodiment of the present application, specifically including:

[0111] 501. The terminal device determines that the operation of the OPS system is abnormal.

[0112] Optionally, the method for the terminal device to determine that the operation of the OPS system is abnormal may refer to the introduction in the above-mentioned embodiments in China, and will not be elaborated here.

[0113] 502. The terminal device sends instruction information for instructing a power-on to the OPS system.

[0114] 503. After sending the instruction information, the terminal device continues to obtain the keep-alive information fed back by the OPS system and the display signal sent by the OPS system.

[0115] 504. The terminal device determines whether the OPS system is operating properly after sending the instruction information.

[0116] Specifically, if the terminal device still does not obtain the keep-alive information fed back by the OPS system within the first preset duration after sending the instruction information, or still does not receive the display information within the second preset duration after sending the instruction information, it may be determined that the OPS system is not operating properly. On the contrary, if the terminal device receives the display information and obtains the keep-alive information after sending the instruction information, it may be considered that the OPS system is operating properly.

[0117] If the terminal device determines that the OPS system is operating properly, no operation may be performed.

[0118] If the terminal device determines that the OPS system is not running properly, it can continue with step 505.

[0119] 505. The terminal device determines whether the number of times of sending the indication information has reached a preset number of times.

[0120] If the preset number of times is reached, continue with step 506.

[0121] If the preset number of times is not reached, return to step 502 for execution.

[0122] 506. The terminal device instructs the OPS system to enter the recovery mode.

[0123] Based on the above solution, before the terminal device instructs the OPS system to enter the recovery mode, it can first instruct the OPS system to power on several times. Powering on can solve general system crash and other problems. If powering on still cannot solve the problems of the OPS system, then perform the operation of instructing it to enter the recovery mode. Solving the problems of the OPS system through two-level processing improves the reliability of the OPS system.

[0124] Optionally, the terminal device can instruct the OPS system to enter the recovery mode in the following manner. In one possible implementation, the terminal device can send an instruction for instructing to enter the recovery mode to the OPS system through the second reserved pin. After receiving the instruction, the OPS system enters the recovery mode. Among them, the second reserved pin is any one of the multiple reserved pins other than the first reserved pin.

[0125] In another possible implementation, the terminal device can also modify the level of the second reserved pin. For example, the level of the second reserved pin can be modified to a certain set value. Or, if the second reserved pin is normally at a high level (higher than a certain value), the terminal device can instruct the OPS system to enter the recovery mode by lowering the level of the second reserved pin (lower than a certain value). When the OPS system monitors the change in the level of the second reserved pin, it can enter the recovery mode.

[0126] Next, in order to further understand the protection method of the OPS system provided in the embodiments of the present application, it will be introduced in combination with specific embodiments. Refer to Figure 6 , which is a flowchart of a protection method for an OPS system provided in an embodiment of the present application, specifically including:

[0127] 601. The terminal device detects that the OPS system is successfully connected.

[0128] Optionally, the terminal device can detect the OPS system through, for example Figure 3The plug-in shown is successfully connected to the terminal device to determine successful connection to the OPS system. For example, it can be determined that the OPS system is successfully connected by detecting whether the protocol calibration parameter PB_DET is low. If it is low, it can be determined that the OPS system is successfully connected.

[0129] 602. The terminal device instructs the OPS system to power on.

[0130] Optionally, the terminal device can instruct the OPS system to power on by sending a protocol calibration signal PS_ON to the OPS system. Further, after the OPS system is successfully powered on, it can feedback a protocol calibration signal PWR_GOOD to the terminal device to indicate successful power on.

[0131] 603. The terminal device obtains the keep-alive information and display signal of the OPS system.

[0132] 604. The terminal device determines whether the OPS system is operating normally.

[0133] Optionally, the process by which the terminal device determines the operating state of the OPS system according to the keep-alive information and display signal can refer to the introduction in the above embodiments and will not be elaborated here.

[0134] If so, return to step 603.

[0135] If not, continue with step 605.

[0136] 605. The terminal device instructs the OPS system to perform a power-on process a set number of times.

[0137] Specifically, it can refer to the relevant introduction in the above Figure 5 and will not be elaborated here.

[0138] 606. The terminal device continues to determine whether the OPS system is operating normally.

[0139] If so, return to step 603.

[0140] If not, continue with step 607.

[0141] 607. The terminal device instructs the OPS system to enter the recovery mode.

[0142] Optionally, the specific indication method can refer to the introduction in the above embodiments.

[0143] Based on the same concept as the above method, refer to Figure 7 , a protection device 700 for an OPS system provided by an embodiment of the present application. The device 700 is used to execute each step in the above method. To avoid repetition, it will not be elaborated here. The device 700 includes: a communication unit 701 and a processing unit 702.

[0144] In a possible scenario:

[0145] A communication unit 701, configured to receive a display signal from the OPS system when running a program in the OPS system;

[0146] A processing unit 702, configured to perform:

[0147] Obtain keep-alive information fed back by the OPS system; the keep-alive information is used to indicate that the OPS system is running normally;

[0148] When the duration of not obtaining the keep-alive information reaches a first preset duration, or when the duration of not receiving the display signal reaches a second preset duration, determine that the OPS system is not running normally;

[0149] Instruct the OPS system to enter the recovery mode.

[0150] In some embodiments, the communication unit 701 is further configured to send indication information for instructing a power-on reset to the OPS system and continue to receive the display signal;

[0151] The processing unit 702 is further configured to perform:

[0152] Continue to obtain the keep-alive information;

[0153] When the heartbeat information is still not received within the first preset duration after sending the indication information, or when the display signal is still not received within the second preset duration after sending the indication information, determine that the OPS system is still not running normally;

[0154] Instruct the communication unit 701 to return to execute the step of sending the indication information to the OPS system until the number of times of executing the step of sending the indication information reaches a set number of times.

[0155] In some embodiments, the processing unit 702 is specifically configured to:

[0156] Receive the heartbeat information periodically sent by the OPS system through a first reserved pin included in the communication unit 701; or,

[0157] Detect that the level of the first reserved pin periodically becomes a first preset value;

[0158] Wherein, the first reserved pin is any one of a plurality of reserved pins connected to the OPS; the plurality of reserved pins are pins not defined in the protocol.

[0159] In some embodiments, the processing unit 702 is specifically configured to:

[0160] Send an instruction for indicating entering the recovery mode to the OPS system through a second reserved pin included in the communication unit 701; or,

[0161] Modify the level of the second reserved pin to a second preset value;

[0162] Wherein, the second reserved pin is any one of the multiple reserved pins except the first reserved pin.

[0163] In another possible scenario:

[0164] The processing unit 702 is configured to periodically modify the level of the first reserved pin to a first preset value when running a program in the OPS system; wherein the first reserved pin is any one of the multiple reserved pins connected to the OPS, and the multiple reserved pins are pins not defined in the protocol;

[0165] The communication unit 701 is configured to periodically send heartbeat information to the terminal device;

[0166] The processing unit 702 is further configured to obtain an indication fed back by the terminal device and enter the recovery mode according to the indication; the indication is fed back by the terminal device based on the level of the first reserved pin or the heartbeat information.

[0167] In some embodiments, the processing unit 702 is specifically configured to:

[0168] Receive an instruction for indicating entering the recovery mode from the terminal device through a second reserved pin included in the communication unit 701; or,

[0169] Detect that the level of the second reserved pin becomes the second preset value;

[0170] Wherein, the second reserved pin is any one of the multiple reserved pins except the first reserved pin.

[0171] Figure 8 The schematic structural diagram of the electronic device 800 provided by the embodiment of the present application is shown. The electronic device 800 in the embodiment of the present application may further include a communication interface 803, and this communication interface 803 is, for example, a network interface. The electronic device may transmit data through this communication interface 803. For example, the communication interface 803 may implement the function of the communication unit 701 described above. Figure 7 in the above.

[0172] In the embodiment of the present application, the memory 802 stores instructions that can be executed by at least one controller 801. By executing the instructions stored in the memory 802, the at least one controller 801 can be used to execute each step in the above method. For example, the controller 801 can implement the above Figure 7 function of the processing unit 702 in

[0173] Among them, the controller 801 is the control center of the electronic device and can connect various parts of the entire electronic device through various interfaces and lines. By running or executing the instructions stored in the memory 802 and calling the data stored in the memory 802. Optionally, the controller 801 may include one or more processing units. The controller 801 may integrate an application controller and a modulation / demodulation controller. Among them, the application controller mainly processes the operating system and application programs, etc., and the modulation / demodulation controller mainly processes wireless communication. It can be understood that the above modulation / demodulation controller may not be integrated into the controller 801. In some embodiments, the controller 801 and the memory 802 can be implemented on the same chip. In some embodiments, they can also be separately implemented on independent chips.

[0174] The controller 801 can be a general-purpose controller, such as a central controller (CPU), a digital signal controller, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose controller can be a microcontroller or any conventional controller, etc. The steps executed by the data statistics platform disclosed in combination with the embodiments of the present application can be directly executed by the hardware controller or executed by a combination of hardware and software modules in the controller.

[0175] The memory 802, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The memory 802 can include at least one type of storage medium. For example, it can include flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disk, and so on. The memory 802 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 802 in the embodiments of the present application can also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.

[0176] By programming the design of the controller 801, for example, the code corresponding to the training method of the neural network model introduced in the foregoing embodiments can be solidified into the chip, so that the chip can execute the steps of the foregoing neural network model training method during operation. How to program the design of the controller 801 is a well-known technology to those skilled in the art and will not be elaborated here.

[0177] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0178] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to the application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, as well as the combination of flows and / or blocks in the flowchart and / or block diagram. These computer program instructions can be provided to the controller of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the controller of the computer or other programmable data processing device generate means for implementing the functions specified in the Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0179] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in the Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0180] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0181] Although the preferred embodiments of this application have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications that fall within the scope of this application.

[0182] Obviously, those skilled in the art can make various changes and variations to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims

1. A protection method for an OPS system, characterized in that, The method is applied to a terminal device connected to an Open Pluggable Specification (OPS) system. The method includes: When running a program in the OPS system, receiving a display signal from the OPS system; and when receiving heartbeat information periodically sent by the OPS system through a first reserved pin, determining that keep-alive information fed back by the OPS system is obtained; or, when detecting that the level of the first reserved pin periodically becomes a first preset value, determining that the keep-alive information is obtained; the keep-alive information is used to indicate that the OPS system is running normally; wherein, the first reserved pin is any one of a plurality of reserved pins connected to the OPS; the plurality of reserved pins are pins not defined in the protocol; If the duration for which the keep-alive information is not obtained reaches a first preset duration, or the duration for which the display signal is not received reaches a second preset duration, it is determined that the OPS system is not running normally; Sending indication information for instructing a power-on reset to the OPS system, and continuing to receive the display signal and obtain the keep-alive information. If the heartbeat information is still not received within the first preset duration after sending the indication information, or the display signal is still not received within the second preset duration after sending the indication information, it is determined that the OPS system is still not running normally; returning to execute the step of sending the indication information to the OPS system until the number of times of executing the step of sending the indication information reaches a set number, and then sending an instruction for instructing to enter the recovery mode to the OPS system through a second reserved pin, instructing the OPS system to enter the recovery mode; or, instructing the OPS system to enter the recovery mode by modifying the level of the second reserved pin to a second preset value; wherein, the second reserved pin is any one of the plurality of reserved pins other than the first reserved pin.

2. A protection method for an OPS system, characterized in that, The method is applied to an OPS system connected to a terminal device. The method includes: When running a program in the OPS system, periodically modifying the level of a first reserved pin to a first preset value; wherein the first reserved pin is any one of a plurality of reserved pins connected to the OPS, and the plurality of reserved pins are pins not defined in the protocol; or, Periodically sending heartbeat information to the terminal device; Receive the indication information sent by the terminal device for indicating a power-on reset. If the heartbeat information is not sent within the first preset time period after receiving the indication information, or the display signal is not sent within the second preset time period after receiving the indication information, then after the number of times of receiving the indication information reaches the set number of times, when receiving an instruction sent by the terminal device through the second reserved pin for indicating entry into the recovery mode, enter the recovery mode according to the indication; or, when detecting that the level of the second reserved pin changes to a second preset value, enter the recovery mode; wherein, the second reserved pin is any one of the multiple reserved pins other than the first reserved pin.

3. A protection device for an OPS system, characterized in that, The device is a terminal device connected to the OPS system, or the device is applied to the terminal device, and the device includes: A communication unit, configured to receive a display signal from the OPS system when running a program in the OPS system. A processing unit, configured to execute: When receiving the heartbeat information periodically sent by the OPS system through the first reserved pin included in the communication unit, determine that the keep-alive information fed back by the OPS system is obtained; or, when detecting that the level of the first reserved pin periodically changes to a first preset value, determine that the keep-alive information is obtained; the keep-alive information is used to indicate that the OPS system is running normally; wherein, the first reserved pin is any one of the multiple reserved pins connected to the OPS; the multiple reserved pins are pins not defined in the protocol. When the duration of not obtaining the keep-alive information reaches the first preset time period, or when the duration of not receiving the display signal reaches the second preset time period, determine that the OPS system is not running normally. The communication unit is further configured to send indication information for indicating a power-on reset to the OPS system and continue to receive the display signal. The processing unit is further configured to execute: Continue to obtain the keep-alive information. If the heartbeat information is still not received within the first preset time period after sending the indication information, or the display signal is still not received within the second preset time period after sending the indication information, then determine that the OPS system is still not running normally; instruct the communication unit to return to execute the step of sending the indication information to the OPS system, until the number of times of executing the step of sending the indication information reaches the set number of times, then send an instruction for indicating entry into the recovery mode to the OPS system through the second reserved pin included in the communication unit, and instruct the OPS system to enter the recovery mode; or, indicate the OPS system to enter the recovery mode by modifying the level of the second reserved pin to the second preset value; wherein, the second reserved pin is any one of the multiple reserved pins other than the first reserved pin.

4. A protection device for an OPS system, characterized in that The device is an OPS system connected to the terminal device, or the device is applied to the OPS system, and the device includes: A processing unit, which is configured to periodically modify the level of a first reserved pin to a first preset value when running a program in the OPS system; wherein the first reserved pin is any one of a plurality of reserved pins connected to the OPS, and the plurality of reserved pins are pins not defined in the protocol. A communication unit, which is configured to periodically send heartbeat information to the terminal device. The processing unit is further configured to, when receiving an indication information for indicating a power-on again sent by the terminal device, if the heartbeat information is not sent within a first preset duration after receiving the indication information, or the display signal is not sent within a second preset duration after receiving the indication information, after the number of times of receiving the indication information reaches a set number, when receiving an instruction for indicating to enter the recovery mode sent by the terminal device through a second reserved pin, enter the recovery mode according to the instruction; or enter the recovery mode when detecting that the level of the second reserved pin becomes a second preset value; wherein the second reserved pin is any one of the plurality of reserved pins except the first reserved pin.

5. An integrated machine for education or conference, characterized in that, The education or conference all-in-one machine is connected to the OPS system, and the education or conference all-in-one machine includes: A transceiver, which is configured to receive a display signal from the OPS system when running a program in the OPS system. A processor, which is configured to execute: When receiving the heartbeat information periodically sent by the OPS system through a first reserved pin included in the transceiver, determining that the keep-alive information fed back by the OPS system is obtained; or when detecting that the level of the first reserved pin periodically becomes a first preset value, determining that the keep-alive information is obtained; the keep-alive information is used to indicate that the OPS system is running normally; wherein the first reserved pin is any one of a plurality of reserved pins connected to the OPS; the plurality of reserved pins are pins not defined in the protocol. When the duration of not obtaining the keep-alive information reaches a first preset duration, or when the duration of not receiving the display signal reaches a second preset duration, determining that the OPS system is not running normally. The transceiver is further configured to send an indication information for indicating a power-on again to the OPS system and continue to receive the display signal. The processor is further configured to execute: If the heartbeat information is still not received within the first preset duration after sending the indication information, or the display signal is still not received within the second preset duration after sending the indication information, it is determined that the OPS system is still not operating normally; the transceiver is instructed to return to execute the step of sending the indication information to the OPS system. After the number of times of executing the step of sending the indication information reaches the set number of times, an instruction for indicating entry into the recovery mode is sent to the OPS system through the second reserved pin included in the transceiver, instructing the OPS system to enter the recovery mode; or, the OPS system is instructed to enter the recovery mode by modifying the level of the second reserved pin to a second preset value; wherein the second reserved pin is any one of the plurality of reserved pins other than the first reserved pin.

6. An electronic device, characterized in that, The electronic device includes a controller and a memory. The memory is used for storing computer programs or instructions. The controller is used for executing the computer programs or instructions in the memory, so that the method described in claim 1 or claim 2 is executed.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called by a computer, the computer is made to execute the method described in claim 1 or claim 2.

Citation Information

Patent Citations

  • Detection device and interface signal detection method

    CN112948186A

  • Method and device for repairing WMI service

    CN114090309A