CN114322445A - Device control method, device, electronic device and storage medium - Google Patents

Device control method, device, electronic device and storage medium Download PDF

Info

Publication number
CN114322445A
CN114322445A CN202111658532.0A CN202111658532A CN114322445A CN 114322445 A CN114322445 A CN 114322445A CN 202111658532 A CN202111658532 A CN 202111658532A CN 114322445 A CN114322445 A CN 114322445A
Authority
CN
China
Prior art keywords
trigger
trigger signal
function
signal
control method
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.)
Pending
Application number
CN202111658532.0A
Other languages
Chinese (zh)
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.)
TCL Home Appliances Hefei Co Ltd
Original Assignee
TCL Home Appliances Hefei 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 TCL Home Appliances Hefei Co Ltd filed Critical TCL Home Appliances Hefei Co Ltd
Priority to CN202111658532.0A priority Critical patent/CN114322445A/en
Publication of CN114322445A publication Critical patent/CN114322445A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application discloses a device control method and device, electronic equipment and a storage medium. The method comprises the following steps: the method comprises the steps of determining a first working mode of the equipment at present, then obtaining first trigger signals corresponding to a plurality of functions respectively, then generating a second trigger signal according to the first trigger signal, finally controlling the equipment to enter a function demonstration mode according to the second trigger signal, and keeping other functions except the function being demonstrated in the first working mode to normally run. The device control method can control the device to enter a function demonstration mode, thereby detecting the function of the device.

Description

Device control method, device, electronic device and storage medium
Technical Field
The present application relates to the field of household appliance technologies, and in particular, to a device control method, apparatus, electronic device, and storage medium.
Background
With the development of household appliance technology, refrigerators have become essential household appliances in people's daily life. As the use time of the refrigerator increases, hardware failures such as a fan failure may occur inside the refrigerator.
When the maintenance personnel are detecting, the machine body needs to be disassembled, then the detection circuit determines faults and the like, and therefore much time is wasted.
Disclosure of Invention
The embodiment of the application provides a device control method and device, electronic equipment and a storage medium. The device control method can control the device to enter a function demonstration mode, thereby detecting the function of the device.
In a first aspect, an embodiment of the present application provides an apparatus control method, including:
determining a first working mode of the equipment;
acquiring first trigger signals corresponding to a plurality of functions respectively;
generating a second trigger signal according to the first trigger signal;
and controlling the equipment to enter a function demonstration mode according to the second trigger signal, and keeping other functions except the function being demonstrated in the first working mode to normally run.
In a second aspect, an embodiment of the present application provides an apparatus control device, including:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a first working mode of the device;
the acquisition module is used for acquiring first trigger signals corresponding to a plurality of functions respectively;
the generating module is used for generating a second trigger signal according to the first trigger signal;
and the control module is used for controlling the equipment to enter a function demonstration mode according to the second trigger signal and keeping other functions except the function which is being demonstrated in the first working mode to normally run.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory storing executable program code, and a processor coupled to the memory; the processor calls the executable program codes stored in the memory to execute the steps in the device control method provided by the embodiment of the application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a plurality of instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to perform steps in the device control method provided in the embodiment of the present application.
In the embodiment of the application, a first working mode where the device is currently located is determined, then first trigger signals corresponding to a plurality of functions respectively are obtained, then a second trigger signal is generated according to the first trigger signal, finally the device is controlled to enter a function demonstration mode according to the second trigger signal, and other functions except the function being demonstrated in the first working mode are kept to normally run. The device control method can control the device to enter a function demonstration mode, thereby detecting the function of the device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart of an apparatus control method according to an embodiment of the present application.
Fig. 2 is a second flowchart of the device control method according to the embodiment of the present application.
Fig. 3 is a scene schematic diagram of a device function key according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of household appliance technology, refrigerators have become essential household appliances in people's daily life. As the use time of the refrigerator increases, hardware failures such as a fan failure may occur inside the refrigerator.
When the maintenance personnel are detecting, the machine body needs to be disassembled, then the detection circuit determines faults and the like, and therefore much time is wasted.
In order to solve the above technical problem, embodiments of the present application provide an apparatus control method, an apparatus, an electronic apparatus, and a storage medium. The device control method can control the device to enter a function demonstration mode, thereby detecting the function of the device.
The device control method can be applied to household electronic devices such as refrigerators, air conditioners, washing machines and the like.
Referring to fig. 1, fig. 1 is a first flowchart of an apparatus control method according to an embodiment of the present disclosure. The device control method may include the steps of:
110. a first mode of operation in which the device is currently located is determined.
In some embodiments, the processor may directly determine the first working mode in which the device is currently located according to the set parameter, for example, when the device enters a certain working mode, a corresponding identifier may be provided, and when the processor reads the identifier, the processor may determine the first working mode in which the device is located.
Taking the refrigerator as an example, when the refrigerator operates in the cooling mode, the processor may directly determine that the refrigerator is in the cooling mode, which is the first operating mode of the refrigerator.
120. And acquiring first trigger signals corresponding to a plurality of functions respectively.
In some embodiments, a user may trigger the first trigger signals corresponding to the plurality of functions respectively through the function keys on the device. The user can also trigger the first trigger signals corresponding to the plurality of functions respectively through the function keys on the remote control device.
For example, each function key corresponds to a function, and when a user clicks or touches the function key, a first trigger signal corresponding to the function is triggered.
In some embodiments, the device may determine whether the plurality of first trigger signals are all generated within a preset time range, and generate a second trigger signal according to the first trigger signal if the plurality of first trigger signals are all generated within the preset time range. Step 130 is entered.
If the plurality of first trigger signals are not all generated within the preset time range, determining a target first trigger signal which is triggered firstly according to the trigger time of each first trigger signal, and then executing a corresponding function according to the target first trigger signal.
For example, within a preset time range of 0-1 second, a user presses a plurality of function keys simultaneously to trigger first trigger signals corresponding to a plurality of functions respectively, and at this time, the device may generate a second trigger signal according to the first trigger signal.
In the plurality of first trigger signals, if one of the first trigger signals is triggered outside a preset time range, for example, one of the first trigger signals is triggered at the 2 nd second, the device does not generate a second trigger signal according to the first trigger signal at this time, determines a first target trigger signal to be triggered first according to the trigger time of each first trigger signal, and then executes a corresponding function according to the first target trigger signal. For example, if the function corresponding to the target first trigger signal is "lower temperature", the device will perform the "lower temperature" function at this time.
In some embodiments, when the user individually triggers the first trigger signal corresponding to one function, the device only needs to execute the function. For example, if the user presses only the "lower temperature" function on the in function key, the device will execute the "lower temperature" function.
130. And generating a second trigger signal according to the first trigger signal.
In some embodiments, the device may generate the second trigger signal according to the signal type after determining the signal type corresponding to each first trigger signal.
For example, there are three first trigger signals, and the signal types corresponding to the three first trigger signals are different, for example, the signal types corresponding to the three first trigger signals are signal type a, signal type B, and signal type C. The device may determine to generate the second trigger signal based on signal type a, signal type B, and signal type C.
In some embodiments, a preset mapping relationship between the signal type combination and the second trigger signal may be stored on the device, such as mapping the signal type a and signal type B combination to the second trigger signal a, mapping the signal type a and signal type C combination to the second trigger signal B, and mapping the signal type C and signal type B combination to the second trigger signal C.
After the device determines the first trigger signals corresponding to the plurality of first trigger signals, the device may determine the corresponding second trigger signal directly according to the signal type combination corresponding to the plurality of first trigger signals.
140. And controlling the equipment to enter a function demonstration mode according to the second trigger signal, and keeping other functions except the function being demonstrated in the first working mode to normally run.
In some embodiments, after determining the second trigger signal, the device may control the device to enter a function demonstration mode according to the second trigger signal, and then the device may demonstrate a corresponding function, for example, may demonstrate a wind sweeping function.
The device can determine a demonstration sequence corresponding to each target function in the function demonstration mode, sequentially demonstrate each target function according to the demonstration sequence, and keep other functions except the function being demonstrated in the first working mode to normally operate.
For example, the function demonstration mode is a wind sweeping mode, the wind sweeping mode includes four target functions of a left wind outlet function, a right wind outlet function, a middle wind outlet function, and a left wind sweeping function, and the target functions are demonstrated according to the demonstration sequence of the left wind outlet function, the right wind outlet function, the middle wind outlet function, and the left wind sweeping function.
At this time, other functions of the equipment except the wind sweeping function are operated according to the configuration of the first working mode, for example, the refrigeration function is operated according to the originally set refrigeration temperature.
Therefore, the demonstration of the functions needing to be demonstrated can be completed, and if the equipment fails, the functions of the equipment can be demonstrated one by one in the mode, so that the failed functions can be quickly determined. If the device is presented to the consumer in a store, each of the functions of the device may be demonstrated to the consumer in the manner described above.
In the embodiment of the application, a first working mode of the device is determined, then first trigger signals corresponding to a plurality of functions respectively are obtained, then a second trigger signal is generated according to the first trigger signal, finally the device is controlled to enter a function demonstration mode according to the second trigger signal, and other functions except the function being demonstrated in the first working mode are kept to normally run. The device control method can control the device to enter a function demonstration mode, thereby detecting the function of the device.
Referring to fig. 2, fig. 2 is a second flow chart of the apparatus control method according to the embodiment of the present disclosure. The device control method may include the steps of:
201. a first mode of operation in which the device is currently located is determined.
In some embodiments, the processor may directly determine the first working mode in which the device is currently located according to the set parameter, for example, when the device enters a certain working mode, a corresponding identifier may be provided, and when the processor reads the identifier, the processor may determine the first working mode in which the device is located.
Taking the refrigerator as an example, when the refrigerator operates in the cooling mode, the processor may directly determine that the refrigerator is in the cooling mode, which is the first operating mode of the refrigerator.
202. And acquiring first trigger signals corresponding to a plurality of functions respectively.
In some embodiments, a user may trigger the first trigger signals corresponding to the plurality of functions respectively through the function keys on the device. The user can also trigger the first trigger signals corresponding to the plurality of functions respectively through the function keys on the remote control device.
For example, each function key corresponds to a function, and when a user clicks or touches the function key, a first trigger signal corresponding to the function is triggered.
Referring to fig. 3, fig. 3 is a schematic view of a scene of a device function key according to an embodiment of the present disclosure. When the user presses the "warm zone" key, the corresponding function is to select the warm zone. When the user presses the "temperature" key, the corresponding function is to adjust the temperature.
When a user presses the 'temperature zone' key and the 'temperature' key at the same time, the first trigger signals corresponding to the two functions can be triggered at the same time.
203. It is determined whether the plurality of first trigger signals are all generated within a preset time range.
For example, the preset time range is 0-1 second, and the device may determine whether the user triggers the plurality of first trigger signals to be generated within the preset time range.
If the plurality of first trigger signals are not all generated within the preset time range, step 204 is entered.
If the plurality of first trigger signals are all generated within the preset time range, step 205 is entered.
204. And determining a first target trigger signal which is triggered firstly according to the trigger time of each first trigger signal, and executing a corresponding function according to the first target trigger signal.
In order to prevent the trigger device from generating a second trigger signal according to the first trigger signal, if the plurality of first trigger signals are not all generated within a preset time range, the trigger time corresponding to each first trigger signal is determined, then a target first trigger signal triggered firstly is determined in the plurality of first trigger signals, and then a corresponding function is executed according to the target first trigger signal.
For example, the triggering time of the first triggering signal a is 10:01, the triggering time of the second triggering signal B is 10:015, and the triggering time of the third triggering signal C is 10: 02. The first trigger signal a is the target first trigger signal triggered first, and the function corresponding to the first trigger signal a can be executed.
In some embodiments, the device may further determine a trigger sequence of the plurality of first trigger signals according to the trigger time corresponding to each first trigger signal, and then sequentially execute each trigger signal according to the trigger sequence.
For example, if the trigger time of the first trigger signal a is 10:01, the trigger time of the second trigger signal B is 10:015, and the trigger time of the third trigger signal C is 10:02, the triggers are sorted into the first trigger signal a, the second trigger signal B, and the third trigger signal C. The device may perform the function corresponding to each first trigger signal according to the trigger sequencing.
205. And determining whether the duration triggering time lengths corresponding to the first triggering signals all exceed a first preset triggering time length.
In some embodiments, if it is determined that the duration trigger time periods corresponding to the plurality of first trigger signals do not all exceed the first preset trigger time period, step 206 is entered.
If it is determined that the persistent trigger durations corresponding to the plurality of first trigger signals all exceed the first preset trigger duration, step 207 is performed.
206. The second trigger signal is not generated in accordance with the first trigger signal.
For example, if the first preset trigger time duration is 5 seconds, and the duration trigger time duration corresponding to any one of the first trigger signals does not exceed 5 seconds, the device may not generate the second trigger signal according to the first trigger signal.
207. And if the continuous trigger time lengths corresponding to the first trigger signals all exceed a first preset trigger time length, generating a second trigger signal according to the first trigger signal.
For example, if the duration of the continuous trigger corresponding to the plurality of first trigger signals exceeds 5 seconds, it indicates that the user needs to generate the second trigger signal according to the plurality of first trigger signals.
In some embodiments, the device may generate the second trigger signal according to the signal type after determining the signal type corresponding to each first trigger signal.
For example, there are three first trigger signals, and the signal types corresponding to the three first trigger signals are different, for example, the signal types corresponding to the three first trigger signals are signal type a, signal type B, and signal type C. The device may determine to generate the second trigger signal based on signal type a, signal type B, and signal type C.
In some embodiments, a preset mapping relationship between the signal type combination and the second trigger signal may be stored on the device, such as mapping the signal type a and signal type B combination to the second trigger signal a, mapping the signal type a and signal type C combination to the second trigger signal B, and mapping the signal type C and signal type B combination to the second trigger signal C.
After the device determines the first trigger signals corresponding to the plurality of first trigger signals, the device may determine the corresponding second trigger signal directly according to the signal type combination corresponding to the plurality of first trigger signals.
It should be noted that, after the electronic device generates the second trigger signal, a sound is emitted to prompt the user that the second trigger signal is successfully triggered.
208. And controlling the equipment to enter a function demonstration mode according to the second trigger signal.
At this time, the device may determine the corresponding demonstration function according to the second trigger signal, and then control the device to enter the function demonstration mode.
209. And determining the demonstration sequence corresponding to each target function in the function demonstration mode.
For example, the function demonstration mode is a wind sweeping mode, and the wind sweeping mode comprises four target functions of a left wind outlet function, a right wind outlet function, a middle wind outlet function and a left and right wind sweeping function. The corresponding presentation order can be determined according to each target function.
210. And sequentially demonstrating each target function according to the demonstration sequence, and keeping other functions except the function being demonstrated in the first working mode to normally run.
For example, the demonstration sequence is an air-out function, a right air-out function, a middle air-out function, and a left and right air-sweeping function, and the device may sequentially execute the target functions according to the demonstration sequence.
When the device executes each target function, corresponding reminding information or voice prompting information can be sent out on a display panel of the device.
At this time, other functions of the equipment except the wind sweeping function are operated according to the configuration of the first working mode, for example, the refrigeration function is operated according to the originally set refrigeration temperature.
211. And acquiring a third trigger signal corresponding to the preset function and a trigger duration corresponding to the third trigger signal.
After the device is controlled to enter the function demonstration mode according to the second trigger signal and other functions except the function being demonstrated in the first working mode are kept to normally run, the device can also obtain a third trigger signal corresponding to the preset function and trigger duration corresponding to the third trigger signal.
As shown in fig. 3, if the user presses the "function" key for a long time after the device enters the presentation mode, the trigger time length of pressing the "function" key for a long time is acquired at the same time.
212. And if the trigger time length corresponding to the third trigger signal exceeds a second preset trigger time length, exiting the function demonstration mode according to the third trigger signal.
For example, the second preset trigger time duration is 3 seconds, and when the trigger time duration corresponding to the third trigger signal exceeds 3 seconds, the device exits the function demonstration mode according to the third trigger signal.
The device may also continue to operate in the first mode of operation.
Therefore, the demonstration of the functions needing to be demonstrated can be completed, and if the equipment fails, the functions of the equipment can be demonstrated one by one in the mode, so that the failed functions can be quickly determined. If the device is presented to the consumer in a store, each of the functions of the device may be demonstrated to the consumer in the manner described above.
In the embodiment of the application, first trigger signals corresponding to a plurality of functions are obtained by determining a current first working mode of the device, whether the plurality of first trigger signals are all generated within a preset time range is determined, and if the plurality of first trigger signals are all generated within the preset time range, whether the duration trigger time lengths corresponding to the plurality of first trigger signals exceed a first preset trigger time length is determined.
And if the continuous trigger time lengths corresponding to the first trigger signals all exceed a first preset trigger time length, generating a second trigger signal according to the first trigger signal. And then controlling the equipment to enter a function demonstration mode according to the second trigger signal, determining a demonstration sequence corresponding to each target function in the function demonstration mode, sequentially demonstrating each target function according to the demonstration sequence, and keeping other functions except the function being demonstrated in the first working mode to normally run. And then, acquiring a third trigger signal corresponding to the preset function and a trigger time length corresponding to the third trigger signal, and exiting the function demonstration mode according to the third trigger signal if the trigger time length corresponding to the third trigger signal exceeds a second preset trigger time length. The device control method can control the device to enter a function demonstration mode, thereby detecting the function of the device.
Correspondingly, an apparatus control device is further provided in the embodiment of the present application, as shown in fig. 4, fig. 4 is a schematic structural diagram of the apparatus control device provided in the embodiment of the present application. The device control apparatus may include:
the determining module 310 is configured to determine a first operating mode currently located in the device.
The obtaining module 320 is configured to obtain first trigger signals corresponding to a plurality of functions respectively.
The generating module 330 is configured to generate a second trigger signal according to the first trigger signal.
The generating module 330 is further configured to determine whether the plurality of first trigger signals are all generated within a preset time range; and if the plurality of first trigger signals are all generated within a preset time range, generating a second trigger signal according to the first trigger signals.
The generating module 330 is further configured to determine, according to the trigger time of each first trigger signal, a target first trigger signal to be triggered first if the plurality of first trigger signals are not all generated within the preset time range; and executing the corresponding function according to the target first trigger signal.
The generating module 330 is further configured to determine whether the duration triggering durations corresponding to the plurality of first triggering signals all exceed a first preset triggering duration; and if the continuous trigger time lengths corresponding to the first trigger signals all exceed a first preset trigger time length, generating a second trigger signal according to the first trigger signal.
The generating module 330 is further configured to determine a signal type corresponding to each first trigger signal; and generating a second trigger signal according to the signal type.
And the control module 340 is used for controlling the device to enter the function demonstration mode according to the second trigger signal and keeping other functions except the function being demonstrated in the first working mode to normally operate.
The control module 340 is further configured to determine a demonstration sequence corresponding to each target function in the function demonstration mode; and sequentially demonstrating each target function according to the demonstration sequence, and keeping other functions except the function being demonstrated in the first working mode to normally run.
The control module 340 is further configured to obtain a third trigger signal corresponding to the preset function and a trigger duration corresponding to the third trigger signal after controlling the device to enter the function demonstration mode according to the second trigger signal and keeping other functions except for the function being demonstrated in the first working mode to normally operate; and if the trigger time length corresponding to the third trigger signal exceeds a second preset trigger time length, exiting the function demonstration mode according to the third trigger signal.
In the embodiment of the application, a first working mode where the device is currently located is determined, then first trigger signals corresponding to a plurality of functions respectively are obtained, then a second trigger signal is generated according to the first trigger signal, finally the device is controlled to enter a function demonstration mode according to the second trigger signal, and other functions except the function being demonstrated in the first working mode are kept to normally run. The device control method can control the device to enter a function demonstration mode, thereby detecting the function of the device.
Accordingly, an electronic device may include, as shown in fig. 5, a memory 401 having one or more computer-readable storage media, an input unit 402, a display unit 403, a sensor 404, a processor 405 having one or more processing cores, and a power supply 406. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the memory 401 may be used to store software programs and modules, and the processor 405 executes various functional applications and data processing by operating the software programs and modules stored in the memory 401. The memory 401 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 401 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 401 may further include a memory controller to provide the processor 405 and the input unit 402 with access to the memory 401.
The input unit 402 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 402 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 405, and can receive and execute commands sent by the processor 405. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 402 may include other input devices in addition to a touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 403 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 403 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 405 to determine the type of touch event, and then the processor 405 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 404, such as a light sensor, motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the motion sensor is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of an electronic device, vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The processor 405 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 401 and calling data stored in the memory 401, thereby performing overall monitoring of the electronic device. Optionally, processor 405 may include one or more processing cores; preferably, the processor 405 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 405.
The electronic device also includes a power source 406 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 405 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 406 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 405 in the electronic device loads the computer program stored in the memory 401, and the processor 405 loads the computer program, thereby implementing various functions:
determining a first working mode of the equipment;
acquiring first trigger signals corresponding to a plurality of functions respectively;
generating a second trigger signal according to the first trigger signal;
and controlling the equipment to enter a function demonstration mode according to the second trigger signal, and keeping other functions except the function being demonstrated in the first working mode to normally run.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the device control methods provided in the present application. For example, the instructions may perform the steps of:
determining a first working mode of the equipment;
acquiring first trigger signals corresponding to a plurality of functions respectively;
generating a second trigger signal according to the first trigger signal;
and controlling the equipment to enter a function demonstration mode according to the second trigger signal, and keeping other functions except the function being demonstrated in the first working mode to normally run.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any device control method provided in the embodiments of the present application, beneficial effects that can be achieved by any device control method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above detailed description is provided for a device control method, an apparatus, an electronic device, and a storage medium provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An apparatus control method characterized by comprising:
determining a first working mode of the equipment;
acquiring first trigger signals corresponding to a plurality of functions respectively;
generating a second trigger signal according to the first trigger signal;
and controlling the equipment to enter a function demonstration mode according to the second trigger signal, and keeping other functions except the function which is being demonstrated in the first working mode to normally run.
2. The device control method of claim 1, wherein said generating a second trigger signal from the first trigger signal comprises:
determining whether a plurality of first trigger signals are generated within a preset time range;
and if the plurality of first trigger signals are all generated within a preset time range, generating the second trigger signal according to the first trigger signals.
3. The device control method according to claim 2, wherein before the generating the second trigger signal according to the first trigger signal, the method further comprises:
determining whether the continuous trigger time lengths corresponding to the first trigger signals all exceed a first preset trigger time length;
and if the continuous trigger time lengths corresponding to the first trigger signals all exceed a first preset trigger time length, generating the second trigger signal according to the first trigger signal.
4. The device control method of claim 2, wherein said generating the second trigger signal from the first trigger signal comprises:
determining a signal type corresponding to each first trigger signal;
generating the second trigger signal according to the signal type.
5. The apparatus control method according to claim 2, wherein after said determining whether each of the plurality of first trigger signals is generated within a preset time range, the method further comprises:
if the plurality of first trigger signals are not all generated within a preset time range, determining a target first trigger signal which is triggered firstly according to the trigger time of each first trigger signal;
and executing a corresponding function according to the target first trigger signal.
6. The device control method according to any one of claims 1 to 5, wherein the controlling the device to enter a function demonstration mode according to the second trigger signal and keeping other functions except the function being demonstrated in the first working mode to be normally operated comprises:
determining a demonstration sequence corresponding to each target function in the function demonstration mode;
and sequentially demonstrating each target function according to the demonstration sequence, and keeping other functions except the function being demonstrated in the first working mode to normally run.
7. The device control method according to any one of claims 1 to 5, wherein after the device is controlled to enter a function demonstration mode according to the second trigger signal and other functions except the function being demonstrated in the first working mode are kept running normally, the method further comprises the following steps:
acquiring a third trigger signal corresponding to a preset function and a trigger duration corresponding to the third trigger signal;
and if the trigger time length corresponding to the third trigger signal exceeds a second preset trigger time length, exiting the function demonstration mode according to the third trigger signal.
8. An apparatus control device, characterized by comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a first working mode of the device;
the acquisition module is used for acquiring first trigger signals corresponding to a plurality of functions respectively;
the generating module is used for generating a second trigger signal according to the first trigger signal;
and the control module is used for controlling the equipment to enter a function demonstration mode according to the second trigger signal and keeping other functions except the function which is being demonstrated in the first working mode to normally run.
9. An electronic device, comprising:
a memory storing executable program code, a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the steps in the device control method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the device control method according to any one of claims 1 to 7.
CN202111658532.0A 2021-12-30 2021-12-30 Device control method, device, electronic device and storage medium Pending CN114322445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111658532.0A CN114322445A (en) 2021-12-30 2021-12-30 Device control method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111658532.0A CN114322445A (en) 2021-12-30 2021-12-30 Device control method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114322445A true CN114322445A (en) 2022-04-12

Family

ID=81019154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111658532.0A Pending CN114322445A (en) 2021-12-30 2021-12-30 Device control method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114322445A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009068759A (en) * 2007-09-12 2009-04-02 Sharp Corp Air conditioner
CN102004605A (en) * 2010-10-18 2011-04-06 深圳市九洲电器有限公司 Specification demonstrating method and system and electronic equipment terminal
CN102865642A (en) * 2011-07-06 2013-01-09 珠海格力电器股份有限公司 Method and device for controlling air conditioner keys, air conditioner and air conditioner remote control
CN103851876A (en) * 2013-12-04 2014-06-11 海信(山东)冰箱有限公司 Refrigerator with demonstration mode and running method of refrigerator
US20160131420A1 (en) * 2014-11-07 2016-05-12 Lg Electronics Inc. Refrigerator and method for controlling the same
CN107468193A (en) * 2017-09-11 2017-12-15 佛山市顺德区美的洗涤电器制造有限公司 The control method and dish-washing machine of dish-washing machine
CN109613349A (en) * 2018-11-02 2019-04-12 珠海格力电器股份有限公司 A kind of fault visual method and terminal device
CN113741833A (en) * 2021-09-18 2021-12-03 威海新北洋技术服务有限公司 Function setting method and device of printing equipment and printing equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009068759A (en) * 2007-09-12 2009-04-02 Sharp Corp Air conditioner
CN102004605A (en) * 2010-10-18 2011-04-06 深圳市九洲电器有限公司 Specification demonstrating method and system and electronic equipment terminal
CN102865642A (en) * 2011-07-06 2013-01-09 珠海格力电器股份有限公司 Method and device for controlling air conditioner keys, air conditioner and air conditioner remote control
CN103851876A (en) * 2013-12-04 2014-06-11 海信(山东)冰箱有限公司 Refrigerator with demonstration mode and running method of refrigerator
US20160131420A1 (en) * 2014-11-07 2016-05-12 Lg Electronics Inc. Refrigerator and method for controlling the same
CN107468193A (en) * 2017-09-11 2017-12-15 佛山市顺德区美的洗涤电器制造有限公司 The control method and dish-washing machine of dish-washing machine
CN109613349A (en) * 2018-11-02 2019-04-12 珠海格力电器股份有限公司 A kind of fault visual method and terminal device
CN113741833A (en) * 2021-09-18 2021-12-03 威海新北洋技术服务有限公司 Function setting method and device of printing equipment and printing equipment

Similar Documents

Publication Publication Date Title
CN108958633B (en) Split screen display method and device, storage medium and electronic equipment
EP3627730B1 (en) Radio frequency interference processing method and electronic device
CN107018022B (en) Software upgrading processing method and device and terminal
US20120249461A1 (en) Dedicated user interface controller for feedback responses
CN111108506A (en) Prompt message display method and electronic equipment
JP5733634B2 (en) Power management apparatus, power management method, and power management program
CN111897263A (en) Intelligent glasses control method and device, storage medium and electronic equipment
CN108369447A (en) The method and apparatus for controlling wearable electronic operating status
CN114203119A (en) Display control method, display control device, electronic equipment and storage medium
US10936184B2 (en) Display apparatus and controlling method thereof
CN110471870B (en) Multi-system operation method and device, electronic equipment and storage medium
CN108815844B (en) Mobile terminal, game control method thereof, electronic device and storage medium
KR102105967B1 (en) Low power sensing device and method for displaying information
CN104699535B (en) A kind of information processing method and electronic equipment
CN106886351B (en) Display method and device of terminal time information and computer equipment
KR20170004714A (en) Method and apparatus for providing help guide
CN111930509A (en) Data processing method and device for intelligent glasses, storage medium and electronic equipment
CN114322445A (en) Device control method, device, electronic device and storage medium
CN114155636A (en) Device control method, device, electronic device and storage medium
CN114398065B (en) Micro front-end system updating method and device, electronic equipment and storage medium
CN109857305A (en) A kind of input response method and mobile terminal
CN106775296B (en) Terminal control method and device
CN111796980B (en) Data processing method and device, electronic equipment and storage medium
CN114279130A (en) Refrigeration equipment control method and device, refrigeration equipment and storage medium
CN106527901B (en) Information display method and device and terminal

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