CN110703891A - Display device, control method of operating system and system-on-chip - Google Patents

Display device, control method of operating system and system-on-chip Download PDF

Info

Publication number
CN110703891A
CN110703891A CN201910912671.8A CN201910912671A CN110703891A CN 110703891 A CN110703891 A CN 110703891A CN 201910912671 A CN201910912671 A CN 201910912671A CN 110703891 A CN110703891 A CN 110703891A
Authority
CN
China
Prior art keywords
chip
factory
operating system
instruction
timing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910912671.8A
Other languages
Chinese (zh)
Other versions
CN110703891B (en
Inventor
姜超
初德进
王双优
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201910912671.8A priority Critical patent/CN110703891B/en
Publication of CN110703891A publication Critical patent/CN110703891A/en
Application granted granted Critical
Publication of CN110703891B publication Critical patent/CN110703891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package

Abstract

The application discloses a display device, a control method of an operating system and a system-on-chip, and belongs to the technical field of electronic equipment. The method comprises the following steps: when a first system-on-chip in the display device detects a first trigger operation, sending a timing instruction to a second system-on-chip in the display device; the second system-on-chip starts timing after receiving the timing instruction, and executes the second operating system to restore factory settings when receiving the timing end instruction; and if the first trigger operation meets the factory reset condition, executing the factory reset of the first operating system by the first system-on-chip. Therefore, the first system-on-chip determines whether to execute the factory reset operation based on the first trigger operation and the factory reset condition, and the second system-on-chip determines whether to execute the factory reset operation based on whether to receive the timing end instruction after receiving the timing instruction, so that the factory reset control of the plurality of operating systems of the display device is realized.

Description

Display device, control method of operating system and system-on-chip
Technical Field
The present disclosure relates to electronic devices, and particularly to a display device, a control method of an operating system, and a system-on-chip.
Background
With the rapid development of electronic device technologies, smart devices such as smart robots, smart televisions, and the like are widely used. By taking the intelligent television as an example, not only can television programs be played, but also functions of surfing the internet, browsing pages and the like can be realized, and rich experience is brought to users.
However, when the smart device has abnormal situations such as a dead halt, slow operation, etc., and is difficult to solve, the operating system may need to be controlled to restore the factory settings. Generally, the smart device detects a state of a designated local key (e.g., a power-on key) during a period of time when the smart device is powered on, and controls the operating system to perform an operation of restoring factory settings when the designated local key is detected to be continuously pressed for a certain duration.
At present, one smart device may include a plurality of operating systems, and therefore, how to control the plurality of operating systems of the smart device to restore factory settings becomes a problem that needs to be solved at present.
Disclosure of Invention
The application provides a display device, a control method of an operating system and a system-on-chip, which can solve the problem of controlling a plurality of operating systems to restore factory settings in the related art. The technical scheme is as follows:
in one aspect, a display device is provided, where the display device includes a first system-on-chip and a second system-on-chip that are established with a communication connection, where the first system-on-chip is used to run a first operating system, the second system-on-chip is used to run a second operating system, and the second system-on-chip is provided with a timer;
if the first system-on-chip detects a first trigger operation, sending a timing instruction to the second system-on-chip;
the second system-on-chip triggers the timer to start timing according to the timing instruction after receiving the timing instruction, and executes the operation of restoring factory settings of the second operating system when receiving the timing ending instruction of the timer;
and if the first trigger operation meets factory reset conditions, executing factory reset operation of the first operating system by the first system-on-chip.
In a possible implementation manner of the present application, if the first trigger operation meets a factory reset condition, before the first system on chip executes an operation of resetting the first operating system to a factory reset, the method further includes:
when the continuous trigger duration of the first trigger operation reaches a first duration threshold, the first system-on-chip determines that the first trigger operation meets the factory reset condition, and the first duration threshold is greater than or equal to the timing duration of the timer; alternatively, the first and second electrodes may be,
when the continuous triggering times of the first triggering operation reach a triggering time threshold value, the first system-on-chip determines that the first triggering operation meets the factory resetting condition; alternatively, the first and second electrodes may be,
when a second trigger operation is detected within a second time length threshold value after the first trigger operation, the first system on chip determines that the first trigger operation meets the factory reset condition, and the second trigger operation is different from the first trigger operation.
In a possible implementation manner of the present application, after the first system on chip detects the first trigger operation, the method further includes:
if the first trigger operation does not meet the factory reset condition, the first system-on-chip executes a starting operation of the first operating system;
and the first system-on-chip sends a normal starting instruction to the second system-on-chip, wherein the normal starting instruction is used for indicating the second system-on-chip to execute the starting operation of the second operating system.
In a possible implementation manner of the present application, after the first soc sends a normal start instruction to the second soc, the method further includes:
and the second system-on-chip stops timing operation after receiving the normal starting instruction and executes the starting operation of the second operating system.
In a possible implementation manner of the present application, after the first soc executes an operation of restoring factory settings of the first operating system, the method further includes:
if a first restore completion instruction sent by the second system-on-chip is received before the first system-on-chip completes the operation of restoring the factory settings, executing the start operation of the first operating system when the first system-on-chip completes the operation of restoring the factory settings, wherein the first restore completion instruction is used for indicating that the second system-on-chip has completed the operation of restoring the factory settings of the second operating system.
In one possible implementation manner of the present application, the method further includes:
if a first recovery completion instruction sent by the second system-on-chip is not received before the first system-on-chip completes the factory restoration setting, the starting operation of the first operating system is not executed when the first system-on-chip completes the factory restoration setting operation until the starting operation of the first operating system is executed when the first recovery completion instruction sent by the second system-on-chip is received.
In one possible implementation manner of the present application, the method further includes:
and after the first system-on-chip finishes the operation of factory setting restoration, sending a second restoration completion instruction to the second system-on-chip, wherein the second restoration completion instruction is used for indicating that the first system-on-chip finishes the operation of factory setting restoration of the first operating system.
In another aspect, a method for controlling an operating system is provided, where the method is applied to a display device, where the display device includes a first system-on-chip and a second system-on-chip that are established with a communication connection, where the first system-on-chip is used to run a first operating system, the second system-on-chip is used to run a second operating system, and the second system-on-chip is provided with a timer, and the method includes:
if the first system-on-chip detects a first trigger operation, sending a timing instruction to the second system-on-chip;
the second system-on-chip triggers the timer to start timing according to the timing instruction after receiving the timing instruction, and executes the operation of restoring factory settings of the second operating system when receiving the timing ending instruction of the timer;
and if the first trigger operation meets factory reset conditions, executing factory reset operation of the first operating system by the first system-on-chip.
In a possible implementation manner of the present application, if the first trigger operation meets a factory reset condition, before the first system on chip executes an operation of resetting the first operating system to a factory reset, the method further includes:
when the continuous trigger duration of the first trigger operation reaches a first duration threshold, the first system-on-chip determines that the first trigger operation meets the factory reset condition, and the first duration threshold is greater than or equal to the timing duration of the timer; alternatively, the first and second electrodes may be,
when the continuous triggering times of the first triggering operation reach a triggering time threshold value, the first system-on-chip determines that the first triggering operation meets the factory resetting condition; alternatively, the first and second electrodes may be,
when a second trigger operation is detected within a second time length threshold value after the first trigger operation, the first system on chip determines that the first trigger operation meets the factory reset condition, and the second trigger operation is different from the first trigger operation.
In another aspect, a system-on-chip is provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps performed by the first system-on-chip of the above aspect, or to implement the steps performed by the second system-on-chip of the above aspect.
In another aspect, a computer-readable storage medium is provided, where instructions are stored, and when executed by a processor of a soc chip, implement the steps executed by the first soc chip in one aspect or implement the steps executed by the second soc chip in one aspect.
In another aspect, a program product is provided that comprises instructions, which when run on a soc chip, cause the soc chip to perform the steps performed by the first soc chip in one aspect or the steps performed by the second soc chip in one aspect.
The technical scheme provided by the application can at least bring the following beneficial effects:
when a first system-on-chip of a display device detects a first trigger operation, it indicates that the display device is likely to execute an operation of factory reset, at this time, the first system-on-chip sends a timing instruction to a second system-on-chip of the display device to indicate that the second system-on-chip waits for a period of time, the second system-on-chip triggers a timer to start timing according to the timing instruction after receiving the timing instruction, when receiving a timing end instruction of the timer, it indicates that factory reset needs to be performed on a second operating system, and at this time, the second system-on-chip executes an operation of factory reset of the second operating system. For the first system-on-chip, if the first trigger operation meets the factory-reset condition, it indicates that factory-reset needs to be performed on the first operating system, and at this time, the first system-on-chip executes the factory-reset operation of the first operating system. Thus, the first system-on-chip may determine whether the factory reset operation needs to be executed by setting the first trigger operation and the factory reset condition, and the second system-on-chip may determine whether the factory reset operation needs to be executed based on whether a timing end instruction of the timer is received after receiving the timing instruction of the first system-on-chip, thereby implementing factory reset control of the plurality of operating systems of the display device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a control method of an operating system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a system-on-chip according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Before explaining the display device, the control method of the operating system, and the soc provided in the embodiments of the present application in detail, terms and implementation environments provided in the embodiments of the present application will be introduced.
First, terms related to the embodiments of the present application will be briefly described.
A system-on-chip: the soc chip refers to a chip formed by further integrating various integrated circuits, and corresponds to a small integrated system.
The intelligent equipment: smart devices refer to devices that include an operating system with computing processing capabilities.
Next, a brief description will be given of an implementation environment related to the embodiments of the present application.
The control method of the operating system provided by the embodiment of the present application may be executed by a display device, as shown in fig. 1, the display device 100 includes a first system-on-chip 1010 and a second system-on-chip 1020, where the first system-on-chip 1010 and the second system-on-chip 1020 are established with a communication connection, the first system-on-chip is configured to run a first operating system, the second system-on-chip is configured to run a second operating system, and the second system-on-chip is provided with a timer 10101.
The operating system may include, but is not limited to, a Windows operating system, a Liunx operating system, and an Android operating system, and may be used to manage and control various hardware and software resources in the display device, implement interaction between a user and the display device, and the like. In this embodiment, the types of the first operating system and the second operating system may be the same or different.
Since one soc chip generally runs only one os, when a plurality of os are included in the display device, a plurality of soc chips are provided. In this embodiment, the display device includes a first operating system and a second operating system, and a first system-on-chip and a second system-on-chip are correspondingly disposed in the display device.
The first system-on-chip and the second system-on-chip can be arranged on a mainboard or can be respectively arranged on a mainboard and a slave board. When the first system-on-chip and the second system-on-chip are arranged on a mainboard, the communication connection between the two system-on-chip chips can be realized through a circuit on the mainboard. When the first system-on-chip is located on the motherboard and the second system-on-chip is located on the slave board, a communication module may be disposed between the motherboard and the slave board for communication connection between the first system-on-chip and the second system-on-chip. Furthermore, the main board and the slave board can be connected with a power management module, and the power management module is used for electrifying the main board and the slave board.
It should be noted that, the display device generally has local keys, and when the display device includes a plurality of soc chips, the local keys may be connected to one soc chip or a plurality of soc chips. When the key of the local machine is connected with one system-on-chip, the system-on-chip connected with the key of the local machine is considered as a main system-on-chip, and the rest system-on-chip chips which are not connected with the key of the local machine are considered as auxiliary system-on-chip chips. Wherein the slave soc may perform a corresponding operation by receiving an instruction issued by the master soc. In this embodiment, the local key is connected to only the first soc, and the second soc executes a corresponding operation by receiving an instruction from the first soc. Since no additional circuitry is required to connect the local keys to the second SOC chip, circuit complexity is reduced.
In some embodiments, the display device may be an intelligent device such as an intelligent robot, an intelligent speaker, an intelligent television, and a computer device, which is not limited in this application.
After the words and implementation environments related to the embodiments of the present application are described, a detailed description will be given below of a specific implementation of the control of the operating system by the display device provided in the embodiments of the present application, with reference to the accompanying drawings.
Fig. 2 is a flowchart of a control method of an operating system according to an embodiment of the present application, where the method may be applied to the display device. Referring to fig. 2, the method includes the following steps:
step 201: and if the first system-on-chip detects the first trigger operation, sending a timing instruction to the second system-on-chip.
The first trigger operation may be an operation triggered by a user based on a certain local key, such as clicking a certain local key, double-clicking a certain local key, long-pressing a certain local key, and the like. Generally, there may be one local key or multiple local keys on the display device to perform some basic operations on the display device, such as turning on and off the device, adjusting the volume, adjusting the temperature, etc. When there are a plurality of local keys in the display device, the first trigger operation may be an operation triggered by the user based on a specific local key, for example, the specific local key may be a local key for turning on or off the computer.
Since different local keys can be connected with different piezoelectric sensors, the first system-on-chip can determine the operation of the local keys according to the detected voltage values of the different piezoelectric sensors. For example, when the voltage value of the first piezoelectric sensor is detected to be 1V, the local key for switching on and off is determined to be pressed, and when the voltage value of the first piezoelectric sensor is detected to be 0V, the local key for switching on and off is determined not to be pressed.
In general, when the display device is powered on, the first system on chip detects a first trigger operation to determine whether the display device has a possibility of executing an operation of restoring factory settings. When the first system-on-chip detects the first trigger operation, it indicates that the display device may need to perform an operation of restoring the factory settings, at this time, the first system-on-chip sends a timing instruction to the second system-on-chip to instruct the second system-on-chip to wait for a period of time, and during the waiting period, the first system-on-chip needs to further determine whether the display device needs to perform the operation of restoring the factory settings, so as to perform the operation accurately.
Step 202: and the second system-on-chip triggers a timer to start timing according to the timing instruction after receiving the timing instruction, and executes the operation of restoring factory settings of the second operating system when receiving a timing ending instruction of the timer.
The timing duration of the timer can be set according to actual conditions, and when the timing of the timer reaches the timing duration of the timer, the timer sends a timing ending instruction to instruct the second system-on-chip to execute the timing ending operation.
That is to say, the second soc starts to count the time by the timer after receiving the timing instruction sent by the first soc, and when the time counted by the timer reaches the time length of the timer, the timer sends a timing end instruction, which indicates that the display device determines to perform an operation of restoring the factory settings, and at this time, the second soc performs an operation of restoring the factory settings by the second os. The second SOC chip can determine whether to execute the operation of restoring the factory setting of the second OS based on whether the timing ending instruction of the timer is received or not, and the first SOC chip does not need to additionally send an instruction to instruct the second SOC chip to execute the operation of restoring the factory setting, so that the workload of receiving and sending the instruction is reduced.
For example, the timing duration of the timer may be set to 8 seconds, when the second soc receives a timing command from the first soc, the second soc starts timing, and when the timer counts 8 seconds, the second soc executes an operation of restoring the factory setting of the second os.
Step 203: and if the first trigger operation meets factory reset conditions, executing factory reset operation of the first operating system by the first system-on-chip.
During the time period when the second soc executes the timing operation, the first soc needs to further determine the first trigger operation, that is, determine whether the first trigger operation meets the factory reset condition, so as to determine whether the display device executes the factory reset operation.
In this embodiment, the factory reset condition includes one of the following conditions:
the first method comprises the following steps: when the duration of the first trigger operation reaches a first time threshold, the first system-on-chip determines that the first trigger operation meets the factory reset condition, and the first time threshold is greater than or equal to the timing duration of the timer.
The first time threshold may be set according to an actual situation, and it should be noted that the first time threshold is greater than or equal to the timing time of the timer.
That is to say, when the first system on chip detects that the specified local key is continuously pressed and the duration of the continuous pressing is greater than or equal to a certain threshold, the first system on chip may determine that the first trigger operation satisfies the factory reset condition, that is, it determines that the display device is to perform an operation of resetting the factory setting, and the first system on chip performs an operation of resetting the factory setting of the first operating system.
For example, it may be considered that a local key for turning on and off is pressed as a first trigger operation, a timing duration of a timer is set to 8 seconds, and a first duration threshold is 9 seconds, and when it is detected that the local key for turning on and off is continuously pressed for 9 seconds, the first system on chip determines that the first trigger operation satisfies a factory reset condition, that is, determines that the display device is to perform an operation of resetting a factory setting, and the first system on chip performs an operation of resetting the factory setting of the first operating system.
And the second method comprises the following steps: and when the continuous triggering times of the first triggering operation reach a triggering time threshold value, the first system-on-chip determines that the first triggering operation meets the factory resetting condition.
The triggering time threshold may be set according to actual conditions.
That is, when the first soc detects that the designated native key is pressed multiple times consecutively and the number of times of continuous pressing is greater than or equal to the trigger number threshold, the first soc may determine that the first trigger operation satisfies the factory reset condition, that is, determine that the display device is to perform an operation of resetting the factory settings, and perform an operation of resetting the factory settings of the first operating system.
For example, it may be considered that a local key for turning on and off is pressed as a first trigger operation, the trigger number threshold is set to 4 times, and when it is detected that the local key for turning on and off is continuously pressed 4 times, the first system on chip may determine that the first trigger operation satisfies a factory reset condition, that is, it is determined that the display device is to perform an operation of resetting the factory settings, and the first system on chip performs an operation of resetting the factory settings of the first operating system.
And the third is that: and when a second trigger operation is detected within a second time length threshold after the first trigger operation, the first system on chip determines that the first trigger operation meets the reference operation condition, and the second trigger operation is different from the first trigger operation.
Wherein, the second duration threshold value can be set according to actual requirements.
The second trigger operation may be an operation triggered by a user based on a certain local key, such as clicking a certain local key, double-clicking a certain local key, long-pressing a certain local key, and the like. It should be noted that the local key corresponding to the second trigger operation should be different from the local key corresponding to the first trigger operation.
That is, after the first soc detects that the designated native key is pressed, and detects that another designated native key is pressed within the second duration threshold, the first soc may determine that the first trigger operation satisfies the factory reset condition, that is, determine that the display device is to perform an operation of resetting the factory setting, and the first soc performs an operation of resetting the factory setting of the first operating system.
For example, it may be considered that the local key for turning on and off is pressed as the first trigger operation, the local key for increasing the volume is pressed as the second trigger operation, and the second duration threshold is set to 8 seconds. When the first system-on-chip detects that the local key for increasing the volume is pressed within 8 seconds after the local key for turning on and off is pressed, the first system-on-chip may determine that the first trigger operation satisfies a factory reset condition, that is, determine that the display device is to perform a factory reset operation, and perform a factory reset operation of the first operating system.
It should be noted that the factory resetting conditions may be set according to actual situations, and are not limited to the three factory resetting conditions. In practical applications, the factory resetting conditions in the display device may include only one factory resetting condition, or may include multiple factory resetting conditions, such as two, three, or four. And if the factory resetting conditions comprise a plurality of factory resetting conditions, when the first trigger operation meets one or more than one of the factory resetting conditions, the first trigger operation is considered to meet the factory resetting conditions.
For example, the factory reset condition may further include that the second trigger operation and the third trigger operation are detected at the same time as the first trigger operation, and the first soc determines that the first trigger operation satisfies the factory reset condition.
The third triggering operation may be an operation triggered by a user based on a certain local key, such as clicking a certain local key, double-clicking a certain local key, long-pressing a certain local key, and the like. It should be noted that the local keys corresponding to the first trigger operation, the second trigger operation, and the third trigger operation should be different from each other, that is, the user needs to trigger the operation based on three different local keys.
That is to say, when the first system on chip detects that the specified local key is pressed, and at the same time detects that two other local keys are pressed, the first system on chip determines that the first trigger operation satisfies the factory reset condition, determines that the display device is to perform the factory reset operation, and the first system on chip performs the factory reset operation of the first operating system.
For example, it may be considered that the local key for turning on and off is pressed as a first trigger operation, the local key for increasing the volume is pressed as a second trigger operation, and the local key for decreasing the volume is pressed as a third trigger operation. When the first system-on-chip detects that a local key for turning on and off the computer is pressed, the local key for increasing the volume and the local key for reducing the volume are both pressed, the first system-on-chip determines that the first trigger operation meets factory reset conditions, namely, the display device is determined to execute factory reset restoration operation, and the first system-on-chip executes factory reset operation of the first operating system.
When the first trigger operation meets the factory reset condition, that is, the first system-on-chip determines that the display device is to perform the factory reset operation, the first system-on-chip performs the factory reset operation of the first operating system, and the second system-on-chip performs the factory reset operation of the second operating system after the timer times to the set time.
As an example, after the first system-on-chip performs an operation of factory setting restoration of a first operating system, if a first restoration completion instruction sent by the second system-on-chip is received before the first system-on-chip completes the operation of factory setting restoration, a start operation of the first operating system is performed when the first system-on-chip completes the operation of factory setting restoration, where the first restoration completion instruction is used to indicate that the second system-on-chip has completed the operation of factory setting restoration of the second operating system.
The time required for the first system-on-chip and the second system-on-chip to execute the operation of restoring the factory setting may be different, and when the second system-on-chip finishes the operation of restoring the factory setting earlier than the first system-on-chip, the second system-on-chip sends an instruction to the first system-on-chip to indicate that the second system-on-chip finishes the operation of restoring the factory setting, and at this time, the second system-on-chip does not execute the start operation. When the first system-on-chip finishes the operation of restoring the factory setting, the first restoration completion instruction can know that the second system-on-chip finishes the operation of restoring the factory setting, at the moment, the first system-on-chip executes the starting operation of the first operating system and sends a normal starting instruction to the second system-on-chip, so that the first system-on-chip and the second system-on-chip can execute the starting operation almost at the same time.
That is, before the first soc finishes the operation of restoring the factory settings, if the first restoration completion instruction is received, which indicates that the second soc has finished the operation of restoring the factory settings, the first soc may execute the start operation of the first operating system when the operation of restoring the factory settings is finished.
Further, if the first restore complete instruction sent by the second system-on-chip is not received before the first system-on-chip completes restoring the factory setting, the start operation of the first operating system is not executed when the first system-on-chip completes restoring the factory setting until the start operation of the first operating system is executed when the first restore complete instruction sent by the second system-on-chip is received.
When the first soc finishes the factory reset operation before the second soc, the first soc does not receive the first reset completion instruction before finishing the factory reset operation, which means that the second soc has not finished the factory reset operation, and the first soc does not execute the start operation of the first os but waits to receive the first reset completion instruction, that is, when it is determined that the second soc finishes the factory reset operation, the start operation of the first os is executed, and a normal start instruction is sent to the second soc, so that the first soc and the second soc execute the start operation almost simultaneously.
That is, if the first restore completion instruction is not received until the first soc has finished restoring the factory settings, it indicates that the second soc has not finished restoring the factory settings, and the first soc needs to execute the start operation of the first operating system after the second soc has finished restoring the factory settings.
As another example, after the first soc has completed the operation of restoring the factory settings, a second restoration completion instruction is sent to the second soc, where the second restoration completion instruction is used to indicate that the first soc has completed the operation of restoring the factory settings of the first operating system.
Specifically, when the first soc finishes the factory reset operation before the second soc, the first soc sends an instruction to the second soc to instruct the first soc to finish the factory reset operation, and at this time, the first soc does not execute the start operation of the first operating system. When the second system-on-chip finishes the operation of restoring the factory setting, the second restoration completion instruction can know that the first system-on-chip finishes the operation of restoring the factory setting, at the moment, the second system-on-chip executes the starting operation of the second operating system and sends a normal starting instruction to the first system-on-chip, so that the first system-on-chip and the second system-on-chip can almost simultaneously execute the starting operation.
That is, if the second soc chip receives the second restore completion instruction before the operation of restoring the factory settings is finished, which indicates that the operation of restoring the factory settings has been finished by the first soc chip, the second soc chip may execute the start operation of the second operating system when the operation of restoring the factory settings is finished.
Further, when the second soc finishes the factory reset operation before the first soc, because the second soc does not receive the second reset completion instruction before the second soc finishes the factory reset operation, that is, it indicates that the first soc has not finished the factory reset operation, the second soc does not execute the start operation of the second os but waits to receive the second reset completion instruction, that is, when it is determined that the first soc finishes the factory reset operation, the start operation of the second os is executed, and a normal start instruction is sent to the first soc, so that the first soc and the second soc execute the start operation almost simultaneously.
That is, if the second soc has not received the second restore completion instruction until the operation of restoring the factory settings is finished, it indicates that the operation of restoring the factory settings is not finished by the first soc. The second soc needs to execute the start operation of the second os after the first soc finishes the operation of restoring the factory settings.
The case that the first trigger operation satisfies the factory resetting condition is described above, and the case that the first trigger operation does not satisfy the factory resetting condition is described below.
As an example, after the first system on chip detects a first trigger operation, if the first trigger operation does not satisfy the factory reset condition, the first system on chip executes a start operation of the first operating system; and the first system-on-chip sends a normal starting instruction to the second system-on-chip, wherein the normal starting instruction is used for indicating the second system-on-chip to execute the starting operation of the second operating system.
If the factory resetting condition includes a factory resetting condition, when the first trigger operation does not satisfy the factory resetting condition, the first system on chip may consider that the display device does not need to perform an operation of resetting the factory setting. Therefore, the first system-on-chip executes the starting operation of the first operating system and sends a normal starting instruction to the second system-on-chip, and the second system-on-chip executes the starting operation of the second operating system, so that the first system-on-chip and the second system-on-chip can execute the starting operation almost at the same time.
If the factory resetting condition includes a plurality of factory resetting conditions, when the first trigger operation does not satisfy any of the reference conditions, the first system on chip may consider that the display device does not need to perform an operation of resetting the factory. Therefore, the first system-on-chip executes the starting operation of the first operating system and sends a normal starting instruction to the second system-on-chip, and the second system-on-chip executes the starting operation of the second operating system, so that the first system-on-chip and the second system-on-chip can execute the starting operation almost at the same time.
For example, the factory resetting condition includes two factory resetting conditions, when the first trigger operation neither meets the first factory resetting condition nor the second factory resetting condition, the first system-on-chip executes the start operation of the first operating system, and sends a normal start instruction to the second system-on-chip, and the second system-on-chip executes the start operation of the second operating system.
After the first system-on-chip sends a normal starting instruction to the second system-on-chip, the second system-on-chip stops timing operation after receiving the normal starting instruction and executes the starting operation of the second operating system.
The second system-on-chip receives the normal starting instruction, which means that the first trigger operation does not meet the factory reset condition, that is, the display device does not need to execute the factory reset operation, and the second system-on-chip executes the starting operation of the second operating system.
Wherein the second system-on-chip performs a timing operation during the first system-on-chip further determines whether the display device is to perform an operation of restoring factory settings. That is, the second soc still performs the timing operation when receiving the normal start instruction, but it may be determined that the operation of restoring the factory setting is not required to be performed at this time, and therefore the timing operation may be stopped without continuing the timing operation, and the start operation of the second os is executed instead. That is, if the second soc does not receive the normal start instruction before the timing is finished, the second os performs an operation of restoring the factory setting.
For example, when the factory resetting condition includes a factory resetting condition, and the factory resetting condition is the first factory resetting condition, when the second soc receives a normal start instruction, which indicates that the duration of the first trigger operation is less than the first time threshold, the display device does not need to perform an operation of resetting the factory setting, and at this time, the second soc first stops the timing operation and then performs the start operation.
In this embodiment of the application, when a first system on chip of a display device detects a first trigger operation, it indicates that the display device is likely to perform an operation of restoring factory settings, at this time, the first system on chip sends a timing instruction to a second system on chip of the display device to instruct the second system on chip to wait for a period of time, the second system on chip triggers a timer to start timing after receiving the timing instruction, when receiving a timing end instruction of the timer, it indicates that factory settings need to be restored for a second operating system, and at this time, the second system on chip performs an operation of restoring factory settings of the second operating system. For the first system-on-chip, if the first trigger operation meets the factory-reset condition, it indicates that factory-reset needs to be performed on the first operating system, and at this time, the first system-on-chip executes the factory-reset operation of the first operating system. Thus, the first system-on-chip may determine whether the factory reset operation needs to be executed by setting the first trigger operation and the factory reset condition, and the second system-on-chip may determine whether the factory reset operation needs to be executed based on whether a timing end instruction of the timer is received after receiving the timing instruction of the first system-on-chip, thereby implementing factory reset control of the plurality of operating systems of the display device.
As an example, an embodiment of the present application further provides a control method of an operating system, where the method may be applied to the display device, and the method may include the following steps:
step A1: and if the first system-on-chip detects the first trigger operation, sending a timing instruction to the second system-on-chip.
The specific implementation of this can be seen in step 201 in the above embodiment shown in fig. 2.
Step A2: and the second system-on-chip triggers a timer to start timing according to the timing instruction after receiving the timing instruction, and executes the operation of restoring factory settings of the second operating system when receiving a timing ending instruction of the timer.
The specific implementation of which can be seen in step 202 in the above embodiment shown in fig. 2.
Step A3: and if the first trigger operation meets factory reset conditions, executing factory reset operation of the first operating system by the first system-on-chip.
During the time period when the second soc executes the timing operation, the first soc needs to further determine the first trigger operation, that is, determine whether the first trigger operation meets the factory reset condition, so as to determine whether the display device executes the factory reset operation.
In this embodiment, the factory reset condition includes one of the following conditions:
the first method comprises the following steps: when the duration of the first trigger operation reaches a first time threshold, the first system-on-chip determines that the first trigger operation meets the factory reset condition, and the first time threshold is greater than or equal to the timing duration of the timer.
The first time threshold may be set according to an actual situation, and it should be noted that the first time threshold is greater than or equal to the timing time of the timer.
And the second method comprises the following steps: and when the continuous triggering times of the first triggering operation reach a triggering time threshold value, the first system-on-chip determines that the first triggering operation meets the factory resetting condition.
The triggering time threshold may be set according to actual conditions.
And the third is that: and when a second trigger operation is detected within a second time length threshold value after the first trigger operation, the first system on chip determines that the first trigger operation meets the factory reset condition, and the second trigger operation is different from the first trigger operation.
The second duration threshold may be set according to actual requirements.
The second trigger operation may be an operation triggered by a user based on a certain local key, such as clicking a certain local key, double-clicking a certain local key, long-pressing a certain local key, and the like. It should be noted that the local key corresponding to the second trigger operation should be different from the local key corresponding to the first trigger operation.
The specific implementation of this can be seen in step 203 in the embodiment shown in fig. 2.
In this embodiment of the application, when a first system on chip of a display device detects a first trigger operation, it indicates that the display device is likely to perform an operation of restoring factory settings, at this time, the first system on chip sends a timing instruction to a second system on chip of the display device to instruct the second system on chip to wait for a period of time, the second system on chip triggers a timer to start timing according to the timing instruction after receiving the timing instruction, when receiving a timing end instruction of the timer, it indicates that factory settings need to be restored for a second operating system, and at this time, the second system on chip performs an operation of restoring factory settings of the second operating system. For the first system-on-chip, if the first trigger operation meets the factory-reset condition, it indicates that factory-reset needs to be performed on the first operating system, and at this time, the first system-on-chip executes the factory-reset operation of the first operating system. Thus, the first system-on-chip may determine whether the factory reset operation needs to be executed by setting the first trigger operation and the factory reset condition, and the second system-on-chip may determine whether the factory reset operation needs to be executed based on whether a timing end instruction of the timer is received after receiving the timing instruction of the first system-on-chip, thereby implementing factory reset control of the plurality of operating systems of the display device.
Fig. 3 is a schematic structural diagram of a system-on-chip 300 according to an embodiment of the present disclosure, where the system-on-chip 300 may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 301 and one or more memories 302, where the memories 302 store at least one instruction, and the at least one instruction is loaded and executed by the processors 301 to implement the steps executed by the first system-on-chip in the above embodiments, or implement the steps executed by the second system-on-chip in the above embodiments.
Of course, the soc 300 may further include components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output, and the soc 300 may further include other components for implementing device functions, which are not described herein.
An embodiment of the present application further provides a computer-readable storage medium, where when instructions in the computer-readable storage medium are executed by a processor of a soc, the soc is enabled to implement the steps executed by the first soc in the above embodiments, or implement the steps executed by the second soc in the above embodiments.
Embodiments of the present application further provide a program product including instructions, which, when running on a soc, causes the soc to perform the steps performed by the first soc in the above embodiments, or perform the steps performed by the second soc in the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A display device is characterized by comprising a first system-on-chip and a second system-on-chip, wherein communication connection is established between the first system-on-chip and the second system-on-chip;
if the first system-on-chip detects a first trigger operation, sending a timing instruction to the second system-on-chip;
the second system-on-chip triggers the timer to start timing according to the timing instruction after receiving the timing instruction, and executes the operation of restoring factory settings of the second operating system when receiving the timing ending instruction of the timer;
and if the first trigger operation meets factory reset conditions, executing factory reset operation of the first operating system by the first system-on-chip.
2. The display device according to claim 1, wherein before the first system-on-chip executes an operation of factory reset of the first operating system if the first trigger operation satisfies a factory reset condition, the method further includes:
when the continuous trigger duration of the first trigger operation reaches a first duration threshold, the first system-on-chip determines that the first trigger operation meets the factory reset condition, and the first duration threshold is greater than or equal to the timing duration of the timer; alternatively, the first and second electrodes may be,
when the continuous triggering times of the first triggering operation reach a triggering time threshold value, the first system-on-chip determines that the first triggering operation meets the factory resetting condition; alternatively, the first and second electrodes may be,
when a second trigger operation is detected within a second time length threshold value after the first trigger operation, the first system on chip determines that the first trigger operation meets the factory reset condition, and the second trigger operation is different from the first trigger operation.
3. The display device according to claim 1 or 2, wherein after the first system-on-chip detects the first trigger operation, the method further comprises:
if the first trigger operation does not meet the factory reset condition, the first system-on-chip executes a starting operation of the first operating system;
and the first system-on-chip sends a normal starting instruction to the second system-on-chip, wherein the normal starting instruction is used for indicating the second system-on-chip to execute the starting operation of the second operating system.
4. The display device of claim 3, wherein after the first SOC chip sends a normal boot instruction to the second SOC chip, the method further comprises:
and the second system-on-chip stops timing operation after receiving the normal starting instruction and executes the starting operation of the second operating system.
5. The display device according to claim 1, wherein after the first system-on-chip performs an operation of restoring factory settings of the first operating system, the method further comprises:
if a first restore completion instruction sent by the second system-on-chip is received before the first system-on-chip completes the operation of restoring the factory settings, executing the start operation of the first operating system when the first system-on-chip completes the operation of restoring the factory settings, wherein the first restore completion instruction is used for indicating that the second system-on-chip has completed the operation of restoring the factory settings of the second operating system.
6. The display device of claim 5, wherein the method further comprises:
if a first recovery completion instruction sent by the second system-on-chip is not received before the first system-on-chip completes the factory restoration setting, the starting operation of the first operating system is not executed when the first system-on-chip completes the factory restoration setting operation until the starting operation of the first operating system is executed when the first recovery completion instruction sent by the second system-on-chip is received.
7. The display device of claim 5 or 6, wherein the method further comprises:
and after the first system-on-chip finishes the operation of factory setting restoration, sending a second restoration completion instruction to the second system-on-chip, wherein the second restoration completion instruction is used for indicating that the first system-on-chip finishes the operation of factory setting restoration of the first operating system.
8. A control method of an operating system is applied to a display device, wherein the display device comprises a first system-on-chip and a second system-on-chip, which are established with communication connection, the first system-on-chip is used for running a first operating system, the second system-on-chip is used for running a second operating system, and the second system-on-chip is provided with a timer, and the method comprises the following steps:
if the first system-on-chip detects a first trigger operation, sending a timing instruction to the second system-on-chip;
the second system-on-chip triggers the timer to start timing according to the timing instruction after receiving the timing instruction, and executes the operation of restoring factory settings of the second operating system when receiving the timing ending instruction of the timer;
and if the first trigger operation meets factory reset conditions, executing factory reset operation of the first operating system by the first system-on-chip.
9. The method of claim 8, wherein before the first system-on-chip executes the operation of factory reset of the first operating system if the first trigger operation meets a factory reset condition, the method further comprises:
when the continuous trigger duration of the first trigger operation reaches a first duration threshold, the first system-on-chip determines that the first trigger operation meets the factory reset condition, and the first duration threshold is greater than or equal to the timing duration of the timer; alternatively, the first and second electrodes may be,
when the continuous triggering times of the first triggering operation reach a triggering time threshold value, the first system-on-chip determines that the first triggering operation meets the factory resetting condition; alternatively, the first and second electrodes may be,
when a second trigger operation is detected within a second time length threshold value after the first trigger operation, the first system on chip determines that the first trigger operation meets the factory reset condition, and the second trigger operation is different from the first trigger operation.
10. A system-on-chip, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps performed by the first system-on-chip of any one of claims 1-7 or to implement the steps performed by the second system-on-chip of any one of claims 1-7.
CN201910912671.8A 2019-09-25 2019-09-25 Display device, control method of operating system and system-on-chip Active CN110703891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910912671.8A CN110703891B (en) 2019-09-25 2019-09-25 Display device, control method of operating system and system-on-chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910912671.8A CN110703891B (en) 2019-09-25 2019-09-25 Display device, control method of operating system and system-on-chip

Publications (2)

Publication Number Publication Date
CN110703891A true CN110703891A (en) 2020-01-17
CN110703891B CN110703891B (en) 2021-06-01

Family

ID=69197837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910912671.8A Active CN110703891B (en) 2019-09-25 2019-09-25 Display device, control method of operating system and system-on-chip

Country Status (1)

Country Link
CN (1) CN110703891B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360725A (en) * 2014-12-05 2015-02-18 上海斐讯数据通信技术有限公司 Dual-SoC (System on Chip) resetting system and method
US20150317181A1 (en) * 2014-04-30 2015-11-05 Acer Incorporated Operating system switching method
CN105718010A (en) * 2016-01-27 2016-06-29 山西时代云科技有限公司 Method for restoring factory settings
CN107918567A (en) * 2017-10-20 2018-04-17 广州视源电子科技股份有限公司 Method, system, readable storage medium storing program for executing and the electronic equipment of factory reset
CN108873861A (en) * 2018-06-11 2018-11-23 广州视源电子科技股份有限公司 Method, apparatus, equipment and the storage medium of factory reset
CN109117205A (en) * 2018-07-23 2019-01-01 北京大恒图像视觉有限公司 A kind of dual chip loading method based on MCU and FPGA
CN109246297A (en) * 2018-08-29 2019-01-18 厦门市美亚柏科信息股份有限公司 A kind of method, apparatus and storage medium of determining mobile terminal factory reset time

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150317181A1 (en) * 2014-04-30 2015-11-05 Acer Incorporated Operating system switching method
CN104360725A (en) * 2014-12-05 2015-02-18 上海斐讯数据通信技术有限公司 Dual-SoC (System on Chip) resetting system and method
CN105718010A (en) * 2016-01-27 2016-06-29 山西时代云科技有限公司 Method for restoring factory settings
CN107918567A (en) * 2017-10-20 2018-04-17 广州视源电子科技股份有限公司 Method, system, readable storage medium storing program for executing and the electronic equipment of factory reset
CN108873861A (en) * 2018-06-11 2018-11-23 广州视源电子科技股份有限公司 Method, apparatus, equipment and the storage medium of factory reset
CN109117205A (en) * 2018-07-23 2019-01-01 北京大恒图像视觉有限公司 A kind of dual chip loading method based on MCU and FPGA
CN109246297A (en) * 2018-08-29 2019-01-18 厦门市美亚柏科信息股份有限公司 A kind of method, apparatus and storage medium of determining mobile terminal factory reset time

Also Published As

Publication number Publication date
CN110703891B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US9489213B2 (en) Shutdown method, startup method, and communication terminal
US20180113764A1 (en) Hypervisor Based Watchdog Timer
CN107025152B (en) Data synchronization method of double-redundancy hot backup equipment based on task level
US7428660B2 (en) Starting control method, duplex platform system, and information processor
CN112835839A (en) PCIe interface device enumeration method, PCIe interface device enumeration apparatus, PCIe interface device and PCIe interface storage medium
WO2020093868A1 (en) Multi-core chip, system and method therefor, and storage medium
CN102375759B (en) Utilize the method that finite state machine prevents code rewriting
JP6942458B2 (en) Programs, systems and information processing methods
CN110703891B (en) Display device, control method of operating system and system-on-chip
CN103890713A (en) Apparatus and method for managing register information in a processing system
CN105138323A (en) Information processing method and electronic equipment
CN110192183B (en) Computer device, task starting method, and computer-readable storage medium
CN1581079B (en) Network server down auto-reset method and system
CN103488387B (en) A kind of method of information processing and a kind of electronic equipment
CN111708579A (en) Operating system setting recovery method, device, equipment and storage medium
US20140164755A1 (en) External electronic device
US9733947B2 (en) Method of proactively event triggering and related computer system
CN110389705B (en) Computer device, server device, and method for controlling hybrid memory unit thereof
JPH10207586A (en) Power-off control system for computer
CN112805978A (en) Enhanced anchor protocol for event stream processing
US11803491B1 (en) Method for controlling a target memory by programmably selecting an action execution circuit module corresponding to a triggered preset state
CN101930374B (en) Peripheral control module, computer system and operating method of computer system
CN109992389B (en) Method and device for executing touch program, terminal and storage medium
CN117235004A (en) Control method and device of server, terminal equipment and readable storage medium
JPH1083232A (en) Automatic power-off method and information processor using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant