CN113342486A - Electronic device, control method, control system, and storage medium - Google Patents

Electronic device, control method, control system, and storage medium Download PDF

Info

Publication number
CN113342486A
CN113342486A CN202110551377.6A CN202110551377A CN113342486A CN 113342486 A CN113342486 A CN 113342486A CN 202110551377 A CN202110551377 A CN 202110551377A CN 113342486 A CN113342486 A CN 113342486A
Authority
CN
China
Prior art keywords
controller
state
target application
application program
electronic device
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
CN202110551377.6A
Other languages
Chinese (zh)
Other versions
CN113342486B (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.)
Shenzhen Honghe Innovation Information Technology Co Ltd
Original Assignee
Shenzhen Honghe Innovation Information Technology 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 Shenzhen Honghe Innovation Information Technology Co Ltd filed Critical Shenzhen Honghe Innovation Information Technology Co Ltd
Priority to CN202110551377.6A priority Critical patent/CN113342486B/en
Publication of CN113342486A publication Critical patent/CN113342486A/en
Application granted granted Critical
Publication of CN113342486B publication Critical patent/CN113342486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides electronic equipment and a control method, a control system and a storage medium thereof, wherein the electronic equipment comprises a control key, a first controller and a second controller, the first controller is electrically connected with the control key, the first controller is used for independently controlling the operation of a target application program, the second controller is used for controlling the operation of other application programs except the target application program, the method is applied to the first controller, and the method comprises the following steps: responding to the trigger operation of the control key, and detecting whether the trigger operation is a preset operation; and when the trigger operation is detected to be the preset operation, switching the switch state of the target application program. Because the target application program is independently operated by the first controller and other application programs are operated by the second controller, the opening and closing of the target application program are not influenced by other application programs, so that the target application program can be quickly called and closed, and the waiting time of a user is reduced.

Description

Electronic device, control method, control system, and storage medium
Technical Field
The present application relates to the field of control technologies, and in particular, to an electronic device, a control method thereof, a control system thereof, and a storage medium.
Background
With the popularization of electronic devices, people increasingly rely on application programs installed in electronic devices in production and life. When a user wants to open an application program, if the electronic device is in the power-off state, it takes a long time from the power-on of the electronic device to the opening of the application program, the user waiting time is long, and the user experience is poor. Similarly, when the user uses the application, it takes a long time from the closing of the application to the shutdown of the electronic device, and the waiting time of the user is also increased.
Disclosure of Invention
The embodiment of the application provides an electronic device, a control method, a control system and a storage medium thereof, which can realize the quick calling and closing of a target application program and reduce the waiting time of a user.
In a first aspect, an embodiment of the present application provides a method for controlling an electronic device, where the electronic device includes a control key, a power supply, a first controller and a second controller, the power supply is electrically connected to the first controller and the second controller, the first controller is electrically connected to the control key, the first controller is used to independently control the operation of a target application, and the second controller is used to control the operation of other applications except the target application, and the method is applied to the first controller, and the method includes:
responding to the trigger operation of the control key, and detecting whether the trigger operation meets a preset switching condition;
switching the on-off state of the target application program when the trigger operation is detected to meet the preset switching condition;
when the trigger operation is detected not to meet the preset switching condition, the output state of the control power supply is switched from the first output state to the second output state, and a control instruction for switching the switching states of other application programs is sent to the second controller;
one of the first output state and the second output state is to supply power to the second controller, and the other state is not to supply power to the second controller.
In a second aspect, an embodiment of the present application provides an electronic device, including:
a control key;
the first controller is electrically connected with the control key and is used for executing the control method of the electronic equipment provided by the first aspect;
the second controller is used for controlling the running of other application programs except the target application program installed on the electronic equipment;
and the power supply is electrically connected with the first controller and the second controller respectively and used for supplying power to the second controller under the control of the first controller.
In a third aspect, an embodiment of the present application provides a control system of an electronic device, where the control system includes a first controller and a second controller, both the first controller and the second controller are electrically connected to a power supply of the electronic device, and the first controller is electrically connected to a control button of the electronic device, where:
the first controller is configured to: responding to the trigger operation of the control key, and detecting whether the trigger operation meets a preset switching condition; switching the on-off state of the target application program when the trigger operation is detected to meet the preset switching condition; when the trigger operation is detected not to meet the preset switching condition, the output state of the control power supply is switched from the first output state to the second output state, and a control instruction for switching the switching states of other application programs is sent to the second controller; one of the first output state and the second output state supplies power to the second controller, and the other state does not supply power to the second controller;
the second controller is configured to: and switching the switch states of the other application programs in response to a control instruction for switching the switch states of the other application programs.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the control method for an electronic device as provided in the first aspect.
The electronic equipment comprises a control key, a power supply, a first controller and a second controller, wherein the power supply is electrically connected with the first controller and the second controller respectively, the first controller is electrically connected with the control key, the first controller is used for independently controlling the operation of a target application program, the second controller is used for controlling the operation of other application programs except the target application program, and the method is applied to the first controller and comprises the following steps: responding to the trigger operation of the control key, and detecting whether the trigger operation meets a preset switching condition; switching the on-off state of the target application program when the trigger operation is detected to meet the preset switching condition; when the trigger operation is detected not to meet the preset switching condition, the output state of the control power supply is switched from the first output state to the second output state, and a control instruction for switching the switching states of other application programs is sent to the second controller; one of the first output state and the second output state is to supply power to the second controller, and the other state is not to supply power to the second controller. Because the target application program is independently operated by the first controller, other application programs are operated by the second controller, and when the trigger operation of the control key is detected to meet the preset switching condition, the target application program is opened or closed only by the first controller, so that the opening and closing of the target application program are not influenced by other application programs (such as a starting bootstrap program and an opening operating system program of the electronic equipment), namely other application programs are not required to be opened or closed, the target application program can be quickly called and closed, and the waiting time of a user is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a control method of an electronic device according to another embodiment of the present application;
fig. 4 is a flowchart illustrating a control method of an electronic device according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to yet another embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to yet another embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to yet another embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Before explaining the technical solutions provided by the embodiments of the present application, in order to facilitate understanding of the embodiments of the present application, the present application first specifically explains the problems existing in the prior art:
as described above, the inventor of the present application finds that, when a user wants to open an application, if the electronic device is in the power-off state, it takes a long time from the power-on of the electronic device to the opening of the application, and the user has a long waiting time and a poor user experience. Similarly, when the user uses the application, it takes a long time from the closing of the application to the shutdown of the electronic device, and the waiting time of the user is also increased.
For example, in a teaching or conference scenario, if a user wants to open teaching software or conference software installed in an electronic device (e.g., whiteboard software capable of supporting writing input), the user needs to open the teaching software or the conference software after the electronic device runs a boot program and an operating system (e.g., an android operating system or a windows operating system) program. The process from the starting of the electronic equipment to the opening of the whiteboard software usually takes more than 10 seconds, the waiting time of a user is long, and the user experience is poor. Likewise, when the user runs out of the whiteboard software and wants to turn off the electronic apparatus, the electronic apparatus needs to turn off not only the whiteboard software but also the operating system, which also takes a long time. If the electronic device runs more than one operating system, for example, the android operating system and the OPS operating system, the shutdown time is longer.
After the research of the inventors of the present application, it was finally found that the main reasons causing the above technical problems are: in the related art, the target application and some non-target applications (such as a boot loader and an operating system startup program) are controlled by a controller, the controller usually runs the boot loader and the operating system startup program before starting the target application, and the controller starts the target application only after the boot loader and the operating system startup program are run. That is, in the related art, the time taken to open the target application is at least the sum of the time taken to run the boot loader, run the open operating system program, and open the target application, so the process from the boot of the electronic device to the opening of the target application takes a long time, resulting in poor user experience.
In view of the above research by the inventors, embodiments of the present application provide an electronic device, a control method thereof, a control system, and a storage medium, which can solve the above technical problems in the prior art.
The technical idea of the embodiment of the application is as follows: the operation of the target application is independently controlled by the first controller, and the operation of other applications except the target application is controlled by the second controller. And when the triggering operation of the control key is detected to meet the preset switching condition, the target application program is opened or closed only through the first controller. Therefore, the opening and closing of the target application program are not influenced by other application programs, namely other application programs do not need to be opened or closed, so that the target application program can be quickly called and closed, and the waiting time of a user is reduced.
Before describing the control method of the electronic device provided in the embodiment of the present application, first, a brief description is given below of the electronic device provided in the embodiment of the present application.
As shown in fig. 1, an electronic device 10 provided in the embodiment of the present application includes the following components:
a control button 101;
the first controller 102, the first controller 102 is electrically connected with the control key 101, and is used for independently controlling the operation of the target application program;
a second controller 103 for controlling the operation of other applications installed on the electronic device except for the target application;
and the power supply 104 is electrically connected with the first controller and the second controller respectively and used for supplying power to the second controller under the control of the first controller.
It should be noted that the target application may be any application, such as the whiteboard software described above, and may be flexibly adjusted according to the actual situation, which is not limited in this application.
The following describes a control method of an electronic device provided in an embodiment of the present application.
Fig. 2 is a flowchart illustrating a control method of an electronic device according to an embodiment of the present application. As shown in fig. 2, the method may include the steps of:
s101, responding to the trigger operation of the control key, and detecting whether the trigger operation meets a preset switching condition.
In some embodiments, the user may effect the opening and closing of the target application by pressing control key 101. Specifically, the first controller 102 is configured to monitor a state of the control key 101, and when it is monitored that a trigger operation occurs in the control key 101 (that is, the control key 101 is pressed), the first controller 102 detects whether the trigger operation satisfies a preset switching condition. As an example, the preset switching condition may include that the number of times the control key 101 is pressed within a preset time period is greater than or equal to a preset number of times. For example, in a specific embodiment, the preset time period is one second, and the preset number of times is 2 times, and it is determined that the preset switching condition is satisfied when the number of times that the control key 101 is pressed within one second reaches two or more times. Of course, the preset switching condition may also include other preset conditions, and the application is not limited thereto. For example, in some embodiments, the preset switching condition is that the time for pressing the control key 101 for a long time reaches a preset trigger time. Taking the preset trigger time as 2 seconds as an example, when the pressing time of the control key 101 lasts at least 2 seconds, it is determined that the preset switching condition is satisfied.
In practical applications, the first controller 102 monitors the state of the control button 101 in real time. For example, taking the preset switching condition as the example that the number of times that the control key 101 is pressed within one second is equal to two, when it is detected that the control key 101 is pressed, the first controller 102 detects whether the control key 101 is pressed again within one second. If the control key 101 is detected to be pressed again within one second, it is determined that the trigger operation satisfies the preset switching condition, and S102 is executed. If the control key 101 is not pressed again after being pressed once in one second, it is determined that the trigger operation does not satisfy the preset switching condition, and S103 is executed.
And S102, switching the on-off state of the target application program when the trigger operation is detected to meet the preset switching condition.
As shown in fig. 3, in some embodiments, S102 may specifically include the following steps:
and S1021, when the trigger operation is detected to meet the preset switching condition, acquiring a first switch state of the target application program.
As previously mentioned, the target application may be any application, and any application may be understood as any one application or any plurality of applications. Illustratively, the target application is, for example, whiteboard software supporting writing input, which is not limited in this application.
Specifically, in S1021, when it is detected that the trigger operation satisfies the preset switching condition, for example, it is detected that the number of times that the control key 101 is pressed within one second reaches two, the first controller 102 may acquire the first switch state of the target application program. The first switch state of the target application may include that the target application is in an on state or the target application is in an off state. It will be readily appreciated that the target application being in an open state may be understood that the first controller 102 is running the target application, and that the target application being in a closed state may be understood that the first controller 102 is not running the target application. In practical applications, the first controller 102 determines the first switch state of the target application by determining whether it is running the target application. For example, when the first controller 102 detects that it is running the target application, it determines that the first switch state of the target application is the target application in the on state. In contrast, when the first controller 102 detects that the target application is not running, it determines that the first switch state of the target application is the target application in the off state. The first switch state of the target application is acquired in S1021 to prepare for switching the switch state of the target application in the next step.
And S1022, switching the target application program from the first switch state to the second switch state.
In the embodiment of the present application, the second switching state is opposite to the first switching state. It is easily understood that if the first switch state is that the target application is in the on state, the second switch state is that the target application is in the off state. And if the first switch state is that the target application program is in a closed state, the second switch state is that the target application program is in an open state.
That is, when it is detected that the trigger operation satisfies the preset switching condition, the first controller 102 detects the on-off state of the target application. If the target application program is detected to be in a closed state, starting the target application program; and if the target application program is detected to be in the opening state, closing the target application program, so that the opening or closing of the target application program is realized.
In the embodiment of the present application, the control key 101 may be used not only as a key for controlling the opening and closing of the target application, but also as a key for controlling the second controller 103 to open or close other applications besides the target application. The other applications (simply referred to as "other applications") other than the target application include, but are not limited to, a boot program of the electronic device, a startup operating system program, and/or any other applications running in the electronic device other than the target application.
Specifically, in S103, when it is detected that the trigger operation does not satisfy the preset switching condition, for example, it is detected that the number of times that the control key 101 is pressed in one second does not reach two times, the output state of the power supply 104 may be controlled to be switched from the first output state to the second output state, and a control instruction for switching the on/off states of the other applications may be sent to the second controller 103. One of the first output state and the second output state is that the power supply 104 supplies power to the second controller 102, i.e., the power supply 104 outputs current to the second controller 102, and the other state is that the power supply 104 does not supply power to the second controller 102, i.e., the power supply 104 does not output current to the second controller 102. For example, the first output state is that the power supply 104 supplies power to the second controller 102, and the second output state is that the power supply 104 does not supply power to the second controller 102. Alternatively, the first output state is that the power supply 104 does not supply power to the second controller 102, and the second output state is that the power supply 104 supplies power to the second controller 102.
As shown in fig. 4, in some embodiments, S103 may specifically include steps S1031, S1032, and S1033.
And S1031, when detecting that the trigger operation does not meet the preset switching condition, detecting the switch states of other application programs. The switch states of the other applications include other applications off and other applications on. Other application shutdown may be understood as the second controller 103 not running other applications, and other application startup may be understood as the second controller 103 running other applications. Specifically, when it is detected that the trigger operation does not satisfy the preset switching condition, for example, it is detected that the number of times that the control key 101 is pressed in one second does not reach two times, the first controller 102 may detect whether the second controller 103 runs other applications, that is, detect the on-off states of other applications. In some specific embodiments, when it is detected that the trigger operation does not satisfy the preset switching condition, the first controller 102 may send an inquiry state instruction to the second controller 103, where the inquiry state instruction is used to inquire a working state of the second controller 103, and if response information of the inquiry state instruction fed back by the second controller 103 is received within a preset time, it indicates that the second controller 103 is working, that is, the second controller 103 is running other application programs, so as to determine that the switching state of the other application programs is that the other application programs are turned on; on the contrary, if the response information of the query status instruction fed back by the second controller 103 is not received within the preset time, it indicates that the second controller 103 is not working, that is, the second controller 103 does not run other application programs, so that it is determined that the switch status of the other application programs is off.
In other specific embodiments, when it is detected that the trigger operation does not satisfy the preset switching condition, the first controller 102 may also determine that the switch state of the other application is the other application on or the other application off by detecting the output state of the power supply 104. For example, when the output state of the power supply 104 is detected that the power supply 104 supplies power to the second controller 103, it indicates that the second controller 103 is operating, that is, the second controller 103 is running other application programs, so as to determine that the switch state of the other application programs is that the other application programs are turned on; on the contrary, when the output state of the power supply 104 is detected that the power supply 104 does not supply power to the second controller 103, it indicates that the second controller 103 is not operating, that is, the second controller 103 does not run other application programs, so that it is determined that the switch state of the other application programs is off. Of course, the on-off state of other applications may be detected in other manners, and the present application is not limited to the above two manners.
S1032, when the on-off state of the other application program is that the other application program is turned off, controlling the power supply 104 to supply power to the second controller 103, and sending an on instruction to the second controller 103, where the on instruction is used to instruct the second controller 103 to turn on the other application program.
Specifically, when it is detected that the second controller 103 does not run other application programs, for example, the second controller 103 is in a power-off state or a sleep state, the first controller 102 controls the power supply 104 to supply power to the second controller 103 and sends a turn-on instruction to the second controller 103. The start instruction is used to instruct the second controller 103 to start (run) other application programs, so that the second controller 103 runs other application programs except the target application program, that is, theoretical "start-up" is realized.
And S1033, controlling the power supply to stop supplying power to the second controller when the switch state of the other application program is that the other application program is started.
In some embodiments, in order to enable the target application to be turned on or off and the non-target application to be turned on or off by the same control key, in S1033, in the case that the switch state of the other application is that the other application is turned on, for example, when it is detected that the other application is running on the second controller 103, the first controller 102 controls the power supply 104 to stop supplying power to the second controller 103, so as to enable the second controller 103 to be turned off.
Therefore, the target application program can be opened or closed and the non-target application program can be opened or closed only by the same control key, the operation of a user is convenient, and the hardware cost can be saved. When the trigger operation of the control key is detected to meet the preset switching condition, the target application program is opened or closed only through the first controller, so that the opening and closing of the target application program are not influenced by 'starting' and 'closing', namely other application programs do not need to be opened or closed simultaneously when the target application program is opened or closed, the target application program can be quickly called and closed, and the waiting time of a user is reduced.
For example, when the preset switching condition is that the number of times that the control key 101 is pressed within one second is equal to two, in the starting process, if the user presses the control key 101 twice within one second, the first controller 102 quickly starts the target application program; if the user presses the control button 101 once in one second, the second controller 103 starts other applications. In the shutdown process, if the user presses the control key 101 twice within one second, the first controller 102 quickly shuts down the target application program; if the user presses the control button 101 once in one second, the second controller 103 closes the other application.
In other embodiments, in order to avoid the shutdown of other application programs due to a user misoperation, in S1033, when the switch state of the other application program is that the other application program is turned on, for example, when it is detected that the second controller 103 is running the other application program, no processing may be performed on the power supply 104 and the second controller 103, that is, the power supply 104 and the second controller 103 remain the same, the power supply 104 still supplies power to the second controller 103, and the second controller 103 still runs the other application program, which is not limited in this application. In this way, the user can be prevented from mistakenly closing other applications without being familiar with the operation. For example, taking the preset switching condition, for example, that the number of times that the control key 101 is pressed within one second is equal to 2, for example, after the user uses the target application, the user only wants to close the target application and does not want to close other applications, but since the user is not familiar with the shutdown operation, the user only presses the control key 101 once within one second, and then other applications will be closed according to the embodiments provided in some embodiments. And through the implementation provided by other embodiments, the user can be prevented from mistakenly closing other application programs under the condition of unfamiliar operation.
To reduce user operations when turning on or off a target application, in some embodiments, the control key 101 used to turn on or off the target application may be shared with a power switch key of the electronic device, i.e., the control key 101 may be a power switch key of the electronic device.
As shown in fig. 5, the electronic device 10 may further include a driver 105 and a display screen 106, wherein:
the driver 105 is electrically connected to the first controller 102, the second controller 103, the power supply 104, and the display screen 106, respectively, and is configured to receive the first image data sent by the first controller 102 or the second image data sent by the second controller 103 and convert the first image data or the second image data into display data capable of being displayed by the display screen 106. The first image data may include image data to be displayed of a target application program, and the second image data may include image data to be displayed of other application programs. The image data to be displayed is pixel data of an image to be displayed.
Specifically, in S102, when it is detected that the trigger operation satisfies the preset switching condition, a first switch state of the target application program is acquired. If the first switch state is that the target application is in the off state, the first controller 102 turns on the target application and controls the power supply 104 to supply power to the driver 105 and the display screen 106. The driver 105 receives the first image data sent by the first controller 102 and converts the first image data into display data that can be displayed by the display screen 106, thereby implementing the display of the target application. If the first switch state is that the target application is in the on state, the first controller 102 turns off the target application and controls the power supply 104 to stop supplying power to the driver 105 and the display screen 106.
Therefore, when the control key 101 and the power switch key are shared, and the target application program is in the off state, the user can start the target application program and simultaneously power on the display screen and display the running picture of the target application program by only pressing the power switch key, namely, the target application program is quickly called and displayed. Similarly, when the target application program is in the on state, the user only needs to press the power switch key to turn off the target application program, and the display screen can be powered off and stop displaying the running picture of the target application program, namely, the target application program and the display screen are quickly turned off.
Similarly, in S1031 to S1033, in the case that it is detected that the trigger operation does not satisfy the preset switching condition, when the first controller 102 detects that the second controller 103 does not run other application programs, for example, the second controller 103 is in a power-off state or a sleep state, the first controller 102 controls the power supply 104 to supply power to the second controller 103, the driver 105 and the display screen 106, and sends a turn-on instruction to the second controller 103, and the second controller 103 runs other application programs except the target application program. The driver 105 receives the second image data sent by the second controller 103 and converts the second image data into display data that can be displayed by the display screen 106, thereby implementing the display of other applications. Under the condition that the trigger operation is detected not to meet the preset switching condition, when the first controller 102 detects that the second controller 103 is running other application programs, the first controller 102 controls the power supply 104 to stop supplying power to the second controller 103, the driver 105 and the display screen 106, so that the electronic device is turned off or enters a dormant state.
Since the turning on and off of the target application is no longer affected by other applications, when the user uses only the target application on the electronic device, the other applications may not be turned on, i.e., the second controller 103 may be always in the off state or the hibernation state. Therefore, when the system is shut down, only the target application program is needed to be closed, other application programs do not need to be closed again or a shutdown bootstrap program does not need to be operated, the rapid shutdown is realized, and the waiting time of a user is reduced.
In order to facilitate the control target application program to execute various functions, as shown in fig. 6, in some embodiments, the electronic device 10 provided in the embodiment of the present application may further include:
the touch module 107, the touch module 107 is connected to the first controller 102, and is configured to receive a touch input of a user and feed the touch input back to the first controller 102. The first controller 102 is also configured to respond to a received touch input. Specifically, after the first controller 102 receives the touch input, the first controller 102 detects the on/off state of the target application. When the target application is in the closed state, the touch input is sent to the second controller 103, so that the second controller 103 controls other applications to execute the operation corresponding to the input information according to the input information of the touch input. When the target application is in an open state, the first controller 102 controls the target application to execute an operation corresponding to the input information according to the input information input by touch.
Correspondingly, the method for controlling the electronic device provided by the embodiment of the application may further include: receiving touch input of a user; responding to the touch input, and detecting the switch state of the target application program; when the target application program is in a closed state, sending the touch input to the second controller 103; and when the target application program is in an open state, controlling the target application program to execute the operation corresponding to the information indicated by the touch input according to the information indicated by the touch input.
It should be noted that the first controller 102 may be configured to execute the control method of the electronic device provided in the foregoing embodiment, that is, the first controller 102 may implement the functions of each step in the control method of the electronic device provided in the foregoing embodiment, and can achieve the corresponding technical effects.
It should be noted that the first controller 102 and the second controller 103 may be integrated in different chips, and the first controller 102 and the second controller 103 may also be integrated in different partitions of the same chip, which is not limited in this application.
As shown in fig. 7, the electronic device 10 provided in the embodiment of the present application may include a first chip 61 and a second chip 62, where a first controller 102 is integrated in the first chip 61, and a second controller 103 is integrated in the second chip 62. As an example, the electronic device 10 may include a first wiring board P1 and a second wiring board P2, the first wiring board P1 being a wiring board on which the driver 105 is located, the second wiring board P2 being electrically connected to the display screen 106 through the first wiring board P1. The second controller 103 (the second chip 62) may be disposed on the second wiring board P2, and the first controller 102 (the first chip 61) may be disposed on the first wiring board P1.
As another example, as shown in fig. 8, unlike fig. 7, the first controller 102 (the first chip 61) may be provided on the second wiring board P2.
It should be noted that the first controller 102 (the first chip 61) may also be disposed on any other circuit board (such as a plug-in circuit board) instead of the first circuit board P1 or the second circuit board P2, and the functions of the steps in the control method of the electronic device provided in the above embodiment may also be implemented, and the corresponding technical effects may be achieved.
As a further example, as shown in fig. 9, unlike fig. 7 and 8, the first controller 102 and the second controller 103 may also be integrated in different partitions of the same chip. Specifically, the electronic device 10 provided in the embodiment of the present application may include the third chip 81, the first controller 102 is integrated in the first partition 81a of the third chip 81, and the second controller is integrated in the second partition 81b of the third chip 81. That is, the third chip 81 may be partitioned, and the first controller 102 and the second controller 103 are respectively integrated in different partitions of the same chip.
In order to facilitate understanding of the embodiments of the present application, the following specifically describes the embodiments of the present application by taking the electronic device as a display device and a target application as whiteboard software used in a meeting or teaching.
In an example, the whiteboard software is an application that can support written input. The first controller 102 may control the operation of the whiteboard software, and the second controller 103 may control the operation of other applications besides the whiteboard software, for example, the second controller 103 may execute a boot program, turn on or off an operating system, and the second controller 103 may further implement at least one function of signal source switching, wireless internet access, screen projection, camera switching, and microphone switching.
When it is detected that the control key 101 is pressed, the first controller 102 detects whether the control key 101 is pressed again within one second. Acquiring the state of the whiteboard software when detecting that the control key 101 is pressed again within one second; when the whiteboard software is in the off state, the first controller 102 turns on the whiteboard software and controls the power supply 104 to supply power to the driver 105, the display screen 106 and the touch module 107. The driver 105 receives the first image data of the whiteboard software transmitted by the first controller 102, and converts the first image data into display data that can be displayed by the display screen 106, thereby implementing the display of the whiteboard software. When the whiteboard software is in the on state, the first controller 102 turns off the whiteboard software and controls the power supply 104 to stop supplying power to the driver 105, the display screen 106 and the touch module 107.
When it is detected that the control key 101 is not pressed again within one second, the on/off state of the other application is detected. When the on-off state of the other application program is that the other application program is turned off, the first controller 102 controls the power supply 104 to supply power to the second controller 103, the driver 105, the display screen 106 and the touch module 107, and sends an on instruction to the second controller 103, so that the second controller 103 turns on the other application program. The driver 105 receives the second image data of the other application program transmitted from the second controller 103 and converts the second image data into display data that can be displayed on the display screen 106, thereby realizing the display of the other application program. When the on-off state of the other application program is that the other application program is turned on, the first controller 102 controls the power supply 104 to stop supplying power to the second controller 103, the driver 105, the display screen 106 and the touch module 107, so that the electronic device is turned off or enters a sleep state.
Based on the control method of the electronic device and the electronic device in the foregoing embodiments, an embodiment of the present application further provides a control system of the electronic device, where the control system includes a first controller and a second controller, the first controller and the second controller are both electrically connected to a power supply of the electronic device, and the first controller is electrically connected to a control key of the electronic device, where:
the first controller is configured to: responding to the trigger operation of the control key, and detecting whether the trigger operation meets a preset switching condition; switching the on-off state of the target application program when the trigger operation is detected to meet the preset switching condition; when the trigger operation is detected not to meet the preset switching condition, the output state of the control power supply is switched from the first output state to the second output state, and a control instruction for switching the switching states of other application programs is sent to the second controller; one of the first output state and the second output state supplies power to the second controller, and the other state does not supply power to the second controller;
the second controller is configured to: and switching the switch states of the other application programs in response to a control instruction for switching the switch states of the other application programs.
It should be noted that the first controller in the control system of the electronic device is the first controller 102 in the above embodiment, the second controller in the control system of the electronic device is the second controller 103 in the above embodiment, and the specific steps executed by the first controller 102 and the second controller 103 are referred to above and are not described herein again.
In addition, in combination with the control method of the electronic device in the above embodiments, the embodiments of the present application may be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement a method of controlling an electronic device of any of the above embodiments. Examples of computer readable storage media include non-transitory computer readable storage media such as electronic circuits, semiconductor memory devices, ROMs, random access memories, flash memories, erasable ROMs (eroms), floppy disks, CD-ROMs, optical disks, and hard disks.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic Circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (10)

1. A control method of an electronic device, wherein the electronic device comprises a control key, a power supply, a first controller and a second controller, the power supply is electrically connected with the first controller and the second controller respectively, the first controller is electrically connected with the control key, the first controller is used for independently controlling the operation of a target application program, the second controller is used for controlling the operation of other application programs except the target application program, the method is applied to the first controller, and the method comprises the following steps:
responding to the trigger operation of the control key, and detecting whether the trigger operation meets a preset switching condition;
when the trigger operation is detected to meet the preset switching condition, switching the on-off state of the target application program;
when the trigger operation is detected not to meet the preset switching condition, controlling the output state of the power supply to be switched from a first output state to a second output state, and sending a control instruction for switching the switching states of the other application programs to the second controller;
one of the first output state and the second output state is to supply power to the second controller, and the other state is to not supply power to the second controller.
2. The control method according to claim 1, wherein switching the on-off state of the target application when it is detected that the trigger operation satisfies the preset switching condition specifically includes:
when the trigger operation is detected to meet the preset switching condition, acquiring a first switching state of the target application program;
switching the target application program from the first switch state to a second switch state;
one of the first switching state and the second switching state is an on state and the other is an off state.
3. The control method according to claim 1,
when it is detected that the trigger operation satisfies the preset switching condition, controlling the output state of the power supply to be switched from a first output state to a second output state, and sending a control instruction for switching the switch states of the other application programs to the second controller, specifically including:
when the trigger operation is detected not to meet the preset switching condition, detecting the switching states of the other application programs, wherein the switching states of the other application programs comprise the turning-off of the other application programs and the turning-on of the other application programs;
when the switch state of the other application program is that the other application program is closed, controlling the power supply to supply power to the second controller, and sending a starting instruction to the second controller, wherein the starting instruction is used for instructing the second controller to start the other application program;
and controlling the power supply to stop supplying power to the second controller when the switch state of the other application program is that the other application program is started.
4. The control method according to claim 1, wherein the preset switching condition includes that the number of times that the control key is pressed within a preset time period is greater than or equal to a preset number of times.
5. The control method according to claim 1, characterized by further comprising:
receiving touch input of a user;
detecting a switch state of the target application program in response to the touch input;
and when the target application program is in a closed state, sending the touch input to the second controller.
6. An electronic device, comprising:
a control key;
a first controller electrically connected to the control key for performing the control method of the electronic device of any one of claims 1-5;
the second controller is used for controlling the running of other application programs except the target application program installed on the electronic equipment;
and the power supply is respectively electrically connected with the first controller and the second controller and is used for supplying power to the second controller under the control of the first controller.
7. The electronic device of claim 6, further comprising:
the driver is respectively electrically connected with the first controller, the second controller and the display screen of the electronic equipment, and is used for receiving first image data sent by the first controller and second image data sent by the second controller and converting the first image data or the second image data into display data capable of being displayed by the display screen;
the first image data includes image data to be displayed of the target application program, and the second image data includes image data to be displayed of the other application programs.
8. The electronic device of claim 6, further comprising:
the touch control module is connected with the first controller and used for receiving touch control input of a user and feeding the touch control input back to the first controller;
the first controller is further configured to detect a switch state of the target application in response to the touch input, and send the touch input to the second controller when the target application is in an off state.
9. A control system of an electronic device, the control system comprising a first controller and a second controller, the first controller and the second controller being electrically connected to a power supply of the electronic device, the first controller being electrically connected to a control button of the electronic device, wherein:
the first controller is to: responding to the trigger operation of the control key, and detecting whether the trigger operation meets a preset switching condition; switching the on-off state of the target application program when the trigger operation is detected to meet the preset switching condition; when the trigger operation is detected not to meet the preset switching condition, controlling the output state of the power supply to be switched from a first output state to a second output state, and sending a control instruction for switching the switching states of other application programs to the second controller; one of the first output state and the second output state is to supply power to the second controller, and the other state is not to supply power to the second controller;
the second controller is to: and switching the switch states of the other application programs in response to a control instruction for switching the switch states of the other application programs.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method of an electronic device according to any one of claims 1 to 5.
CN202110551377.6A 2021-05-20 2021-05-20 Electronic device, control method, control system, and storage medium Active CN113342486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110551377.6A CN113342486B (en) 2021-05-20 2021-05-20 Electronic device, control method, control system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110551377.6A CN113342486B (en) 2021-05-20 2021-05-20 Electronic device, control method, control system, and storage medium

Publications (2)

Publication Number Publication Date
CN113342486A true CN113342486A (en) 2021-09-03
CN113342486B CN113342486B (en) 2023-03-10

Family

ID=77470005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110551377.6A Active CN113342486B (en) 2021-05-20 2021-05-20 Electronic device, control method, control system, and storage medium

Country Status (1)

Country Link
CN (1) CN113342486B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115149612A (en) * 2022-07-18 2022-10-04 深圳市海曼科技股份有限公司 Method and device for replacing insulating sheet of electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007251628A (en) * 2006-03-16 2007-09-27 Mitsubishi Electric Corp Television receiver
US20090070491A1 (en) * 2007-09-10 2009-03-12 Chai-Chang Chiu Method for executing target programs with compound quick keys
CN102833499A (en) * 2011-06-15 2012-12-19 鸿富锦精密工业(深圳)有限公司 Electronic device and method for quickly starting widgets by using electronic device
US20130111410A1 (en) * 2011-10-28 2013-05-02 Canon Kabushiki Kaisha Display control apparatus and method for controlling display control apparatus
CN104035805A (en) * 2014-06-27 2014-09-10 深圳市中兴移动通信有限公司 Method and device for fast starting application program
US20160202880A1 (en) * 2015-01-09 2016-07-14 Hisense Electric Co., Ltd. Method for starting application program, terminal and non-transitory computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007251628A (en) * 2006-03-16 2007-09-27 Mitsubishi Electric Corp Television receiver
US20090070491A1 (en) * 2007-09-10 2009-03-12 Chai-Chang Chiu Method for executing target programs with compound quick keys
CN102833499A (en) * 2011-06-15 2012-12-19 鸿富锦精密工业(深圳)有限公司 Electronic device and method for quickly starting widgets by using electronic device
US20130111410A1 (en) * 2011-10-28 2013-05-02 Canon Kabushiki Kaisha Display control apparatus and method for controlling display control apparatus
CN104035805A (en) * 2014-06-27 2014-09-10 深圳市中兴移动通信有限公司 Method and device for fast starting application program
US20160202880A1 (en) * 2015-01-09 2016-07-14 Hisense Electric Co., Ltd. Method for starting application program, terminal and non-transitory computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115149612A (en) * 2022-07-18 2022-10-04 深圳市海曼科技股份有限公司 Method and device for replacing insulating sheet of electronic equipment

Also Published As

Publication number Publication date
CN113342486B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN108737869B (en) Smart television starting processing method based on human body induction and smart television system
US8898486B2 (en) Apparatus and method for controlling input power
JPH11259189A (en) Power supply control device for peripheral equipment
CN104252203B (en) Electronic device, method for controlling electronic device, and program
US11093255B2 (en) Apparatus and method for automatically pre configuring a hardware portion of a device before the device is set into a full operation mode
US11832189B2 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN109240121B (en) Control method of household appliance, air conditioner and storage medium
CN113342486B (en) Electronic device, control method, control system, and storage medium
CN112114887A (en) Controlled device, method for waking up controlled device and storage medium
CN111478403A (en) Power supply control method, power supply control circuit and medium
CN105491242B (en) Mobile communication terminal and control method and device thereof
CN111857322A (en) Method and device for reducing standby power consumption of washing machine, washing machine and related equipment
CN107436854B (en) Method for supplying power to main board of terminal based on CPCI power supply and terminal
KR101583557B1 (en) Power control pci card of computer and power contol method thereof
CN111966420B (en) Electronic device, remote control method thereof, terminal device and readable storage medium
CN110825445B (en) Timing startup and shutdown system of interactive intelligent tablet
CN107222784B (en) Timing starting control system and method for television
JP6822553B2 (en) Analytical devices, controllers and analytical systems
CN107515746B (en) Startup initialization method and device, electronic equipment and computer storage medium
CN113129578A (en) Matching method, control method, system and storage medium of infrared equipment
US9720392B2 (en) Method for coupling a remote control and an electronic device
CN112165544B (en) Electronic equipment communication control method and device and electronic equipment
KR101353919B1 (en) Host/slave auto switching system for rs485 communication.
EP3550948A1 (en) Mounting apparatus
CN112272955B (en) Control device and signal control method

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
GR01 Patent grant
GR01 Patent grant