A method and device for scene recognition of wearable device
By using light sensors to collect ambient light index in wearable devices, replacing GPS positioning and identifying scenarios, the high power consumption problem caused by GPS positioning is solved, extending the battery life of the device and improving the user experience.
Patent Information
- Application Number
- CN202111336967.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-15
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-11-15
AI Technical Summary
Existing wearable devices consume high power when identifying scenes through GPS positioning, resulting in insufficient battery life.
Light sensors are used to collect the UV index, infrared intensity and visible light intensity of ambient light, and the scene in which the device is located is determined through these light indexes, replacing GPS positioning.
It reduces the overall power consumption of wearable devices, extends battery life, and improves user experience.
Smart Images

Figure CN114035155B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of intelligent recognition technology, and in particular to a method and apparatus for scene recognition of a wearable device. Background Art
[0002] In recent years, wearable devices have become very popular. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Wearable devices will bring great changes to our lives and perceptions.
[0003] At present, in some wearable applications, it is often necessary to obtain the current scene state, such as whether it is indoors or outdoors. The current common practice is to achieve this through GPS (Global Positioning System) positioning, but GPS positioning consumes a lot of power, and wearable devices require low power consumption. Therefore, a method that can achieve low power consumption and can identify scenes is urgently needed. Summary of the invention
[0004] The embodiments of the present invention provide a method and apparatus for scene recognition of a wearable device, which can solve the problem of high power consumption caused by scene recognition using GPS positioning, thereby reducing the overall power consumption of the wearable device and improving the battery life.
[0005] In a first aspect, an embodiment of the present invention provides a method for scene recognition of a wearable device, comprising:
[0006] The wearable device collects the ultraviolet index, infrared intensity and visible light intensity of the current ambient light;
[0007] The wearable device determines the scene in which the wearable device is located according to the ultraviolet index, infrared intensity and visible light intensity of the current ambient light.
[0008] Optionally, the wearable device determines the scene in which the wearable device is located according to the ultraviolet index, infrared intensity, and visible light intensity of the current ambient light, including:
[0009] The wearable device determines whether the ultraviolet index of the current ambient light is greater than or equal to a first threshold, and if so, determines that the scene where the wearable device is located is outdoor and the weather is clear;
[0010] Otherwise, the wearable device determines the scene in which the wearable device is located according to the infrared intensity and the visible light intensity.
[0011] Optionally, the wearable device determines the scene in which the wearable device is located according to the infrared intensity and the visible light intensity, including:
[0012] The wearable device determines whether the infrared intensity is greater than or equal to a second threshold value, and if so, the wearable device determines that the scene where the wearable device is located is outdoor and rainy;
[0013] Otherwise, the wearable device determines whether the visible light intensity is greater than or equal to a third threshold;
[0014] If the visible light intensity is greater than or equal to the third threshold, the wearable device determines that the scene where the wearable device is located is indoors and determines the lighting device of the scene where the wearable device is located according to the infrared intensity;
[0015] If the visible light intensity is not greater than or equal to the third threshold, the wearable device collects the location information of the wearable device, and determines the scene where the wearable device is located according to the location information of the wearable device.
[0016] Optionally, the wearable device determines, according to the infrared intensity, a lighting device of a scene in which the wearable device is located, including:
[0017] When the wearable device determines that the infrared intensity is greater than a fourth threshold value and less than the second threshold value, determining that the lighting device of the scene where the wearable device is located is an incandescent lamp;
[0018] When the wearable device determines that the infrared intensity is less than the fourth threshold, it determines that the lighting device of the scene where the wearable device is located is a neon lamp.
[0019] Optionally, the wearable device collects location information of the wearable device, and determines a scene in which the wearable device is located according to the location information of the wearable device, including:
[0020] The wearable device determines whether the location information of the wearable device is collected. If the location information of the wearable device is not collected, the wearable device determines that the scene where the wearable device is located is outdoor and dark;
[0021] If the location information of the wearable device is collected, the wearable device determines that the scene where the wearable device is located is outdoors and has no lights.
[0022] In a second aspect, an embodiment of the present invention provides a wearable device scene recognition device, including:
[0023] A collection unit, used to collect the ultraviolet index, infrared intensity and visible light intensity of the current ambient light;
[0024] The processing unit is used to determine the scene in which the wearable device is located according to the ultraviolet index, infrared intensity and visible light intensity of the current ambient light.
[0025] Optionally, the processing unit is specifically configured to:
[0026] Determine whether the ultraviolet index of the current ambient light is greater than or equal to a first threshold, and if so, determine that the scene where the wearable device is located is outdoor and the weather is clear;
[0027] Otherwise, the scene in which the wearable device is located is determined according to the infrared intensity and the visible light intensity.
[0028] Optionally, the processing unit is specifically configured to:
[0029] Determine whether the infrared intensity is greater than or equal to a second threshold, and if so, determine that the scene where the wearable device is located is outdoor and rainy;
[0030] Otherwise, the wearable device determines whether the visible light intensity is greater than or equal to a third threshold;
[0031] If the visible light intensity is greater than or equal to the third threshold, determining that the scene where the wearable device is located is indoors and determining the lighting device of the scene where the wearable device is located according to the infrared intensity;
[0032] If the visible light intensity is not greater than or equal to the third threshold, the location information of the wearable device is collected, and the scene in which the wearable device is located is determined according to the location information of the wearable device.
[0033] Optionally, the processing unit is specifically configured to:
[0034] When it is determined that the infrared intensity is greater than a fourth threshold value and less than the second threshold value, determining that the lighting device of the scene in which the wearable device is located is an incandescent lamp;
[0035] When it is determined that the infrared intensity is less than the fourth threshold, it is determined that the lighting device of the scene in which the wearable device is located is a neon lamp.
[0036] Optionally, the processing unit is specifically configured to:
[0037] Determining whether the location information of the wearable device is collected, and if the location information of the wearable device is not collected, determining that the scene where the wearable device is located is outdoor and dark;
[0038] If the location information of the wearable device is collected, it is determined that the scene where the wearable device is located is outdoors and has no light.
[0039] In a third aspect, an embodiment of the present invention further provides a computing device, including:
[0040] A memory for storing program instructions;
[0041] The processor is used to call the program instructions stored in the memory and execute the above-mentioned wearable device scene recognition method according to the obtained program.
[0042] In a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, comprising computer-readable instructions. When a computer reads and executes the computer-readable instructions, the computer executes the above-mentioned wearable device scene recognition method.
[0043] In the embodiment of the present invention, the wearable device collects the ultraviolet index, infrared intensity and visible light intensity of the current ambient light, and then determines the scene the wearable device is in based on the ultraviolet index, infrared intensity and visible light intensity of the current ambient light. Since the light sensor is used to collect various light indexes of the ambient light, the power consumption is much lower than that of the GPS positioning chip, thereby solving the problem of high power consumption caused by using GPS positioning to identify the scene, thereby reducing the overall power consumption of the wearable device, increasing the battery life, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present invention;
[0046] Figure 2 A schematic diagram of a flow chart of a method for scene recognition of a wearable device provided in an embodiment of the present invention;
[0047] Figure 3 A schematic diagram of a flow chart of a method for scene recognition of a wearable device provided in an embodiment of the present invention;
[0048] Figure 4 A schematic diagram of the structure of an apparatus for scene recognition of a wearable device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] First, Figure 1 The structure shown is used as an example to introduce the wearable device applicable to the embodiment of the present invention. In the embodiment of the present invention, the wearable device 100 may include, but is not limited to, a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a WiFi module 170, a display unit 140, a sensor 150, an audio circuit 160, a processor 180, and a motor 190.
[0051] Among them, those skilled in the art can understand that Figure 1 The structure of the wearable device 100 shown in the figure is only an example and not a limitation. The wearable device 100 may also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0052] The RF circuit 110 can be used to receive and send signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is processed by the processor 180; in addition, the uplink data of the wearable device 100 is sent to the base station. Generally, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA, LowNoiseAmplifier), a duplexer, etc. In addition, the RF circuit 110 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the Global System for Mobile communication (GlobalSystem for Mobile communication, referred to as "GSM"), General Packet Radio Service (General PacketRadio Service, referred to as "GPRS"), Code Division Multiple Access (Code Division Multiple Access, referred to as "CDMA"), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, referred to as "WCDMA"), Long Term Evolution (Long Term Evolution, referred to as "LTE"), email, Short Messaging Service (Short Messaging Service, referred to as "SMS"), etc.
[0053] The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the wearable device 100 by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the wearable device 100 (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0054] The input unit 130 can be used to receive input digital or character information, and to generate key signals related to user settings and function control of the wearable device 100. Specifically, the input unit 130 may include a touch panel 131, a camera 132, and other input devices 133. The camera 132 can take pictures of the images to be acquired, thereby transmitting the images to the processor 150 for processing, and finally presenting the graphics to the user through the display panel 141. The touch panel 131, also known as a touch screen, can collect the user's touch operations on or near it (such as the user's operation on the touch panel 131 or near the touch panel 131 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 180, and can receive the command sent by the processor 180 and execute it. In addition, the touch panel 131 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch panel 131 and the camera 132, the input unit 130 can also include other input devices 132. Specifically, other input devices 132 can include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a joystick, etc.
[0055] Among them, the display unit 140 can be used to display information input by the user or information provided to the user and various menus of the wearable device 100. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of a liquid crystal display unit (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), etc. Further, the touch panel 131 may cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of touch event.
[0056] Among them, the visual output external display panel 141 that can be recognized by the human eye can be used as a display device in the embodiment of the present invention to display text information or image information. Figure 1 In the embodiment, the touch panel 131 and the display panel 141 are used as two independent components to implement the input and output functions of the wearable device 100. However, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the wearable device 100.
[0057] In addition, the wearable device 100 may further include at least one sensor 150, such as a posture sensor, a distance sensor, a light sensor, and other sensors.
[0058] Specifically, the attitude sensor can also be called a motion sensor, and as one of the motion sensors, an angular velocity sensor (also called a gyroscope) can be listed. When it is configured in the wearable device 100, it is used to measure the rotational angular velocity of the wearable device 100 in motion when it deflects or tilts. Thus, the gyroscope can accurately analyze and determine the actual action of the user using the wearable device 100, and then perform corresponding operations on the wearable device 100. For example: somatosensory, shaking (shaking the wearable device 100 to achieve some functions), and inertial navigation based on the motion state of the object when there is no signal from the Global Positioning System (GPS) (such as in a tunnel).
[0059] The sensor may also be a light sensor, which is mainly used to collect information such as the wavelength and intensity of various light rays to adjust the backlight intensity of the display panel 141 .
[0060] In addition, in the embodiment of the present invention, as the sensor 150, other sensors such as a barometer, a hygrometer, a thermometer and an infrared sensor may also be configured, which will not be described in detail here.
[0061] The light sensor may further include a proximity sensor, which may turn off the display panel 141 and / or the backlight when the wearable device 100 is moved to the ear.
[0062] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the wearable device 100. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the processor 180 for processing, and then sent to, for example, another wearable device 100 through the RF circuit 110, or the audio data is output to the memory 120 for further processing.
[0063] WiFi is a short-range wireless transmission technology. The wearable device 100 can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access. Figure 1 A WiFi module 170 is shown, but it is understandable that it is not a necessary component of the wearable device 100 and can be omitted as needed without changing the essence of the invention.
[0064] The processor 180 is the control center of the wearable device 100. It uses various interfaces and lines to connect various parts of the entire wearable device 100, and executes various functions and processes data of the wearable device 100 by running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, so as to monitor the wearable device 100 as a whole. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications.
[0065] It is understandable that the above-mentioned modem processor may not be integrated into the processor 180.
[0066] The wearable device 100 may further include at least one motor 190. Since the wearable device 100 is a power-consuming device, the motor 190 may be a small motor. Meanwhile, a plurality of motors may be configured for the wearable device 100 according to the power that the motor can provide.
[0067] The wearable device 100 also includes a power supply (not shown) for supplying power to various components.
[0068] Preferably, the power supply can be logically connected to the processor 180 through a power management system, so that the power management system can manage charging, discharging, power consumption, etc. Although not shown, the wearable device 100 can also include a Bluetooth module, etc., which will not be repeated here.
[0069] It should be noted that the above Figure 1 The structure shown is only an example and is not limited to this embodiment of the present invention.
[0070] Figure 2 A process of scene recognition of a wearable device provided by an embodiment of the present invention is exemplarily shown. The process can be executed by a device for scene recognition of a wearable device, and the device can be a wearable device or can be located in the wearable device.
[0071] like Figure 2 As shown in the figure, the process specifically includes:
[0072] Step 201: The wearable device collects the ultraviolet index, infrared intensity, and visible light intensity of the current ambient light.
[0073] In an embodiment of the present invention, the wearable device can collect the UVI (Ultra Violet Index), IR (Infrared Radiation) intensity and visible light intensity of the current ambient light through a hardware photosensitive device, where the visible light intensity can be represented by LUX, which can also be called light intensity, which refers to the energy of visible light received per unit area.
[0074] Step 202: The wearable device determines the scene in which the wearable device is located according to the ultraviolet index, infrared intensity, and visible light intensity of the current ambient light.
[0075] In the embodiment of the present invention, by judging the ultraviolet index, infrared intensity, and visible light intensity of the current ambient light, it is possible to identify the scene in which the wearable device is located. Specifically, first, the wearable device determines whether the ultraviolet index of the current ambient light is greater than or equal to a first threshold. If so, it is determined that the scene in which the wearable device is located is outdoors and the weather is clear; otherwise, the wearable device determines the scene in which the wearable device is located based on the infrared intensity and the visible light intensity.
[0076] When judging the ultraviolet index, if the ultraviolet index is high, it can be determined that the wearable device is located outdoors on a sunny day. Otherwise, it is necessary to continue to judge the infrared intensity.
[0077] Then, when judging the infrared intensity, specifically: the wearable device determines whether the infrared intensity is greater than or equal to the second threshold value. If so, the wearable device determines that the scene where the wearable device is located is outdoor and rainy; otherwise, the wearable device determines whether the visible light intensity is greater than or equal to the third threshold value. If the visible light intensity is greater than or equal to the third threshold value, the wearable device determines that the scene where the wearable device is located is indoors and determines the lighting device of the scene where the wearable device is located based on the infrared intensity; if the visible light intensity is not greater than or equal to the third threshold value, the wearable device collects the location information of the wearable device and determines the scene where the wearable device is located based on the location information of the wearable device.
[0078] When the infrared intensity is large, that is, greater than or equal to the second threshold, and the ultraviolet index is not greater than the first threshold, it can be clearly concluded that the wearable device is located outdoors and it is a rainy day. Otherwise, it is necessary to determine whether the visible light intensity is greater than or equal to the third threshold. If so, it is indoors, and here we can continue to determine what kind of light it is. If not, it is necessary to continue to combine whether the location information is collected for further judgment.
[0079] Again, when determining the lighting device of the scene where the wearable device is located, the specific wearable device can determine that the lighting device of the scene where the wearable device is located is an incandescent lamp when it is determined that the infrared intensity is greater than the fourth threshold and less than the second threshold. And when the wearable device determines that the infrared intensity is less than the fourth threshold, it determines that the lighting device of the scene where the wearable device is located is a neon lamp.
[0080] Finally, when judging based on whether there is a positioning signal (location information), the wearable device can determine whether the location information of the wearable device is collected. If the location information of the wearable device is not collected, the wearable device determines that the scene where the wearable device is located is outdoor and dark. If the location information of the wearable device is collected, the wearable device determines that the scene where the wearable device is located is outdoor and there is no light.
[0081] In the embodiment of the present invention, the location information can be determined by a positioning signal, and the positioning signal can rely on GPS, Beidou navigation and other signals.
[0082] It should be noted that the first threshold, the second threshold, the third threshold and the fourth threshold may be set based on experience during specific implementation.
[0083] Through the above embodiment, the wearable device collects the ultraviolet index, infrared intensity and visible light intensity of the current ambient light, and then determines the scene the wearable device is in based on the ultraviolet index, infrared intensity and visible light intensity of the current ambient light. Since the light sensor is used to collect various light indexes of the ambient light, the power consumption is much lower than that of the GPS positioning chip, thereby solving the problem of high power consumption caused by using GPS positioning to identify scenes, thereby reducing the overall power consumption of the wearable device, improving the battery life, and improving the user experience.
[0084] In order to better explain the method provided by the embodiment of the present invention, the process of scene recognition of the wearable device will be described below in a specific implementation scenario. Figure 3 As shown, the specific process includes:
[0085] Step 301: light sensing SENSOR collects information.
[0086] The information collected by the light sensor may include UVI, IR, LUX and other information.
[0087] Step 302 , determine whether the UVI is greater than or equal to 5, if so, proceed to step 303 , otherwise proceed to step 304 .
[0088] Step 303, outdoors (sunny day).
[0089] When the UVI is greater than or equal to 5, it can be determined that the wearable device is outdoors and it is a sunny day.
[0090] Step 304, determine whether IR is greater than or equal to 300, if so, proceed to step 305, otherwise proceed to step 306.
[0091] Step 305, outdoors (rainy day).
[0092] When IR is greater than or equal to 300, it can be determined that the wearable device is outdoors and it is a rainy day.
[0093] Step 306, determine whether LUX is greater than or equal to 250, if so, proceed to step 307, otherwise proceed to step 308.
[0094] Step 307, indoors.
[0095] When LUX is greater than or equal to 250, it can be determined that the wearable device is located indoors. At this time, it is necessary to continue to determine IR, as shown in steps 311 and 312.
[0096] Step 308, determine whether there is a GPS signal, if so, proceed to step 309, otherwise proceed to step 310.
[0097] Step 309, outdoors (darkness).
[0098] When the GPS signal can be collected, it can be determined that the wearable device is located outdoors and it is dark.
[0099] Step 310, indoors (turn off lights).
[0100] When no GPS signal can be collected, it can be determined that the wearable device is indoors and the lights are off.
[0101] Step 311, neon lights.
[0102] When IR is less than 300 and greater than 150, it can be determined that the wearable device is located indoors and the light is a neon light.
[0103] Step 312, incandescent lamp.
[0104] When IR is less than 150, it can be determined that the wearable device is located indoors and the light is an incandescent lamp.
[0105] Based on the same technical concept, Figure 4 The structure of a wearable device scene recognition apparatus provided by an embodiment of the present invention is exemplarily shown, and the apparatus can execute the wearable device scene recognition process.
[0106] like Figure 4 As shown, the device may include:
[0107] The collection unit 401 is used to collect the ultraviolet index, infrared intensity and visible light intensity of the current ambient light;
[0108] The processing unit 402 is used to determine the scene in which the wearable device is located according to the ultraviolet index, infrared intensity and visible light intensity of the current ambient light.
[0109] Optionally, the processing unit 402 is specifically configured to:
[0110] Determine whether the ultraviolet index of the current ambient light is greater than or equal to a first threshold, and if so, determine that the scene where the wearable device is located is outdoor and the weather is clear;
[0111] Otherwise, the scene in which the wearable device is located is determined according to the infrared intensity and the visible light intensity.
[0112] Optionally, the processing unit 402 is specifically configured to:
[0113] Determine whether the infrared intensity is greater than or equal to a second threshold, and if so, determine that the scene where the wearable device is located is outdoor and rainy;
[0114] Otherwise, the wearable device determines whether the visible light intensity is greater than or equal to a third threshold;
[0115] If the visible light intensity is greater than or equal to the third threshold, determining that the scene where the wearable device is located is indoors and determining the lighting device of the scene where the wearable device is located according to the infrared intensity;
[0116] If the visible light intensity is not greater than or equal to the third threshold, the location information of the wearable device is collected, and the scene in which the wearable device is located is determined according to the location information of the wearable device.
[0117] Optionally, the processing unit 402 is specifically configured to:
[0118] When it is determined that the infrared intensity is greater than a fourth threshold value and less than the second threshold value, determining that the lighting device of the scene in which the wearable device is located is an incandescent lamp;
[0119] When it is determined that the infrared intensity is less than the fourth threshold, it is determined that the lighting device of the scene in which the wearable device is located is a neon lamp.
[0120] Optionally, the processing unit 402 is specifically configured to:
[0121] Determining whether the location information of the wearable device is collected, and if the location information of the wearable device is not collected, determining that the scene where the wearable device is located is outdoor and dark;
[0122] If the location information of the wearable device is collected, it is determined that the scene where the wearable device is located is outdoors and has no light.
[0123] Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
[0124] A memory for storing program instructions;
[0125] The processor is used to call the program instructions stored in the memory and execute the above-mentioned wearable device scene recognition method according to the obtained program.
[0126] Based on the same technical concept, an embodiment of the present invention also provides a computer-readable non-volatile storage medium, including computer-readable instructions. When a computer reads and executes the computer-readable instructions, the computer executes the above-mentioned wearable device scene recognition method.
[0127] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0128] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0130] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0131] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for scene recognition of a wearable device, characterized in that: include: The wearable device collects the ultraviolet index, infrared intensity and visible light intensity of the current ambient light; The wearable device determines the scene in which the wearable device is located according to the ultraviolet index, infrared intensity and visible light intensity of the current ambient light; The wearable device determines the scene in which the wearable device is located according to the ultraviolet index, infrared intensity, and visible light intensity of the current ambient light, including: The wearable device determines whether the ultraviolet index of the current ambient light is greater than or equal to a first threshold, and if so, determines that the scene where the wearable device is located is outdoor and the weather is clear; Otherwise, the wearable device determines the scene in which the wearable device is located according to the infrared intensity and the visible light intensity; The wearable device determines the scene in which the wearable device is located according to the infrared intensity and the visible light intensity, including: The wearable device determines whether the infrared intensity is greater than or equal to a second threshold value, and if so, the wearable device determines that the scene where the wearable device is located is outdoor and rainy; Otherwise, the wearable device determines whether the visible light intensity is greater than or equal to a third threshold; If the visible light intensity is greater than or equal to the third threshold, the wearable device determines that the scene where the wearable device is located is indoors and determines the lighting device of the scene where the wearable device is located according to the infrared intensity; If the visible light intensity is not greater than or equal to the third threshold, the wearable device collects the location information of the wearable device, and determines the scene where the wearable device is located according to the location information of the wearable device.
2. The method according to claim 1, characterized in that The wearable device determines the lighting device of the scene where the wearable device is located according to the infrared intensity, including: When the wearable device determines that the infrared intensity is greater than a fourth threshold value and less than the second threshold value, determining that the lighting device of the scene where the wearable device is located is an incandescent lamp; When the wearable device determines that the infrared intensity is less than the fourth threshold, it determines that the lighting device of the scene where the wearable device is located is a neon lamp.
3. The method according to claim 2, characterized in that The wearable device collects location information of the wearable device, and determines a scene where the wearable device is located according to the location information of the wearable device, including: The wearable device determines whether the location information of the wearable device is collected. If the location information of the wearable device is not collected, the wearable device determines that the scene where the wearable device is located is outdoor and dark; If the location information of the wearable device is collected, the wearable device determines that the scene where the wearable device is located is outdoors and has no lights.
4. A wearable device scene recognition device, characterized in that: include: A collection unit, used to collect the ultraviolet index, infrared intensity and visible light intensity of the current ambient light; A processing unit, configured to determine a scene in which the wearable device is located according to the ultraviolet index, infrared intensity, and visible light intensity of the current ambient light; The processing unit is specifically used for: Determine whether the ultraviolet index of the current ambient light is greater than or equal to a first threshold, and if so, determine that the scene where the wearable device is located is outdoor and the weather is clear; Otherwise, determining the scene in which the wearable device is located according to the infrared intensity and the visible light intensity; The processing unit is specifically used for: Determine whether the infrared intensity is greater than or equal to a second threshold, and if so, determine that the scene where the wearable device is located is outdoor and rainy; Otherwise, the wearable device determines whether the visible light intensity is greater than or equal to a third threshold; If the visible light intensity is greater than or equal to the third threshold, determining that the scene where the wearable device is located is indoors and determining the lighting device of the scene where the wearable device is located according to the infrared intensity; If the visible light intensity is not greater than or equal to the third threshold, the location information of the wearable device is collected, and the scene in which the wearable device is located is determined according to the location information of the wearable device.
5. A computing device, characterized in that: include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 3 according to the obtained program.
6. A computer-readable non-volatile storage medium, characterized in that: The method comprises computer-readable instructions, and when a computer reads and executes the computer-readable instructions, the computer is caused to execute the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Method and device for cooperatively determining indoor state and outdoor state through ultraviolet ray and illumination intensity
CN106323464A
Control method and device based on positioning module, storage medium and mobile terminal
CN108076428A
Wading alarm method based on wearable device and wearable device
CN108091108A
A positioning method based on wearable equipment and the wearable equipment
CN108834068A
Indoor and outdoor environment identifying method and wearable device
CN109062097A
