A control method, device, equipment and storage medium
By monitoring the backlight current value of the control terminal and automatically shutting down the power when it is unused, the safety risks and energy waste problems in classrooms and conference rooms caused by forgetting to shut down are solved, and automated power management and security guarantees are achieved.
Patent Information
- Application Number
- CN202110203259.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-23
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2041-02-23
AI Technical Summary
Electrical safety risks and energy waste problems caused by frequent forgetting to shut down in classrooms and conference offices.
By obtaining the backlight current value of the control terminal, if it is less than the set threshold, a shutdown signal is generated, and the power-off operation is automatically performed after no touch information is left for a certain period of time to cut off the power supply.
It reduces electrical safety risks, saves energy, reduces the inspection burden of staff, and realizes automated power management.
Smart Images

Figure CN114968378B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a control method, device, equipment and storage medium. Background Art
[0002] Currently, education and conferences are usually conducted through large-screen conference machines and / or large-screen education machines. Therefore, large-screen conference machines and / or large-screen education machines are usually placed in classrooms and conference offices.
[0003] One problem faced by large-screen conference machines and large-screen educational machines on the market is that they need to manually turn off the main power switch. If you forget to turn off the main power switch and face heavy rain, there is a risk of electrical appliances being damaged by lightning, and long-term power supply to electrical equipment can easily cause safety accidents. Summary of the invention
[0004] The embodiments of the present invention provide a control method, device, equipment and storage medium to solve the current safety problems caused by frequent forgetting to shut down the power in classrooms and conference offices. It can reduce the risk of electrical safety problems, save energy, and reduce the work of relevant staff. There is no need to check whether the power is turned off in each classroom and / or conference room.
[0005] In a first aspect, an embodiment of the present invention provides a control method, which is applied to an electric control system, wherein the electric control system includes: a control terminal, and the control method includes:
[0006] Acquiring a backlight current value of the control terminal;
[0007] If the backlight current value is less than the current value threshold, a shutdown signal is generated;
[0008] A shutdown operation is performed on the control terminal according to the shutdown signal.
[0009] Further, performing a shutdown operation on the control terminal according to the shutdown signal includes:
[0010] generating shutdown prompt information according to the shutdown signal, and displaying the shutdown prompt information on the screen of the control terminal;
[0011] If the display time of the shutdown prompt information is greater than the time threshold and no touch information is acquired during the display of the shutdown prompt information, a shutdown operation is performed on the control terminal.
[0012] Further, if the backlight current value is less than the current value threshold, a shutdown signal is generated, including:
[0013] If the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated.
[0014] Further, if the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated, including:
[0015] If the backlight current value is less than the current value threshold and no touch information is detected within a preset time, a shutdown signal is generated.
[0016] Furthermore, the electric control system further comprises: a main power controller, the main power controller is connected to the control terminal, and the main power controller is used to supply power to the control terminal;
[0017] Correspondingly, if the backlight current value is less than the current value threshold, after generating the shutdown signal, the method further includes:
[0018] The shutdown signal is sent to the main power controller, so that the main power controller cuts off the power supply according to the shutdown signal.
[0019] Furthermore, the electric control system further comprises: an external device, the external device being connected to the control terminal;
[0020] Correspondingly, if the backlight current value is less than the current value threshold, after generating the shutdown signal, the method further includes:
[0021] The shutdown signal is sent to the external device, so that the external device cuts off power according to the shutdown signal.
[0022] Furthermore, the electric control system also includes: an external device, the external device is connected to the main power controller, and the main power controller is used to supply power to the external device and the control terminal.
[0023] In a second aspect, an embodiment of the present invention further provides a control device, the control device comprising:
[0024] An acquisition module, used for acquiring a backlight current value of the control terminal;
[0025] A generating module, configured to generate a shutdown signal if the backlight current value is less than a current value threshold;
[0026] An execution module is used to execute a shutdown operation on the control terminal according to the shutdown signal.
[0027] Furthermore, the execution module is specifically used for:
[0028] generating shutdown prompt information according to the shutdown signal, and displaying the shutdown prompt information on the screen of the control terminal;
[0029] If the display time of the shutdown prompt information is greater than the time threshold and no touch information is acquired during the display of the shutdown prompt information, a shutdown operation is performed on the control terminal.
[0030] Furthermore, the generation module is specifically used for:
[0031] If the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated.
[0032] Furthermore, the generation module is specifically used for:
[0033] If the backlight current value is less than the current value threshold and no touch information is detected within a preset time, a shutdown signal is generated.
[0034] Furthermore, the electric control system further comprises: a main power controller, the main power controller is connected to the control terminal, and the main power controller is used to supply power to the control terminal;
[0035] Accordingly, it also includes:
[0036] The first sending module is used to send the shutdown signal to the main power controller, so that the main power controller cuts off the power according to the shutdown signal.
[0037] Furthermore, the electric control system further comprises: an external device, the external device being connected to the control terminal;
[0038] Accordingly, it also includes:
[0039] The second sending module is used to send the shutdown signal to the external device, so that the external device cuts off power according to the shutdown signal.
[0040] Furthermore, the electric control system also includes: an external device, the external device is connected to the main power controller, and the main power controller is used to supply power to the external device and the control terminal.
[0041] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a control method as described in any one of the embodiments of the present invention is implemented.
[0042] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a control method as described in any one of the embodiments of the present invention.
[0043] The embodiment of the present invention obtains the backlight current value of the control terminal; if the backlight current value is less than the current value threshold, a shutdown signal is generated; and a shutdown operation is performed on the control terminal according to the shutdown signal to solve the current safety problems caused by frequent forgetting to shut down in classrooms and conference offices. It can reduce the risk of electrical safety problems, save energy, and reduce the work of related staff. There is no need to check whether the power is turned off in each classroom and / or conference room. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 is a flow chart of a control method in Embodiment 1 of the present invention;
[0046] Figure 1a is a schematic diagram of the structure of the intelligent electric control system in the first embodiment of the present invention;
[0047] Figure 1b This is a schematic diagram of the implementation principle of the intelligent electric control system terminal in the first embodiment of the present invention;
[0048] Figure 2 is a schematic diagram of the structure of a control device in Embodiment 2 of the present invention;
[0049] Figure 3 It is a structural diagram of a computer device in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0050] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0051] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the embodiments in the present invention and the features in the embodiments can be combined with each other without conflict.
[0052] The term “including” and its variations used in the present invention are open inclusions, that is, “including but not limited to.” The term “based on” means “based at least in part on.” The term “one embodiment” means “at least one embodiment.”
[0053] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish the corresponding contents, and are not used to limit the order or interdependence.
[0054] Embodiment 1
[0055] Figure 1 This is a flow chart of a control method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case where the control terminal in a classroom or conference room is powered off. The method can be executed by a control device in the embodiment of the present invention. The device can be implemented in software and / or hardware. Figure 1 As shown, the method specifically comprises the following steps:
[0056] S110, obtaining a backlight current value of the control terminal.
[0057] The control terminal may be a MAXHUB, SEEWO conference machine, educational machine, etc., or a loudspeaker, air conditioner, main power controller, projector, fluorescent lamp, etc., which is not limited in the embodiment of the present invention.
[0058] Among them, the electric control system may include only a control terminal, the electric control system may also include a control terminal and a main power controller, the electric control system may also include: a control terminal and an external device, the electric control system may also include: a control terminal, a main power controller and an external device, and the embodiment of the present invention does not limit this.
[0059] The external device may be a loudspeaker, an air conditioner, a main power controller, a projector, a fluorescent lamp, etc., or may be other equipment included in a classroom and / or conference room, which is not limited in the embodiment of the present invention.
[0060] Wherein, the control terminal may include: a power meter chip and an MCU, wherein the power meter chip is connected to the MCU, and the power meter chip is used to monitor the backlight current value of the control terminal. When the backlight current value of the control terminal is less than the current value threshold, the power meter chip changes the pin voltage from a high level to a low level. When the MCU detects that the pin voltage of the power meter chip changes from a high level to a low level, it generates a shutdown signal, and the MCU shuts down the control terminal according to the shutdown signal. If the control terminal also includes: a Bluetooth module, the MCU is connected to the Bluetooth module, and the MCU can send the shutdown signal to the main power controller through the Bluetooth module, or send the shutdown signal to an external device through the Bluetooth module. The embodiment of the present invention does not limit this.
[0061] S120: If the backlight current value is less than the current value threshold, a shutdown signal is generated.
[0062] The current value threshold may be a preset empirical value or a value set by the user according to preference, which is not limited in the embodiment of the present invention.
[0063] Exemplarily, if the backlight current value is less than the current value threshold, the shutdown signal is generated in such a manner that if the backlight current value is less than the current value threshold, a shutdown signal is generated; or if the backlight current value is less than the current value threshold, the current state of the control terminal is obtained, and if the current state of the control terminal is an unused state, a shutdown signal is generated; or if the backlight current value is less than the current value threshold, the state of the control terminal within a certain time range is obtained, and if the state of the control terminal within a certain time range is an unused state, a shutdown signal is generated. The embodiments of the present invention are not limited to this.
[0064] S130: Perform a shutdown operation on the control terminal according to the shutdown signal.
[0065] Exemplarily, the method of performing a shutdown operation on the control terminal according to the shutdown signal may be: generating a shutdown prompt message according to the shutdown signal, displaying the shutdown prompt message on the screen of the control terminal, and shutting down the control terminal after the user clicks the shutdown control on the screen; when the display time of the shutdown prompt message is greater than the time threshold, and there is no response during the display of the shutdown prompt message, then performing a shutdown operation on the control terminal. The method of performing a shutdown operation on the control terminal according to the shutdown signal may also be: displaying the shutdown signal on the screen of the control terminal, and when the display time of the shutdown signal is greater than the time threshold, and there is no response during the display of the shutdown signal, then performing a shutdown operation on the control terminal; the method of performing a shutdown operation on the control terminal according to the shutdown signal may also be: after obtaining the shutdown signal, if it is detected that the terminal device is in an unused state, then performing a shutdown operation on the control terminal according to the shutdown signal. The embodiments of the present invention are not limited to this.
[0066] In one embodiment, performing a shutdown operation on the control terminal according to the shutdown signal includes:
[0067] generating shutdown prompt information according to the shutdown signal, and displaying the shutdown prompt information on the screen of the control terminal;
[0068] If the display time of the shutdown prompt information is greater than the time threshold and no touch information is acquired during the display of the shutdown prompt information, a shutdown operation is performed on the control terminal.
[0069] The shutdown prompt information may be a shutdown control, a prompt box, a confirmation control, a cancel control, or may include both a confirmation control and a cancel control, or may be other shutdown prompt information, which is not limited in the embodiment of the present invention.
[0070] Among them, the shutdown prompt information is displayed on the screen of the control terminal in the form of a floating window on the screen, or in a preset area, or in a blank area. The embodiment of the present invention does not limit this.
[0071] The time threshold may be preset by the system or may be set by the user according to preference, and the embodiment of the present invention does not limit this.
[0072] The touch information may be the user's operation on the control terminal, for example, the user clicking a preset position on the control terminal screen, or the user writing on the control terminal screen with a smart pen, which is not limited in this embodiment of the present invention.
[0073] Exemplarily, a shutdown prompt message is generated according to the shutdown signal, and the shutdown prompt message is displayed on the screen of the control terminal; if the display time of the shutdown prompt message is greater than a time threshold, and no touch information is obtained during the display of the shutdown prompt message, a shutdown operation is performed on the control terminal. For example, the shutdown prompt message may be generated according to the shutdown signal: cancel shutdown, turn off the current control terminal, and turn off the main power controller, and the shutdown prompt message is displayed on the screen of the control terminal in the form of a floating window. If the display time of the shutdown prompt message is greater than the time threshold, and no touch operation of the user on the screen of the control terminal is obtained during the display of the shutdown prompt message, a shutdown operation is performed on the control terminal.
[0074] In one embodiment, if the backlight current value is less than the current value threshold, a shutdown signal is generated, including:
[0075] If the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated.
[0076] Exemplarily, if the backlight current value is less than the current value threshold, the current state of the control terminal is acquired, and if the control terminal is in an unused state, a shutdown signal is generated.
[0077] Exemplarily, the method for obtaining the current state of the control terminal may be: if no touch information is detected, it is determined that the control terminal is in an unused state; the method for obtaining the current state of the control terminal may also be: if no touch information is detected, and no voice command input by the user is detected, it is determined that the control terminal is in an unused state; if no touch information is detected, and no gesture command input by the user is detected, it is determined that the control terminal is in an unused state; if no touch information is detected, and no gesture command and voice information input by the user are detected, it is determined that the control terminal is in an unused state. The embodiments of the present invention are not limited to this.
[0078] In one embodiment, if the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated, including:
[0079] If the backlight current value is less than the current value threshold and no touch information is detected within a preset time, a shutdown signal is generated.
[0080] Exemplarily, if the backlight current value is less than the current value threshold, the state of the control terminal within a preset time is acquired, and if the control terminal is in an unused state, a shutdown signal is generated.
[0081] Exemplarily, the method for obtaining the current state of the control terminal may be: if no touch information is detected within a preset time, it is determined that the control terminal is in an unused state; the method for obtaining the current state of the control terminal may also be: if no touch information is detected within a preset time, and no voice command input by the user is detected within the preset time, it is determined that the control terminal is in an unused state; if no touch information is detected within the preset time, and no gesture command input by the user is detected within the preset time, it is determined that the control terminal is in an unused state; if no touch information is detected within the preset time, and no gesture command input by the user and voice information are detected within the preset time, it is determined that the control terminal is in an unused state. The embodiments of the present invention do not limit this.
[0082] In one embodiment, the electric control system further includes: a main power controller, the main power controller is connected to the control terminal, and the main power controller is used to supply power to the control terminal;
[0083] Correspondingly, if the backlight current value is less than the current value threshold, after generating the shutdown signal, the method further includes:
[0084] The shutdown signal is sent to the main power controller, so that the main power controller cuts off the power supply according to the shutdown signal.
[0085] Exemplarily, the main power controller includes: a Bluetooth module, an MCU, a relay and a 220 power supply. The main power controller exchanges data with the Bluetooth module of the control terminal through the Bluetooth module. For example, the power meter chip is used to monitor the backlight current value of the control terminal. When the backlight current value of the control terminal is less than the current value threshold, the power meter chip changes the pin voltage from a high level to a low level. When the MCU detects that the pin voltage of the power meter chip changes from a high level to a low level, it generates a shutdown signal. The MCU sends the shutdown signal to the Bluetooth module of the main power controller through the Bluetooth module. After receiving the shutdown signal, the Bluetooth module of the main power controller sends the shutdown signal to the MCU of the main power controller. The MCU controlled by the main power controls the relay to switch from a normally closed state to a normally open state according to the shutdown signal, thereby cutting off the power supply.
[0086] In one embodiment, the electric control system further includes: an external device, the external device being connected to the control terminal;
[0087] Correspondingly, if the backlight current value is less than the current value threshold, after generating the shutdown signal, the method further includes:
[0088] The shutdown signal is sent to the external device, so that the external device cuts off power according to the shutdown signal.
[0089] The external device may be a loudspeaker, an air conditioner, a main power controller, a projector, a fluorescent lamp, etc., or may be other equipment included in a classroom and / or conference room, which is not limited in the embodiment of the present invention.
[0090] Exemplarily, the external device includes: a Bluetooth module and an MCU, the external device is connected to the control terminal via the Bluetooth module, the power meter chip is used to monitor the backlight current value of the control terminal, when the backlight current value of the control terminal is less than the current value threshold, the power meter chip changes the pin voltage from a high level to a low level, when the MCU detects that the pin voltage of the power meter chip changes from a high level to a low level, it generates a shutdown signal, the MCU sends the shutdown signal to the Bluetooth module of the external device via the Bluetooth module, after the Bluetooth module of the external device receives the shutdown signal, it sends the shutdown signal to the MCU of the external device, and the MCU of the external device performs a shutdown operation on the external device according to the shutdown signal.
[0091] In one embodiment, the electric control system further includes: an external device, the external device is connected to the main power controller, and the main power controller is used to supply power to the external device and the control terminal.
[0092] Exemplarily, the external device is connected to the main power controller, and the main power controller is used to supply power to the external device and the control terminal. For example, the power meter chip is used to monitor the backlight current value of the control terminal. When the backlight current value of the control terminal is less than the current value threshold, the power meter chip changes the pin voltage from high level to low level. When the MCU detects that the pin voltage of the power meter chip changes from high level to low level, it generates a shutdown signal. The MCU sends the shutdown signal to the Bluetooth module of the main power controller through the Bluetooth module. After receiving the shutdown signal, the Bluetooth module of the main power controller sends the shutdown signal to the MCU of the main power controller. The MCU of the main power control controls the relay to switch from the normally closed state to the normally open state according to the shutdown signal, thereby cutting off the power supply. Then, the power supply of the external device is cut off to shut down the external device.
[0093] The embodiment of the present invention is mainly to design an intelligent electric control system for the current classrooms and conference offices that often forget to turn off the power and cause some safety problems. The intelligent electric control system is different from the traditional smart home. This electric control system does not need to be connected to the Internet, does not require manual control, and is automatically triggered by hardware detection when the time comes. It does not require a complex network architecture system. After using the equipment, you can leave the conference room or classroom with confidence. The intelligent electric control system can solve the trouble of not turning off the power of all electrical equipment.
[0094] like Figure 1a As shown in the figure, the intelligent electric control system is composed of MAXHUB, SEEWO conference machine and education machine as control terminals, loudspeaker, air conditioner, main power controller, projector, fluorescent lamp and other peripherals (the connected peripherals are only for reference). The principle of this design is mainly composed of control terminals and main power controller.
[0095] The control terminal is different from the traditional machine. Figure 1b As shown, the control terminal has added a power meter chip. The current value and voltage of the screen backlight pass through this chip. This chip monitors the screen current and voltage values in real time. If the current value of the screen is lower than a certain value after a certain period of time, the power meter will transmit information to the control terminal through the I2C protocol. After receiving the relevant data, the control terminal will detect whether there is a user using the large-screen machine, such as whether there is a touch value, etc. If there is no value change of the large-screen machine after 30 minutes, the MCU will send a shutdown signal on the screen to prompt that it will be shut down. If there is no response after 10S, it will enter the shutdown state and start Bluetooth at the same time to send a message to the main power controller via Bluetooth.
[0096] The master power controller is the same size as a common leakage switch. The master power controller adds an MCU microcontroller (such as a single-chip microcomputer), a Bluetooth module, and a relay to the power module. When the power controller receives a message sent by the control terminal through the Bluetooth module, the MCU turns off all devices connected to the power controller by controlling the switch of the relay.
[0097] The control terminal and the main power controller can automatically identify the connection when powered on, without the need for manual connection by the user.
[0098] The embodiment of the present invention obtains the backlight current value of the control terminal; if the backlight current value is less than the current value threshold, a shutdown signal is generated; and a shutdown operation is performed on the control terminal according to the shutdown signal. Compared with smart devices, the cost is lower, and the user's trouble of often forgetting to turn off the power is alleviated. There is no need to install additional equipment, and the triggering is fully automatic, safe and reliable.
[0099] The technical solution of this embodiment is to obtain the backlight current value of the control terminal; if the backlight current value is less than the current value threshold, a shutdown signal is generated; and the control terminal is shut down according to the shutdown signal to solve the current safety problems caused by frequent forgetting to shut down in classrooms and conference offices. It can reduce the risk of electrical safety problems, save energy, and reduce the work of related staff. There is no need to check whether the power is turned off in each classroom and / or conference room.
[0100] Embodiment 2
[0101] Figure 2 This is a schematic diagram of the structure of a control device provided in the second embodiment of the present invention. This embodiment can be applied to the case where the control terminal in the classroom or conference room is powered off. The device can be implemented in software and / or hardware. The device can be integrated in the control terminal, such as Figure 2 As shown, the control device specifically includes: an acquisition module 210, a generation module 220 and an execution module 230.
[0102] Wherein, the acquisition module 210 is used to acquire the backlight current value of the control terminal;
[0103] A generating module 220, configured to generate a shutdown signal if the backlight current value is less than a current value threshold;
[0104] The execution module 230 is used to execute a shutdown operation on the control terminal according to the shutdown signal.
[0105] Optionally, the execution module 230 is specifically used for:
[0106] generating shutdown prompt information according to the shutdown signal, and displaying the shutdown prompt information on the screen of the control terminal;
[0107] If the display time of the shutdown prompt information is greater than the time threshold and no touch information is acquired during the display of the shutdown prompt information, a shutdown operation is performed on the control terminal.
[0108] Optionally, the generating module 220 is specifically used for:
[0109] If the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated.
[0110] Optionally, the generating module 220 is specifically used for:
[0111] If the backlight current value is less than the current value threshold and no touch information is detected within a preset time, a shutdown signal is generated.
[0112] Optionally, the electric control system further includes: a main power controller, the main power controller is connected to the control terminal, and the main power controller is used to supply power to the control terminal;
[0113] Accordingly, it also includes:
[0114] The first sending module is used to send the shutdown signal to the main power controller, so that the main power controller cuts off the power according to the shutdown signal.
[0115] Optionally, the electric control system further includes: an external device, the external device being connected to the control terminal;
[0116] Accordingly, it also includes:
[0117] The second sending module is used to send the shutdown signal to the external device, so that the external device cuts off power according to the shutdown signal.
[0118] Optionally, the electric control system further includes: an external device, the external device is connected to the main power controller, and the main power controller is used to supply power to the external device and the control terminal.
[0119] The above-mentioned product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0120] The technical solution of this embodiment is to obtain the backlight current value of the control terminal; if the backlight current value is less than the current value threshold, a shutdown signal is generated; and the control terminal is shut down according to the shutdown signal to solve the current safety problems caused by frequent forgetting to shut down in classrooms and conference offices. It can reduce the risk of electrical safety problems, save energy, and reduce the work of related staff. There is no need to check whether the power is turned off in each classroom and / or conference room.
[0121] Embodiment 3
[0122] Figure 3 This is a schematic diagram of the structure of a terminal device provided in Embodiment 3 of the present invention. Figure 3 As shown, the terminal device provided in the third embodiment of the present invention includes: one or more processors 31 and a storage device 32; the processor 31 in the terminal device may be one or more, Figure 3 A processor 31 is taken as an example; the storage device 32 is used to store one or more programs; the one or more programs are executed by the one or more processors 31, so that the one or more processors 31 implement the control method as described in any one of the embodiments of the present invention.
[0123] The terminal device may further include: an input device 33 and an output device 34 .
[0124] The processor 31, storage device 32, input device 33 and output device 34 in the terminal device may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.
[0125] The storage device 32 in the terminal device is a computer-readable storage medium, which can be used to store one or more programs, and the program can be a software program, a computer executable program, and a module, such as the program instructions / modules corresponding to the control method provided in the first embodiment of the present invention (for example, the attached Figure 2 The modules in the control device shown include: an acquisition module 210, a generation module 220 and an execution module 230). The processor 31 executes various functional applications and data processing of the terminal device by running the software programs, instructions and modules stored in the storage device 32, that is, implements the control method in the above method embodiment.
[0126] The storage device 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the storage device 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 32 may further include a memory remotely arranged relative to the processor 31, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0127] The input device 33 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the terminal device. The output device 34 may include a display device such as a display screen.
[0128] Furthermore, when one or more programs included in the terminal device are executed by the one or more processors 31, the program performs the following operations:
[0129] Acquiring a backlight current value of the control terminal;
[0130] If the backlight current value is less than the current value threshold, a shutdown signal is generated;
[0131] A shutdown operation is performed on the control terminal according to the shutdown signal.
[0132] Embodiment 4
[0133] Embodiment 4 of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the program is used to execute a control method. The method includes:
[0134] Acquiring a backlight current value of the control terminal;
[0135] If the backlight current value is less than the current value threshold, a shutdown signal is generated;
[0136] A shutdown operation is performed on the control terminal according to the shutdown signal.
[0137] Optionally, when the program is executed by a processor, it can also be used to execute the control method provided by any embodiment of the present invention.
[0138] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above. The computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.
[0139] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0140] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.
[0141] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as python, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0142] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A control method, It is characterized in that Applied to an electric control system, the electric control system comprises: a control terminal, and the control method comprises: Acquiring a backlight current value of the control terminal; If the backlight current value is less than the current value threshold, a shutdown signal is generated; Execute a shutdown operation on the control terminal according to the shutdown signal; The step of performing a shutdown operation on the control terminal according to the shutdown signal includes: generating shutdown prompt information according to the shutdown signal, and displaying the shutdown prompt information on the screen of the control terminal; If the display time of the shutdown prompt information is greater than the time threshold and no touch information is acquired during the display of the shutdown prompt information, a shutdown operation is performed on the control terminal.
2. The method according to claim 1, It is characterized in that If the backlight current value is less than the current value threshold, a shutdown signal is generated, including: If the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated.
3. The method according to claim 2, It is characterized in that If the backlight current value is less than the current value threshold and the control terminal is in an unused state, a shutdown signal is generated, including: If the backlight current value is less than the current value threshold and no touch information is detected within a preset time, a shutdown signal is generated.
4. The method according to claim 1, It is characterized in that The electric control system further comprises: a main power controller, the main power controller is connected to the control terminal, and the main power controller is used to supply power to the control terminal; Correspondingly, if the backlight current value is less than the current value threshold, after generating the shutdown signal, the method further includes: The shutdown signal is sent to the main power controller, so that the main power controller cuts off the power supply according to the shutdown signal.
5. The method according to claim 1, It is characterized in that The electric control system further comprises: an external device connected to the control terminal; Correspondingly, if the backlight current value is less than the current value threshold, after generating the shutdown signal, the method further includes: The shutdown signal is sent to the external device, so that the external device cuts off power according to the shutdown signal.
6. The method according to claim 4, It is characterized in that The electric control system further includes: an external device, the external device is connected to the main power controller, and the main power controller is used to supply power to the external device and the control terminal.
7. A control device, It is characterized in that The control device comprises: An acquisition module, used to acquire the backlight current value of the control terminal; A generating module, configured to generate a shutdown signal if the backlight current value is less than a current value threshold; An execution module, used for executing a shutdown operation on the control terminal according to the shutdown signal; Wherein, the execution module is specifically used for: generating shutdown prompt information according to the shutdown signal, and displaying the shutdown prompt information on the screen of the control terminal; If the display time of the shutdown prompt information is greater than the time threshold and no touch information is acquired during the display of the shutdown prompt information, a shutdown operation is performed on the control terminal.
8. A terminal device, It is characterized in that include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
