Equipment control method and device, storage medium and electronic equipment

By detecting the wearable state and application scenarios of the wearable device, and automatically determining and applying corresponding device control strategies, the problem of insufficient control flexibility in the prior art is solved, and the efficiency of the device and battery life are improved.

CN119511778AActive Publication Date: 2025-02-25GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311065315.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-22
Publication Date
2025-02-25
Estimated Expiration
2043-08-22

AI Technical Summary

Technical Problem

In the prior art, wearable devices have poor control flexibility during use and cannot automatically adjust control strategies according to different application scenarios.

Method used

By detecting whether the wearable device is in a wearable state, determining the application scenario it is in, and determining the corresponding device control strategy based on the preset mapping relationship, and then controlling it.

Benefits of technology

It realizes automatic adjustment of control strategies according to the application scenarios of the wearable device, improves the flexibility of device control and avoids unnecessary power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119511778A_ABST
    Figure CN119511778A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment control method and device, a storage medium and electronic equipment. The equipment control method comprises the following steps: when the wearable equipment is in a wearing state, determining an application scene where the wearable equipment is located; determining an equipment control strategy corresponding to the application scene; and controlling the wearable device according to the device control strategy. According to the invention, the control flexibility of the wearable device is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and in particular, relates to a device control method, device, computer-readable storage medium and electronic device. Background Art

[0002] At present, the use of wearable devices (such as smart glasses) has become increasingly widespread. Wearable devices can establish a communication connection with a smartphone and, under the control of the user, implement the functions of the smartphone, such as making and receiving calls, sending and receiving text messages, playing music, etc. However, in the related art, the flexibility of controlling the wearable device during use is poor. Summary of the invention

[0003] The embodiments of the present application provide a device control method, apparatus, storage medium and electronic device, which can improve the flexibility of controlling a wearable device.

[0004] In a first aspect, an embodiment of the present application provides a device control method, including:

[0005] When the wearable device is in a wearing state, determining an application scenario of the wearable device;

[0006] Determine a device control strategy corresponding to the application scenario;

[0007] The wearable device is controlled according to the device control strategy.

[0008] In a second aspect, an embodiment of the present application provides a device control apparatus, including:

[0009] A scene determination module, used to determine the application scene of the wearable device when the wearable device is in a wearing state;

[0010] A strategy determination module, used to determine a device control strategy corresponding to the application scenario;

[0011] A device control module is used to control the wearable device according to the device control strategy.

[0012] In a third aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the device control method provided by the embodiment of the present application.

[0013] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the processor is used to execute the device control method provided in the embodiment of the present application by calling a computer program stored in the memory.

[0014] In the embodiment of the present application, by determining the application scenario of the wearable device when the wearable device is in a worn state; determining a device control strategy corresponding to the application scenario; and controlling the wearable device according to the device control strategy, it is possible to automatically control the wearable device according to the application scenario of the wearable device. Compared with the solution in the related art that uses a single control method to control the wearable device for any application scenario, it has better flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The technical solution and beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0016] Figure 1 This is a first flow chart of the device control method provided in the embodiment of the present application.

[0017] Figure 2 This is a second flow chart of the device control method provided in the embodiment of the present application.

[0018] Figure 3 This is a third flow chart of the device control method provided in the embodiment of the present application.

[0019] Figure 4 This is a fourth flow chart of the device control method provided in the embodiment of the present application.

[0020] Figure 5 It is a structural schematic diagram of the equipment control device provided in an embodiment of the present application.

[0021] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] It should be noted that the terms "first", "second" and "third" in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules inherent to these processes, methods, products or devices.

[0023] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0024] The embodiments of the present application provide a device control method, a device control device, a storage medium and an electronic device, wherein the device control method can be applied to neural network device control in any field and any structure such as image, sound, natural language, and control. The executor of the device control method can be the device control device provided in the embodiments of the present application, or an electronic device integrating the device control device, wherein the device control device can be implemented in hardware or software. Among them, the electronic device can be a smart phone, a tablet computer, a PDA, a laptop computer, a wearable device, or other device equipped with a processor and having device control capabilities.

[0025] The device control method provided in the embodiment of the present application will be described in detail below by taking the electronic device as a wearable device as an example.

[0026] In the related art, no matter what application scenario the wearable device is in, as long as the wearable device is in the wearable state, the wearable device will directly enter the working state from the dormant state; the wearable device will also turn on devices such as speakers and microphones, and keep these devices in the turned-on state. The wearable device will also control the processor to always work at a fixed operating frequency; the wearable device will not restrict the startup of any application, that is, keep any application in a state that can be started.

[0027] See also Figure 1 , Figure 1 This is a schematic diagram of a first process flow of a device control method provided in an embodiment of the present application. The process flow may include:

[0028] In 101, when the wearable device is in a wearing state, an application scenario of the wearable device is determined.

[0029] Among them, wearable devices may include smart glasses, smart watches, smart bracelets, etc. Among them, smart glasses may include ordinary smart glasses, virtual reality (VR) smart glasses, augmented reality (AR) smart glasses, etc.

[0030] In this embodiment, the wearable device can detect in real time whether it is in a wearable state.

[0031] For example, the wearable device may include at least one wear detection sensor, and the wearable device may detect whether the wearable device is in a wearable state through the at least one wear detection sensor. The wear detection sensor may include a proximity sensor (PS), a temperature sensor, an inertial measurement unit (IMU) sensor, and the like.

[0032] If the wearable device is in a wearing state, the application scenario of the wearable device is determined.

[0033] Among them, the application scenarios of wearable devices may include frequency switching scenarios, such as scenarios where the operating frequency of a processor of a wearable device, such as a main processor, needs to be switched, voice interaction scenarios, such as scenarios where corresponding devices of the wearable device, such as a speaker, need to be turned on, so that when the user voice controls the wearable device to make calls and play music, the sound can be output normally, such as the voice of the caller, music, etc., wake-up scenarios, that is, scenarios for waking up the wearable device, and application startup management scenarios, that is, scenarios for restricting the startup of corresponding types of applications in the wearable device.

[0034] If the wearable device is not worn, the wearable device can maintain its current state. For example, if the wearable device is currently in a sleep state (dormant state) or a shutdown state, it can remain in the sleep state or the shutdown state, thereby reducing the power consumption of the wearable device and increasing the battery life of the wearable device.

[0035] It should be noted that the wearable device may include a main processor and a coprocessor. In order to maintain normal wear detection, when the wearable device is in sleep state or shutdown state, the coprocessor and each wear detection sensor can be kept in working state, and the coprocessor can be used to process the data obtained by each wear detection sensor of the wearable device to perform wear detection.

[0036] In 102, a device control strategy corresponding to the application scenario is determined.

[0037] It is understandable that in this embodiment, different device control strategies can be pre-configured for different application scenarios to obtain a preset mapping relationship between application scenarios and device control strategies. After the application scenario of the wearable device is determined, the device control strategy corresponding to the application scenario can be determined according to the preset mapping relationship.

[0038] In 103, the wearable device is controlled according to the device control strategy.

[0039] In this embodiment, after determining the device control strategy corresponding to the application scenario of the wearable device, the wearable device can be controlled according to the device control strategy, such as controlling the wearable device to switch the operating frequency of the main processor, turning on the speaker of the wearable device or waking up the wearable device, etc.

[0040] In this embodiment, when the wearable device is in a worn state, the application scenario of the wearable device is determined; the device control strategy corresponding to the application scenario is determined; and the wearable device is controlled according to the device control strategy. This allows the wearable device to be automatically controlled according to the application scenario in which the wearable device is located. This has better flexibility than the solution in the related art that uses a single control method to control the wearable device for any application scenario.

[0041] In an optional embodiment, determining the application scenario of the wearable device includes:

[0042] Obtain scenario assessment information;

[0043] Determine the application scenario of the wearable device based on the scenario evaluation information.

[0044] Among them, the scene evaluation information may include at least one of the current utilization rate of the processor of the wearable device, the current operating frequency of the processor of the wearable device, the sound information of the environment in which the wearable device is located, the input operation information, such as touch information or voice information, and the connection status with an external control device, such as a smart phone.

[0045] In this embodiment, the wearable device can obtain the above-mentioned scenario evaluation information, and determine the application scenario of the wearable device according to the above-mentioned scenario evaluation information.

[0046] In an optional embodiment, the wearable device includes a processor, the scenario evaluation information includes a current utilization rate and a current operating frequency of the processor, and determining the application scenario of the wearable device includes:

[0047] Determine a target operating frequency corresponding to the current utilization;

[0048] If the target operating frequency does not match the current operating frequency, it is determined that the application scenario of the wearable device is a frequency switching scenario;

[0049] Determine the device control strategy corresponding to the application scenario, including:

[0050] The device control strategy corresponding to the frequency switching scenario is determined as: switching the operating frequency of the processor from the current operating frequency to the target operating frequency.

[0051] It is understandable that when the processor's operating frequency is higher, the processor utilization will be lower; and when the processor's operating frequency is lower, the processor utilization will be higher. In order to avoid the high processor utilization causing the wearable device to freeze, and the processor's operating frequency is extremely high, but the utilization is extremely low, resulting in unnecessary power consumption.

[0052] Based on this, in this embodiment, a preset mapping relationship between the processor utilization and the operating frequency can be preset, wherein the utilization is positively correlated with the operating frequency, that is, the higher the current utilization of the processor, the higher the target operating frequency can be controlled to operate the processor; the lower the current utilization of the processor, the lower the target operating frequency can be controlled to operate the processor. In the subsequent use of the wearable device, the current utilization and current operating frequency of the processor can be obtained in real time, and the target operating frequency corresponding to the current utilization can be determined according to the preset mapping relationship between the utilization and the operating frequency. If the target operating frequency does not match the current operating frequency, the operating frequency of the processor can be switched from the current operating frequency to the target operating frequency.

[0053] It can be understood that in this embodiment, the wearable device can flexibly switch the operating frequency of the processor in real time according to the change of the current utilization rate of the processor. Compared with the solution in the related art that controls the processor to work at a fixed operating frequency regardless of how the current utilization rate of the processor changes, it has better flexibility and is more intelligent. In addition, when it is determined that the processor can work at a lower operating frequency, the operating frequency of the processor is switched to a lower operating frequency, which can also reduce the power consumption of the wearable device and increase the battery life of the wearable device.

[0054] Among them, if the difference between the target operating frequency and the current operating frequency is less than the first preset difference, it is determined that the target operating frequency matches the current operating frequency; if the difference between the target operating frequency and the current operating frequency is greater than the second preset difference, it is determined that the target operating frequency does not match the current operating frequency.

[0055] The preset frequency, the first preset difference and the second preset difference can be set according to actual conditions, and no specific limitation is made here. The first preset difference and the second preset difference can be the same or different.

[0056] It should be noted that the processor mentioned in the embodiments of the present application may include but is not limited to a main processor. The operating frequency mentioned in the embodiments of the present application may include but is not limited to a main frequency of a processor.

[0057] In an optional embodiment, the operating mode of the processor may include a high-frequency operating mode and a low-frequency operating mode, and determining the target operating frequency corresponding to the current utilization rate includes:

[0058] If the current utilization rate is greater than the preset utilization rate, determining the target operating frequency corresponding to the current utilization rate as the operating frequency corresponding to the high-frequency operating mode;

[0059] If the current utilization rate is less than or equal to the preset utilization rate, the target operating frequency corresponding to the current utilization rate is the operating frequency corresponding to the low-frequency operating mode.

[0060] For example, the high-frequency operation mode may be a mode in which the processor operates at a main frequency greater than a first preset frequency, and the low-frequency operation mode may be a mode in which the processor operates at a main frequency less than a second preset frequency. The first preset frequency and the second preset frequency may be preset based on actual needs, and are not specifically limited here. The first preset frequency and the second preset frequency may be the same or different.

[0061] When the target operating frequency corresponding to the current utilization rate is the operating frequency corresponding to the high-frequency operating mode, if the current operating frequency is the operating frequency corresponding to the low-frequency operating mode, it is determined that the target operating frequency does not match the current operating frequency; when the target operating frequency corresponding to the current utilization rate is the operating frequency corresponding to the low-frequency operating mode, if the current operating frequency is the operating frequency corresponding to the high-frequency operating mode, it is determined that the target operating frequency does not match the current operating frequency.

[0062] For example, when the current utilization rate of the processor is low, that is, less than or equal to the preset utilization rate, it can be determined that the complexity of the current scene is low and the processor does not need to operate at a higher frequency. Therefore, if the main frequency of the processor is the operating frequency corresponding to the high-frequency operating mode, the main frequency of the processor can be switched to the operating frequency corresponding to the low-frequency operating mode; when the current utilization rate of the processor is high, that is, greater than the preset utilization rate, it can be determined that the complexity of the current scene is high and the processor needs to operate at a higher frequency. Therefore, if the main frequency of the processor is the operating frequency corresponding to the low-frequency operating mode, the main frequency of the processor can be switched to the operating frequency corresponding to the high-frequency operating mode to improve the energy efficiency ratio.

[0063] It can be understood that in this embodiment, the wearable device can flexibly switch the working mode of the processor between the high-frequency working mode and the low-frequency working mode in real time according to the change of the current utilization rate of the processor. Compared with the solution in the related art that controls the processor to work at a fixed working frequency regardless of how the current utilization rate of the processor changes, it has better flexibility and is more intelligent. In addition, when it is determined that the processor can work at the working frequency corresponding to the low-frequency working mode, the main frequency of the processor is switched to the working frequency corresponding to the low-frequency working mode, which can also reduce the power consumption of the wearable device and increase the battery life of the wearable device.

[0064] In an optional embodiment, the wearable device includes a microphone and a speaker, the scene assessment information includes sound information, and obtaining the scene assessment information includes:

[0065] Collect sound information about the environment where the wearable device is located through a microphone;

[0066] Based on the scenario evaluation information, determine the application scenario of the wearable device, including:

[0067] If the sound information meets the preset voice interaction condition, it is determined that the application scenario of the wearable device is a voice interaction scenario;

[0068] Determine the device control strategy corresponding to the application scenario, including:

[0069] The device control strategy corresponding to the voice interaction scenario is determined as: controlling the speaker to be in an on state.

[0070] In actual applications, users usually use voice to control wearable devices to make calls or play music, etc. At this time, the speaker needs to be turned on to output the voice of the caller or the music. When the speaker is not needed to output sound, the speaker can be turned off to reduce the power consumption of the wearable device and increase the battery life of the wearable device.

[0071] Based on this, in this embodiment, the voice information for controlling the wearable device to make a call or play music can be determined in advance as the sound information that meets the preset voice interaction conditions, and when the sound information collected by the microphone meets the above-mentioned preset voice interaction conditions, the application scenario of the wearable device is determined to be a voice interaction scenario, and the device control strategy corresponding to the voice interaction scenario is set as: control the speaker to be in an on state, then, when the sound information of the wearable device environment collected by the wearable device through the microphone meets the above-mentioned voice interaction conditions, the wearable device can determine that the application scenario of the wearable device is a voice interaction scenario, and the device control strategy corresponding to the voice interaction scenario is to control the speaker to be in an on state. The wearable device can detect whether the speaker is in an on state. If the speaker is in an off state, the wearable device can turn on the speaker so that the speaker is in an on state. If the speaker is in an on state, the wearable device can do nothing.

[0072] In an optional embodiment, when the speaker is in the on state, the wearable device can detect in real time whether the speaker is in the working state. If the speaker is in the working state, no processing is performed. If the speaker is not in the working state, the speaker can be turned off so that the speaker is in the off state.

[0073] In the related art, no matter what application scenario the wearable device is in, as long as the wearable device is in the wearable state, the wearable device will turn on the speaker. It can be seen that in the related art, the flexibility of controlling the wearable device is poor. In addition, for some scenarios where the speaker is not needed, the power consumption of the wearable device will be increased.

[0074] In an optional embodiment, a voice interaction switch may be provided, and the user may control the voice interaction switch to be in an on state or an off state. When the voice interaction switch is in an on state, the user may perform voice interaction with the wearable device to control the electronic device to perform corresponding functions. When the voice interaction switch is in an off state, the wearable device may not respond to the user's voice. Since the wearable device does not need to respond to the user's voice when the voice interaction switch is in an off state, the microphone may be in an off state.

[0075] In the related art, no matter what application scenario the wearable device is in, such as when the voice interaction switch is turned off, as long as the wearable device is worn, the microphone is turned on. It can be seen that in the related art, the flexibility of controlling the wearable device is poor. In addition, for some scenarios where the microphone is not needed, the power consumption of the wearable device will be increased.

[0076] In an optional embodiment, the scene evaluation information includes input operation information, and determining the application scene of the wearable device includes:

[0077] If the operation information meets the preset device wake-up condition, the application scenario of the wearable device is determined to be a to-be-wake-up scenario;

[0078] Determine the device control strategy corresponding to the application scenario, including:

[0079] Determine the device control strategy corresponding to the scenario to be awakened: wake up the wearable device.

[0080] The operation information includes touch information or voice information.

[0081] For example, the operation information for waking up the wearable device can be pre-set as the operation information that meets the preset device wake-up condition. For example, the user is set to slide his finger in the touchable area of ​​the wearable device along the first direction, such as sliding up a first preset distance or sliding along the second direction, such as sliding down a second preset distance. The operation information corresponding to the operation is the operation information that meets the preset device wake-up condition; or the user speaks a corresponding voice, such as "Please wake up XX (XX represents the name of the wearable device)". The operation information corresponding to the operation is the operation information that meets the preset device wake-up condition. Then, when the operation information input by the user is the above operation information, it can be determined that the operation information input by the user meets the preset device wake-up condition, and then it can be determined that the application scenario of the wearable device is the scenario to be awakened.

[0082] The device control strategy corresponding to the to-be-awakened scene may also be pre-set to wake up the wearable device. Then, when it is determined that the application scene in which the wearable device is located is the to-be-awakened scene, the wearable device may wake itself up.

[0083] The first preset distance and the second preset distance can be set according to actual conditions, and no specific limitation is made here. The first preset distance and the second preset distance can be the same or different.

[0084] It can be understood that in this embodiment, the wearable device is awakened only when it is determined that the application scenario of the wearable device is the above-mentioned awakening scenario. Compared with the related art, no matter what application scenario the wearable device is in, as long as the wearable device is in the wearable state, the wearable device is directly awakened. The flexibility of controlling the wearable device is better. In addition, for the scenario where the wearable device does not need to be awakened temporarily, the present application does not wake up the wearable device, so the power consumption of the wearable device will not be increased.

[0085] In an optional embodiment, touch information for turning on the wearable device can be pre-set, such as setting a user to turn on the wearable device by pressing a touchable area of ​​the wearable device with a preset pressure for a preset time with a finger, and when the touch information input by the user is the above touch information, determining that the application scenario of the wearable device is a standby-startup scenario, and setting the device control strategy corresponding to the standby-startup scenario to turn on the wearable device, then, when the user presses the touchable area of ​​the wearable device with a preset pressure for a preset time, the wearable device can determine that the touch information input by the user meets the preset device startup condition, so that the wearable device can determine that the application scenario of the wearable device is the standby-startup scenario, and then, the wearable device can turn on the wearable device.

[0086] Among them, the preset pressing force and preset duration can be set according to actual needs, and no specific restrictions are made here.

[0087] In an optional embodiment, the scenario evaluation information includes a connection state between the wearable device and the external control device, and determining the application scenario of the wearable device includes:

[0088] If the connection state is a disconnected state, determining that the application scenario of the wearable device is an application startup management scenario;

[0089] Determine the device control strategy corresponding to the application scenario, including:

[0090] The device control policy corresponding to the application startup management scenario is determined to be: limiting the startup of applications of a preset type.

[0091] In actual applications, when a wearable device establishes a communication connection with an external control device, such as a smartphone, and is in a connection-maintaining state (a state of maintaining connection), users usually use voice control to realize functions in the smartphone, such as making and receiving calls, sending and receiving text messages, playing music, etc. At this time, a preset type of application in the wearable device is required, such as the support of a voice assistant, so the voice assistant needs to be turned on. However, when the wearable device has not established a communication connection with the external control device or the communication connection is disconnected, causing the wearable device and the external control device to be in a disconnected state (a state of disconnection), users usually do not use voice control to realize functions in the smartphone, such as making and receiving calls, sending and receiving text messages, playing music, etc. In order to avoid unnecessary power consumption, the wearable device can limit the activation of preset types of applications, such as voice assistants.

[0092] It can be understood that in this embodiment, the startup of preset types of applications can be managed in real time based on the change of the connection status between the wearable device and the external control device. For example, when the connection status between the wearable device and the external control device is a disconnected state, the startup of preset types of applications is restricted; when the connection status between the wearable device and the external control device is a maintained state, the startup of preset types of applications is not restricted. Compared with the related art, as long as the wearable device is in a worn state, no matter what application scenario the wearable device is in, the startup of preset types of applications will not be restricted. The flexibility of controlling the wearable device is better, and limiting the startup of preset types of applications can also avoid power consumption caused by mistakenly starting preset types of applications.

[0093] In an optional embodiment, the wearable device includes at least one wear detection sensor. When the wearable device is in a wearable state, before determining the application scenario of the wearable device, the method further includes:

[0094] At least one wear detection sensor is used to detect whether the wearable device is in a wearing state.

[0095] For example, the wearable device includes a proximity sensor and an infrared temperature sensor. When the proximity sensor detects that there is an obstruction and the infrared temperature sensor detects that the temperature belongs to the preset human body temperature range, it is determined that the wearable device is in the wear state. If the proximity sensor detects that there is no obstruction and / or the infrared temperature sensor detects that the temperature does not belong to the preset human body temperature range, it can be determined that the wearable device is not in the wear state, and then it can continue to detect whether the wearable device is in the wear state.

[0096] For example, if the wearable device includes an IMU sensor, if the IMU sensor identifies that the wearable device is picked up / worn, etc., it can be determined that the wearable device is in the worn state. If the IMU sensor identifies that the wearable device is not picked up / worn, etc., it can be determined that the wearable device is not in the worn state.

[0097] In an optional embodiment, if a fall or impact is detected by the IMU sensor, no processing is performed or power is cut off for protection.

[0098] For another example, a wearable device includes an IMU sensor, a proximity sensor, and an infrared temperature sensor. If the IMU sensor identifies that the wearable device is picked up / worn, the proximity sensor detects that there is an obstruction, and the infrared temperature sensor detects that the temperature is within the preset human body temperature range, it is determined that the wearable device is in the wear state. If the IMU sensor identifies that the wearable device is not picked up / worn, the proximity sensor detects that there is no obstruction, and / or the infrared temperature sensor detects that the temperature is not within the set human body temperature range, it can be determined that the wearable device is not in the wear state, and then it can continue to detect whether the wearable device is in the wear state.

[0099] Among them, the preset human body temperature range can be set according to actual needs and is not specifically limited here.

[0100] In an optional embodiment, when the wearable device is in a wearing state, the wearable device can also detect whether the wearer of the wearable device falls through the IMU sensor. If the wearer falls, a fall reminder can be sent to other devices, such as devices of the wearer's relatives and friends, such as sending a fall reminder to other devices through an external control device, so that the wearer's relatives and friends can rescue the wearer in time.

[0101] See also Figure 2 , Figure 2 This is a second flow chart of the device control method provided in the embodiment of the present application, and the flow chart may include:

[0102] In 201, at least one wear detection sensor is used to detect whether the wearable device is in a wearing state.

[0103] In 202, when the wearable device is in a wearing state, input operation information is obtained.

[0104] In 203, if the operation information meets the preset device wake-up condition, the wearable device is woken up.

[0105] In 204, the current utilization rate and current operating frequency of the processor are obtained.

[0106] In 205, a target operating frequency corresponding to the current utilization is determined.

[0107] In 206 , if the target operating frequency does not match the current operating frequency, the operating frequency of the processor is switched from the current operating frequency to the target operating frequency.

[0108] It is understandable that when the wearable device is not awakened, it is usually in a dormant state, and when the wearable device is in a dormant state, the processor, such as the main processor, is usually in a turned-off state, and there is no need to detect the operating frequency of the processor. When the wearable device is in an awakened state, the main processor is in an on state, and the operating frequency of the processor needs to be detected. Therefore, in this embodiment, after waking up the wearable device, the step of obtaining the current utilization rate and current operating frequency of the processor can be performed. The specific implementation of steps 201 to 206 can refer to the previous embodiment, and will not be repeated here.

[0109] See also Figure 3 , Figure 3 This is a third flow chart of the device control method provided in the embodiment of the present application, and the flow chart may include:

[0110] In 301, at least one wear detection sensor is used to detect whether the wearable device is in a wearing state.

[0111] In 302, when the wearable device is in a wearing state, input operation information is obtained.

[0112] In 303, if the operation information meets the preset device wake-up condition, the wearable device is woken up.

[0113] In 304, sound information of the environment in which the wearable device is located is collected through a microphone.

[0114] In 305, if the sound information meets the preset voice interaction condition, the speaker is controlled to be in an on state.

[0115] It is understandable that when the wearable device is not awakened, it is usually in a dormant state. When the wearable device is in a dormant state, the user usually does not voice control the wearable device to make calls or play music, etc. Therefore, there is no need to detect whether the sound information meets the preset voice interaction conditions. When the wearable device is in an awake state, the user usually voice controls the wearable device to make calls or play music, etc. Therefore, it is necessary to detect whether the sound information meets the preset voice interaction conditions. Therefore, in this embodiment, after waking up the wearable device, the step of collecting the sound information of the environment in which the wearable device is located through the microphone can be performed to detect whether the sound information meets the preset voice interaction conditions. The specific implementation of steps 301 to 205 can refer to the previous embodiment and will not be repeated here.

[0116] See also Figure 4 , Figure 4 This is a fourth flow chart of the device control method provided in the embodiment of the present application, and the flow may include:

[0117] In 401, at least one wear detection sensor is used to detect whether the wearable device is in a wearing state.

[0118] In 402, when the wearable device is in a wearing state, input operation information is obtained.

[0119] In 403, if the operation information meets the preset device wake-up condition, the wearable device is woken up.

[0120] In 404, the connection status between the wearable device and the external control device is obtained.

[0121] In 405 , if the connection state is a disconnected state, activation of applications of a preset type is restricted.

[0122] It is understandable that the wearable device is usually in a dormant state when it is not awakened, and when the wearable device is in a dormant state, the wearable device usually does not respond to the user's erroneous operation, so there is no need to manage the startup of the application. When the wearable device is in an awake state, there may be a situation where the user mistakenly starts the corresponding application, and in some scenarios, some applications are often not used, so it is necessary to manage the startup of these applications. Therefore, in this embodiment, after waking up the wearable device, the step of obtaining the connection status between the wearable device and the external control device can be performed to determine whether it is necessary to manage the startup of the preset type of application. The specific implementation of steps 401 to 405 can refer to the previous embodiment, which will not be repeated here.

[0123] See also Figure 5 , Figure 5The schematic diagram of the structure of the device control apparatus provided in the embodiment of the present application is as follows: The device control apparatus 500 comprises: a scene determination module 501 , a strategy determination module 502 and a device control module 503 .

[0124] The scene determination module 501 is used to determine the application scene of the wearable device when the wearable device is in a worn state.

[0125] The strategy determination module 502 is used to determine the device control strategy corresponding to the application scenario.

[0126] The device control module 503 is used to control the wearable device according to the device control strategy.

[0127] In an optional embodiment, the scene determination module 501 can be used to: obtain scene evaluation information; and determine the application scene of the wearable device according to the scene evaluation information.

[0128] In an optional embodiment, the wearable device includes a processor, the scenario evaluation information includes a current utilization rate and a current operating frequency of the processor, and the scenario determination module 501 can be used to: determine a target operating frequency corresponding to the current utilization rate; if the target operating frequency does not match the current operating frequency, determine that the application scenario of the wearable device is a frequency switching scenario;

[0129] The strategy determination module 502 may be used to determine that the device control strategy corresponding to the frequency switching scenario is: switching the operating frequency of the processor from the current operating frequency to the target operating frequency.

[0130] In an optional embodiment, the wearable device includes a microphone and a speaker, the scene evaluation information includes sound information, and the scene determination module 501 can be used to: collect sound information of the environment in which the wearable device is located through the microphone; if the sound information meets a preset voice interaction condition, determine that the application scenario of the wearable device is a voice interaction scenario;

[0131] The strategy determination module 502 may be used to determine that the device control strategy corresponding to the voice interaction scenario is to control the speaker to be in an on state.

[0132] In an optional embodiment, the scene evaluation information includes input operation information, and the scene determination module 501 can be used to: if the operation information meets the preset device wake-up condition, determine that the application scene of the wearable device is a scene to be woken up;

[0133] The strategy determination module 502 may be used to determine that the device control strategy corresponding to the scene to be awakened is: awakening the wearable device.

[0134] In an optional embodiment, the scenario evaluation information includes a connection state between the wearable device and the external control device, and the scenario determination module 501 may be used to: if the connection state is a disconnected state, determine that the application scenario of the wearable device is an application startup management scenario;

[0135] The policy determination module 502 may be used to determine that the device control policy corresponding to the application startup management scenario is to restrict startup of applications of a preset type.

[0136] In an optional embodiment, the wearable device includes at least one wear detection sensor, and the device control device 500 may also include a wear detection module, which may be used to detect whether the wearable device is in a wearing state through at least one of the wear detection sensors.

[0137] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the device control method provided in the present embodiment.

[0138] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the device control method provided in the present embodiment by calling a computer program stored in the memory.

[0139] The electronic device 600 may include components such as a processor 601 and a memory 602. Those skilled in the art will appreciate that Figure 6 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the electronic device 600 may also include a speaker, a microphone, a wearable detection sensor, etc.

[0140] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 602 and calling data stored in the memory 602, thereby monitoring the electronic device as a whole.

[0141] The memory 602 may be used to store applications and data. The applications stored in the memory 602 include executable codes. The applications may be composed of various functional modules. The processor 601 executes various functional applications and data processing by running the applications stored in the memory 602.

[0142] In this embodiment, the processor 601 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application program stored in the memory 602, thereby achieving:

[0143] When the wearable device is in a wearing state, determining an application scenario of the wearable device;

[0144] Determine a device control strategy corresponding to the application scenario;

[0145] The wearable device is controlled according to the device control strategy.

[0146] In an optional embodiment, when the processor 601 executes the step of determining the application scenario of the wearable device, the processor 601 may execute: obtaining scenario evaluation information; and determining the application scenario of the wearable device according to the scenario evaluation information.

[0147] In an optional embodiment, the wearable device includes a processor, and the scenario evaluation information includes a current utilization rate and a current operating frequency of the processor. When the processor 601 executes the determination of the application scenario in which the wearable device is located, it can execute: determining a target operating frequency corresponding to the current utilization rate; if the target operating frequency does not match the current operating frequency, determining that the application scenario in which the wearable device is located is a frequency switching scenario; when the processor 601 executes the determination of a device control strategy corresponding to the application scenario, it can execute: determining that the device control strategy corresponding to the frequency switching scenario is: switching the operating frequency of the processor from the current operating frequency to the target operating frequency.

[0148] In an optional embodiment, the wearable device includes a microphone and a speaker, and the scene evaluation information includes sound information. When the processor 601 executes the acquisition of the scene evaluation information, it can execute: collecting the sound information of the environment in which the wearable device is located through the microphone; when the processor 601 executes the determination of the application scenario of the wearable device based on the scene evaluation information, it can execute: if the sound information meets the preset voice interaction conditions, then determining that the application scenario of the wearable device is a voice interaction scenario; when the processor 601 executes the determination of the device control strategy corresponding to the application scenario, it can execute: determining that the device control strategy corresponding to the voice interaction scenario is: controlling the speaker to be in an on state.

[0149] In an optional embodiment, the scene evaluation information includes input operation information. When the processor 601 executes the determination of the application scenario of the wearable device, it can execute: if the operation information meets the preset device wake-up condition, then determine that the application scenario of the wearable device is the scene to be awakened; when the processor 601 executes the determination of the device control strategy corresponding to the application scenario, it can execute: determine that the device control strategy corresponding to the scene to be awakened is: wake up the wearable device.

[0150] In an optional embodiment, the scenario evaluation information includes the connection status between the wearable device and the external control device. When the processor 601 executes the determination of the application scenario of the wearable device, it can execute: if the connection status is a disconnected state, then determine that the application scenario of the wearable device is an application startup management scenario; when the processor 601 executes the determination of the device control policy corresponding to the application scenario, it can execute: determine that the device control policy corresponding to the application startup management scenario is: limit the startup of applications of preset types.

[0151] In an optional embodiment, the wearable device includes at least one wear detection sensor. Before the processor 601 executes the step of determining the application scenario of the wearable device when the wearable device is in the wearable state, it may also execute: detecting whether the wearable device is in the wearable state by using at least one of the wear detection sensors.

[0152] In the above embodiments, the description of each embodiment has its own focus. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the device control method above, and will not be repeated here.

[0153] The device control apparatus provided in the embodiment of the present application belongs to the same concept as the device control method in the above embodiment. Any method provided in the device control method embodiment can be run on the device control apparatus. The specific implementation process is detailed in the device control method embodiment and will not be repeated here.

[0154] It should be noted that, for the device control method of the embodiment of the present application, a person skilled in the art can understand that all or part of the process of implementing the device control method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the device control method. Among them, the computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.

[0155] It is understandable that in the specific implementation of this application, user information is involved, such as application usage behavior data, logs and other related data. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0156] For the device control device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.

[0157] The above is a detailed introduction to a device control method, apparatus, storage medium and electronic device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A device control method, characterized in that: include: When the wearable device is in a wearing state, determining an application scenario of the wearable device; Determine a device control strategy corresponding to the application scenario; The wearable device is controlled according to the device control strategy.

2. The device control method according to claim 1, characterized in that: The determining the application scenario of the wearable device includes: Obtain scenario assessment information; The application scenario of the wearable device is determined according to the scenario evaluation information.

3. The device control method according to claim 2, characterized in that: The wearable device includes a processor, the scenario evaluation information includes a current utilization rate and a current operating frequency of the processor, and the determining the application scenario of the wearable device includes: Determining a target operating frequency corresponding to the current utilization rate; If the target operating frequency does not match the current operating frequency, determining that the application scenario of the wearable device is a frequency switching scenario; The determining of the device control strategy corresponding to the application scenario includes: The device control strategy corresponding to the frequency switching scenario is determined as: switching the operating frequency of the processor from the current operating frequency to the target operating frequency.

4. The device control method according to claim 2, characterized in that: The wearable device includes a microphone and a speaker, the scene evaluation information includes sound information, and obtaining the scene evaluation information includes: Collecting sound information of the environment in which the wearable device is located through the microphone; The determining, according to the scenario evaluation information, the application scenario of the wearable device includes: If the sound information meets the preset voice interaction condition, determining that the application scenario of the wearable device is a voice interaction scenario; The determining of the device control strategy corresponding to the application scenario includes: Determine that the device control strategy corresponding to the voice interaction scenario is: control the speaker to be in an on state.

5. The device control method according to claim 2, characterized in that: The scenario evaluation information includes input operation information, and the determining the application scenario of the wearable device includes: If the operation information satisfies a preset device awakening condition, determining that the application scenario of the wearable device is a scenario to be awakened; The determining of the device control strategy corresponding to the application scenario includes: Determine that the device control strategy corresponding to the scene to be awakened is: awaken the wearable device.

6. The device control method according to claim 2, characterized in that: The scenario evaluation information includes a connection state between the wearable device and an external control device, and the determining the application scenario of the wearable device includes: If the connection state is a disconnected state, determining that the application scenario of the wearable device is an application startup management scenario; The determining of the device control strategy corresponding to the application scenario includes: Determine that the device control policy corresponding to the application startup management scenario is: restricting the startup of applications of a preset type.

7. The device control method according to any one of claims 1 to 6, characterized in that: The wearable device includes at least one wear detection sensor. When the wearable device is in a wearable state, before determining the application scenario of the wearable device, the method further includes: Whether the wearable device is in a wearing state is detected by at least one of the wear detection sensors.

8. A device control device, characterized in that: include: A scene determination module, used to determine the application scene of the wearable device when the wearable device is in a wearing state; A strategy determination module, used to determine a device control strategy corresponding to the application scenario; A device control module is used to control the wearable device according to the device control strategy.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the device control method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor is used to execute the device control method according to any one of claims 1 to 7 by calling the computer program stored in the memory.

Citation Information

Patent Citations

  • Control method and device for intelligent wearable devices, electronic device and medium

    CN109032246A

  • Identification method, device, wearable device and storage medium

    CN109145847A

  • A wearable device and a power consumption control method thereof

    CN109189200A

  • Interaction control method and device and computer readable storage medium

    CN109885246A

  • Method for reducing power consumption of wearable device and related device

    CN114816027A