[go: up one dir, main page]

CN108600886A - Ultraviolet detection method and related products - Google Patents

Ultraviolet detection method and related products Download PDF

Info

Publication number
CN108600886A
CN108600886A CN201810361916.8A CN201810361916A CN108600886A CN 108600886 A CN108600886 A CN 108600886A CN 201810361916 A CN201810361916 A CN 201810361916A CN 108600886 A CN108600886 A CN 108600886A
Authority
CN
China
Prior art keywords
ultraviolet
wearable device
wireless earphone
ultraviolet intensity
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810361916.8A
Other languages
Chinese (zh)
Other versions
CN108600886B (en
Inventor
郭富豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810361916.8A priority Critical patent/CN108600886B/en
Publication of CN108600886A publication Critical patent/CN108600886A/en
Application granted granted Critical
Publication of CN108600886B publication Critical patent/CN108600886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/429Photometry, e.g. photographic exposure meter using electric radiation detectors applied to measurement of ultraviolet light
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an ultraviolet detection method and a related product, wherein the method comprises the following steps: acquiring a wearing state of a wearable device based on a proximity sensor, wherein the wearing state is used for indicating whether a user wears the wearable device; detecting ultraviolet intensity of an environment in which the wearable device is located based on an ultraviolet sensor when the wearing state indicates that the wearable device is worn by a user; when detecting the ultraviolet intensity acquisition request sent by the electronic equipment wirelessly connected with the wearable equipment, sending the detected ultraviolet intensity to the electronic equipment. The embodiment of the application is beneficial to providing accurate local ultraviolet intensity data for users, so that the users can take protective measures according to actual ultraviolet intensity.

Description

紫外线检测方法及相关产品Ultraviolet detection method and related products

技术领域technical field

本申请涉及可穿戴设备技术领域,具体涉及一种紫外线检测方法及相关产品。This application relates to the technical field of wearable devices, in particular to an ultraviolet detection method and related products.

背景技术Background technique

太阳光的光谱根据波长的不同可分为红外线、可见光和紫外线,太阳光经过大气层的过滤作用后到达地球,到达地球表面的光线中紫外线约占7%,紫外线又分为短波紫外线(UVC)、中波紫外线(UVB)和长波紫外线(UVA),经研究表明,适量紫外线照射可以杀菌消毒,还可以治疗部分皮肤病,但过量的紫外线照射会对皮肤和眼睛造成伤害,改变物质结构具有破坏性,如引发细胞内DNA改变,导致皮肤癌变,损害人体健康。The spectrum of sunlight can be divided into infrared rays, visible light and ultraviolet rays according to different wavelengths. The sunlight reaches the earth after being filtered by the atmosphere, and ultraviolet rays account for about 7% of the light reaching the earth's surface. Ultraviolet rays are divided into short-wave ultraviolet rays (UVC), Medium-wave ultraviolet (UVB) and long-wave ultraviolet (UVA), studies have shown that appropriate amount of ultraviolet radiation can sterilize and disinfect, and can also treat some skin diseases, but excessive ultraviolet radiation will cause damage to the skin and eyes, and the change of material structure is destructive , Such as triggering DNA changes in cells, leading to skin cancer and damage to human health.

因此,人们出行时,通常根据天气预报中的紫外线强度进行防护准备,以避免身体受到紫外线不当照射的伤害。然而,通常天气预报是分区域预报,属于同一个区域的不同地点均共享同一个天气信息,且天气预报中的紫外线指数一般是通过气象站中大型的紫外线监测设备监测紫外线强度,其监测的范围局限性较大,因此,人们实际查看的天气预报中的紫外线强度往往与自身所处的地点的紫外线强度有偏差。Therefore, when people travel, they usually carry out protective preparations according to the intensity of ultraviolet rays in the weather forecast, so as to avoid the damage of the body from improper exposure to ultraviolet rays. However, usually the weather forecast is a sub-regional forecast, and different locations belonging to the same area share the same weather information, and the ultraviolet index in the weather forecast is generally monitored by the large-scale ultraviolet monitoring equipment in the weather station. The scope of its monitoring The limitations are relatively large, so the UV intensity in the weather forecast that people actually check often deviates from the UV intensity of their own location.

发明内容Contents of the invention

本发明实施例提供了一种紫外线检测方法及相关产品,从而为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。The embodiment of the present invention provides an ultraviolet detection method and related products, so as to provide users with more accurate local ultraviolet intensity data, so that users can take protective measures according to the actual ultraviolet intensity.

第一方面,本申请实施例提供一种可穿戴设备,包括接近传感器、紫外线传感器、通信接口以及处理器,其中:In the first aspect, an embodiment of the present application provides a wearable device, including a proximity sensor, an ultraviolet sensor, a communication interface, and a processor, wherein:

所述接近传感器,用于获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;The proximity sensor is used to obtain the wearing state of the wearable device, and the wearing state is used to indicate whether the user is wearing the wearable device;

所述紫外线传感器,用于在所述佩戴状态指示用户佩戴所述可穿戴设备时,检测所述可穿戴设备所处的环境的紫外线强度;The ultraviolet sensor is used to detect the ultraviolet intensity of the environment where the wearable device is located when the wearing state indicates that the user wears the wearable device;

所述通信接口,用于在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。The communication interface is configured to send the detected ultraviolet intensity to the electronic device when detecting an ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device.

第二方面,本申请实施例提供一种紫外线检测方法,包括:In a second aspect, the embodiment of the present application provides a method for detecting ultraviolet rays, including:

基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;Obtaining the wearing state of the wearable device based on the proximity sensor, where the wearing state is used to indicate whether the user is wearing the wearable device;

在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度;When the wearing state indicates that the user is wearing the wearable device, detecting the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor;

在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。When an ultraviolet intensity acquisition request sent by an electronic device wirelessly connected to the wearable device is detected, the detected ultraviolet intensity is sent to the electronic device.

第三方面,本申请实施例提供一种紫外线检测装置,包括:In a third aspect, the embodiment of the present application provides an ultraviolet detection device, including:

获取单元,用于基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;An acquisition unit, configured to acquire a wearing state of the wearable device based on the proximity sensor, the wearing state being used to indicate whether the user is wearing the wearable device;

检测单元,用于在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度;A detection unit, configured to detect the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor when the wearing state indicates that the user wears the wearable device;

在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。When an ultraviolet intensity acquisition request sent by an electronic device wirelessly connected to the wearable device is detected, the detected ultraviolet intensity is sent to the electronic device.

第四方面,本申请实施例提供一种可穿戴设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第二方面任一方法中的步骤的指令。In a fourth aspect, an embodiment of the present application provides a wearable device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the above Executed by a processor, the above program includes instructions for executing the steps in any method of the second aspect of the embodiments of the present application.

第五方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute Part or all of the steps described in any method of the two aspects.

第六方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the program as implemented in the present application. For example, some or all of the steps described in any method of the second aspect. The computer program product may be a software installation package.

可以看出,本申请实施例提供的紫外线检测方法,可穿戴设备基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备,在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度,在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that, in the ultraviolet detection method provided by the embodiment of the present application, the wearable device obtains the wearing state of the wearable device based on the proximity sensor, and the wearing state is used to indicate whether the user is wearing the wearable device. When the user wears the wearable device, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wearable device is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device is detected, the The detected ultraviolet intensity is sent to the electronic device. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1是本申请实施例公开的一种电子设备与可穿戴设备通信的网络构架示意图;FIG. 1 is a schematic diagram of a network architecture for communication between an electronic device and a wearable device disclosed in an embodiment of the present application;

图2是本申请实施例公开的一种可穿戴设备的结构示意图;Fig. 2 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application;

图3是本申请实施例公开的一种紫外线检测方法的流程示意图;Fig. 3 is a schematic flow chart of an ultraviolet detection method disclosed in an embodiment of the present application;

图4是本申请实施例公开的另一种紫外线检测方法的流程示意图;Fig. 4 is a schematic flow chart of another ultraviolet detection method disclosed in the embodiment of the present application;

图5是本申请实施例公开的另一种紫外线检测方法的流程示意图;Fig. 5 is a schematic flow chart of another ultraviolet detection method disclosed in the embodiment of the present application;

图6是本申请实施例公开的另一种紫外线检测方法的流程示意图;Fig. 6 is a schematic flow chart of another ultraviolet detection method disclosed in the embodiment of the present application;

图7是本申请实施例公开的一种紫外线检测装置的单元组成框图;Fig. 7 is a unit block diagram of an ultraviolet detection device disclosed in the embodiment of the present application;

图8是本申请实施例公开的一种可穿戴设备的结构示意图;Fig. 8 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application;

图9是本申请实施例公开的一种可穿戴设备的结构示意图。Fig. 9 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

电子设备可以包括各种具有无线通信功能的手持设备、车载设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。Electronic devices may include various handheld devices with wireless communication functions, vehicle-mounted devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile stations (Mobile Station, MS ), terminal device (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as electronic devices.

本申请实施例中的可穿戴设备可以包括任何一种可以直接穿在身上或是整合到用户的衣服或配件中的便携式电子产品。例如,无线耳机、眼镜、太阳镜、智能手表、智能手环等。The wearable device in the embodiment of the present application may include any portable electronic product that can be directly worn on the body or integrated into the user's clothes or accessories. For example, wireless earphones, glasses, sunglasses, smart watches, smart bracelets, etc.

本申请所使用的术语“佩戴”和“佩戴状态”可以用于指以允许使用可穿戴技术的一种或多种方式具有用户身体可穿戴技术或以其他方式与之相关联的各种方式。As used herein, the terms "worn" and "worn state" may be used to refer to various manners of having or otherwise associated with a user's body wearable technology in one or more manners that allow use of the wearable technology.

请参阅图1,图1是本申请实施例公开的一种电子设备与可穿戴设备通信的网络构架示意图。在图1所示的网络构架中,可以包括可穿戴设备9000和可穿戴设备200。其中,本申请实施例中,可穿戴设备无线耳机为例。无线耳机200可以通过无线网络(例如,蓝牙、红外线或WiFi)与可穿戴设备9000通信连接。需要说明的是,无线耳机200的数量可以是一个或二个,本申请实施例不作限定。在图1所示的可穿戴设备9000与无线耳机200通信的网络构架中,无线耳机200在检测到用户佩戴所述无线耳机时,基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度,在无线耳机200与可穿戴设备9000一定距离范围内连接成功后,在检测到与所述无线耳机无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a network architecture for communication between an electronic device and a wearable device disclosed in an embodiment of the present application. In the network architecture shown in FIG. 1 , a wearable device 9000 and a wearable device 200 may be included. Wherein, in the embodiment of the present application, the wireless earphone of the wearable device is taken as an example. The wireless headset 200 can communicate with the wearable device 9000 through a wireless network (for example, Bluetooth, infrared or WiFi). It should be noted that the number of wireless earphones 200 may be one or two, which is not limited in this embodiment of the present application. In the network architecture in which the wearable device 9000 communicates with the wireless earphone 200 shown in FIG. 1 , when the wireless earphone 200 detects that the user is wearing the wireless earphone, it detects the ultraviolet intensity of the environment where the wireless earphone is located based on the ultraviolet sensor, After the wireless earphone 200 is successfully connected to the wearable device 9000 within a certain distance, when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wireless earphone is detected, the detected ultraviolet intensity is sent to the electronic device. equipment.

为了更好理解本申请实施例公开的一种紫外线检测方法及相关产品,下面对本申请实施例进行详细介绍。In order to better understand the ultraviolet detection method and related products disclosed in the embodiments of the present application, the embodiments of the present application are described in detail below.

请参阅图2所示,图2是本申请实施例提供的一种可穿戴设备的结构示意图,如图2所示,本申请实施例中的可穿戴设备包括接近传感器201、紫外线传感器202、通信接口203以及处理器204,其中:Please refer to FIG. 2, which is a schematic structural diagram of a wearable device provided by an embodiment of the present application. As shown in FIG. 2, the wearable device in the embodiment of the present application includes a proximity sensor 201, an ultraviolet sensor 202, a communication Interface 203 and processor 204, wherein:

所述接近传感器201,用于获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;The proximity sensor 201 is used to obtain the wearing state of the wearable device, and the wearing state is used to indicate whether the user is wearing the wearable device;

所述紫外线传感器202,用于在所述佩戴状态指示用户佩戴所述可穿戴设备时,检测所述可穿戴设备所处的环境的紫外线强度;The ultraviolet sensor 202 is configured to detect the ultraviolet intensity of the environment where the wearable device is located when the wearing state indicates that the user wears the wearable device;

所述通信接口203,用于在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。The communication interface 203 is configured to send the detected ultraviolet intensity to the electronic device when detecting an ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device.

本申请实施例中,可穿戴设备可以包括无线耳机。In this embodiment of the application, the wearable device may include a wireless earphone.

所述接近传感器201可以是检测无线耳机何时置于用户的耳朵中的任何数量和任何类型的传感器。例如,所述接近传感器201可以包括光学接近传感器、压力传感器、热传感器、水分传感器等中的任一个或全部。另外,所述接近传感器201可以是单一类型或多个类型。The proximity sensor 201 may be any number and any type of sensor that detects when a wireless headset is placed in a user's ear. For example, the proximity sensor 201 may include any one or all of an optical proximity sensor, a pressure sensor, a thermal sensor, a moisture sensor, and the like. In addition, the proximity sensor 201 may be of a single type or of multiple types.

紫外线传感器202是传感器的一种,可以利用光敏元件通过光伏模式和光导模式将紫外线信号转换为可测量的电信号。The ultraviolet sensor 202 is a kind of sensor, which can convert the ultraviolet signal into a measurable electrical signal by using the photosensitive element through the photovoltaic mode and the photoconductive mode.

其中,通信接口203包括但不限于天线、放大器、收发信机、耦合器、LNA(Low NoiseAmplifier,低噪声放大器)、双工器等。存储器802包括以下至少一种:随机存取存贮器、非易失性存储器以及外部存储器。Wherein, the communication interface 203 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier, low noise amplifier), a duplexer, and the like. The memory 802 includes at least one of the following: random access memory, non-volatile memory and external memory.

尽管未示出,无线耳机200还可以进一步包括:音频输出端、存储器、电池以及麦克风等。本申请实施例中,无线耳机可以是一个无线耳机,也可以与另一个无线耳机耦合以形成一对无绳无线耳机。在一些情况下,耦合无线耳机中的一个起到主要作用,而耦合无线耳机中的另一个起到辅助作用,其中可以将前者称为主要无线耳机,而可以将后者称为辅助无线耳机。主要无线耳机可以执行多个动作,包括:(i)与移动电子设备配对;(ii)从移动电子设备接收音频数据;(iii)向辅助无线耳机传送音频数据;(iv)从辅助无线耳机接收耳内状态信息;以及(v)向移动电子设备发送关于主要无线耳机和/或辅助无线耳机的耳内状态的数据。Although not shown, the wireless earphone 200 may further include: an audio output terminal, a memory, a battery, a microphone, and the like. In the embodiment of the present application, the wireless earphone may be one wireless earphone, or may be coupled with another wireless earphone to form a pair of cordless wireless earphones. In some cases, one of the coupled wireless earphones plays a primary role and the other of the coupled wireless earphones plays a secondary role, where the former may be referred to as the primary wireless earphone and the latter may be referred to as the secondary wireless earphone. The primary wireless headset can perform several actions, including: (i) pairing with the mobile electronic device; (ii) receiving audio data from the mobile electronic device; (iii) transmitting audio data to the secondary wireless headset; (iv) receiving audio data from the secondary wireless headset In-ear status information; and (v) sending data to the mobile electronic device regarding the in-ear status of the primary wireless headset and/or the secondary wireless headset.

可以看出,本申请实施例提供的可穿戴设备,基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备,在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度,在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that the wearable device provided by the embodiment of the present application obtains the wearing state of the wearable device based on the proximity sensor, and the wearing state is used to indicate whether the user is wearing the wearable device, and in the wearing state, the user is instructed to wear the wearable device. When using the wearable device, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wearable device is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device is detected, the detected The UV intensity is sent to the electronic device. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

在一个实施例中,所述无线耳机包括第一无线耳机和第二无线耳机,所述紫外线传感器202包括第一紫外线传感器和第二紫外线传感器;所述第一紫外线传感器配置于所述第一无线耳机上,用于检测得到第一紫外线强度;第二紫外线传感器配置于所述第二无线耳机上,用于检测得到第二紫外线强度;In one embodiment, the wireless headset includes a first wireless headset and a second wireless headset, and the ultraviolet sensor 202 includes a first ultraviolet sensor and a second ultraviolet sensor; the first ultraviolet sensor is configured on the first wireless The earphone is used to detect the first ultraviolet intensity; the second ultraviolet sensor is configured on the second wireless earphone and is used to detect the second ultraviolet intensity;

所述处理器204,用于在预设时间段内检测到所述第一紫外线强度与所述第二紫外线强度不一致的时间占所述预设时间段的比例大于或等于预设阈值时,生成第一提示信息。The processor 204 is configured to, when detecting that the first ultraviolet intensity is inconsistent with the second ultraviolet intensity in the preset time period, when the proportion of the preset time period is greater than or equal to a preset threshold, generate The first prompt message.

可见,无线耳机可以在第一无线耳机上检测得到的第一紫外线强度与第二无线耳机上检测得到的第二紫外线强度长时间不一致时,提醒用户。一方面拓展无线耳机的功能,提高基于无线耳机的紫外线检测的智能性和特定场景的识别准确度,另一方面,方便用户能根据不同位置的实际紫外线强度做好防护措施,提升防护的全面性,提升用户体验。It can be seen that the wireless earphone can remind the user when the first ultraviolet intensity detected on the first wireless earphone is inconsistent with the second ultraviolet intensity detected on the second wireless earphone for a long time. On the one hand, expand the functions of wireless earphones, improve the intelligence of ultraviolet detection based on wireless earphones and the recognition accuracy of specific scenes; , to improve user experience.

处理器204是无线耳机200的控制中心,利用各种接口和线路连接整个移动电子设备的各个部分,执行无线耳机200的各种功能和处理数据,从而对无线耳机200进行整体监控。可选的,处理器204可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器中。The processor 204 is the control center of the wireless earphone 200. It uses various interfaces and lines to connect various parts of the entire mobile electronic device, executes various functions of the wireless earphone 200 and processes data, so as to monitor the wireless earphone 200 as a whole. Optionally, the processor 204 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor.

在一个实施例中,所述处理器204,还用于获取所述无线耳机当前播放的歌曲标识;基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;确定所述当前的地理位置与系统时间满足预设条件。In one embodiment, the processor 204 is further configured to acquire the song identifier currently played by the wireless earphone; based on the song identifier and the pre-stored historical record of playing the wireless earphone song, determine the current geographic location and System time, wherein, the historical record of the wireless earphone song playback includes a mapping relationship between song identifiers, system time and geographic location; it is determined that the current geographic location and system time meet a preset condition.

具体地,无线耳机根据一段时间内的歌曲播放记录,统计歌曲标识与播放该歌曲的系统时间和地理位置的映射关系。所述歌曲标识与播放该歌曲的系统时间和地理位置的映射关系用于无线耳机基于一歌曲标识即可推测当前的系统时间与无线耳机所在的地理位置。确定所述当前的地理位置与系统时间满足预设条件的具体实现方式可以是:确定无线耳机当前的地理位置为户外(例如公园、操场、路上等),系统时间为白天的预设时间段(例如9:00至16:00)。在无线耳机确定出当前的地理位置与系统时间满足预设条件时,才执行基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度的操作,进而节省无线耳机的功耗,延长无线耳机的续航时间。Specifically, the wireless earphone calculates the mapping relationship between the song identifier and the system time and geographical location when the song is played according to the song playing records within a period of time. The mapping relationship between the song identifier and the system time and geographic location when the song is played is used by the wireless earphone to estimate the current system time and the geographic location of the wireless earphone based on a song identifier. The specific implementation manner of determining that the current geographic location and system time meet the preset conditions may be: determining that the current geographic location of the wireless headset is outdoors (such as a park, playground, on the road, etc.), and the system time is a preset time period during the day ( eg 9:00 to 16:00). When the wireless headset determines that the current geographic location and system time meet the preset conditions, the operation of detecting the ultraviolet intensity of the environment where the wireless headset is located is performed based on the ultraviolet sensor, thereby saving the power consumption of the wireless headset and prolonging the service life of the wireless headset. Battery life.

在一个实施例中,所述可穿戴设备还包括生物传感器205;In one embodiment, the wearable device further includes a biosensor 205;

所述生物传感器205,用于获取与所述可穿戴设备接触的用户皮肤的皮肤参数,其中,所述皮肤参数包括皮肤表面的水分和油分;The biosensor 205 is configured to acquire skin parameters of the user's skin in contact with the wearable device, wherein the skin parameters include moisture and oil on the skin surface;

所述处理器204,还用于基于所述皮肤参数确定用户皮肤的防晒系数;在检测到所述防晒系数与所述紫外线强度不匹配时,生成第二提示信息。The processor 204 is further configured to determine the sun protection factor of the user's skin based on the skin parameters; and generate second prompt information when it is detected that the sun protection factor does not match the ultraviolet intensity.

本申请实施例中,生物传感器205可以包括湿度传感器、生物电阻抗分析(BIA)传感器,进而实现检测用户皮肤表面下的水分和油分。具体地,无线耳机200可以通过生物电阻抗分析(BIA)传感器检测当前皮肤的阻抗值,所述无线耳机200可以预先存储有皮肤的阻抗值与皮肤质量指标的各种对应关系,其中,皮肤质量指标包括皮肤的水分值、油分值和弹性值,无线耳机200将检测得到的当前的皮肤的阻抗值与预先存储的数据进行比对,从而获得当前皮肤的水分值和油分值,进而根据当前皮肤的水分值和油分值确定用户皮肤的防晒系数。In the embodiment of the present application, the biosensor 205 may include a humidity sensor and a bioelectrical impedance analysis (BIA) sensor, so as to detect moisture and oil under the user's skin surface. Specifically, the wireless earphone 200 can detect the current impedance value of the skin through a bioelectrical impedance analysis (BIA) sensor, and the wireless earphone 200 can pre-store various correspondences between the impedance value of the skin and the skin quality index, wherein the skin quality The indicators include skin moisture value, oil content value and elasticity value. The wireless earphone 200 compares the detected current skin impedance value with the pre-stored data to obtain the current skin moisture value and oil content value. Furthermore, the sun protection factor of the user's skin is determined according to the current moisture value and oil content value of the skin.

在一个实施例中,所述处理器204,还用于获取所述可穿戴设备接收的紫外线的含量;确定所述紫外线的含量落入的紫外线数值区间;生成与所述确定的紫外线数值区间对应的提示信息。In one embodiment, the processor 204 is further configured to obtain the ultraviolet content received by the wearable device; determine the ultraviolet value range in which the ultraviolet content falls; and generate an ultraviolet value corresponding to the determined ultraviolet value range. prompt information.

在一个实施例中,所述通信接口203还可以将所述可穿戴设备200接收的紫外线的含量发送至电子设备,以使电子设备确定所述紫外线的含量落入的紫外线数值区间,并生成与所述确定的紫外线数值区间对应的提示信息,进而提醒用户在紫外线含量达到预设阈值及时就行防护措施。In one embodiment, the communication interface 203 can also send the content of ultraviolet rays received by the wearable device 200 to the electronic device, so that the electronic device can determine the range of ultraviolet rays that the ultraviolet content falls into, and generate a The prompt information corresponding to the determined ultraviolet range further reminds the user to take protective measures in time when the ultraviolet content reaches the preset threshold.

请参阅图3,图3是本申请实施例提供的一种紫外线检测方法的流程示意图,如图3所示,本申请实施例中的紫外线检测方法包括以下步骤:Please refer to Fig. 3. Fig. 3 is a schematic flow chart of an ultraviolet detection method provided in the embodiment of the present application. As shown in Fig. 3, the ultraviolet detection method in the embodiment of the present application includes the following steps:

S301、可穿戴设备基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;S301. The wearable device acquires the wearing state of the wearable device based on the proximity sensor, and the wearing state is used to indicate whether the user wears the wearable device;

S302、在所述佩戴状态指示用户佩戴所述可穿戴设备时,可穿戴设备基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度;S302. When the wearing state indicates that the wearable device is worn by the user, the wearable device detects the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor;

S303、在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,可穿戴设备将所述检测的紫外线强度发送至所述电子设备。S303. When detecting an ultraviolet intensity acquisition request sent by an electronic device wirelessly connected to the wearable device, the wearable device sends the detected ultraviolet intensity to the electronic device.

在一个实施例中,所述可穿戴设备包括无线耳机,所述无线耳机包括第一无线耳机和第二无线耳机,在所述佩戴状态指示用户佩戴所述第一无线耳机和所述第二无线耳机时,所述基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度,包括:In one embodiment, the wearable device includes a wireless earphone, and the wireless earphone includes a first wireless earphone and a second wireless earphone, and the user is instructed to wear the first wireless earphone and the second wireless earphone in the wearing state. When the earphone is used, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, including:

基于所述第一无线耳机配置的第一紫外线传感器检测得到第一紫外线强度;Obtaining a first ultraviolet intensity based on the detection of the first ultraviolet sensor configured by the first wireless earphone;

基于所述第二无线耳机配置的第二紫外线传感器检测得到第二紫外线强度;Obtaining a second ultraviolet intensity based on detection by a second ultraviolet sensor configured in the second wireless earphone;

所述方法还包括:The method also includes:

在预设时间段内检测到所述第一紫外线强度与所述第二紫外线强度不一致的时间占所述预设时间段的比例大于或等于预设阈值时,生成第一提示信息。When it is detected within a preset time period that the proportion of time during which the first ultraviolet intensity is inconsistent with the second ultraviolet intensity to the preset time period is greater than or equal to a preset threshold, a first prompt message is generated.

在一个实施例中,所述基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度之前,所述方法还包括:In one embodiment, before the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, the method further includes:

获取所述无线耳机当前播放的歌曲标识;Obtain the song identification currently played by the wireless earphone;

基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;Determine the current geographic location and system time based on the song identifier and the pre-stored historical record of playing the wireless earphone song, wherein the historical record of the wireless earphone song playback includes a mapping relationship between the song identifier and the system time and geographic location ;

确定所述当前的地理位置与系统时间满足预设条件。It is determined that the current geographic location and system time meet a preset condition.

在一个实施例中,所述基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度之后,所述方法还包括:In one embodiment, after the ultraviolet sensor detects the ultraviolet intensity of the environment where the wearable device is located, the method further includes:

基于生物传感器获取与所述可穿戴设备接触的用户皮肤的皮肤参数,其中,所述皮肤参数包括皮肤表面的水分和油分;Acquiring skin parameters of the user's skin in contact with the wearable device based on a biosensor, wherein the skin parameters include moisture and oil on the skin surface;

基于所述皮肤参数确定用户皮肤的防晒系数;determining a sun protection factor for the user's skin based on the skin parameters;

在检测到所述防晒系数与所述紫外线强度不匹配时,生成第二提示信息。When it is detected that the sun protection factor does not match the ultraviolet intensity, a second prompt message is generated.

在一个实施例中,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度之后,所述方法还包括:In one embodiment, after detecting the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor, the method further includes:

获取所述可穿戴设备接收的紫外线的含量;Obtaining the content of ultraviolet rays received by the wearable device;

确定所述紫外线的含量落入的紫外线数值区间;Determining the ultraviolet value interval that the content of the ultraviolet rays falls into;

生成与所述确定的紫外线数值区间对应的提示信息。Prompt information corresponding to the determined ultraviolet range is generated.

可以看出,本申请实施例提供的紫外线检测方法,可穿戴设备基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备,在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度,在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that, in the ultraviolet detection method provided by the embodiment of the present application, the wearable device obtains the wearing state of the wearable device based on the proximity sensor, and the wearing state is used to indicate whether the user is wearing the wearable device. When the user wears the wearable device, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wearable device is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device is detected, the The detected ultraviolet intensity is sent to the electronic device. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

与上述图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的另一种紫外线检测方法的流程示意图。如图4所示,本申请实施例中的紫外线检测方法包括以下步骤:Consistent with the above embodiment shown in FIG. 3 , please refer to FIG. 4 , which is a schematic flowchart of another ultraviolet detection method provided in the embodiment of the present application. As shown in Figure 4, the ultraviolet detection method in the embodiment of the present application comprises the following steps:

S401、无线耳机获取所述无线耳机当前播放的歌曲标识。S401. The wireless earphone acquires a song identifier currently played by the wireless earphone.

本申请实施例中的无线耳机包括第一无线耳机和第二无线耳机。The wireless earphones in this embodiment of the present application include a first wireless earphone and a second wireless earphone.

S402、无线耳机基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;S402. The wireless earphone determines the current geographic location and system time based on the song identifier and the pre-stored historical record of song playback on the wireless earphone, wherein the historical record of song playback on the wireless earphone includes the song identifier, system time, and geographic location The mapping relationship of the position;

S403、无线耳机确定所述当前的地理位置与系统时间满足预设条件。S403. The wireless headset determines that the current geographic location and system time meet a preset condition.

S404、无线耳机基于接近传感器获取第一无线耳机和第二无线耳机的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述第一无线耳机和所述第二无线耳机;S404. The wireless earphone acquires the wearing state of the first wireless earphone and the second wireless earphone based on the proximity sensor, where the wearing state is used to indicate whether the user wears the first wireless earphone and the second wireless earphone;

S405、在所述佩戴状态指示用户佩戴所述第一无线耳机和所述第二无线耳机时,基于所述第一无线耳机配置的第一紫外线传感器检测得到第一紫外线强度,基于所述第二无线耳机配置的第二紫外线传感器检测得到第二紫外线强度;S405. When the wearing state indicates that the user is wearing the first wireless earphone and the second wireless earphone, the first ultraviolet sensor configured based on the first wireless earphone detects the first ultraviolet intensity, and based on the second The second ultraviolet sensor equipped with the wireless earphone detects the second ultraviolet intensity;

其中,无线耳机在执行完步骤S405之后,可以同步执行步骤S406和S407。Wherein, the wireless earphone may execute steps S406 and S407 synchronously after step S405 is executed.

S406、在检测到与所述无线耳机无线连接的电子设备发送的紫外线强度获取请求时,无线耳机将所述检测的第一紫外线强度和所述第二紫外线强度发送至所述电子设备。S406. When detecting the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wireless earphone, the wireless earphone sends the detected first ultraviolet intensity and the second ultraviolet intensity to the electronic device.

S407、在预设时间段内检测到所述第一紫外线强度与所述第二紫外线强度不一致的时间占所述预设时间段的比例大于或等于预设阈值时,无线耳机生成第一提示信息。S407. When it is detected within a preset time period that the time during which the first ultraviolet intensity is inconsistent with the second ultraviolet intensity accounts for the preset time period is greater than or equal to a preset threshold, the wireless earphone generates a first prompt message .

可以看出,本申请实施例提供的紫外线检测方法,无线耳机基于接近传感器获取无线耳机的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述无线耳机,在所述佩戴状态指示用户佩戴所述无线耳机时,基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度,在检测到与所述无线耳机无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备,同时在第一无线耳机检测得到的第一紫外线强度与第二无线耳机检测得到的第二紫外线强度长时间不一致时提示用户。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that in the ultraviolet detection method provided by the embodiment of the present application, the wireless earphone obtains the wearing state of the wireless earphone based on the proximity sensor, the wearing state is used to indicate whether the user is wearing the wireless earphone, and the wearing state indicates that the user is wearing the wireless earphone. When using the wireless earphone, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wireless earphone is detected, the detected ultraviolet intensity is sent to the electronic device, and at the same time prompt the user when the first ultraviolet intensity detected by the first wireless earphone is inconsistent with the second ultraviolet intensity detected by the second wireless earphone for a long time. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

与上述图3或图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的另一种紫外线检测方法的流程示意图。如图5所示,本申请实施例中的紫外线检测方法包括以下步骤:Consistent with the above embodiment shown in FIG. 3 or FIG. 4 , please refer to FIG. 5 , which is a schematic flowchart of another ultraviolet detection method provided in the embodiment of the present application. As shown in Figure 5, the ultraviolet detection method in the embodiment of the present application comprises the following steps:

S501、无线耳机获取所述无线耳机当前播放的歌曲标识;S501. The wireless earphone acquires a song identifier currently played by the wireless earphone;

S502、无线耳机基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;S502. The wireless earphone determines the current geographic location and system time based on the song identifier and the pre-stored historical record of playing the song on the wireless earphone, wherein the historical record of the song playing on the wireless earphone includes the song identifier, system time, and geographic location The mapping relationship of the position;

S503、无线耳机确定所述当前的地理位置与系统时间满足预设条件。S503. The wireless headset determines that the current geographic location and system time meet a preset condition.

S504、无线耳机基于接近传感器获取无线耳机的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述无线耳机;S504. The wireless earphone acquires the wearing state of the wireless earphone based on the proximity sensor, and the wearing state is used to indicate whether the user is wearing the wireless earphone;

S505、在所述佩戴状态指示用户佩戴所述无线耳机时,无线耳机基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度;S505. When the wearing state indicates that the user wears the wireless earphone, the wireless earphone detects the ultraviolet intensity of the environment where the wireless earphone is located based on the ultraviolet sensor;

其中,无线耳机在执行完步骤S505之后,可以执行步骤S506,也可以执行步骤S507至S509。Wherein, the wireless earphone may perform step S506 after performing step S505, or may perform steps S507 to S509.

S506、在检测到与所述无线耳机无线连接的电子设备发送的紫外线强度获取请求时,无线耳机将所述检测的紫外线强度发送至所述电子设备。S506. When detecting an ultraviolet intensity acquisition request sent by an electronic device wirelessly connected to the wireless earphone, the wireless earphone sends the detected ultraviolet intensity to the electronic device.

S507、无线耳机基于生物传感器获取与所述无线耳机接触的用户皮肤的皮肤参数,其中,所述皮肤参数包括皮肤表面的水分和油分;S507. The wireless earphone acquires skin parameters of the user's skin in contact with the wireless earphone based on a biosensor, wherein the skin parameters include moisture and oil on the skin surface;

S508、无线耳机基于所述皮肤参数确定用户皮肤的防晒系数;S508. The wireless earphone determines the sun protection factor of the user's skin based on the skin parameters;

S509、在检测到所述防晒系数与所述紫外线强度不匹配时,无线耳机生成第二提示信息。S509. When it is detected that the sun protection factor does not match the ultraviolet intensity, the wireless earphone generates second prompt information.

可以看出,本申请实施例提供的紫外线检测方法,无线耳机基于接近传感器获取无线耳机的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述无线耳机,在所述佩戴状态指示用户佩戴所述无线耳机时,基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度,在检测到与所述无线耳机无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备,同时在检测到用户皮肤的防晒系数与紫外线强度不匹配时,提示用户。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that in the ultraviolet detection method provided by the embodiment of the present application, the wireless earphone obtains the wearing state of the wireless earphone based on the proximity sensor, the wearing state is used to indicate whether the user is wearing the wireless earphone, and the wearing state indicates that the user is wearing the wireless earphone. When using the wireless earphone, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wireless earphone is detected, the detected ultraviolet intensity is sent to the electronic device, and at the same time prompt the user when it is detected that the sun protection factor of the user's skin does not match the ultraviolet intensity. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

与上述图3至图5所示的实施例一致的,请参阅图6,图6是本申请实施例提供的另一种紫外线检测方法的流程示意图。如图6所示,本申请实施例中的紫外线检测方法包括以下步骤:Consistent with the above embodiments shown in FIG. 3 to FIG. 5 , please refer to FIG. 6 , which is a schematic flowchart of another ultraviolet detection method provided in the embodiment of the present application. As shown in Figure 6, the ultraviolet detection method in the embodiment of the present application includes the following steps:

S601、无线耳机获取所述无线耳机当前播放的歌曲标识;S601. The wireless earphone acquires a song identifier currently played by the wireless earphone;

S602、无线耳机基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;S602. The wireless earphone determines the current geographic location and system time based on the song identifier and the pre-stored historical record of song playback of the wireless earphone, wherein the historical record of song playback of the wireless earphone includes the song identifier, system time, and geographic location The mapping relationship of the position;

S603、无线耳机确定所述当前的地理位置与系统时间满足预设条件。S603. The wireless headset determines that the current geographic location and system time meet a preset condition.

S604、无线耳机基于接近传感器获取无线耳机的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述无线耳机;S604. The wireless earphone acquires the wearing state of the wireless earphone based on the proximity sensor, and the wearing state is used to indicate whether the user is wearing the wireless earphone;

S605、在所述佩戴状态指示用户佩戴所述无线耳机时,无线耳机基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度;S605. When the wearing state indicates that the user is wearing the wireless earphone, the wireless earphone detects the ultraviolet intensity of the environment where the wireless earphone is located based on the ultraviolet sensor;

其中,无线耳机在执行完步骤S505之后,可以执行步骤S606,也可以执行步骤S607至S609。Wherein, the wireless earphone may perform step S606 after performing step S505, or may perform steps S607 to S609.

S606、在检测到与所述无线耳机无线连接的电子设备发送的紫外线强度获取请求时,无线耳机将所述检测的紫外线强度发送至所述电子设备。S606. When detecting an ultraviolet intensity acquisition request sent by an electronic device wirelessly connected to the wireless earphone, the wireless earphone sends the detected ultraviolet intensity to the electronic device.

S607、无线耳机获取所述无线耳机接收的紫外线的含量;S607. The wireless earphone obtains the content of ultraviolet rays received by the wireless earphone;

S608、无线耳机确定所述紫外线的含量落入的紫外线数值区间;S608. The wireless earphone determines the ultraviolet value interval in which the ultraviolet content falls;

S609、无线耳机生成与所述确定的紫外线数值区间对应的提示信息。S609. The wireless earphone generates prompt information corresponding to the determined ultraviolet range.

可以看出,本申请实施例提供的紫外线检测方法,无线耳机基于接近传感器获取无线耳机的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述无线耳机,在所述佩戴状态指示用户佩戴所述无线耳机时,基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度,在检测到与所述无线耳机无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备,同时根据不同的接收的紫外线含量生成不同的提示信息。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that in the ultraviolet detection method provided by the embodiment of the present application, the wireless earphone obtains the wearing state of the wireless earphone based on the proximity sensor, the wearing state is used to indicate whether the user is wearing the wireless earphone, and the wearing state indicates that the user is wearing the wireless earphone. When using the wireless earphone, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wireless earphone is detected, the detected ultraviolet intensity is sent to the electronic device, and at the same time generate different prompt information according to different received ultraviolet content. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of executing the process on the method side. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本申请实施例可以根据上述方法示例对电子装置进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the electronic device into functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例所实现的方法。请参阅图7,图7是本申请实施例公开的一种紫外线检测装置的单元组成框图,如图7所示,该紫外线检测装置可以包括获取单元701、检测单元702和发送单元703,其中:The following are device embodiments of the present invention, and the device embodiments of the present invention are used to implement the methods implemented by the method embodiments of the present invention. Please refer to FIG. 7. FIG. 7 is a block diagram of a unit composition of an ultraviolet detection device disclosed in an embodiment of the present application. As shown in FIG. 7, the ultraviolet detection device may include an acquisition unit 701, a detection unit 702, and a sending unit 703, wherein:

获取单元701,用于基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;An acquiring unit 701, configured to acquire a wearing state of the wearable device based on a proximity sensor, the wearing state being used to indicate whether the user wears the wearable device;

检测单元702,用于在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度;The detection unit 702 is configured to detect the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor when the wearing state indicates that the user is wearing the wearable device;

发送单元703,用于在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。The sending unit 703 is configured to send the detected ultraviolet intensity to the electronic device when detecting the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device.

在一个实施例中,所述可穿戴设备包括无线耳机,所述无线耳机包括第一无线耳机和第二无线耳机,在所述佩戴状态指示用户佩戴所述第一无线耳机和所述第二无线耳机时,所述检测单元702具体用于:In one embodiment, the wearable device includes a wireless earphone, and the wireless earphone includes a first wireless earphone and a second wireless earphone, and the user is instructed to wear the first wireless earphone and the second wireless earphone in the wearing state. For earphones, the detection unit 702 is specifically used for:

基于所述第一无线耳机配置的第一紫外线传感器检测得到第一紫外线强度;Obtaining a first ultraviolet intensity based on the detection of the first ultraviolet sensor configured by the first wireless earphone;

基于所述第二无线耳机配置的第二紫外线传感器检测得到第二紫外线强度;Obtaining a second ultraviolet intensity based on detection by a second ultraviolet sensor configured in the second wireless earphone;

所述装置还包括:The device also includes:

第一提示单元704,用于在预设时间段内检测到所述第一紫外线强度与所述第二紫外线强度不一致的时间占所述预设时间段的比例大于或等于预设阈值时,生成第一提示信息。The first prompting unit 704 is configured to generate an alert when it is detected that the proportion of the time when the first ultraviolet intensity is inconsistent with the second ultraviolet intensity to the preset time period is greater than or equal to a preset threshold within a preset time period. The first prompt message.

在一个实施例中,所述装置还包括:In one embodiment, the device also includes:

确定单元705,用于获取所述无线耳机当前播放的歌曲标识;基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;确定所述当前的地理位置与系统时间满足预设条件。The determining unit 705 is configured to acquire the song identifier currently played by the wireless earphone; determine the current geographical location and system time based on the song identifier and the pre-stored play history of the wireless earphone song, wherein the wireless earphone The historical records of song playback include the mapping relationship between song identifiers, system time and geographic location; it is determined that the current geographic location and system time meet the preset conditions.

在一个实施例中,所述装置还包括:In one embodiment, the device also includes:

第二提示单元706,用于基于生物传感器获取与所述可穿戴设备接触的用户皮肤的皮肤参数,其中,所述皮肤参数包括皮肤表面的水分和油分;基于所述皮肤参数确定用户皮肤的防晒系数;在检测到所述防晒系数与所述紫外线强度不匹配时,生成第二提示信息。The second prompting unit 706 is configured to acquire skin parameters of the user's skin in contact with the wearable device based on biosensors, wherein the skin parameters include moisture and oil on the skin surface; determine the sun protection of the user's skin based on the skin parameters factor; when it is detected that the sun protection factor does not match the ultraviolet intensity, a second prompt message is generated.

在一个实施例中,所述装置还包括:In one embodiment, the device also includes:

第三提示单元707,用于获取所述可穿戴设备接收的紫外线的含量;确定所述紫外线的含量落入的紫外线数值区间;生成与所述确定的紫外线数值区间对应的提示信息。The third prompting unit 707 is configured to obtain the content of ultraviolet rays received by the wearable device; determine the ultraviolet value interval in which the ultraviolet content falls; and generate prompt information corresponding to the determined ultraviolet numerical interval.

具体的,上述各个单元的具体实现可参考图3至图6对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation of each of the above units, reference may be made to the description of relevant steps in the embodiments corresponding to FIG. 3 to FIG. 6 , and details are not repeated here.

需要注意的是,本发明装置实施例所描述的紫外线检测装置是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the ultraviolet detection device described in the device embodiment of the present invention is presented in the form of a functional unit. The term "unit" used here should be understood as the broadest meaning possible. The object used to realize the functions described by each "unit" can be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware Processors (shared, dedicated, or chipsets) and memories of programs, combinational logic circuits, and/or other suitable components that provide the functions described above.

举例来说,上述获取单元701基于接近传感器获取可穿戴设备的佩戴状态的功能可以由图8所示的可穿戴设备来实现,具体可以通过处理器801通过调用存储器802中的可执行程序代码,基于接近传感器获取可穿戴设备的佩戴状态。For example, the function of acquiring the wearable state of the wearable device based on the proximity sensor by the above-mentioned acquiring unit 701 can be realized by the wearable device shown in FIG. Obtain the wearing status of the wearable device based on the proximity sensor.

可以看出,本申请实施例提供的紫外线检测装置,基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备,在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度,在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备,同时在检测到用户皮肤的防晒系数与紫外线强度不匹配时,提示用户。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that the ultraviolet detection device provided in the embodiment of the present application acquires the wearing state of the wearable device based on the proximity sensor, the wearing state is used to indicate whether the user is wearing the wearable device, and the wearing state indicates that the user is wearing the wearable device. When using the wearable device, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wearable device is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device is detected, the detected The ultraviolet intensity is sent to the electronic device, and at the same time, when it is detected that the sun protection factor of the user's skin does not match the ultraviolet intensity, the user is prompted. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

请参阅图8,图8为本申请实施例公开的另一种可穿戴设备800的结构示意图。可穿戴设备800包括处理器801、存储器802、通信接口803以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器802中,并且被配置由上述处理器801执行,所述程序中的指令用于执行以下操作:Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of another wearable device 800 disclosed in an embodiment of the present application. The wearable device 800 includes a processor 801, a memory 802, a communication interface 803, and one or more programs, wherein the one or more programs are stored in the memory 802 and configured to be executed by the processor 801, the Instructions in the program are used to do the following:

基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;Obtaining the wearing state of the wearable device based on the proximity sensor, where the wearing state is used to indicate whether the user is wearing the wearable device;

在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度;When the wearing state indicates that the user is wearing the wearable device, detecting the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor;

在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。When an ultraviolet intensity acquisition request sent by an electronic device wirelessly connected to the wearable device is detected, the detected ultraviolet intensity is sent to the electronic device.

在一个的实施例中,所述可穿戴设备包括无线耳机,所述无线耳机包括第一无线耳机和第二无线耳机,在所述佩戴状态指示用户佩戴所述第一无线耳机和所述第二无线耳机时,在基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度方面,所述程序中的指令具体用于执行以下操作:In one embodiment, the wearable device includes a wireless earphone, and the wireless earphone includes a first wireless earphone and a second wireless earphone, and the user is instructed to wear the first wireless earphone and the second wireless earphone in the wearing state. When using a wireless headset, in terms of detecting the ultraviolet intensity of the environment where the wireless headset is located based on the ultraviolet sensor, the instructions in the program are specifically used to perform the following operations:

基于所述第一无线耳机配置的第一紫外线传感器检测得到第一紫外线强度;Obtaining a first ultraviolet intensity based on the detection of the first ultraviolet sensor configured by the first wireless earphone;

基于所述第二无线耳机配置的第二紫外线传感器检测得到第二紫外线强度;Obtaining a second ultraviolet intensity based on detection by a second ultraviolet sensor configured in the second wireless earphone;

所述程序还包括用于执行以下操作的指令:The program also includes instructions for:

在预设时间段内检测到所述第一紫外线强度与所述第二紫外线强度不一致的时间占所述预设时间段的比例大于或等于预设阈值时,生成第一提示信息。When it is detected within a preset time period that the proportion of time during which the first ultraviolet intensity is inconsistent with the second ultraviolet intensity to the preset time period is greater than or equal to a preset threshold, a first prompt message is generated.

在一个的实施例中,所述程序还包括用于执行以下操作的指令:In one embodiment, the program further includes instructions for performing the following operations:

获取所述无线耳机当前播放的歌曲标识;Obtain the song identification currently played by the wireless earphone;

基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;Determine the current geographic location and system time based on the song identifier and the pre-stored historical record of playing the wireless earphone song, wherein the historical record of the wireless earphone song playback includes a mapping relationship between the song identifier and the system time and geographic location ;

确定所述当前的地理位置与系统时间满足预设条件。It is determined that the current geographic location and system time meet a preset condition.

在一个的实施例中,所述程序还包括用于执行以下操作的指令:In one embodiment, the program further includes instructions for performing the following operations:

基于生物传感器获取与所述可穿戴设备接触的用户皮肤的皮肤参数,其中,所述皮肤参数包括皮肤表面的水分和油分;Acquiring skin parameters of the user's skin in contact with the wearable device based on a biosensor, wherein the skin parameters include moisture and oil on the skin surface;

基于所述皮肤参数确定用户皮肤的防晒系数;determining a sun protection factor for the user's skin based on the skin parameters;

在检测到所述防晒系数与所述紫外线强度不匹配时,生成第二提示信息。When it is detected that the sun protection factor does not match the ultraviolet intensity, a second prompt message is generated.

在一个的实施例中,所述程序还包括用于执行以下操作的指令:In one embodiment, the program further includes instructions for performing the following operations:

获取所述可穿戴设备接收的紫外线的含量;Obtaining the content of ultraviolet rays received by the wearable device;

确定所述紫外线的含量落入的紫外线数值区间;Determining the ultraviolet value interval that the content of the ultraviolet rays falls into;

生成与所述确定的紫外线数值区间对应的提示信息。Prompt information corresponding to the determined ultraviolet range is generated.

其中,通信接口803包括但不限于天线、放大器、收发信机、耦合器、LNA(Low NoiseAmplifier,低噪声放大器)、双工器等。存储器802包括以下至少一种:随机存取存贮器、非易失性存储器以及外部存储器。Wherein, the communication interface 803 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier, low noise amplifier), a duplexer, and the like. The memory 802 includes at least one of the following: random access memory, non-volatile memory and external memory.

具体的,上述各个单元的具体实现可参考图3至图6对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation of each of the above units, reference may be made to the description of relevant steps in the embodiments corresponding to FIG. 3 to FIG. 6 , and details are not repeated here.

可以看出,本申请实施例提供的可穿戴设备,基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备,在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度,在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备,同时在检测到用户皮肤的防晒系数与紫外线强度不匹配时,提示用户。可见,通过实施本申请实施例可以为用户提供较精确的当地紫外线强度数据,使用户能根据实际紫外线强度做好防护措施。It can be seen that the wearable device provided by the embodiment of the present application obtains the wearing state of the wearable device based on the proximity sensor, and the wearing state is used to indicate whether the user is wearing the wearable device, and in the wearing state, the user is instructed to wear the wearable device. When using the wearable device, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wearable device is located, and when the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device is detected, the detected The ultraviolet intensity is sent to the electronic device, and at the same time, when it is detected that the sun protection factor of the user's skin does not match the ultraviolet intensity, the user is prompted. It can be seen that by implementing the embodiment of the present application, more accurate local ultraviolet intensity data can be provided to the user, so that the user can take protective measures according to the actual ultraviolet intensity.

如图9所示,图9为本申请实施例公开的另一种可穿戴设备900的结构示意图。可穿戴设备900可以包括控制电路,该控制电路可以包括存储和处理电路30。该存储和处理电路30可以存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路30中的处理电路可以用于控制可穿戴设备900的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。As shown in FIG. 9 , FIG. 9 is a schematic structural diagram of another wearable device 900 disclosed in the embodiment of the present application. Wearable device 900 may include control circuitry, which may include storage and processing circuitry 30 . The storage and processing circuit 30 can be memory, such as hard disk drive memory, non-volatile memory (such as flash memory or other electronically programmable read-only memory used to form a solid-state drive, etc.), volatile memory (such as static or dynamic random access memory, etc.) access memory, etc.), etc., the embodiment of the present application is not limited. Processing circuitry in storage and processing circuitry 30 may be used to control the operation of wearable device 900 . The processing circuit may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.

存储和处理电路30可用于运行可穿戴设备900中的软件,例如互联网浏览应用程序,互联网协议语音(Voice over Internet Protocol,VOIP)电话呼叫应用程序,电子邮件应用程序,媒体播放应用程序,操作系统功能等。这些软件可以用于执行一些控制操作,例如,基于照相机的图像采集,基于环境光传感器的环境光测量,基于接近传感器的接近传感器测量,基于诸如发光二极管的状态指示灯等状态指示器实现的信息显示功能,基于触摸传感器的触摸事件检测,与在多个(例如分层的)显示器上显示信息相关联的功能,与执行无线通信功能相关联的操作,与收集和产生音频信号相关联的操作,与收集和处理按钮按压事件数据相关联的控制操作,以及可穿戴设备900中的其它功能等,本申请实施例不作限制。The storage and processing circuit 30 can be used to run software in the wearable device 900, such as Internet browsing applications, Voice over Internet Protocol (Voice over Internet Protocol, VOIP) telephone call applications, email applications, media player applications, operating systems function etc. These software can be used to perform control operations such as camera based image acquisition, ambient light measurement based on ambient light sensor, proximity sensor based measurement based on proximity sensor, information based on status indicators such as status indicators such as LEDs Display functions, touch sensor based touch event detection, functions associated with displaying information on multiple (e.g. layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals , the control operations associated with collecting and processing button press event data, and other functions in the wearable device 900 are not limited by this embodiment of the present application.

可穿戴设备900还可以包括输入-输出电路42。输入-输出电路42可用于使可穿戴设备900实现数据的输入和输出,即允许可穿戴设备900从外部设备接收数据和也允许可穿戴设备900将数据从可穿戴设备900输出至外部设备。输入-输出电路42可以进一步包括传感器32。传感器32可以包括环境光传感器,基于光和电容的接近传感器,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,和其它传感器等。Wearable device 900 may also include input-output circuitry 42 . The input-output circuit 42 can be used to enable the wearable device 900 to realize data input and output, that is, allow the wearable device 900 to receive data from external devices and also allow the wearable device 900 to output data from the wearable device 900 to external devices. Input-output circuitry 42 may further include sensor 32 . The sensor 32 can include an ambient light sensor, a proximity sensor based on light and capacitance, a touch sensor (for example, based on an optical touch sensor and/or a capacitive touch sensor, wherein the touch sensor can be a part of the touch screen or can be used as a The touch sensor structure is used independently), the acceleration sensor, and other sensors, etc.

输入-输出电路42还可以包括一个或多个显示器,例如显示器14。显示器14可以包括液晶显示器,有机发光二极管显示器,电子墨水显示器,等离子显示器,使用其它显示技术的显示器中一种或者几种的组合。显示器14可以包括触摸传感器阵列(即,显示器14可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。Input-output circuitry 42 may also include one or more displays, such as display 14 . The display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, and displays using other display technologies. Display 14 may include a touch sensor array (ie, display 14 may be a touchscreen display). The touch sensor may be a capacitive touch sensor formed from an array of transparent touch sensor electrodes such as indium tin oxide (ITO) electrodes, or may be a touch sensor formed using other touch technologies such as acoustic touch, pressure sensitive touch, resistive touch Touch, optical touch, etc. are not limited in this embodiment of the application.

可穿戴设备900还可以包括音频组件36。音频组件36可以用于为可穿戴设备900提供音频输入和输出功能。可穿戴设备900中的音频组件36可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。Wearable device 900 may also include an audio component 36 . Audio component 36 may be used to provide audio input and output functionality for wearable device 900 . Audio components 36 in wearable device 900 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sounds.

通信电路38可以用于为可穿戴设备900提供与外部设备通信的能力。通信电路38可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路38中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路38中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(Near Field Communication,NFC)的电路。例如,通信电路38可以包括近场通信天线和近场通信收发器。通信电路38还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。The communication circuit 38 can be used to provide the wearable device 900 with the ability to communicate with external devices. Communications circuitry 38 may include analog and digital input-output interface circuitry, and wireless communications circuitry based on radio frequency signals and/or optical signals. Wireless communication circuitry in communication circuitry 38 may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuit in the communication circuit 38 may include a circuit for supporting Near Field Communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. Communication circuitry 38 may also include cellular telephone transceiver circuitry and antenna, wireless local area network transceiver circuitry and antenna, and the like.

可穿戴设备900还可以进一步包括电池,电力管理电路和其它输入-输出单元40。输入-输出单元40可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The wearable device 900 may further include a battery, a power management circuit and other input-output units 40 . The input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.

用户可以通过输入-输出电路42输入命令来控制可穿戴设备900的操作,并且可以使用输入-输出电路42的输出数据以实现接收来自可穿戴设备900的状态信息和其它输出。The user may input commands through the input-output circuit 42 to control the operation of the wearable device 900 , and may use the output data of the input-output circuit 42 to receive status information and other output from the wearable device 900 .

本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种紫外线检测方法的部分或全部步骤。The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the method described in the above method embodiments Part or all of the steps of any UV detection method.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种紫外线检测方法的部分或全部步骤。The embodiment of the present application also provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all steps of any ultraviolet detection method described in the above method embodiments when executed.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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 may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned memory includes: various media capable of storing program codes such as USB flash drive, read-only memory (ROM), random access memory (RAM), removable hard disk, magnetic disk or optical disk.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(read-only memory,ROM)、随机存取器(random accessmemory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , a read-only memory (read-only memory, ROM), a random access device (random access memory, RAM), a magnetic disk or an optical disk, and the like.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present application have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation modes of the present invention. The descriptions of the above embodiments are only used to help understand the method of the present invention and its core idea; meanwhile, for Those skilled in the art will have changes in the specific implementation and scope of application according to the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (13)

1.一种可穿戴设备,其特征在于,包括接近传感器、紫外线传感器、通信接口以及处理器,其中:1. A wearable device, characterized in that, comprises a proximity sensor, an ultraviolet sensor, a communication interface and a processor, wherein: 所述接近传感器,用于获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;The proximity sensor is used to obtain the wearing state of the wearable device, and the wearing state is used to indicate whether the user is wearing the wearable device; 所述紫外线传感器,用于在所述佩戴状态指示用户佩戴所述可穿戴设备时,检测所述可穿戴设备所处的环境的紫外线强度;The ultraviolet sensor is used to detect the ultraviolet intensity of the environment where the wearable device is located when the wearing state indicates that the user wears the wearable device; 所述通信接口,用于在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。The communication interface is configured to send the detected ultraviolet intensity to the electronic device when detecting an ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device. 2.如权利要求1所述的可穿戴设备,其特征在于,所述可穿戴设备包括无线耳机,所述无线耳机包括第一无线耳机和第二无线耳机,所述紫外线传感器包括第一紫外线传感器和第二紫外线传感器;所述第一紫外线传感器配置于所述第一无线耳机上,用于检测得到第一紫外线强度;第二紫外线传感器配置于所述第二无线耳机上,用于检测得到第二紫外线强度;2. The wearable device according to claim 1, wherein the wearable device comprises a wireless earphone, the wireless earphone comprises a first wireless earphone and a second wireless earphone, and the ultraviolet sensor comprises a first ultraviolet sensor and a second ultraviolet sensor; the first ultraviolet sensor is configured on the first wireless earphone for detecting the first ultraviolet intensity; the second ultraviolet sensor is configured on the second wireless earphone for detecting the first Two UV intensity; 所述处理器,用于在预设时间段内检测到所述第一紫外线强度与所述第二紫外线强度不一致的时间占所述预设时间段的比例大于或等于预设阈值时,生成第一提示信息。The processor is configured to generate a second ultraviolet light when it detects that the proportion of time during which the first ultraviolet intensity is inconsistent with the second ultraviolet intensity to the preset time period is greater than or equal to a preset threshold within a preset time period. A reminder message. 3.如权利要求2所述的可穿戴设备,其特征在于,3. The wearable device as claimed in claim 2, characterized in that, 所述处理器,还用于获取所述无线耳机当前播放的歌曲标识;基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;确定所述当前的地理位置与系统时间满足预设条件。The processor is also used to obtain the song identifier currently played by the wireless earphone; based on the song identifier and the pre-stored historical record of the wireless earphone song playback, determine the current geographic location and system time, wherein the The historical record of the wireless earphone song playback includes the mapping relationship between the song identifier, the system time and the geographical location; it is determined that the current geographical location and the system time meet the preset conditions. 4.如权利要求1至3任一项所述的可穿戴设备,其特征在于,所述可穿戴设备还包括生物传感器;4. The wearable device according to any one of claims 1 to 3, wherein the wearable device further comprises a biosensor; 所述生物传感器,用于获取与所述可穿戴设备接触的用户皮肤的皮肤参数,其中,所述皮肤参数包括皮肤表面的水分和油分;The biosensor is used to acquire skin parameters of the user's skin in contact with the wearable device, wherein the skin parameters include moisture and oil on the skin surface; 所述处理器,还用于基于所述皮肤参数确定用户皮肤的防晒系数;在检测到所述防晒系数与所述紫外线强度不匹配时,生成第二提示信息。The processor is further configured to determine the sun protection factor of the user's skin based on the skin parameters; and generate second prompt information when it is detected that the sun protection factor does not match the ultraviolet intensity. 5.如权利要求1至4任一项所述的可穿戴设备,其特征在于,5. The wearable device according to any one of claims 1 to 4, characterized in that, 所述处理器,还用于获取所述可穿戴设备接收的紫外线的含量;确定所述紫外线的含量落入的紫外线数值区间;生成与所述确定的紫外线数值区间对应的提示信息。The processor is further configured to obtain the ultraviolet content received by the wearable device; determine the ultraviolet value range in which the ultraviolet content falls; and generate prompt information corresponding to the determined ultraviolet value range. 6.一种紫外线检测方法,其特征在于,包括:6. An ultraviolet detection method, characterized in that, comprising: 基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;Obtaining the wearing state of the wearable device based on the proximity sensor, where the wearing state is used to indicate whether the user wears the wearable device; 在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度;When the wearing state indicates that the user is wearing the wearable device, detecting the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor; 在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。When an ultraviolet intensity acquisition request sent by an electronic device wirelessly connected to the wearable device is detected, the detected ultraviolet intensity is sent to the electronic device. 7.如权利要求6所述的方法,其特征在于,所述可穿戴设备包括无线耳机,所述无线耳机包括第一无线耳机和第二无线耳机,在所述佩戴状态指示用户佩戴所述第一无线耳机和所述第二无线耳机时,所述基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度,包括:7. The method according to claim 6, wherein the wearable device includes a wireless earphone, the wireless earphone includes a first wireless earphone and a second wireless earphone, and the user is instructed to wear the second wireless earphone in the wearing state. When a wireless earphone and the second wireless earphone are used, the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, including: 基于所述第一无线耳机配置的第一紫外线传感器检测得到第一紫外线强度;Obtaining a first ultraviolet intensity based on the detection of the first ultraviolet sensor configured by the first wireless earphone; 基于所述第二无线耳机配置的第二紫外线传感器检测得到第二紫外线强度;Obtaining a second ultraviolet intensity based on detection by a second ultraviolet sensor configured in the second wireless earphone; 所述方法还包括:The method also includes: 在预设时间段内检测到所述第一紫外线强度与所述第二紫外线强度不一致的时间占所述预设时间段的比例大于或等于预设阈值时,生成第一提示信息。When it is detected within a preset time period that the proportion of time during which the first ultraviolet intensity is inconsistent with the second ultraviolet intensity to the preset time period is greater than or equal to a preset threshold, a first prompt message is generated. 8.如权利要求7所述的方法,其特征在于,所述基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度之前,所述方法还包括:8. The method according to claim 7, wherein before the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, the method further comprises: 获取所述无线耳机当前播放的歌曲标识;Obtain the song identification currently played by the wireless earphone; 基于所述歌曲标识与预存的所述无线耳机歌曲播放的历史记录,确定当前的地理位置与系统时间,其中,所述无线耳机歌曲播放的历史记录包括歌曲标识与系统时间和地理位置的映射关系;Determine the current geographic location and system time based on the song identifier and the pre-stored historical record of playing the wireless earphone song, wherein the historical record of the wireless earphone song playback includes a mapping relationship between the song identifier and the system time and geographic location ; 确定所述当前的地理位置与系统时间满足预设条件。It is determined that the current geographic location and system time meet a preset condition. 9.如权利要求6至8任一项所述的方法,其特征在于,所述基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度之后,所述方法还包括:9. The method according to any one of claims 6 to 8, wherein after the ultraviolet sensor detects the ultraviolet intensity of the environment where the wearable device is located, the method further comprises: 基于生物传感器获取与所述可穿戴设备接触的用户皮肤的皮肤参数,其中,所述皮肤参数包括皮肤表面的水分和油分;Acquiring skin parameters of the user's skin in contact with the wearable device based on a biosensor, wherein the skin parameters include moisture and oil on the skin surface; 基于所述皮肤参数确定用户皮肤的防晒系数;determining a sun protection factor for the user's skin based on the skin parameters; 在检测到所述防晒系数与所述紫外线强度不匹配时,生成第二提示信息。When it is detected that the sun protection factor does not match the ultraviolet intensity, a second prompt message is generated. 10.如权利要求6至9任一项所述的方法,其特征在于,基于紫外线传感器检测所述无线耳机所处的环境的紫外线强度之后,所述方法还包括:10. The method according to any one of claims 6 to 9, wherein after the ultraviolet sensor detects the ultraviolet intensity of the environment where the wireless earphone is located, the method further comprises: 获取所述可穿戴设备接收的紫外线的含量;Obtaining the content of ultraviolet rays received by the wearable device; 确定所述紫外线的含量落入的紫外线数值区间;Determining the ultraviolet value interval that the content of the ultraviolet rays falls into; 生成与所述确定的紫外线数值区间对应的提示信息。Prompt information corresponding to the determined ultraviolet range is generated. 11.一种紫外线检测装置,其特征在于,包括:11. An ultraviolet detection device, characterized in that, comprising: 获取单元,用于基于接近传感器获取可穿戴设备的佩戴状态,所述佩戴状态用于指示用户是否佩戴所述可穿戴设备;An acquisition unit, configured to acquire a wearing state of the wearable device based on the proximity sensor, the wearing state being used to indicate whether the user is wearing the wearable device; 检测单元,用于在所述佩戴状态指示用户佩戴所述可穿戴设备时,基于紫外线传感器检测所述可穿戴设备所处的环境的紫外线强度;A detection unit, configured to detect the ultraviolet intensity of the environment where the wearable device is located based on the ultraviolet sensor when the wearing state indicates that the user wears the wearable device; 发送单元,用于在检测到与所述可穿戴设备无线连接的电子设备发送的紫外线强度获取请求时,将所述检测的紫外线强度发送至所述电子设备。The sending unit is configured to send the detected ultraviolet intensity to the electronic device when detecting the ultraviolet intensity acquisition request sent by the electronic device wirelessly connected to the wearable device. 12.一种可穿戴设备,其特征在于,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行权利要求6至10任意一项方法中的步骤的指令。12. A wearable device, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the Executed by a processor, the program includes instructions for performing the steps in any one of the methods of claims 6 to 10. 13.一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求6至10中任一项所述的方法。13. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 6-10.
CN201810361916.8A 2018-04-20 2018-04-20 Ultraviolet detection method and related product Active CN108600886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810361916.8A CN108600886B (en) 2018-04-20 2018-04-20 Ultraviolet detection method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810361916.8A CN108600886B (en) 2018-04-20 2018-04-20 Ultraviolet detection method and related product

Publications (2)

Publication Number Publication Date
CN108600886A true CN108600886A (en) 2018-09-28
CN108600886B CN108600886B (en) 2020-01-14

Family

ID=63614425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810361916.8A Active CN108600886B (en) 2018-04-20 2018-04-20 Ultraviolet detection method and related product

Country Status (1)

Country Link
CN (1) CN108600886B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110292358A (en) * 2019-06-27 2019-10-01 Oppo广东移动通信有限公司 Electronic device, information pushing method and related product
CN111225320A (en) * 2019-12-31 2020-06-02 歌尔股份有限公司 Earphone wearing state detection method, earphone and readable storage medium
CN112750515A (en) * 2019-10-31 2021-05-04 Oppo广东移动通信有限公司 Health prompting method and related product
WO2022008146A1 (en) 2020-07-10 2022-01-13 Robert Bosch Gmbh Method for determining a wearing state of an earphone, and earphone system
CN114189782A (en) * 2021-12-06 2022-03-15 深圳市傲声智能有限公司 Earphone, earphone module and earphone control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140133670A1 (en) * 2012-11-12 2014-05-15 Powertech Industrial Co., Ltd. Headphone device
CN205092946U (en) * 2015-10-15 2016-03-16 歌尔声学股份有限公司 Headset
CN105721010A (en) * 2016-03-30 2016-06-29 深圳还是威健康科技有限公司 Ultraviolet early-warning system and wearing device
CN106454592A (en) * 2016-10-20 2017-02-22 天津大学 Necklace type intelligent earphone based on mobile phone
CN107577795A (en) * 2017-09-19 2018-01-12 广州酷狗计算机科技有限公司 A kind of methods, devices and systems for recommending song

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140133670A1 (en) * 2012-11-12 2014-05-15 Powertech Industrial Co., Ltd. Headphone device
CN205092946U (en) * 2015-10-15 2016-03-16 歌尔声学股份有限公司 Headset
CN105721010A (en) * 2016-03-30 2016-06-29 深圳还是威健康科技有限公司 Ultraviolet early-warning system and wearing device
CN106454592A (en) * 2016-10-20 2017-02-22 天津大学 Necklace type intelligent earphone based on mobile phone
CN107577795A (en) * 2017-09-19 2018-01-12 广州酷狗计算机科技有限公司 A kind of methods, devices and systems for recommending song

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110292358A (en) * 2019-06-27 2019-10-01 Oppo广东移动通信有限公司 Electronic device, information pushing method and related product
CN112750515A (en) * 2019-10-31 2021-05-04 Oppo广东移动通信有限公司 Health prompting method and related product
CN111225320A (en) * 2019-12-31 2020-06-02 歌尔股份有限公司 Earphone wearing state detection method, earphone and readable storage medium
WO2022008146A1 (en) 2020-07-10 2022-01-13 Robert Bosch Gmbh Method for determining a wearing state of an earphone, and earphone system
DE102020208682A1 (en) 2020-07-10 2022-01-13 Robert Bosch Gesellschaft mit beschränkter Haftung Method for determining a wearing condition of an earphone and earphone system
US12089031B2 (en) 2020-07-10 2024-09-10 Robert Bosch Gmbh Method for determining a wearing state of an earphone, and earphone system
CN114189782A (en) * 2021-12-06 2022-03-15 深圳市傲声智能有限公司 Earphone, earphone module and earphone control method

Also Published As

Publication number Publication date
CN108600886B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN108600886B (en) Ultraviolet detection method and related product
US11043980B2 (en) Method for controlling earphone switching, earphone, and earphone system
US11102697B2 (en) Method for controlling earphone switching and earphone
US10149067B2 (en) Method for controlling function based on battery information and electronic device therefor
CN108777741B (en) Antenna switching control method and related product
CN109561420B (en) A kind of emergency rescue method and related equipment
CN104868932A (en) Wearable electronic equipment, communication method and device thereof
CN114077414A (en) Audio playback control method, device, electronic device and storage medium
CN108541080B (en) Method and related products for back-connection between first electronic device and second electronic device
CN108683968A (en) Display control method and related products
US11399088B2 (en) Method for establishing communication connection and related products
CN108737923A (en) Volume adjusting method and related product
CN108769850A (en) Device control method and related products
CN106123910A (en) Step counting method and step counting device based on mobile terminal
CN107404753B (en) Volume adjustment method, device, terminal and storage medium
CN101702738A (en) Body temperature measuring cell phone and use method thereof
CN108955759B (en) Wearing detection method of wearable device and related products
CN110415495B (en) Equipment loss processing method and related equipment
CN103885203A (en) Modular spectacle rack with multifunctional application modules
CN108491539A (en) Terminal control method, device, storage medium and electronic equipment
CN105554218B (en) A kind of earpiece volume adjustment method and related equipment
CN108810787A (en) Foreign matter detecting method and device based on audio frequency apparatus, terminal
CN108668018A (en) Mobile terminal, volume control method and related product
CN109039355A (en) Phonetic prompt method and Related product
CN108829244B (en) Volume adjusting method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant