Control method and device, computer equipment and storage medium

Through the dual judgment of light intensity and wearing status of the wearable device, the light-emitting device is automatically controlled, which solves the problem of low recognition of driver's riding at night, improves safety and equipment efficiency, and reduces operation complexity and energy consumption.

CN118550216APending Publication Date: 2024-08-27BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310140208.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

When driving at night, the visibility of the environment is low and it is difficult to identify the driver, which increases the risk of traffic accidents. The existing technology requires manual turning on and off of the helmet light, which is complex and inefficient.

Method used

Through the wearable device, the dual judgment of ambient light intensity and wearing status is obtained, and the turning on and off of the light-emitting device is automatically controlled, reducing the complexity of the operation and the wasteful energy consumption.

Benefits of technology

It realizes intelligent control of light-emitting devices, improves user safety and equipment efficiency, reduces useless energy consumption, and is suitable for safety protection in night environments such as driving on behalf of others.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550216A
    Figure CN118550216A
Patent Text Reader

Abstract

The invention provides a control method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining the light intensity data of an environment where wearable equipment is located; under the condition that the light intensity of the environment is determined to be smaller than preset intensity based on the light intensity data, acquiring first sensing data used for representing the wearing state of the wearable device; under the condition that it is determined that the wearable device is worn according to the first sensing data, a light-emitting device on the wearable device is controlled to be turned on, and the mode of the wearable device is determined to be a working mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a control method, device, computer equipment and storage medium. Background Art

[0002] With the development of cities, more and more users drive cars to travel; at the same time, there are also cases where it is inconvenient for car owners to drive their own vehicles. In this case, car owners can choose a designated driver service. However, designated driver services usually take place at night, where visibility is low. Designated drivers often cannot be well identified during riding, resulting in traffic accidents, and their life safety cannot be guaranteed. Summary of the invention

[0003] The embodiments of the present disclosure at least provide a control method, an apparatus, a computer device, and a storage medium.

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

[0005] Obtain the light intensity data of the wearable device's environment;

[0006] When it is determined based on the light intensity data that the light intensity of the environment is less than a preset intensity, obtaining first sensing data for characterizing a wearing state of the wearable device;

[0007] When it is determined according to the first sensing data that the wearing state of the wearable device is being worn, the light emitting device on the wearable device is controlled to turn on, and the mode of the wearable device is determined to be the working mode.

[0008] In an optional implementation manner, the method further includes:

[0009] Acquire second sensor data for characterizing a vibration condition of the wearable device;

[0010] The first sensing data and the second sensing data are sent to a server, so that the server determines whether there is an abnormality in a target user using the wearable device based on the first sensing data and the second sensing data, and sends an inquiry message when an abnormality is detected in the target user.

[0011] In an optional implementation manner, the method further includes:

[0012] Receiving the inquiry information;

[0013] Control a display device on the wearable device to display the inquiry information, and / or control a voice playback device to play the inquiry information.

[0014] In an optional implementation manner, the first sensing data is collected by using a first sensor on the wearable device, and the method further includes:

[0015] When it is determined based on the light intensity data that the light intensity of the environment is greater than or equal to the preset intensity, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data at a first operating frequency;

[0016] When it is determined according to the first sensing data that the wearing state of the wearable device is not being worn, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data at a second operating frequency; wherein the first operating frequency is lower than the second operating frequency.

[0017] In an optional implementation, when the wearable device is in the standby mode, the method further includes:

[0018] When it is determined based on the second sensing data that the wearable device is in a state of non-vibration for a duration greater than or equal to a first preset duration, the wearable device is controlled to switch from the standby mode to the power saving mode, and the first sensor is controlled to be turned off.

[0019] In an optional implementation, when the wearable device is in a power saving mode, the method further includes:

[0020] When it is determined based on the second sensing data that the wearable device is in vibration, the wearable device is controlled to switch from the power saving mode to the standby mode, and the first sensor is controlled to turn on.

[0021] In an optional implementation manner, the method further includes:

[0022] In response to a triggering operation on a target button on the wearable device, the light-emitting device on the wearable device is controlled to work for a second preset time period according to a preset motion effect, and the light-emitting mode of the light-emitting device on the wearable device is switched.

[0023] In an optional implementation manner, the method further includes:

[0024] When it is detected that the power level of the wearable device is lower than a power threshold, the wearable device is controlled to give an alarm in a preset alarm mode; the preset alarm mode includes a voice alarm mode and / or a light alarm mode.

[0025] In a second aspect, an embodiment of the present disclosure further provides a control device, including:

[0026] A first acquisition module is used to acquire light intensity data of the environment in which the wearable device is located;

[0027] A second acquisition module is used to acquire first sensing data for characterizing a wearing state of the wearable device when it is determined based on the light intensity data that the light intensity of the environment is less than a preset intensity;

[0028] The control module is used to control the light-emitting device on the wearable device to turn on and determine the mode of the wearable device as the working mode when it is determined according to the first sensing data that the wearing state of the wearable device is being worn.

[0029] In a third aspect, an embodiment of the present disclosure further provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect, or any possible implementation of the first aspect are performed.

[0030] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.

[0031] The control method, device, computer device and storage medium provided by the embodiments of the present disclosure can determine whether the light intensity of the environment in which the wearable device is located is less than the preset intensity based on the light intensity data of the environment in which the wearable device is located; if so, the first sensor data used to characterize the wearing state of the wearable device can be obtained; further, it can be determined whether the wearing state of the wearable device is being worn according to the first sensor data, and if so, the light-emitting device on the wearable device can be controlled to turn on, and the mode of the wearable device can be determined as the working mode. The present disclosure can more accurately determine whether the user needs to turn on the light-emitting device by dual judgment of the light intensity and the wearing state of the environment in which the wearable device is located, thereby realizing more accurate and intelligent control of the light-emitting device on the wearable device, without the need for the user to manually turn on or off the light-emitting device, thereby reducing the complexity of the operation; at the same time, the present disclosure can reduce the energy consumed by the useless work of the light-emitting device on the wearable device while ensuring the safety of the user by dual judgment of the light intensity and the wearing state of the environment in which the wearable device is located, thereby improving the working efficiency of the wearable device.

[0032] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0034] Figure 1 A flow chart of a control method provided by an embodiment of the present disclosure is shown;

[0035] Figure 2 A schematic diagram showing a working process of a wearable device in a control method provided by an embodiment of the present disclosure;

[0036] Figure 3 A schematic diagram of the architecture of a control device provided by an embodiment of the present disclosure is shown;

[0037] Figure 4 A schematic diagram of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0039] With the development of cities, more and more users drive cars to travel; at the same time, there are also cases where it is inconvenient for car owners to drive their own vehicles. In this case, car owners can choose a designated driver service. However, designated driver services usually take place at night, where visibility is low. Designated drivers often cannot be well identified during riding, resulting in traffic accidents.

[0040] Generally, a helmet light can be installed on the rear of the helmet worn by the designated driver. By turning on the helmet light at night, the designated driver's recognition can be increased to ensure the driver's safety. In the designated driver scenario, the designated driver needs to wear a helmet when riding and waiting outdoors. He does not need to wear a helmet when driving to pick up passengers, and the helmet can be placed in the trunk. In the related art, the intensity of ambient light is used as the judgment condition for turning on the helmet light, so that the designated driver needs to manually turn off the helmet light before driving each time, and then put the helmet in the trunk; after driving, the helmet light needs to be manually turned on and the helmet needs to be worn. The operation of the helmet light is frequent and complicated, resulting in low working efficiency of the helmet light.

[0041] In order to alleviate the above problems, the embodiments of the present disclosure provide a control method, an apparatus, a computer device and a storage medium.

[0042] The defects existing in the above schemes and the proposed solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.

[0043] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0044] To facilitate understanding of this embodiment, a control method disclosed in the embodiment of the present disclosure is first introduced in detail. The executor of the control method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities.

[0045] The control method provided in the embodiment of the present disclosure is described below by taking the execution subject as a control unit on a wearable device as an example.

[0046] See also Figure 1 FIG. 1 is a flow chart of a control method provided by an embodiment of the present disclosure, wherein the method includes S101-S103, wherein:

[0047] S101. Obtain light intensity data of an environment in which the wearable device is located.

[0048] During implementation, a light detection unit such as a photodiode or a photosensitive sensor can be installed on the wearable device. After the wearable device is turned on, the light detection unit is used to collect light intensity data of the environment in which the wearable device is located; then, the execution entity, such as the control unit on the wearable device, can obtain the collected light intensity data so as to judge the light intensity of the environment based on the light intensity data.

[0049] S102: When it is determined based on the light intensity data that the light intensity of the environment is less than a preset intensity, obtain first sensing data for characterizing a wearing state of the wearable device.

[0050] During implementation, the wearable device may also be installed with sensing detection components such as infrared temperature sensors or infrared distance sensors, so that the sensing detection components can be used to collect first sensing data, which can be used to determine the wearing state of the wearable device, that is, to determine whether the wearable device is currently being worn.

[0051] After obtaining the light intensity data, it can be determined whether the light intensity of the environment is less than the preset intensity based on the light intensity data, that is, whether the environment is a dark light environment; and when the light intensity of the environment is less than the preset intensity, the collected first sensing data is obtained; further, the wearing state of the wearable device can be determined based on the first sensing data. The preset intensity can be set according to actual needs, for example, the preset intensity can be 10 lux.

[0052] Here, the data type of the first sensing data is related to the type of sensing detection component installed on the wearable device. For example, when an infrared temperature sensor is installed on the wearable device, the first sensing data obtained may be temperature data collected by the infrared temperature sensor; when an infrared distance sensor is installed on the wearable device, the first sensing data obtained may be distance data collected by the infrared distance sensor.

[0053] S103: When it is determined according to the first sensing data that the wearing state of the wearable device is being worn, control the light-emitting device on the wearable device to turn on, and determine the mode of the wearable device as the working mode.

[0054] During implementation, after obtaining the first sensing data, it is possible to determine whether the wearing state of the wearable device is being worn based on the first sensing data; and when it is determined that the wearing state of the wearable device is being worn, the light-emitting device on the wearable device is controlled to turn on, and the mode of the wearable device can be determined as the working mode.

[0055] The present disclosure can more accurately judge whether the user needs to turn on the light-emitting device by dual judgment of the light intensity of the environment in which the wearable device is located and the wearing state, thereby realizing more precise and intelligent control of the light-emitting device on the wearable device, without the need for the user to manually turn on or off the light-emitting device, thereby reducing the complexity of operation; at the same time, the present disclosure can reduce the energy consumed by useless work of the light-emitting device on the wearable device while ensuring the safety of user use by dual judgment of the light intensity of the environment in which the wearable device is located and the wearing state, thereby improving the working efficiency of the wearable device.

[0056] Considering that in the application scenarios of wearable devices, accidents may occur to users of the wearable devices, thereby causing safety issues. In order to deal with the above situation, the embodiments of the present disclosure disclose sending the acquired data to a server so that the server can judge the user's safety situation based on the data.

[0057] During specific implementation, the method may further include:

[0058] Step A1, obtaining second sensor data for characterizing the vibration condition of the wearable device.

[0059] Step A2, sending the first sensing data and the second sensing data to the server, so that the server determines whether there is an abnormality in the target user using the wearable device based on the first sensing data and the second sensing data, and sends an inquiry message when an abnormality is detected in the target user.

[0060] During implementation, a vibration sensor can also be installed on the wearable device, and the vibration sensor can be used to collect second sensor data, and the second sensor data can determine the vibration condition of the wearable device; further, the execution subject, such as the control unit on the wearable device, can obtain the second sensor data collected by the vibration sensor, and can send the first sensor data and the second sensor data to the server, for example, the first sensor data and the second sensor data can be sent to the server via Bluetooth or network communication.

[0061] The server can determine whether there is any abnormality in the target user using the wearable device based on the first sensor data and the second sensor data, such as whether the target user has a collision. If there is no abnormality, no processing is performed; if there is an abnormality, an inquiry message is generated and sent to the target user.

[0062] Exemplarily, after sending the acquired first sensor data and second sensor data to the server, the server can determine whether the wearing state of the wearable device is being worn based on the first sensor data, and can determine the vibration condition of the wearable device based on the second sensor data. If the first sensor data indicates that the wearing state of the wearable device is being worn, it means that the target user is riding, and the second sensor data indicates that the vibration condition of the wearable device is abnormal, such as the vibration speed is greater than the vibration speed threshold, etc., which means that the target user may have an accident, such as falling, crashing, etc., then it can be determined that there is an abnormality in the target user using the wearable device, and an inquiry message is sent.

[0063] In specific implementation, after obtaining the second sensor data, the light intensity data, the first sensor data and the second sensor data can be sent to the server, so that the server can determine whether the usage of the wearable device meets the requirements based on the light intensity data, the first sensor data and the second sensor data, and send a prompt message when it is detected that the usage of the wearable device does not meet the requirements.

[0064] Exemplarily, if the server determines based on the light intensity data that the light intensity of the environment is less than the preset intensity, it determines that the environment is a dark light environment; based on the first sensor data, it determines that the wearing state of the wearable device is not worn, which means that the target user is not wearing the wearable device; and based on the second sensor data, it determines that the vibration condition of the wearable device is normal, for example, the vibration speed is less than or equal to the vibration speed threshold, which means that the target user may be riding; then it can be determined that the target user is not wearing the wearable device when riding in a dark light environment, that is, it is determined that the usage of the wearable device does not meet the requirements, and a prompt message is sent.

[0065] Here, since the first sensor data can characterize the wearing state of the wearable device, and the second sensor data can characterize the vibration condition of the wearable device, by sending the first sensor data and the second sensor data to the server, the server can send an inquiry message when it detects that there is an abnormality in the target user based on the first sensor data and the second sensor data. The inquiry information can be used to more accurately determine whether the target user needs help, so that help can be provided in time when the target user needs help, thereby improving the safety of the target user and enriching the functions of the wearable device.

[0066] During implementation, when the server sends the query information to the target user, the query information may be sent to the wearable device. During specific implementation, the method may further include:

[0067] Step B1, receiving inquiry information.

[0068] Step B2, controlling the display device on the wearable device to display the inquiry information, and / or the voice playing device to play the inquiry information.

[0069] During implementation, the control unit on the wearable device can receive the inquiry information and can control the display device on the wearable device to display the inquiry information; or, can control the voice playback device on the wearable device to play the inquiry information; or, can control the display device on the wearable device to display the inquiry information while controlling the voice playback device on the wearable device to play the inquiry information; so as to be able to determine whether the target user needs help.

[0070] Alternatively, the control unit on the wearable device may also receive prompt information. After receiving the prompt information, the control unit on the wearable device may control the prompt device on the wearable device to provide sound prompts or light prompts.

[0071] During specific implementation, the mobile terminal device to which the target user belongs can also be used to receive inquiry information or prompt information; specifically, the wearable device can be bound to the mobile terminal device, for example, the first identification information of the wearable device can be associated with the second identification information of the mobile terminal device; then, the server can determine the wearable device based on the received first sensing data and the second sensing data, and can determine the mobile terminal device based on the determined first identification information of the wearable device; so as to send the inquiry information or prompt information to the mobile terminal device.

[0072] The mobile terminal device can receive inquiry information and display the inquiry information through a display device or a voice playback device of the mobile terminal device; and the mobile terminal device can receive prompt information so that the target user can be prompted to wear the wearable device as required through the mobile terminal device.

[0073] Alternatively, a voice call or video call can be made with the target user through the mobile terminal device, so as to ask the target user whether he needs help, or prompt the target user to wear the wearable device as required.

[0074] Here, after receiving the inquiry information, by controlling the display device on the wearable device to display the inquiry information, and / or the voice playback device to play the inquiry information, the user can seek help in time when an abnormality occurs, thereby improving the safety of the target user.

[0075] During implementation, it is considered that the first sensing data used to characterize the wearing state of the wearable device can be collected by using the first sensor on the wearable device, and the first sensor can be an infrared temperature sensor or an infrared distance sensor; and the infrared temperature sensor or the infrared distance sensor has high power consumption. If it is always in the on state, or always in a high working frequency, it will cause the power consumption of the wearable device to be large, and increase the charging frequency of the wearable device. Therefore, by controlling the working frequency and the off state of the first sensor, the power consumption of the wearable device can be reduced.

[0076] In a possible implementation manner, the first sensing data is collected by using a first sensor on the wearable device, and the method further includes:

[0077] Step C1, when it is determined based on the light intensity data that the light intensity of the environment is greater than or equal to a preset intensity, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data at a first operating frequency.

[0078] Step C2: when it is determined according to the first sensing data that the wearing state of the wearable device is not being worn, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data according to a second operating frequency; wherein the first operating frequency is lower than the second operating frequency.

[0079] During implementation, after obtaining the light intensity data, if it is determined based on the light intensity data that the light intensity of the environment is greater than or equal to the preset intensity, that is, the environment is determined to be a strong light environment, there is no need to turn on the light-emitting device on the wearable device. The mode of the wearable device can be determined as the standby mode, and the first sensor can be controlled to collect data according to the first operating frequency.

[0080] In a specific implementation, after controlling the light-emitting device on the wearable device to turn on, since there is no need to judge the wearing status of the wearable device in real time, the first sensor can be controlled to collect data according to the first operating frequency, and the first operating frequency can be a low frequency so as to reduce the power consumption of the wearable device.

[0081] Here, when it is determined based on the light intensity data that the light intensity of the environment is greater than or equal to the preset intensity, that is, when the environment is a bright light environment, there is no need to turn on the light-emitting device on the wearable device. Therefore, controlling the first sensor to collect data at the first operating frequency, that is, controlling the first sensor to collect data at a low frequency, can reduce the power consumption of the wearable device and increase the usage time of the wearable device.

[0082] After the light intensity data determines that the light intensity of the environment is less than the preset intensity, the first sensor data can be obtained. If after obtaining the first sensor data, it is determined that the wearing state of the wearable device is not worn according to the first sensor data, that is, the environment is determined to be a dark light environment and the wearing state of the wearable device is not worn, it means that the wearable device is not in use. For example, the wearable device may be stored in the trunk, or the target user may be waiting for an order, etc.; the mode of the wearable device can be determined as the standby mode, and the first sensor can be controlled to collect data according to the second operating frequency; wherein the first operating frequency is lower than the second operating frequency, and the first operating frequency and the second operating frequency can be set according to actual needs, for example, the first operating frequency can be 5 seconds / time, and the second operating frequency can be 0.5 seconds / time.

[0083] Here, the first sensor is controlled to operate at the second operating frequency so that the wearing state of the wearable device can be judged at a high frequency, so that after the target user wears the wearable device, it can be determined in real time that the wearing state of the wearable device has changed to being worn, thereby improving the detection efficiency of the wearing state of the wearable device and ensuring the working efficiency of the light-emitting device.

[0084] In a possible implementation, when the wearable device is in standby mode, the method further includes: when it is determined based on the second sensor data that the wearable device is in a non-vibration state for a duration greater than or equal to a first preset duration, controlling the wearable device to switch from standby mode to power saving mode, and controlling the first sensor to turn off.

[0085] During implementation, it is considered that the target user may forget to turn off the power of the wearable device after work; or when the wearable device is in standby mode, the wearable device is not worn for a long time; in the above case, if the first sensor is always in the on state, the first sensor will continue to collect data, increasing the power consumption of the wearable device. Therefore, when the wearable device is in standby mode, it can be determined based on the acquired second sensor data whether the wearable device is in vibration. If it is in a non-vibrating state, the duration of the non-vibration is determined. When the duration is greater than or equal to the first preset duration, the wearable device is in a static non-working state for a long time. Therefore, in order to save energy, the wearable device can be controlled to switch from standby mode to power saving mode, and the first sensor can be controlled to be turned off, that is, when the wearable device is in power saving mode, the first sensor is in the off state. Among them, the first preset duration can be set according to actual needs, for example, it can be 10 minutes.

[0086] Here, when the wearable device is in standby mode, if it is determined based on the second sensor data that the wearable device is not in vibration for a continuous period greater than or equal to the first preset period, it means that the wearable device has not been used for a long time. Controlling the first sensor to turn off can reduce the power consumption of the wearable device, reduce the power consumption of the wearable device, and increase the working time of the wearable device.

[0087] In a possible implementation, when the wearable device is in a power saving mode, the method further includes: when it is determined based on the second sensing data that the wearable device is in vibration, controlling the wearable device to switch from the power saving mode to the standby mode, and controlling the first sensor to turn on.

[0088] During implementation, in order to facilitate user operation, the first sensor can be controlled to be turned on based on the second sensor data. Specifically, when the wearable device is in power saving mode, if it is determined based on the second sensor data that the wearable device is in vibration, the wearable device can be controlled to switch from power saving mode to standby mode, and the first sensor can be controlled to be turned on.

[0089] Here, after the first sensor is controlled to be turned on, the operating frequency of the first sensor can be determined based on the light intensity data and the first sensing data; and the first sensor is controlled to collect data according to the determined operating frequency. The specific implementation process can be referred to step B1 and step B2, which will not be repeated here.

[0090] In the embodiment of the present disclosure, when the wearable device is in a power saving mode, when it is determined based on the second sensor data that the wearable device is in vibration, the first sensor can be automatically controlled to turn on without manual operation, so that the light-emitting device can be controlled to turn on according to the light intensity data and the first sensor data collected by the first sensor, thereby achieving the automatic turning on or off effect of the wearable device, thereby providing a better user experience and improving the working efficiency of the wearable device.

[0091] During implementation, the light-emitting device can be set with multiple light-emitting modes so that it can adapt to multiple scenes. For example, the light-emitting mode can include lights of different colors. In night scenes, the light-emitting device can emit white light; in foggy scenes, the light-emitting device can emit red light; or, the light-emitting mode can also include lights of different frequencies. In rainy scenes, the light-emitting device can flash red light at a flashing frequency of 2 seconds per time; and so on.

[0092] In a possible implementation, the method further includes: in response to a trigger operation on a target button on the wearable device, controlling the light-emitting device on the wearable device to operate for a second preset time period according to a preset motion effect, and switching the light-emitting mode of the light-emitting device on the wearable device.

[0093] In a specific implementation, in response to a trigger operation on a target button on a wearable device, the light-emitting device on the wearable device can be controlled to work for a second preset duration according to a preset motion effect, and the light-emitting mode of the light-emitting device on the wearable device can be switched. The target button can be a power button or a switch button on the wearable device, that is, a button that controls the light-emitting mode of the light-emitting device.

[0094] The light-emitting device can include multiple light-emitting modes, and when the light-emitting mode of the light-emitting device is controlled to be switched, it can be switched in a preset order; the preset motion effect can be set according to actual needs, for example, the preset motion effect can be a blue light that is always on, a red light that flashes, etc., and the preset motion effect can also match the light-emitting mode after switching; the second preset duration can be set according to actual conditions, for example, it can be 5 seconds.

[0095] Exemplarily, if the lighting modes include lighting mode 1, lighting mode 2, and lighting mode 3, the lighting device currently operates in lighting mode 2, and in response to a trigger operation on a target button on the wearable device, the lighting device on the wearable device is controlled to operate according to a preset motion effect for a second preset time period, for example, operating in lighting mode 3 for 5 seconds, and the lighting mode of the lighting device on the wearable device is switched to lighting mode 3.

[0096] Here, by setting a variety of light-emitting modes, the user can flexibly choose, thereby improving the utilization rate of the wearable device; at the same time, the wearable device can be applied to a variety of application scenarios, thereby improving the adaptability of the wearable device.

[0097] In a possible implementation, the method further includes: when it is detected that the battery level of the wearable device is lower than a battery threshold, controlling the wearable device to sound an alarm in a preset alarm mode; the preset alarm mode includes a voice alarm mode and / or a light alarm mode.

[0098] During implementation, when it is detected that the battery level of the wearable device is lower than a battery threshold, the wearable device can be controlled to give an alarm in a preset alarm mode; wherein the preset alarm mode may include a voice alarm mode and / or a light alarm mode, the voice alarm mode can give an alarm through a voice playback device on the wearable device, and the light alarm mode can give an alarm through a light-emitting device or a light alarm device on the wearable device.

[0099] In specific implementation, charging can be performed via wired charging or wireless charging; in response to detecting that the wearable device is connected to a power source, controlling the charging indicator light on the wearable device to display in a first light color, for example, the first light color may be green, indicating that the charging status of the wearable device is charging; when detecting that the power level of the wearable device is equal to a preset power level, the charging indicator light on the wearable device to display in a second light color, for example, the first light color may be red, indicating that the charging status of the wearable device is charging completed.

[0100] Here, when it is detected that the power level of the wearable device is lower than the power threshold, the wearable device is controlled to give an alarm in a preset alarm mode, so that the user can be prompted to charge the wearable device in time to avoid the wearable device being unable to work due to low power.

[0101] The following basis Figure 2 The following is a relatively detailed description of the workflow on the wearable device.

[0102] In a specific implementation, the wearable device may include a power button, and the user may turn on the wearable device through the power button, that is, in response to the triggering operation of the power button on the wearable device, the light-emitting device on the wearable device is controlled to work according to the preset power-on effect, and the wearable device is controlled to turn on. The preset power-on effect can be set according to actual conditions, for example, it can be always on for 3 seconds, etc.

[0103] The wearable device may also include a control unit, a light detection unit, a first sensor, and a light-emitting device; the control unit is respectively connected to the light detection unit, the first sensor, and the light-emitting device; when the wearable device is in an on state, the light detection unit can collect light intensity data of the environment in which the wearable device is located; the control unit can obtain the light intensity data, and when it is determined based on the light intensity data that the light intensity of the environment is greater than or equal to a preset intensity, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data according to a first operating frequency.

[0104] When it is determined based on the light intensity data that the light intensity of the environment is less than the preset intensity, the first sensing data collected by the first sensor for characterizing the wearing state of the wearable device is obtained; when it is determined based on the first sensing data that the wearing state of the wearable device is not worn, the mode of the wearable device is determined to be the standby mode, and the first sensor is controlled to collect data according to the second working frequency. When it is determined based on the first sensing data that the wearing state of the wearable device is worn, the light emitting device is controlled to turn on, and the mode of the wearable device is determined to be the working mode.

[0105] The wearable device may also include a second sensor; the second sensor is connected to the control unit; when the wearable device is turned on, the second sensor can be used to collect second sensor data that characterizes the vibration of the wearable device; the control unit can obtain the second sensor data and send the data by wireless transmission, for example, the first sensor data and the second sensor data can be sent to the server through the Bluetooth device on the wearable device, so that the server can determine whether there is an abnormality in the target user using the wearable device based on the first sensor data and the second sensor data, and send an inquiry message when an abnormality is detected in the target user. The control unit can receive the inquiry message, and can control the display device on the wearable device to display the inquiry message, and / or the voice playback device to play the inquiry message.

[0106] When the wearable device is in standby mode, the control unit can also be used to determine the duration of time that the wearable device is non-vibrating based on the second sensor data, and when the duration is greater than or equal to the first preset duration, the wearable device can be controlled to switch from standby mode to power saving mode, and the first sensor can be controlled to turn off.

[0107] When the wearable device is in the power saving mode, the control unit can also be used to control the wearable device to switch from the power saving mode to the standby mode and control the first sensor to turn on when it is determined based on the second sensing data that the wearable device is in vibration.

[0108] When the wearable device is turned on, that is, when the wearable device is in working mode, standby mode, or power saving mode, in response to a trigger operation on a target button on the wearable device, the light-emitting device on the wearable device can be controlled to work for a second preset duration according to a preset motion effect, and the light-emitting mode of the light-emitting device on the wearable device can be switched; wherein the target button can be a power button or a switch button. At the same time, when the wearable device is turned on, in response to a trigger operation on the power button on the wearable device, the light-emitting device on the wearable device can be controlled to work according to a preset shutdown effect, and the wearable device can be controlled to shut down.

[0109] In the above method, the trigger operation can be a long press operation or a tap operation; in specific implementation, if the target button is a power button, when the user turns on or off the wearable device through the power button, the trigger operation for the power button on the wearable device can be a long press operation; when the user switches the light-emitting mode of the light-emitting device through the target button, the trigger operation for the target button on the wearable device can be a tap operation.

[0110] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0111] Based on the same inventive concept, a control device corresponding to the control method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned control method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0112] Reference Figure 3 , which is a schematic diagram of the architecture of a control device provided by an embodiment of the present disclosure, the device includes: a first acquisition module 301, a second acquisition module 302, and a control module 303; specifically,

[0113] The first acquisition module 301 is used to acquire light intensity data of the environment in which the wearable device is located;

[0114] The second acquisition module 302 is used to acquire first sensing data for characterizing the wearing state of the wearable device when it is determined based on the light intensity data that the light intensity of the environment is less than a preset intensity;

[0115] The control module 303 is used to control the light-emitting device on the wearable device to turn on and determine the mode of the wearable device as the working mode when it is determined according to the first sensing data that the wearing state of the wearable device is being worn.

[0116] In a possible implementation manner, the device further includes: a sending module 304; the sending module 304 is configured to:

[0117] Acquire second sensor data for characterizing a vibration condition of the wearable device;

[0118] The first sensing data and the second sensing data are sent to a server, so that the server determines whether there is an abnormality in a target user using the wearable device based on the first sensing data and the second sensing data, and sends an inquiry message when an abnormality is detected in the target user.

[0119] In a possible implementation manner, the control module 303 is further configured to:

[0120] Receiving the inquiry information;

[0121] Control a display device on the wearable device to display the inquiry information, and / or control a voice playback device to play the inquiry information.

[0122] In a possible implementation manner, the first sensing data is collected by using a first sensor on the wearable device, and the control module 303 is further used to:

[0123] When it is determined based on the light intensity data that the light intensity of the environment is greater than or equal to the preset intensity, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data at a first operating frequency;

[0124] When it is determined according to the first sensing data that the wearing state of the wearable device is not being worn, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data at a second operating frequency; wherein the first operating frequency is lower than the second operating frequency.

[0125] In an optional implementation manner, when the wearable device is in the standby mode, the control module 303 is further configured to:

[0126] When it is determined based on the second sensing data that the wearable device is in a state of non-vibration for a duration greater than or equal to a first preset duration, the wearable device is controlled to switch from the standby mode to the power saving mode, and the first sensor is controlled to be turned off.

[0127] In an optional implementation manner, when the wearable device is in the power saving mode, the control module 303 is further configured to:

[0128] When it is determined based on the second sensing data that the wearable device is in vibration, the wearable device is controlled to switch from the power saving mode to the standby mode, and the first sensor is controlled to turn on.

[0129] In an optional implementation manner, the control module 303 is further configured to:

[0130] In response to a triggering operation on a target button on the wearable device, the light-emitting device on the wearable device is controlled to work for a second preset time period according to a preset motion effect, and the light-emitting mode of the light-emitting device on the wearable device is switched.

[0131] In an optional implementation manner, the control module 303 is further configured to:

[0132] When it is detected that the power level of the wearable device is lower than a power threshold, the wearable device is controlled to give an alarm in a preset alarm mode; the preset alarm mode includes a voice alarm mode and / or a light alarm mode.

[0133] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0134] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 4 As shown, it is a schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure, including a processor 401, a memory 402, and a bus 403. Among them, the memory 402 is used to store execution instructions, including a memory 4021 and an external memory 4022; the memory 4021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 401, and the data exchanged with the external memory 4022 such as a hard disk. The processor 401 exchanges data with the external memory 4022 through the memory 4021. When the computer device 400 is running, the processor 401 communicates with the memory 402 through the bus 403, so that the processor 401 executes the following instructions:

[0135] Obtain the light intensity data of the wearable device's environment;

[0136] When it is determined based on the light intensity data that the light intensity of the environment is less than a preset intensity, obtaining first sensing data for characterizing a wearing state of the wearable device;

[0137] When it is determined according to the first sensing data that the wearing state of the wearable device is being worn, the light emitting device on the wearable device is controlled to turn on, and the mode of the wearable device is determined to be the working mode.

[0138] The present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the control method described in the above method embodiment are executed. The storage medium may be a volatile or non-volatile computer-readable storage medium.

[0139] The present disclosure also provides a computer program product that carries a program code. The program code includes instructions that can be used to execute the steps of the control method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0140] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0141] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0142] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0144] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0145] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be based on the protection scope of the claims.

Claims

1. A control method, characterized in that: The method comprises: Obtain the light intensity data of the wearable device's environment; When it is determined based on the light intensity data that the light intensity of the environment is less than a preset intensity, obtaining first sensing data for characterizing a wearing state of the wearable device; When it is determined according to the first sensing data that the wearing state of the wearable device is being worn, the light emitting device on the wearable device is controlled to turn on, and the mode of the wearable device is determined to be the working mode.

2. The method according to claim 1, characterized in that The method further comprises: Acquire second sensor data for characterizing a vibration condition of the wearable device; The first sensing data and the second sensing data are sent to a server, so that the server determines whether there is an abnormality in a target user using the wearable device based on the first sensing data and the second sensing data, and sends an inquiry message when an abnormality is detected in the target user.

3. The method according to claim 2, characterized in that The method further comprises: Receiving the inquiry information; Control a display device on the wearable device to display the inquiry information, and / or control a voice playback device to play the inquiry information.

4. The method according to claim 2, characterized in that: The first sensing data is collected by using a first sensor on the wearable device, and the method further includes: When it is determined based on the light intensity data that the light intensity of the environment is greater than or equal to the preset intensity, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data at a first operating frequency; When it is determined according to the first sensing data that the wearing state of the wearable device is not being worn, the mode of the wearable device is determined to be a standby mode, and the first sensor is controlled to collect data at a second operating frequency; wherein the first operating frequency is lower than the second operating frequency.

5. The method according to claim 4, characterized in that In the case where the wearable device is in the standby mode, the method further includes: When it is determined based on the second sensing data that the wearable device is in a state of non-vibration for a duration greater than or equal to a first preset duration, the wearable device is controlled to switch from the standby mode to the power saving mode, and the first sensor is controlled to be turned off.

6. The method according to claim 5, characterized in that When the wearable device is in a power saving mode, the method further includes: When it is determined based on the second sensing data that the wearable device is in vibration, the wearable device is controlled to switch from the power saving mode to the standby mode, and the first sensor is controlled to turn on.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a triggering operation on a target button on the wearable device, the light-emitting device on the wearable device is controlled to work for a second preset time period according to a preset motion effect, and the light-emitting mode of the light-emitting device on the wearable device is switched.

8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When it is detected that the power level of the wearable device is lower than a power threshold, the wearable device is controlled to give an alarm in a preset alarm mode; the preset alarm mode includes a voice alarm mode and / or a light alarm mode.

9. A control device, characterized in that: include: A first acquisition module is used to acquire light intensity data of the environment in which the wearable device is located; A second acquisition module is used to acquire first sensing data for characterizing a wearing state of the wearable device when it is determined based on the light intensity data that the light intensity of the environment is less than a preset intensity; The control module is used to control the light-emitting device on the wearable device to turn on and determine the mode of the wearable device as the working mode when it is determined according to the first sensing data that the wearing state of the wearable device is being worn.

10. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the control method according to any one of claims 1 to 8 are performed.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method according to any one of claims 1 to 8 are executed.