CN114126172A - Control method of lighting equipment and wearable equipment - Google Patents

Control method of lighting equipment and wearable equipment Download PDF

Info

Publication number
CN114126172A
CN114126172A CN202010899660.3A CN202010899660A CN114126172A CN 114126172 A CN114126172 A CN 114126172A CN 202010899660 A CN202010899660 A CN 202010899660A CN 114126172 A CN114126172 A CN 114126172A
Authority
CN
China
Prior art keywords
lighting
lighting device
function
wearable device
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010899660.3A
Other languages
Chinese (zh)
Inventor
胡尔佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010899660.3A priority Critical patent/CN114126172A/en
Priority to PCT/CN2021/112137 priority patent/WO2022042312A1/en
Publication of CN114126172A publication Critical patent/CN114126172A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The application relates to a control method of lighting equipment and wearable equipment. The wearable device includes: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored on the one or more memories, which when executed by the one or more processors, cause the wearable device to perform the steps of: after the fact that the user exits from the sleep state and the current time is within a preset time period is detected, the wearable device detects the distance between the wearable device and the lighting device; after the detected distance between the wearable device and the lighting device is smaller than or equal to a preset distance threshold value, the wearable device sends a message to the lighting device; the message is used to instruct the lighting device to perform a specific function. The wearable device controls the lighting device to provide personalized lighting services for different users while the hardware cost is increased little or not.

Description

Control method of lighting equipment and wearable equipment
Technical Field
The application relates to the field of smart homes, in particular to a control method of lighting equipment and wearable equipment.
Background
The lighting equipment can automatically execute various functions such as lighting and light-off when the surrounding environment changes, provides convenience for users and is widely applied. However, by implementing the above functions in a hardware manner, the lighting device needs to integrate a plurality of sensors to detect a change in the surrounding environment, resulting in a significant increase in cost. Furthermore, the way in which the lighting device integrates multiple sensors also fails to provide personalized lighting services for the user.
Disclosure of Invention
In order to solve the technical problem, the application provides a control method of a lighting device and a wearable device, which can control the lighting device to provide personalized lighting services for different users while hardware cost is increased little or even not increased.
In a first aspect, a wearable device is provided. The wearable device includes: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored on the one or more memories, which when executed by the one or more processors, cause the wearable device to perform the steps of: after the fact that the user exits from the sleep state and the current time is within a preset time period is detected, the wearable device detects the distance between the wearable device and the lighting device; after the detected distance between the wearable device and the lighting device is smaller than or equal to a preset distance threshold value, the wearable device sends a message to the lighting device; the message is used to instruct the lighting device to perform a specific function. Therefore, the application provides a specific function (for example, the lighting function of the lighting device is turned on) automatically executed according to the distance between the wearable device and the lighting device, which can provide personalized lighting service for users, meet the lighting requirements of different users in different scenes, and improve the experience of intelligent control. Furthermore, the embodiment of the application does not need to upgrade firmware when the hardware cost of the lighting device is increased less or even not increased, so that the intelligent control scheme provided by the embodiment of the application can be realized, the intelligent control experience is high, and the cost is low.
According to the first aspect, the wearable device further performs the steps of: after the detected distance between the wearable device and the lighting device changes from a distance smaller than or equal to a preset distance threshold to a distance larger than the preset distance threshold, the wearable device sends another message to the lighting device; another message is used to instruct the lighting device to perform another specific function. Therefore, the method for automatically executing another specific function (for example, turning off the lighting function) after the distance between the wearable device and the lighting device changes to a distance greater than the preset distance threshold is provided, and the experience of intelligent control is improved.
According to a first aspect, or any one of the above implementation manners, after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device detects a distance between the wearable device and the lighting device, including: after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device broadcasts a request in a preset period; upon receiving one response of the lighting device to the request, the wearable device detects a distance between the wearable device and the lighting device. Therefore, the method for triggering the wearable device to automatically detect the distance is provided, and the experience of intelligent control is improved.
According to a first aspect, or any one of the above implementations, the message for instructing a lighting device to perform a specific function comprises: the message is used for instructing the lighting device to execute a specific function according to the first parameter; the another message is for instructing the lighting device to perform another specific function, including: the another message is for instructing the lighting device to perform another specific function in accordance with the second parameter; the first parameter, the second parameter being associated with at least one of a wearable device, a lighting device, a distance between the wearable device and the lighting device, and variations thereof; the preset distance threshold is associated with at least one of the wearable device and the lighting device. Therefore, the lighting equipment can provide personalized service for the user according to different parameters carried in the message or the other message, and the intelligent control experience is improved.
According to a first aspect, or any one of the above implementation manners, the message comprises a first parameter, and the other message comprises a second parameter; or, the message contains the first parameter and the second parameter; or, the request includes a first parameter and a second parameter; alternatively, the first parameter and the second parameter are set in advance by the user. That is to say, the lighting parameter corresponding to the wearable device may be sent to the lighting device once or sent to the lighting device several times. For example, when the lighting device is instructed to perform a specific function, a lighting parameter (e.g., a first parameter) corresponding to the specific function is transmitted. When the lighting device is instructed to perform another specific function, a lighting parameter (e.g., a second parameter) corresponding to the other specific function is transmitted. As another example, when the specific function is turning on, the first parameter includes, for example, turning on the light immediately, turning on the light slowly, and the like. Another specific function is turning off the light, the second parameter for example comprising immediate light off and delayed light off. The delayed turn-off comprises delayed turn-off with different time lengths.
According to a first aspect, or any one of the above implementations, the message contains identity information of the wearable device and/or identity information of the lighting device; the request is used for publishing the ranging service, and the response is used for subscribing the ranging service; the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on the illumination function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the other specific function includes a turn-off lighting function; another combination of specific functions includes a turn-off lighting function and its associated functions; the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing and time length of delay closing. The related functions include, but are not limited to, an angle deflection function, a lifting function, and other motion functions. Or, the message contains identity information of the wearable device and/or identity information of the lighting device; the request comprises identity information of the wearable device and/or identity information of the lighting device, and the request is also used for issuing ranging service; responding to subscribe to the ranging service; the request and the response are also used for matching verification of identity authority; the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on the illumination function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the other specific function includes a turn-off lighting function; another combination of specific functions includes a turn-off lighting function and its associated functions; the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing and time length of delay closing; the lighting device is in wired or wireless communication with the electronic device. The related functions include, but are not limited to, an angle deflection function, a lifting function, and other motion functions. Illustratively, the specific function is a single function, such as turning on a light. When the specific function is a combination function, for example, the lamp is turned on by rotating the lamp at a certain angle, or the lamp is turned on by lowering the position of the lamp. For example, if the lighting device receives a message or another message sent by a wearable device of a child or an elderly person, the light may be controlled to descend for a certain distance, which is convenient for the child or the elderly person to see more clearly. When the other specific function is a single function, for example, turning off the light. When the specific function is a combination function, for example, the angle of the lamp is adjusted to a default angle and the lamp is turned off, or the waiting position is returned to the default position and the lamp is turned off.
In a second aspect, a lighting device is provided. The lighting device includes: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored on the one or more memories, which when executed by the one or more processors, cause the lighting device to perform the steps of: after receiving a request sent by the electronic device, or after detecting that the current time is within a preset time period, the lighting device detects the distance between the lighting device and the wearable device; wherein the request is for indicating that the current time is within a preset time period; the lighting device performs a particular function after the detected distance between the lighting device and the wearable device is less than or equal to a preset distance threshold. The electronic device may be a wearable device, or may be other intelligent devices such as a router. That is, ranging is performed by the lighting device, and a specific function is automatically performed according to the distance between the wearable device and the lighting device. Therefore, the number of interactive messages between the lighting equipment and the wearable equipment is small, and the response speed of the lighting equipment to the wearable equipment is increased. Moreover, as the lighting equipment is generally powered by the power supply, the power supply problem is not considered; wearable devices are generally powered by batteries, and the standby time needs to be considered. The distance measurement service is provided by the lighting equipment, the power consumption of the wearable equipment is reduced, and the standby time of the wearable equipment is prolonged.
According to a second aspect, the lighting device further performs the steps of: after the detected distance between the lighting device and the wearable device changes from being less than or equal to a preset distance threshold to being greater than the preset distance threshold, the lighting device performs another specific function.
According to the second aspect, or any one of the above implementation manners, after receiving a request sent by the electronic device, or after detecting that the current time is within a preset time period; the lighting device detects a distance between the lighting device and the wearable device; wherein the request is for indicating that the current time is within a preset time period; the method comprises the following steps: after receiving a request sent by the electronic equipment, wherein the request is used for indicating that the current time is within a preset time period; or after detecting that the current time is within a preset time period; the lighting equipment broadcasts a message in a preset period; upon receiving one response of the wearable device to the message, the lighting device detects a distance between the lighting device and the wearable device.
According to a second aspect, or any one of the above implementations, a lighting device performs a specific function comprising: the lighting device performs a specific function according to the first parameter; the lighting device performs another specific function, including: the lighting device performs another specific function according to the second parameter; the first parameter, the second parameter being associated with at least one of a lighting device, a wearable device, a distance between the lighting device and the wearable device, and variations thereof; the preset distance threshold is associated with at least one of the wearable device and the lighting device; the first parameter and the second parameter are preset by a user.
According to a second aspect, or any one of the above implementation manners, the message contains identity information of a wearable device and/or identity information of a lighting device, the message is used for publishing a ranging service, and the response is used for subscribing to the ranging service; the message and the response are also used for matching and verifying the identity authority; the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on the illumination function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the other specific function includes a turn-off lighting function; another combination of specific functions includes a turn-off lighting function and its associated functions; the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing and time length of delay closing; the lighting device is in wired or wireless communication with the electronic device. The related functions include, but are not limited to, an angle deflection function, a lifting function, and other motion functions.
In a third aspect, a control method of a lighting device is provided, which is applied to a wearable device. The method comprises the following steps: after the fact that the user exits from the sleep state and the current time is within a preset time period is detected, the wearable device detects the distance between the wearable device and the lighting device; after the detected distance between the wearable device and the lighting device is smaller than or equal to a preset distance threshold value, the wearable device sends a message to the lighting device; the message is used to instruct the lighting device to perform a specific function.
According to a third aspect, the method further comprises: after the detected distance between the wearable device and the lighting device changes from a distance smaller than or equal to a preset distance threshold to a distance larger than the preset distance threshold, the wearable device sends another message to the lighting device; another message is used to instruct the lighting device to perform another specific function.
According to a third aspect, or any one of the above implementation manners, after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device detecting a distance between the wearable device and the lighting device, including: after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device broadcasts a request; upon receiving one response of the lighting device to the request, the wearable device detects a distance between the wearable device and the lighting device.
According to a third aspect, or any one of the above implementations, a message for instructing a lighting device to perform a specific function, comprises: the message is used for instructing the lighting device to execute a specific function according to the first parameter; another message is used to instruct the lighting device to perform another specific function, including: another message for instructing the lighting device to perform another specific function in accordance with the second parameter; the first parameter, the second parameter being associated with at least one of a wearable device, a lighting device, a distance between the wearable device and the lighting device, and a variation; the preset distance threshold is associated with at least one of the wearable device and the lighting device.
According to a third aspect, or any one of the above implementations, the message comprises a first parameter and the further message comprises a second parameter; or, the message contains the first parameter and the second parameter; or, the request includes a first parameter and a second parameter; alternatively, the first parameter and the second parameter are set in advance by the user.
According to a third aspect, or any one of the above implementations, the message contains identity information of the wearable device and/or identity information of the lighting device; the request is used for publishing the ranging service, and the response is used for subscribing the ranging service; the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on the illumination function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the other specific function includes a turn-off lighting function; another combination of specific functions includes a turn-off lighting function and its associated functions; the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing and time length of delay closing; or, the message contains identity information of the wearable device and/or identity information of the lighting device; the request comprises identity information of the wearable device and/or identity information of the lighting device, and the request is also used for issuing ranging service; responding to subscribe to the ranging service; the request and the response are also used for matching verification of identity authority; the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on the illumination function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the other specific function includes a turn-off lighting function; another combination of specific functions includes a turn-off lighting function and its associated functions; the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing and time length of delay closing. The related functions include, but are not limited to, an angle deflection function, a lifting function, and other motion functions.
For technical effects corresponding to any one of the implementation manners of the third aspect and the third aspect, reference may be made to the technical effects corresponding to any one of the implementation manners of the first aspect and the first aspect, and details are not described here.
In a fourth aspect, a control method for a lighting apparatus is provided, which is applied to the lighting apparatus. The method comprises the following steps: after receiving a request sent by the electronic equipment, wherein the request is used for indicating that the current time is within a preset time period; or after detecting that the current time is within a preset time period; the lighting device detects a distance between the lighting device and the wearable device; the lighting device performs a particular function after the detected distance between the lighting device and the wearable device is less than or equal to a preset distance threshold.
According to a fourth aspect, the method further comprises: after the detected distance between the lighting device and the wearable device changes from a distance less than or equal to a preset distance threshold to a distance greater than the preset distance threshold, the lighting device performs another specific function.
According to the fourth aspect, or any one of the above implementation manners, after receiving a request sent by an electronic device, where the request is used to indicate that the current time is within a preset time period; or after detecting that the current time is within a preset time period; the lighting device detects a distance between the lighting device and the wearable device; the method comprises the following steps: after receiving a request sent by the electronic equipment, wherein the request is used for indicating that the current time is within a preset time period; or after detecting that the current time is within a preset time period; the lighting equipment broadcasts a message in a preset period; upon receiving one response of the wearable device to the message, the lighting device detects a distance between the lighting device and the wearable device.
According to a fourth aspect, or any one of the above implementations, a lighting device performs a specific function comprising: the lighting device performs a specific function according to the first parameter; the lighting device performs another specific function, including: the lighting device performs another specific function according to the second parameter; the first parameter, the second parameter being associated with at least one of a lighting device, a wearable device, a distance between the lighting device and the wearable device, and a variation; the preset distance threshold is associated with at least one of the wearable device and the lighting device; the first parameter and the second parameter are preset by a user.
According to a fourth aspect, or any one of the above implementations, the message includes identity information of the wearable device and/or identity information of the lighting device, the message is used for publishing a ranging service, and the response is used for subscribing to the ranging service; the message and the response are also used for matching and verifying the identity authority; the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on the illumination function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the other specific function includes a turn-off lighting function; another combination of specific functions includes a turn-off lighting function and its associated functions; the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing and time length of delay closing; the lighting device is in wired or wireless communication with the electronic device. The related functions include, but are not limited to, an angle deflection function, a lifting function, and other motion functions.
For technical effects corresponding to any one of the implementation manners of the fourth aspect and the fourth aspect, reference may be made to the technical effects corresponding to any one of the implementation manners of the second aspect and the second aspect, and details are not repeated here.
In a fifth aspect, a lighting device is provided. The lighting device includes: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored on the one or more memories, which when executed by the one or more processors, cause the lighting device to perform the steps of: receiving a message sent by the wearable device, wherein the message is used for instructing the lighting device to execute a specific function; the lighting device performs the specific function; the message is sent by the wearable device after the wearable device detects that the user exits the sleep state and the current time is within a preset time period and the detected distance between the wearable device and the lighting device is smaller than or equal to a preset distance threshold.
According to a fifth aspect, the lighting device further performs the steps of: receiving another message of the wearable device, the another message for instructing the lighting device to perform another specific function; the lighting device performs another specific function. Wherein the another message is sent by the lighting device after the detected distance between the wearable device and the lighting device changes from a distance less than or equal to a preset distance threshold to a distance greater than the preset distance threshold.
In a sixth aspect, an electronic device is provided. The electronic device includes: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored on the one or more memories, which when executed by the one or more processors, cause the electronic device to perform the steps of: after detecting that the user exits the sleep state and the current time is within a preset time period, sending a request to the lighting device, wherein the request is used for instructing the lighting device to measure the distance between the wearable device and the lighting device. Specifically, the electronic device may be a wearable device, or may be an intelligent device such as a router. If the wearable device is the wearable device, the wearable device may detect whether the user exits the sleep state and the current time is within a preset time period. If the router is the mobile device, the router may be notified by other devices (for example, wearable devices) after detecting that the user exits from the sleep state and the current time is within a preset time period, and the router sends the request.
In a seventh aspect, a computer-readable storage medium is provided. The computer readable storage medium comprises a computer program which, when run on a lighting device, causes the lighting device to perform the method according to any one of the implementation manners of the third aspect and the third aspect.
Any one of the implementation manners of the seventh aspect and the seventh aspect corresponds to any one of the implementation manners of the third aspect and the third aspect, respectively. For technical effects corresponding to any one of the implementation manners in the seventh aspect and the seventh aspect, reference may be made to the technical effects corresponding to any one of the implementation manners in the third aspect and the third aspect, and details are not repeated here.
In an eighth aspect, a computer-readable storage medium is provided. The computer readable storage medium comprises a computer program which, when run on a wearable device, causes the wearable device to perform the method as described in the fourth aspect and any one of the implementations of the fourth aspect.
Any one implementation manner of the eighth aspect and the eighth aspect corresponds to any one implementation manner of the fourth aspect and the fourth aspect, respectively. For technical effects corresponding to any one implementation manner of the eighth aspect and the eighth aspect, reference may be made to the technical effects corresponding to any one implementation manner of the fourth aspect and the fourth aspect, and details are not described here again.
A ninth aspect provides a computer program product which, when run on a computer, causes the computer to perform a method as any one of the third aspect and the third aspect, or a method as any one of the fourth aspect and the fourth aspect.
Any one implementation manner of the ninth aspect and the ninth aspect corresponds to any one implementation manner of the third aspect, the fourth aspect, the third aspect and the fourth aspect, respectively. For technical effects corresponding to any one implementation manner of the ninth aspect and the ninth aspect, reference may be made to technical effects corresponding to any one implementation manner of the third aspect, the fourth aspect, the third aspect and the fourth aspect, and details are not repeated here.
A tenth aspect provides a chip system, comprising a processor, wherein when the processor executes the instructions, the processor executes the method according to any one of the third aspect and the third aspect, or the method according to any one of the fourth aspect and the fourth aspect.
The application provides a control method of lighting equipment and wearable equipment, which can control the lighting equipment to provide personalized lighting service for different users while the hardware cost is increased slightly or even not increased. In addition, except for setting the lighting parameters of the lighting equipment for the first time, the lighting equipment does not need to be controlled in use by a user, the user feels no in the whole process, and the user experience is better.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a wearable device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a lighting device provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a graphical user interface of a wearable device provided by an embodiment of the present application;
fig. 5 is a schematic flowchart of a setting method of lighting parameters of a lighting device according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a control method of an illumination apparatus according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a control method of an illumination apparatus according to an embodiment of the present application;
fig. 8 is a schematic diagram of an application site provided in an embodiment of the present application:
fig. 9 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
In the description of the embodiments of the present application, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, "a plurality" means two or more unless otherwise specified.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the application provides a control method of a lighting device, wherein the lighting device can automatically provide different personalized lighting services for different users based on wearable devices (wearable devices) worn by the users or mobile devices carried by the users. The following description will be made by taking a wearable device as an example.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application. Fig. 1 shows a wearable device 100, and an illumination device 200. The number of wearable devices 100 and lighting devices 200 in fig. 1 is merely a schematic example. At least one of the wearable device 100 and the lighting device 200 may be plural.
Wearable device 100 refers to a portable device that is worn directly on the body, or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize multiple functions through software support and data interaction during the use process. Wearable devices often exist in the form of portable accessories that have some computing capabilities and can be connected to mobile phones and various terminals (e.g., lighting devices). Wearable devices include mainstream products and non-mainstream products, as the mainstream case of the products. The mainstream products include watches (watch) supported by wrists, such as watches, bracelets, wristbands, rings, and the like; footwear (shoes) that supports the foot, including, for example, shoes, socks, knee pads, or other leg wear products; glasses (glasses) for supporting head, such as glasses, helmet, headband, earbob, nose peg, ear peg, necklace, etc. Non-mainstream products include smart clothing, school bags, crutches, accessories, and the like. The application does not limit the specific form of wearable device 100.
The lighting device 200 is a device capable of providing intelligent lighting. The lighting device 200 may implement control of the lighting device through technologies such as an internet of things technology, a wired/wireless communication technology, a power line carrier communication technology, an embedded computer intelligent information processing, and energy saving control. In some embodiments of the present application, the lighting device 200 has functions of adjusting the intensity of the light brightness, adjusting the color temperature of the light, adjusting the illumination angle, soft turning on the light, soft turning off the light, soft switching on/off the light tube, timing control, and scene control. The soft light turning-on function refers to that light gradually turns from dark to bright when the light is turned on. The soft light turning-off function means that the light gradually turns off from bright to dark when the light is turned off. The soft light switching function means that when the light is turned on, the light gradually changes from dark to bright; when the lamp is turned off, the lamp light gradually becomes dark from bright. Therefore, the eyes can be prevented from being stimulated by sudden changes of brightness, the impact of large current and high temperature on the lighting equipment can be avoided, and the service life of the lighting equipment is prolonged. The scene control function refers to setting a scene of a specific mode. In a scene of a specific mode, the control of a group of lighting devices, such as the turning on and off and the brightness adjustment of the group of lighting devices, can be realized by triggering one button without switching on and off the lighting devices one by one, adjusting the brightness of the lighting devices and the like. The specific mode includes a return mode, a leave mode, a guest mode, a dining mode, a theater mode, etc.
In some embodiments, both the wearable device and the lighting device can establish a connection via wireless communication. Further, based on the wireless ranging service of the wearable device or the lighting device, the lighting device is automatically turned on upon detecting that the distance between the wearable device and the lighting device is within a preset distance range. In addition, generally speaking, wearable devices are private, i.e., one wearable device is worn by one user, so different wearable devices may characterize different users. Therefore, the user identity can be identified through the identification wearable device, personalized lighting service is provided for different users, and intelligent control experience of the lighting device is greatly improved.
It should be noted that "turning on the lighting device" means turning on the lighting function of the lighting device, and does not include the case where the lighting device is powered on but the lighting function is not turned on; "turning off the lighting device" refers to turning off the lighting function of the lighting device, including the case where the lighting device is powered on but the lighting function is not turned on. In addition, some lighting devices include warning lights, such as LED warning lights. Generally, the warning lamp has a small brightness and is used for warning when an abnormality such as a malfunction or a network break occurs in the lighting apparatus. The warning lamp is turned on, which is not in the range of turning on the lighting equipment in the application; similarly, the turning off of the warning light is not within the scope of the application for turning off the lighting device.
By way of example, the above-described wireless ranging services may include, but are not limited to, ranging services based on Wi-Fi Aware (Wi-Fi Aware) technology, also known as Neighbor Aware Networking (NAN); a ranging service based on a Received Signal Strength Indicator (RSSI) of bluetooth; Wi-Fi based RSSI ranging services, and the like.
The Wi-Fi sensing ranging service is used for determining the distance between two wireless devices according to the round-trip time of a wireless signal between the two wireless devices and the transmission speed of the wireless signal. Illustratively, the WLAN round-trip time (round-trip time) and related precision time measurement (FTM) functions are specified in the IEEE 802.11mc standard. Specifically, the FTM function may calculate a time period required for the measurement packet to traverse between the two wireless devices, and multiply the time period required for the measurement packet to traverse between the two wireless devices by the speed of light to obtain the distance between the two wireless devices. For example, the wearable device may send a measurement packet and record the time of transmission. The lighting device, upon receiving the measurement packet, sends the measurement packet again (which may also carry other information). The wearable device records the receiving time after receiving the measurement data packet sent by the lighting device, and calculates the time difference between the receiving time and the sending time. The product of this time difference and the speed of light is noted as the distance between the wearable device and the lighting device. Alternatively, the sending and receiving relationships between the lighting device and the wearable device may be interchanged, and the distance between the lighting device and the wearable device may be determined according to the interchanging relationships, which is not limited in this application.
The RSSI ranging service is used for determining a distance between a receiving wireless device and a transmitting wireless device according to the strength of a received wireless signal (e.g., a bluetooth signal or a Wi-Fi signal) on the premise that the receiving wireless device knows the transmission power of the transmitting wireless device. For example, the wearable device broadcasts a bluetooth low energy (LTE) signal, and the lighting device determines the distance between the wearable device and the lighting device based on the received BLE signal strength after receiving the BLE signal broadcasted by the wearable device. The greater the BLE signal strength, the smaller the distance between the two. Alternatively, the transmit receive relationship between the lighting device and the wearable device is interchanged, with the lighting device determining the distance between the two based on the received BLE signal strength.
Fig. 2 shows a schematic structural diagram of a wearable device 100. The wearable device 100 may include a processor 110, an internal memory 120, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display 194, and the like. The sensor module 180 may include an acceleration sensor 180A, a gyro sensor 180B, a temperature sensor 180C, a touch sensor 180D, a distance sensor 180E, and a proximity light sensor 180F, etc.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), and/or a neural Network Processor (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
Internal memory 120 may be used to store computer-executable program code, including instructions. The internal memory 120 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (such as audio data, phone book, etc.) created during use of the wearable device 100, and the like. In addition, the internal memory 120 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications and data processing of the wearable device 100 by executing instructions stored in the internal memory 120 and/or instructions stored in a memory provided in the processor.
In some embodiments of the present application, the internal memory 120 stores program codes related to the ranging service, and when the processor 110 reads the program codes of the ranging service from the internal memory 120, the measurement of the distance to another device (e.g., the lighting device 200) may be implemented through the wireless communication module 160. The processor 110 may then implement intelligent control (on or off) of the lighting device depending on the distance between itself and the lighting device 200.
The wireless communication module 160 may provide a solution for wireless communication applied to the wearable device 100, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 150, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. Wireless communication module 160 may also receive signals to be transmitted from processor 110, frequency modulate them, amplify them, and convert them into electromagnetic waves via antenna 150 for radiation.
In some embodiments, antenna 150 and wireless communication module 160 are coupled such that wearable device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The wearable device 100 may implement audio functions via the audio module 170, speaker 170A, microphone 170C, headphone interface 170D, and application processor, among others. Such as music playing, recording, etc.
The acceleration sensor 180A may detect the magnitude of acceleration of the wearable device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the wearable device 100 is stationary. The wearable device 100 can also be used for recognizing the gesture of the wearable device 100, and applied to applications such as pedometers and the like.
The gyro sensor 180B may be used to determine the motion gesture of the wearable device 100. In some embodiments, the angular velocity of wearable device 100 about three axes (i.e., x, y, and z axes) may be determined by gyroscope sensor 180B.
A distance sensor 180E for measuring distance. The wearable device 100 may measure distance by infrared or laser.
In this embodiment, the processor 110 may determine whether the wearable device 100 is in the sleep mode (a low power consumption operation mode) according to data of the acceleration sensor 180A and/or the gyro sensor 180B and/or other sensors. If it is detected that the wearable device 100 exits the sleep mode for a preset period of time (night, e.g., 23: 00-06: 00 on the second day), the ranging service may be published or subscribed to the lighting device, and the distance between the wearable device 100 and the lighting device 200 may be measured. In some embodiments, wearable device 100 has ranging functionality; when the distance between the two devices is less than or equal to the preset distance threshold, the lighting device is instructed to turn on the lighting function and provide personalized lighting corresponding to the wearable device 100. And when the distance between the two devices is larger than a preset distance threshold value, the lighting device is instructed to turn off the lighting function. In other embodiments, the lighting device 200 has a range finding function; similarly, the lighting device 200 automatically turns on the lighting function and provides corresponding personalized lighting, or automatically turns off the lighting function according to the relationship between the distance between the two devices and the preset distance threshold.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the wearable device 100. In other embodiments of the present application, wearable device 100 may include more or fewer components than illustrated, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The interface connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not form a structural limitation on the wearable device 100. In other embodiments of the present application, the wearable device 100 may also adopt different interface connection manners or a combination of interface connection manners in the above embodiments.
Fig. 3 shows a schematic structural diagram of the lighting device 200. The lighting device 200 includes one or more processors 210, one or more memories 220, and one or more communication interfaces 230, a wireless communication module 240, and one or more lighting lamps 250, among others.
The processor 210, the memory 220, the communication interface 230, the wireless communication module 240, and the illumination lamp 250 are connected through a bus. The processor 210 may include all or part of a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or an Integrated Circuit for controlling the execution of programs according to the present disclosure. In the embodiment of the present application, the processor 210 includes a light control logic circuit, which is used to turn on or off the illumination lamp 250, and can control the light intensity, the light color, the color temperature, and the like of the illumination lamp 250.
An internal memory may also be provided in the processor 210 and may be used to store computer-executable program code, including instructions. The internal memory may include a program storage area and a data storage area. The storage program area may store an operating system, and programs or instructions and the like that are required to be used in the embodiments of the present application. In one embodiment, the processor 210 may also include multiple CPUs, and the processor 210 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, or processing cores that process data (e.g., computer program instructions).
For example, the storage data area may store a correspondence of identifications of different wearable devices to lighting parameters. The lighting parameters include lighting parameters of different light intensities, color temperatures, etc. that can be realized by the lighting lamp 250, and parameters for intelligent control. The parameters of the intelligent control include, but are not limited to, a distance value for automatically turning on the illumination lamp 250, a time period for delaying turning off the illumination lamp 250, and the like.
For another example, the program storage area may store a Real Time Operating System (RTOS). When an external event or data occurs, the RTOS is able to accept and process the data at a sufficiently fast rate that the results of the processing can be used to control the manufacturing process or respond quickly to the processing system within a specified time. The processor 210 executes various functional applications of the lighting device 200 and data processing by executing instructions stored in the internal memory. For example, when the lighting device 200 receives the turn-on instruction sent by the wearable device 100, the lighting device 200 may quickly determine a corresponding lighting parameter according to the pre-stored identifier of the wearable device 100, and control the LED to perform a corresponding response according to the determined lighting parameter, i.e., provide a personalized lighting service for different users.
Communication interface 230 may be used to communicate with other devices or communication networks, such as ethernet, Wireless Local Area Networks (WLAN), etc.
The wireless communication module 240 may provide a solution for wireless communication applied on the lighting device 200, including WLAN (such as Wi-Fi network), bluetooth, NFC, infrared technology, etc. The wireless communication module 240 may be one or more devices integrating at least one communication processing module. The wireless communication module 240 receives electromagnetic waves via the antenna, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 240 may also receive a signal to be transmitted from the processor 210, frequency modulate it, amplify it, and convert it into electromagnetic waves via the antenna to radiate it out.
The illumination lamp 250 may include an illumination source, a lamp housing, and accessories. The illumination lamp 250 can present illumination with different brightness, color temperature, etc. under the control of the lamp light control logic circuit.
The technical solution in the embodiment of the present application can be applied to the wearable device 100 and/or the lighting device 200 in fig. 1, and the technical solution in the embodiment of the present application is described in detail with reference to the drawings.
For example, a user may add a lighting device to be controlled through an application (e.g., application 1) on the wearable device and personalize relevant parameters of the lighting device (e.g., automatically turned on distance, light intensity, color temperature, time delay turned off duration, etc.). The application 1 can be an intelligent home application, and can be used for setting different types of intelligent equipment of different manufacturers in the intelligent home. The application 1 may also be an application corresponding to the lighting device to be added, so as to implement the setting of the lighting device. The application 1 may also be an application corresponding to a manufacturer that is to add a lighting device, and may implement equipment for different types of intelligent devices of the manufacturer. The application 1 may be a system application preset on the wearable device, or may also be a third-party application downloadable through an application market, which is not specifically limited in this application.
As shown in (1) in fig. 4, the user may open the application 1 through an icon corresponding to the application 1 on the wearable device, and display a main interface of the application 1 as shown in (2) in fig. 4. Further, the user may start adding the lighting device by clicking the "add device" function control, that is, the wearable device displays a device addition interface as shown in (3) in fig. 4. In response to detecting that the user operates the control of the "lighting device", the wearable device may prompt the user to "turn on the wireless function of the lighting device to be added", e.g., display a prompt message as shown in (4) in fig. 4, or a voice prompt.
In some embodiments of the present application, the wearable device may establish a point-to-point wireless connection with the lighting device and send the personalized lighting parameters input by the user to the lighting device through the wireless connection. The wearable device and the lighting device establish a wireless connection (i.e., establish NAN) through Wi-Fi aware technology as an example.
First, the NAN mechanism is briefly explained. The NAN mechanism is a standard established by the Wi-Fi alliance. The standard is that all devices participating in the NAN mechanism (i.e. NAN devices, e.g. wearable devices, lighting devices) synchronize without a central node. The maintenance work and the service discovery work of the NAN mechanism are carried out in a Discovery Window (DW) agreed by the NAN mechanism. Wherein the service discovery may be implemented by transmitting a Service Discovery Frame (SDF) message. The server discovery frame message includes a query message or a broadcast message. The NAN device may establish a corresponding connection based on information obtained in the service discovery message, and then may be intelligently managed based on the NAN.
Fig. 5 is a schematic flowchart of a setting method of an illumination parameter of an illumination device according to an embodiment of the present application. As shown in fig. 5, the method includes:
s501, the wearable device and the lighting device all turn on a wireless function (specifically, NAN function).
For example, after the lighting device turns on the NAN function, it may set itself as an Anchor Master (AM), create a cluster (cluster), and set the cluster Identity (ID) value based on a Media Access Control (MAC) address of itself.
S502, the lighting device transmits a synchronization beacon frame (sync beacon) message. The message carries the information of the AM in the cluster.
S503, the wearable device joins the cluster where the lighting device is located.
For example, after receiving a synchronization beacon frame message sent by the lighting device, the wearable device may synchronize with the lighting device according to the information of the AM in the message; for example, updating the Time Synchronization (TSF) of the lighting device with the TSF of the lighting device.
And S504, the wearable device issues a lighting parameter setting service.
For example, the wearable device may broadcast an SDF Publish message, publishing a lighting parameter setting service.
And S505, the wearable device subscribes to a lighting parameter setting service.
For example, the lighting device may automatically Subscribe to the lighting parameter setting service after receiving the SDF Publish message, that is, reply an SDF Subscribe message to the wearable device.
S506, the wearable device receives the lighting parameters input by the user.
Illustratively, in response to receiving the SDF Subscribe message, the wearable device displays a setting interface for the lighting parameters and receives user input.
The user can set the lighting parameters of the lighting device on the setting interface of the lighting parameters shown in (5) in fig. 4; such as setting the brand of the device, the type of device, the location of the device, whether to turn on night mode, etc. Wherein, information such as device brand, device type can be that lighting apparatus initiatively sends wearable equipment, need not user input. The night mode (or night light mode, smart mode) refers to an operation mode in which the lighting device controls (e.g., turns on or off) the lighting function according to a distance between the lighting device and the wearable device. Further, a night mode may also be set. The night mode setting interface is shown in fig. 4 (6). The night mode setting interface can set the distance, the light intensity, the color temperature, whether to delay the turning-on of the illumination function, the time of the delay turning-off and the like at night. The setting interface in (5) in fig. 4 and the setting interface in (6) in fig. 4 are only examples, and the present application is not limited thereto.
And S507, the wearable device sends the lighting parameters.
Illustratively, after receiving the lighting parameters input by the user, the wearable device sends the lighting parameters to the lighting device via an SDF Follow-up message.
S508, the lighting device stores the identification of the wearable device and the lighting parameters.
Illustratively, the lighting device associates the wearable device identification with the user-entered lighting parameters and stores the association locally.
The identification of the wearable device includes at least one of a MAC address, a device name, a user name, an account number in which the wearable device is logged in, an account number to which the wearable device is bound, and the like. The lighting device stores locally an identification of the wearable device and a correspondence of the user-entered lighting parameters transmitted by the wearable device. Table 1 exemplarily shows correspondence between the wearable device and the lighting parameter in the embodiment of the present application. Subsequently, the lighting device may determine to perform a specific lighting function according to the distance between the different wearable devices and itself, such as turning on the lighting function, turning off the lighting function, and the like. And the lighting equipment provides personalized lighting service for different users according to the corresponding relation between the identification of the wearable equipment and the lighting parameters.
TABLE 1
Figure BDA0002659498160000121
The user can set the lighting parameters of the lighting device individually according to the specific requirements of the user. The personalized settings comprise personalized settings of lighting parameters such as light intensity and color temperature of the lighting equipment and personalized settings of intelligent control of the lighting equipment. For example, the user can individually set the distance for automatically turning on the illumination, whether to delay turning off the illumination, and extend the turning-off time. It is noted that different users may set different lighting parameters for the same lighting device. The same user may set different lighting parameters for a plurality of lighting devices in a room, respectively. That is to say, same lighting apparatus can provide individualized illumination for different users, and different lighting apparatus also can provide different illuminations for same user to satisfy the various demands of user under different scenes, promote lighting apparatus's intelligent control experience.
In other embodiments of the present application, the wearable device may also establish a connection with the lighting device through a network server (cloud server), and the lighting parameter set by the user is sent to the lighting device through the network server.
In still other embodiments of the present application, the user may also set the lighting device through other devices (non-wearable devices, such as a cell phone, tablet, smart screen, etc.) and set different lighting parameters for different wearable devices. Namely, the corresponding relation between the wearable device and the lighting parameters of the lighting device is set through other electronic devices.
Fig. 6 is a flowchart illustrating a control method of an illumination apparatus according to an embodiment of the present application. As shown in fig. 6, the method includes:
s601, the wearable device detects that the user exits the sleep state, and the current time is in a preset time period (night, for example, 23:00 to 06:00 on the second day).
The preset time period can be set by a system or a user. The preset time period can be a fixed time period, and different time periods can also be set according to the sunshine conditions of four seasons, and the embodiment of the application is not particularly limited. For example, the location is Beijing, the night in summer (7-9 months) is set to 23:00 to 05:00 on the second day, the night in winter (12-2 months in the second year) is set to 22:30 to 07:00 on the second day, and the night in spring (3-6 months) and autumn (10-11 months) is set to 23:00 to 06:30 on the second day. Of course, the location can be other locations, and correspondingly, the season and the night are correspondingly adjusted. For example, Wuluqiqi is two hours later than Beijing; for example, in the summer of tropical regions, 04:00 may already be the day.
Some wearable devices, for example, smart bracelet, smart watch etc. can take notes real-time data such as exercise, sleep among the user's daily life to with these data and cell-phone, panel computer, wisdom screen etc. equipment synchronization, play the effect of guiding healthy life through data. The wearable device may determine whether the user is in a sleep state based on the self-configured sensor data. For example, the wearable device may detect the motion state of the user through an acceleration sensor, a gyroscope, a heart rate detector, and the like, and determine whether the user is in a sleep state in combination with a corresponding algorithm. The algorithm can be obtained by training according to the sleep characteristics, the sleep habits, the sleep postures and other test data of different users counted in advance, and the algorithm can accurately determine whether the user is in a sleep state according to the sensors configured on the wearable device. In some examples, if the user is detected to be in a sleep state, the wearable device may enter a sleep mode (a low power consumption mode of operation) to reduce power consumption of the wearable device. If the wearable device detects that the user is not in the sleep state, the wearable device can exit the sleep mode and recover to the normal working mode.
Further, when the wearable device detects that the user exits from the sleep state (i.e., the user changes from being in the sleep state to being in the non-sleep state), or the wearable device detects that the user exits from the sleep state and determines that the user is currently in the preset time period (e.g., 23:00 to 06:00 on the second day) according to the system time, the user may be considered to get up at night and the lighting device needs to be turned on. For example, an elderly person gets up to a toilet at night, parents take care of a child at night, etc. The preset time period can be set by the user according to different factors such as seasons, places and the like.
It should be noted that, in the embodiment of the present application, the scene in which the user gets up at night is determined by detecting that the user exits from the sleep state and the current time is night, and the scene in which the user gets up at night may also be determined by using other methods according to different types of electronic devices and different sensors configured for the electronic devices, which is not limited in this embodiment of the present application.
S602, the wearable device sends a request (e.g., for issuing a ranging service).
The wearable device may send the request by way of broadcasting a wireless signal (e.g., a bluetooth signal, a Wi-Fi aware signal, etc.). For example, the wearable device may send the request for a preset number of times, or may send the request frequently in a preset period, which is not limited in the embodiment of the present application. In some embodiments, if the wearable device turns off the wireless functionality after entering the sleep mode, the wireless functionality may be turned on first and the request may be broadcasted after the wearable device detects that it exits the sleep mode.
Illustratively, ranging services are broadcast in a Wi-Fi aware manner. Specifically, the wearable device may send an SDF Publish message, where the message carries an identifier of the ranging service. It should be noted that, if the wearable device sets the lighting parameters of the lighting device in a Wi-Fi Aware manner, as can be known from the description of fig. 5, at this time, the wearable device and the lighting device are already in the same cluster, and the lighting device may receive the SDF Publish message sent by the wearable device. If the wearable device adopts a network server (such as a cloud server) to set the lighting parameters of the lighting device. The wearable device needs to join the cluster in which the lighting device is located before the wearable device issues the ranging service. The specific adding method may refer to descriptions in step S501 and step S502 in fig. 5, and is not described herein again. As another example, ranging services are broadcast using bluetooth (e.g., BLE). The wearable device may broadcast a beacon frame and carry an identification of the ranging service in the beacon frame.
In some embodiments, the request sent by the wearable device may carry identity information of the wearable device and/or the lighting device, and the subsequent lighting device may perform matching verification of the identity authority according to the identity information of the wearable device and/or the lighting device in the request.
S603, after receiving the request sent by the wearable device, the lighting device automatically replies a response (e.g., subscribing to the ranging service) to the wearable device.
For example, the lighting device may Subscribe to the ranging service by sending an SDF Subscribe message to the wearable device. Alternatively, the lighting device sends a bluetooth message to the wearable device, and the bluetooth message may carry a measurement data packet.
In some embodiments, the response sent by the lighting device may carry identity information of the wearable device and/or the lighting device, and a subsequent wearable device may perform matching verification of the identity authority according to the identity information of the wearable device and/or the lighting device in the response.
S604, the wearable device detects the distance between the wearable device and the lighting device.
For example, the wearable device may initiate a Wi-Fi Aware ranging service, such as sending a measurement packet to the lighting device, and receive a response returned by the lighting device, the response including the measurement packet or other content (e.g., a timestamp, etc.) corresponding to the measurement packet, and determine a distance between the wearable device and the lighting device based on a round trip time of the returned response between the two devices. Or after the wearable device receives the Bluetooth message carrying the measurement data packet sent by the lighting device, the distance between the two devices is determined according to the intensity of the Bluetooth signal.
It is to be understood that the distance between the wearable device and the lighting device may be considered as the distance between the wearer of the wearable device and the lighting device. Specifically, the wearable device detects the distance between itself and the lighting device at a preset period. The period may be set by the user himself.
S605, when the fact that the distance between the wearable device and the lighting device is smaller than or equal to the distance threshold value is detected, the wearable device instructs the lighting device to execute a specific function.
Wherein the specific function may comprise at least one of a single function and a combined function. For example, when the specific function is a single function, such as turning on a light. When the specific function is a combination function, for example, the lamp is turned on by rotating the lamp at a certain angle, or the lamp is turned on by lowering the position of the lamp. For example, if the lighting device receives a message or another message sent by a wearable device of a child or an elderly person, the light may be controlled to descend for a certain distance, which is convenient for the child or the elderly person to see more clearly.
When detecting that the distance between the wearable device and the lighting device is less than or equal to a distance threshold (e.g., 2 meters, 1 meter, 0.5 meter, etc.), it is assumed that the user is close to the lighting device, and the wearable device instructs the lighting device to turn on a lighting function. For example, sending an SDF Follow-up message that carries an identification of the wearable device. Or sending a Bluetooth message, wherein the Bluetooth message carries the identification of the wearable device. The distance threshold may be a default value, or may be a distance set by the user when setting the lighting parameters, for example, the distance of the lighting device is automatically turned on as shown in (6) in fig. 4.
In still other examples, the lighting parameters corresponding to the wearable device set by the user may also be stored locally on the wearable device. Then, when it is detected that the distance between the wearable device and the lighting device is less than or equal to the distance threshold, the indication sent by the wearable device to the lighting device may include the lighting parameter corresponding to the wearable device. The lighting device may then turn on the lighting function directly according to the lighting parameter in the indication.
In still other examples, the lighting parameters corresponding to the wearable device set by the user may also be stored locally on the wearable device. Then, when the wearable device detects that the user exits the sleep state and the current time is a preset time period, the lighting parameters corresponding to the wearable device are carried in the request sent to the lighting device.
It should be further noted that the lighting parameters corresponding to the wearable device may be sent to the lighting device at one time, or may be sent to the lighting device at several times. For example, when the lighting device is instructed to perform a specific function, a lighting parameter (e.g., a first parameter) corresponding to the specific function is transmitted. When the lighting device is instructed to perform another specific function, a lighting parameter (e.g., a second parameter) corresponding to the other specific function is transmitted. As another example, when the specific function is turning on, the first parameter includes, for example, turning on the light immediately, turning on the light slowly, and the like. Another specific function is turning off the light, the second parameter for example comprising immediate light off and delayed light off. The delayed turn-off comprises delayed turn-off with different time lengths.
And S606, after the lighting device receives the starting instruction of the wearable device, starting a lighting function according to the lighting parameters corresponding to the identification of the wearable device.
The lighting device finds the corresponding lighting parameter in the correspondence between the locally stored device identifier and the lighting parameter (for example, as shown in table 1) according to the identifier of the wearable device carried in the turn-on instruction, and turns on the lighting function using the found lighting parameter. In some examples, if the lighting device receives turn-on instructions of multiple wearable devices within the same time period, the lighting device may determine corresponding lighting parameters and turn on the lighting function according to the time sequence of the received turn-on instructions, or the priority of the wearable devices carried in the turn-on instructions, or other rules. For example, the lighting device may turn on the lighting function upon first receiving the turn-on indication. Namely, the lighting function is started according to the lighting parameter corresponding to the identifier of the wearable device carried in the first received starting instruction. Or the lighting device starts the lighting function according to the lighting parameter corresponding to the identifier of the wearable device with the highest priority. The priority level may be set as: priority of wearable device for elderly > priority of wearable device for child > priority of wearable device for mom > priority of wearable device for dad.
In some embodiments, the lighting device may automatically turn off after a predefined period of time (e.g., 1 minute, 2 minutes, 5 minutes) after turning on the lighting function.
For example, in a scenario where a parent and a child are in one room and the parent is up to care for the child at night, the lighting of the room (e.g., a bed ambience lamp or a desk lamp) may be automatically turned off after a predefined time period (e.g., 2 minutes) after being turned on, taking into account that on average, the parent is soothing the child for a period of time typically on the order of a few minutes. The brightness of the lighting equipment in the room is low, so that the eyes can adapt to the change from dark to light conveniently, and the sleep of children is not disturbed.
For example, in a night wake scenario, the length of time that the wearer of the wearable device passes through the hallway or living room is generally relatively fixed, such as a night wake typically takes 20s to walk through the hallway, and thus automatically turns off after a predefined length of time (e.g., 1 minute) after the lighting of the hallway or living room is turned on.
Therefore, after the lighting device is turned on, the wearable device can detect the distance between the two devices after the predefined time, and the power consumption of the wearable device is reduced.
In other embodiments, the lighting device continues to detect the distance between the wearable device and the lighting device after turning on the lighting function. When the distance between the two is greater than the distance threshold, the user may be considered to be far away from the lighting device, indicating to turn off the lighting device, i.e., performing the following steps S607 and S608.
S607, if it is detected that the distance between the wearable device and the lighting device is greater than the distance threshold, the wearable device instructs the lighting device to perform another specific function (e.g., turn off the lighting function).
Wherein the other specific function may include at least one of a single function and a combined function. For example, when the specific function is a single function, such as turning off the light. When the specific function is a combination function, for example, the angle of the lamp is adjusted to a default angle and the lamp is turned off, or the waiting position is returned to the default position and the lamp is turned off.
And S608, after the lighting device receives the closing indication of the wearable device, executing another specific function.
The lighting device may turn off the lighting function immediately or with a delay according to user settings after receiving the turn-off indication of the wearable device.
For example, in a scene where a parent and a child are located in the same room and the parent stands up to care for the child at night, the lighting of the room is automatically turned on when it is detected that the distance between the wearable device of the parent and the lighting of the room (e.g., a bed atmosphere light or a table lamp) is less than a distance threshold (e.g., 1 meter). Automatically turning off (including immediately turning off or delaying turning off) the lighting device of the room when a distance between the wearable device of the parent and the lighting device of the room is detected to be greater than a distance threshold.
For another example, in a night wake scenario, when it is detected that the distance between the wearable device and a lighting device of the toilet (e.g., a ceiling lamp or a mirror front lamp) is less than a distance threshold (e.g., 0.5 meters), the lighting device of the toilet is automatically turned on. Automatically turning off the lighting device of the toilet when detecting that the distance between the wearable device and the lighting device of the toilet is greater than a distance threshold.
It should be noted that S602 and S603 are optional steps, and are not essential steps. In some embodiments, S602 and S603 may not be included.
Therefore, the illumination function of the illumination device is automatically started according to the distance between the wearable device and the illumination device, the illumination parameters set by the user are determined according to the identification of the wearable device, personalized illumination services are provided for the user, the illumination requirements of different users in different scenes are met, and the experience of intelligent control is improved.
In addition, in the process that the wearable device controls the lighting device to turn on or turn off the lighting function, a local wireless communication mode is adopted, and forwarding through intermediate devices (such as a router and a server) is not needed, so that intelligent control is faster and the safety is high. Furthermore, the embodiment of the application does not need to add a sensor on the lighting device, the lighting device only needs to upgrade firmware to realize the intelligent control scheme provided by the embodiment of the application, and the intelligent control is high in experience and low in cost.
The above embodiments are provided by a wearable device, and in other embodiments of the present application, the ranging service may also be provided by a lighting device. As shown in fig. 7, a schematic flowchart of a control method for another lighting device provided in the embodiment of the present application specifically includes:
s701, the lighting device periodically sends a request (e.g., issues a ranging service).
For example, the user may turn on a night mode of the lighting device. For example, the user may turn on the night mode by operating a key on a remote controller of the lighting device, or by operating an application control of the control device (a smart device such as a mobile phone with the lighting device bound to the control device). When the lighting device turns on the night mode, the lighting device periodically issues a ranging service.
In some examples, after the user manually turns on the night mode of the lighting device, the lighting device periodically issues the ranging service for a preset time period of the day (23: 00 to 06:00 on the second day). Subsequently, the lighting device automatically turns off the night mode, i.e. no longer issues the ranging service. That is, the effectiveness of the night mode in which the user manually turns on the lighting device is one time. In other examples, after the user manually turns on the night mode of the lighting device, the lighting device periodically issues the ranging service for a preset time period of each day (23: 00 a day to 06:00 a second day). Subsequently, until the user manually turns off the night mode of the lighting device, the lighting device does not issue the ranging service. In a specific implementation, after the user manually turns on the night mode of the lighting device, the control device or the server to which the lighting device is bound may send an instruction to the lighting device every day, instructing the lighting device to periodically issue the ranging service in a preset time period every day. Alternatively, if the lighting device has a clock function, the night mode may be automatically turned on every day for a predetermined time period (e.g., at night, e.g., 23:00 to 06:00 on the second day). The embodiment of the present application does not limit the implementation manner.
S702, the wearable device detects that the user exits the sleep state.
Step S603 may be referred to in the method for the wearable device to detect that the user exits the sleep state.
S703, the wearable device sends a response (for example, subscribing to the ranging service) to the lighting device, carrying the identifier of the wearable device.
S704, the lighting device detects the distance between the wearable device and the lighting device.
For example, the lighting device may initiate a Wi-Fi Aware ranging service, such as sending measurement packets to the wearable device and receiving measurement packets back from the wearable device, determining a distance between the wearable device and the lighting device based on a round trip time of the measurement packets between the two devices. Or after the lighting device receives the wireless signal sent by the wearable device, the distance between the two devices is further determined according to the received signal intensity of the wireless signal and the intensity of the wireless signal sent by the wearable device carried in the measurement data packet.
And S705, when the distance between the two devices is smaller than or equal to the distance threshold, the lighting device acquires the identifier of the wearable device according to the wireless signal and executes a specific function.
Illustratively, when the distance between the two devices is smaller than or equal to a distance threshold (e.g., 2 meters, 1 meter, 0.5 meter, etc.), the lighting device obtains the identifier of the wearable device according to the wireless signal, and searches a corresponding lighting parameter from a locally stored correspondence between the identifier of the wearable device and the lighting parameter (e.g., as shown in table 1), and the lighting device turns on the lighting function using the lighting parameter.
In some embodiments, the lighting device may automatically turn off after a predefined period of time (e.g., 1 minute, 5 minutes) after turning on the lighting function. In other embodiments, the lighting device continues to detect the distance between the wearable device and the lighting device after turning on the lighting function. When the distance between the two devices is greater than the distance threshold, the user may be considered to be away from the lighting device, and the lighting device is automatically turned off, i.e., the following step S706 is performed.
S706, when the distance between the two devices is greater than the distance threshold, the lighting device performs another specific function.
Illustratively, the lighting device performs the turn-off lighting function when the distance between the two devices is greater than a distance threshold.
Therefore, the number of interactive messages between the lighting equipment and the wearable equipment is small, and the response speed of the lighting equipment to the wearable equipment is accelerated. Moreover, as the lighting equipment is generally powered by the power supply, the power supply problem is not considered; wearable devices are generally powered by batteries, and the standby time needs to be considered. The distance measurement service is provided by the lighting equipment, the power consumption of the wearable equipment is reduced, and the standby time of the wearable equipment is prolonged.
The technical solutions provided in the embodiments of the present application are described below with reference to specific scenarios.
Scene one, for the same lighting device, different users can set different lighting parameters.
For example, in a scenario where multiple members of a family get up to a bathroom at night. Different users may have different requirements for the same lighting device, such as illumination intensity, delayed turn-off, and the like, due to different distances from the lighting device, and different lighting parameters may be set for the same lighting device (e.g., lighting devices in a living room, a corridor, and the like).
A set of three-living-room house types shown in fig. 8 will be described as an example. The bedroom 801 is a child bedroom, the bedroom 802 is a parent bedroom, and the bedroom 803 is an old people bedroom.
Suppose that a child and a parent need to turn on the lighting 810 of the hallway 804, the lighting 820 of the restaurant 806, and the lighting 830 of the toilet 807, respectively, to get up to the toilet at night. Since children and parents demand different lighting devices, even the same lighting device needs to be set with different lighting parameters. Take the setting of the lighting 810 of the corridor 804 as an example.
The distance threshold activated by the lighting 810 in corridor 804 may vary depending on the identity of the child and parent, taking into account such factors as differences in height between the child and parent, or different bed positions in different bedrooms. For example, the distance threshold corresponding to the identity of the wearable device of the child is greater than the distance threshold corresponding to the identity of the wearable device of the parent. Of course, the distance threshold activated by the lighting 810 of the corridor 804 may be uniformly set to the same distance threshold regardless of the identity difference between the child and the parent.
Preferably, the length of time that the lighting devices 810 of the hallway 804 are delayed off may vary depending on the identity of the child and parent, taking into account the difference in walking speed between the child and parent. For example, the delay time duration corresponding to the identifier of the wearable device of the child is longer than the delay time duration corresponding to the identifier of the wearable device of the parent. Of course, the time duration of the delayed turning off of the lighting device 810 of the corridor 804 can be uniformly set to the same time duration regardless of the identity difference between the child and the parent.
Suppose the elderly get up to go to the bathroom at night and need to turn on the lighting 820 of the restaurant 806 and the lighting 830 of the bathroom 807. Since the elderly and parents have different demands for lighting devices, even the same lighting device needs to be set with different lighting parameters. Take the setting of the lighting 820 of the restaurant 806 as an example. The lighting intensity of the lighting device 820 of the restaurant 806 may be stronger because the parent has turned on the lighting device 810 of the hallway 804 and the eyes have adapted to the change in light before passing the lighting device 820. The elderly's bedroom 803 is closer to the dining room 806 and the eyes do not adapt to the change in light (assuming the lighting in the bedroom 803 is not turned on), so the light intensity of the lighting 820 in the dining room 806 may be weaker.
The method for the user to specifically set each lighting device and the method for controlling each lighting device through the wearable device may refer to the methods described in the above embodiments, and are not described herein again.
Scene two, the same user can set different lighting parameters for lighting devices in different positions.
For example, referring to fig. 8, in a scene in which a certain user (e.g., a parent) gets up to a bathroom at night, lighting parameters of a plurality of lighting devices in a bedroom 802, a hallway 804, a living room 805 (or a dining room 806), and a bathroom 807 can be set. It should be noted that, the user may select and set the lighting devices along the way (all lighting devices along the way or some lighting devices along the way) and specific parameters of each lighting device according to specific requirements, and the application is not limited thereto.
Since the lighting 840 of the bedroom 802 is closer to the user, the distance threshold of the wearable device from the lighting 840 of the bedroom 802 (e.g., a bed bottom atmosphere light or a table lamp) may be set to a threshold a, e.g., "0.5 meters. That is, the distance (i.e., distance threshold) of the corresponding automatic turn-on of the lighting device 840 is set to the threshold a. Then, when the user gets up at night, approaching the lighting device 840, the wearable device detects that the distance to the lighting device 840 is less than the threshold a, indicating that the lighting device 840 is automatically turned on. Also, since the lighting 840 of the bedroom 802 is the first lighting to turn on after the user gets up at night, the light intensity of the lighting 840 of the bedroom 802 is set to the weakest light intensity in order to facilitate the user's eyes to adapt to the change from dark to light. Optionally, the wearable device may be further configured to automatically turn off when it detects that its distance from the lighting device 840 is greater than a preset distance threshold.
The user would then go through the hallway 804 and restaurant 806 to the toilet 807. The distance thresholds of the wearable device from the lighting device 810 of the hallway 804, and the lighting device 820 of the restaurant 806 (e.g., ceiling lamp, mood lamp, hall lamp) can be set to be a threshold B, e.g., "2.5 meters". Wherein the threshold B is greater than the threshold a. At this time, the eyes of the user have adapted to the change in the light, so the light intensities of the lighting 810 of the corridor and the lighting 820 of the restaurant 806 may be set to the medium light intensity. The lights 810 of the hallway 804 and the lights 820 of the restaurant 806 may be set to automatically turn off after a predefined period of time (e.g., 5 minutes) after being turned on. Alternatively, the wearable device may be set to automatically turn off when it detects that it is more than a respective preset distance threshold from the lighting device 810 and the lighting device 820, respectively. The preset distance threshold corresponding to each lighting device may be preset by a user, and the magnitude relationship between the preset distance thresholds is not limited.
The user then reaches the toilet 807. Since the space of the toilet 807 is small, the distance threshold of the wearable device from the lighting device 830 of the toilet 807 can be set to a threshold value C, for example "1 meter". Wherein, the threshold C is larger than the threshold A and smaller than the threshold B. Furthermore, if the user is female, the probability of using the mirror is higher, so that a mirror front lamp or a mirror panel lamp in the toilet can be automatically started; if the user is a man, the ceiling lamp can be automatically turned on. Alternatively, the thresholds A, B and C may be set by the user; in addition, the above-defined magnitude relationship among the three is only an illustrative example; the size relationship between the three is not limited to the above limitation, for example, the size relationship between the three can also be B ≧ A ≧ C.
The method for setting the lighting parameter of any one of the lighting devices by the user and the method for controlling any one of the lighting devices by the wearable device may refer to the methods described in the above embodiments, and are not described herein again.
The embodiment of the present application further provides a chip system, as shown in fig. 9, where the chip system includes at least one processor 910 and at least one interface circuit 920. The processor 910 and the interface circuit 920 may be interconnected by wires. For example, the interface circuit 920 may be used to receive signals from other devices (e.g., a memory of the wearable device 100 or a memory of the lighting device 200). Also for example, the interface circuit 920 may be used to send signals to other devices, such as the processor 910. Illustratively, the interface circuit 920 may read instructions stored in the memory and send the instructions to the processor 910. When executed by the processor 910, the instructions may cause the electronic device to perform the various steps performed by the wearable device 100 or the lighting device 200 in the above embodiments. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the application also provides an electronic device, wherein the electronic device is contained in the wearable equipment and has a function of realizing the behavior of the wearable equipment by using any one of the methods in the embodiments. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes at least one module or unit corresponding to the above functions. For example, a detection module or unit, a display module or unit, a wireless communication module or unit, and a ranging module or unit, etc.
The embodiment of the application also provides an electronic device, wherein the electronic device is contained in the lighting equipment and has the function of realizing the behavior of the lighting equipment by using any one of the methods in the embodiment. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes at least one module or unit corresponding to the above functions. Such as wireless communication modules or units, processing modules or units, and lighting modules or units. Optionally, the device further comprises a ranging module or unit, and the like.
Embodiments of the present application further provide a computer-readable storage medium, which includes a computer program, and when the computer program is run on a wearable device, the wearable device is caused to perform any one of the methods in the foregoing embodiments.
Embodiments of the present application further provide a computer-readable storage medium, which includes a computer program, when the computer program runs on a lighting device, the lighting device is caused to execute any one of the methods in the above embodiments.
The embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to execute any one of the methods in the above embodiments.
Embodiments of the present application also provide a graphical user interface on a wearable device having a display screen, a memory, and one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising a graphical user interface displayed by the electronic device when performing any of the methods of the above embodiments.
It is to be understood that the above-mentioned terminal and the like include hardware structures and/or software modules corresponding to the respective functions for realizing the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
In the embodiment of the present application, the terminal and the like may be divided into functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (24)

1. A wearable device, characterized in that the wearable device comprises:
one or more processors;
one or more memories;
and one or more computer programs, wherein the one or more computer programs are stored on the one or more memories, which when executed by the one or more processors, cause the wearable device to perform the steps of:
after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device detects the distance between the wearable device and the lighting device;
after the detected distance between the wearable device and the lighting device is smaller than or equal to a preset distance threshold value, the wearable device sends a message to the lighting device; the message is used to instruct the lighting device to perform a specific function.
2. The wearable device of claim 1, further performing the steps of:
after the detected distance between the wearable device and the lighting device changes from a distance less than or equal to a preset distance threshold to a distance greater than the preset distance threshold, the wearable device sends another message to the lighting device; the another message is for instructing the lighting device to perform another particular function.
3. Wearable device according to claim 1 or 2,
after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device detecting a distance between the wearable device and the lighting device, including:
after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device broadcasts a request in a preset period;
upon receiving a response of the lighting device to the request, the wearable device detects a distance between the wearable device and the lighting device.
4. Wearable device according to any of claims 1-3,
the message is for instructing the lighting device to perform a particular function, including: the message is for instructing the lighting device to perform a specific function in accordance with a first parameter;
the another message is for instructing the lighting device to perform another specific function, including: the another message is for instructing the lighting device to perform another specific function in accordance with a second parameter;
the first parameter, the second parameter being associated with at least one of the wearable device, the lighting device, a distance between the wearable device and the lighting device, and variations thereof;
the preset distance threshold is associated with at least one of the wearable device and the lighting device.
5. The wearable device of claim 4,
the message includes the first parameter and the other message includes the second parameter; alternatively, the first and second electrodes may be,
the message includes the first parameter and the second parameter; alternatively, the first and second electrodes may be,
the request includes the first parameter and the second parameter; alternatively, the first and second electrodes may be,
the first parameter and the second parameter are preset by a user.
6. Wearable device according to claim 4 or 5,
the message contains identity information of the wearable device and/or identity information of the lighting device;
the request is used for publishing the ranging service, and the response is used for subscribing the ranging service;
the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on a lighting function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the another specific function includes turning off the lighting function; the combined function of the other specific function includes a turn-off lighting function and its related function;
the first parameter and the second parameter comprise at least one of lamplight intensity, color temperature, whether to delay closing and time length of delay closing;
alternatively, the first and second electrodes may be,
the message contains identity information of the wearable device and/or identity information of the lighting device;
the request comprises identity information of the wearable device and/or identity information of the lighting device, and the request is further used for issuing a ranging service; the response is for subscribing to a ranging service; the request and the response are also used for matching verification of identity authority;
the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on a lighting function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the another specific function includes turning off the lighting function; the combined function of the other specific function includes a turn-off lighting function and its related function;
the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing or not and time length of delay closing.
7. An illumination device, characterized in that the illumination device comprises:
one or more processors;
one or more memories;
and one or more computer programs, wherein the one or more computer programs are stored on the one or more memories, which when executed by the one or more processors, cause the lighting device to perform the steps of:
after receiving a request sent by an electronic device, or after detecting that the current time is within a preset time period, the lighting device detects the distance between the lighting device and the wearable device; wherein the request is for indicating that the current time is within the preset time period;
the lighting device performs a particular function upon detecting that the distance between the lighting device and the wearable device is less than or equal to a preset distance threshold.
8. A lighting device as recited in claim 7, wherein the lighting device further performs the steps of:
after the detected distance between the lighting device and the wearable device changes from being less than or equal to a preset distance threshold to being greater than the preset distance threshold, the lighting device performs another specific function.
9. The lighting device according to claim 7 or 8,
after receiving a request sent by an electronic device, or after detecting that the current time is within a preset time period, the lighting device detects the distance between the lighting device and the wearable device; wherein the request is for indicating that the current time is within a preset time period; the method comprises the following steps:
after receiving a request sent by the electronic equipment or after detecting that the current time is within a preset time period, the lighting equipment broadcasts a message in a preset period; wherein the request is for indicating that the current time is within a preset time period;
upon receiving one response of the wearable device to the message, the lighting device detects a distance between the lighting device and the wearable device.
10. The lighting apparatus according to claim 9,
the lighting device performs specific functions, including: the lighting device performs a specific function according to a first parameter;
the lighting device performs another specific function, including: the lighting device performs another specific function according to the second parameter;
the first parameter, the second parameter being associated with at least one of the lighting device, the wearable device, a distance between the lighting device and the wearable device, and variations thereof;
the preset distance threshold is associated with at least one of the wearable device and the lighting device;
the first parameter and the second parameter are preset by a user.
11. The lighting apparatus according to claim 10,
the message contains identity information of the wearable device and/or identity information of the lighting device, the message is used for publishing a ranging service, and the response is used for subscribing to the ranging service; the message and the response are also used for matching verification of identity authority;
the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on a lighting function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the another specific function includes turning off the lighting function; the combined function of the other specific function includes a turn-off lighting function and its related function;
the first parameter and the second parameter comprise at least one of lamplight intensity, color temperature, whether to delay closing and time length of delay closing;
the lighting device is in wired or wireless communication with the electronic device.
12. A control method of an illumination device is applied to a wearable device, and is characterized in that the method comprises the following steps:
after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device detects the distance between the wearable device and the lighting device;
after the detected distance between the wearable device and the lighting device is smaller than or equal to a preset distance threshold value, the wearable device sends a message to the lighting device; the message is used to instruct the lighting device to perform a specific function.
13. The method of claim 12, further comprising:
after the detected distance between the wearable device and the lighting device changes from a distance less than or equal to a preset distance threshold to a distance greater than the preset distance threshold, the wearable device sends another message to the lighting device; the another message is for instructing the lighting device to perform another particular function.
14. The method according to claim 12 or 13,
after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device detecting a distance between the wearable device and the lighting device, including:
after detecting that the user exits the sleep state and the current time is within a preset time period, the wearable device broadcasts a request in a preset period;
upon receiving a response of the lighting device to the request, the wearable device detects a distance between the wearable device and the lighting device.
15. The method according to any one of claims 12 to 14,
the message is for instructing the lighting device to perform a particular function, including: the message is for instructing the lighting device to perform a specific function in accordance with a first parameter;
the another message is for instructing the lighting device to perform another specific function, including: the another message is for instructing the lighting device to perform another specific function in accordance with a second parameter;
the first parameter, the second parameter associated with at least one of the wearable device, the lighting device, a distance between the wearable device and the lighting device, and a variation;
the preset distance threshold is associated with at least one of the wearable device and the lighting device.
16. The method of claim 15,
the message includes the first parameter and the other message includes the second parameter; alternatively, the first and second electrodes may be,
the message includes the first parameter and the second parameter; alternatively, the first and second electrodes may be,
the request includes the first parameter and the second parameter; alternatively, the first and second electrodes may be,
the first parameter and the second parameter are preset by a user.
17. The method according to claim 15 or 16,
the message contains identity information of the wearable device and/or identity information of the lighting device;
the request is used for publishing the ranging service, and the response is used for subscribing the ranging service;
the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on a lighting function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the another specific function includes turning off the lighting function; the combined function of the other specific function includes a turn-off lighting function and its related function;
the first parameter and the second parameter comprise at least one of lamplight intensity, color temperature, whether to delay closing and time length of delay closing;
alternatively, the first and second electrodes may be,
the message contains identity information of the wearable device and/or identity information of the lighting device;
the request comprises identity information of the wearable device and/or identity information of the lighting device, and the request is further used for issuing a ranging service; the response is for subscribing to a ranging service; the request and the response are also used for matching verification of identity authority;
the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on a lighting function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the another specific function includes turning off the lighting function; the combined function of the other specific function includes a turn-off lighting function and its related function;
the first parameter and the second parameter comprise at least one of light intensity, color temperature, whether to delay closing or not and time length of delay closing.
18. A control method of a lighting device is applied to the lighting device, and is characterized in that the method comprises the following steps:
after a request sent by the electronic equipment is received, wherein the request is used for indicating that the current time is within a preset time period; or after detecting that the current time is within a preset time period, the lighting device detects the distance between the lighting device and the wearable device; wherein the request is for indicating that the current time is within a preset time period;
the lighting device performs a particular function upon detecting that the distance between the lighting device and the wearable device is less than or equal to a preset distance threshold.
19. The method of claim 18,
after the detected distance between the lighting device and the wearable device changes from a distance less than or equal to a preset distance threshold to a distance greater than the preset distance threshold, the lighting device performs another specific function.
20. The method of claim 18 or 19,
after receiving a request sent by an electronic device, or after detecting that the current time is within a preset time period, the lighting device detects the distance between the lighting device and the wearable device; wherein the request is for indicating that the current time is within a preset time period; the method comprises the following steps:
after receiving a request sent by the electronic equipment or after detecting that the current time is within a preset time period, the lighting equipment broadcasts a message in a preset period; wherein the request is for indicating that the current time is within a preset time period;
upon receiving one response of the wearable device to the message, the lighting device detects a distance between the lighting device and the wearable device.
21. The method of claim 20,
the lighting device performs specific functions, including: the lighting device performs a specific function according to a first parameter;
the lighting device performs another specific function, including: the lighting device performs another specific function according to the second parameter;
the first parameter, the second parameter associated with at least one of the lighting device, the wearable device, a distance between the lighting device and the wearable device, and a variation;
the preset distance threshold is associated with at least one of the wearable device and the lighting device;
the first parameter and the second parameter are preset by a user.
22. The method of claim 21,
the message contains identity information of the wearable device and/or identity information of the lighting device, the message is used for publishing a ranging service, and the response is used for subscribing to the ranging service; the message and the response are also used for matching verification of identity authority;
the specific function and the another specific function each include a single function and a combined function; the single function of the specific function includes turning on a lighting function; the combined function of the specific functions comprises a lighting starting function and related functions thereof; the single function of the another specific function includes turning off the lighting function; the combined function of the other specific function includes a turn-off lighting function and its related function;
the first parameter and the second parameter comprise at least one of lamplight intensity, color temperature, whether to delay closing and time length of delay closing;
the lighting device is in wired or wireless communication with the electronic device.
23. A computer-readable storage medium comprising a computer program, which, when run on a wearable device, causes the wearable device to perform the method of any of claims 12-17.
24. A computer readable storage medium comprising computer instructions which, when run on a lighting device, cause the lighting device to perform the method of any one of claims 18-22.
CN202010899660.3A 2020-08-31 2020-08-31 Control method of lighting equipment and wearable equipment Pending CN114126172A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010899660.3A CN114126172A (en) 2020-08-31 2020-08-31 Control method of lighting equipment and wearable equipment
PCT/CN2021/112137 WO2022042312A1 (en) 2020-08-31 2021-08-11 Control method for lighting device, and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010899660.3A CN114126172A (en) 2020-08-31 2020-08-31 Control method of lighting equipment and wearable equipment

Publications (1)

Publication Number Publication Date
CN114126172A true CN114126172A (en) 2022-03-01

Family

ID=80354534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010899660.3A Pending CN114126172A (en) 2020-08-31 2020-08-31 Control method of lighting equipment and wearable equipment

Country Status (2)

Country Link
CN (1) CN114126172A (en)
WO (1) WO2022042312A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785838A (en) * 2022-03-30 2022-07-22 青岛海尔科技有限公司 Device control method and device, storage medium, and electronic apparatus
CN115902766A (en) * 2022-11-22 2023-04-04 荣耀终端有限公司 Measuring method and related device
CN116033431A (en) * 2022-08-18 2023-04-28 荣耀终端有限公司 Connection method and device of wearable device
CN116685033A (en) * 2023-06-21 2023-09-01 惠州兴通成机电技术有限公司 Intelligent control system for lamp

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102461337A (en) * 2009-06-09 2012-05-16 皇家飞利浦电子股份有限公司 Systems and apparatus for automatically deriving and modifying personal preferences applicable to multiple controllable lighting networks
US20140285113A1 (en) * 2013-03-22 2014-09-25 International Mobile Iot Corp. Illumination control system
CN104155897A (en) * 2014-08-06 2014-11-19 广东欧珀移动通信有限公司 Electrical apparatus control method and electrical apparatus control device based on wearable intelligent equipment
CN104635696A (en) * 2015-01-12 2015-05-20 西安三星电子研究有限公司 Wearable equipment for controlling intelligent household equipment and intelligent household equipment controlled by wearable equipment
CN104765269A (en) * 2015-04-23 2015-07-08 深圳市欧珀通信软件有限公司 Method and device for controlling power consumption of intelligent watch and intelligent watch
CN105187282A (en) * 2015-08-13 2015-12-23 小米科技有限责任公司 Method, device, system and equipment for controlling intelligent household equipment
CN105657946A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Method and device for controlling lamps
CN105873319A (en) * 2016-04-25 2016-08-17 乐视控股(北京)有限公司 Light control method and terminal equipment
CN106899749A (en) * 2015-12-21 2017-06-27 小米科技有限责任公司 Adjust the method and device of lighting apparatus brightness
CN106922058A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 The control method of light fixture, device and system
CN107087333A (en) * 2017-04-25 2017-08-22 北京小米移动软件有限公司 Lighting apparatus control method and equipment
CN107222960A (en) * 2017-06-16 2017-09-29 深圳市盛路物联通讯技术有限公司 A kind of lighting apparatus control method and system
CN107708248A (en) * 2017-08-22 2018-02-16 中山乐心电子有限公司 A kind of lighting device that can be controlled by wearable device and control method
CN109714861A (en) * 2019-01-28 2019-05-03 重庆蓝岸通讯技术有限公司 Intelligent House Light circuit for lamp, headlamp and its control method
CN111025920A (en) * 2019-11-18 2020-04-17 北京小米移动软件有限公司 Method and device for personalizing automatic control equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180069720A1 (en) * 2015-03-26 2018-03-08 Philips Lighting Holding B.V. Context-related commissioning of lighting devices

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102461337A (en) * 2009-06-09 2012-05-16 皇家飞利浦电子股份有限公司 Systems and apparatus for automatically deriving and modifying personal preferences applicable to multiple controllable lighting networks
US20140285113A1 (en) * 2013-03-22 2014-09-25 International Mobile Iot Corp. Illumination control system
CN104155897A (en) * 2014-08-06 2014-11-19 广东欧珀移动通信有限公司 Electrical apparatus control method and electrical apparatus control device based on wearable intelligent equipment
CN104635696A (en) * 2015-01-12 2015-05-20 西安三星电子研究有限公司 Wearable equipment for controlling intelligent household equipment and intelligent household equipment controlled by wearable equipment
CN104765269A (en) * 2015-04-23 2015-07-08 深圳市欧珀通信软件有限公司 Method and device for controlling power consumption of intelligent watch and intelligent watch
CN105187282A (en) * 2015-08-13 2015-12-23 小米科技有限责任公司 Method, device, system and equipment for controlling intelligent household equipment
CN106899749A (en) * 2015-12-21 2017-06-27 小米科技有限责任公司 Adjust the method and device of lighting apparatus brightness
CN106922058A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 The control method of light fixture, device and system
CN105657946A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Method and device for controlling lamps
CN105873319A (en) * 2016-04-25 2016-08-17 乐视控股(北京)有限公司 Light control method and terminal equipment
CN107087333A (en) * 2017-04-25 2017-08-22 北京小米移动软件有限公司 Lighting apparatus control method and equipment
CN107222960A (en) * 2017-06-16 2017-09-29 深圳市盛路物联通讯技术有限公司 A kind of lighting apparatus control method and system
CN107708248A (en) * 2017-08-22 2018-02-16 中山乐心电子有限公司 A kind of lighting device that can be controlled by wearable device and control method
CN109714861A (en) * 2019-01-28 2019-05-03 重庆蓝岸通讯技术有限公司 Intelligent House Light circuit for lamp, headlamp and its control method
CN111025920A (en) * 2019-11-18 2020-04-17 北京小米移动软件有限公司 Method and device for personalizing automatic control equipment and computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785838A (en) * 2022-03-30 2022-07-22 青岛海尔科技有限公司 Device control method and device, storage medium, and electronic apparatus
CN114785838B (en) * 2022-03-30 2024-01-26 青岛海尔科技有限公司 Control method and device of equipment, storage medium and electronic device
CN116033431A (en) * 2022-08-18 2023-04-28 荣耀终端有限公司 Connection method and device of wearable device
CN116033431B (en) * 2022-08-18 2023-10-31 荣耀终端有限公司 Connection method and device of wearable device
CN115902766A (en) * 2022-11-22 2023-04-04 荣耀终端有限公司 Measuring method and related device
CN115902766B (en) * 2022-11-22 2023-11-07 荣耀终端有限公司 Measurement method and related device
CN116685033A (en) * 2023-06-21 2023-09-01 惠州兴通成机电技术有限公司 Intelligent control system for lamp
CN116685033B (en) * 2023-06-21 2024-01-12 惠州兴通成机电技术有限公司 Intelligent control system for lamp

Also Published As

Publication number Publication date
WO2022042312A1 (en) 2022-03-03

Similar Documents

Publication Publication Date Title
WO2022042312A1 (en) Control method for lighting device, and wearable device
WO2021008534A1 (en) Voice wakeup method and electronic device
EP3198896B1 (en) Context-based management of wearable computing devices
CN108401064B (en) Terminal work control method and device and terminal
US9807857B2 (en) Illumination control system
TWI326856B (en) Location system for bluetooth enabled devices
US10565956B2 (en) Method and apparatus for light spectrum filtering
TWI575995B (en) Internet of things system
CN114125791B (en) Audio pushing method and audio pushing system
US9313788B2 (en) Mobile device for wireless data communication and a method for communicating data by wireless data communication in a data communication network
KR20160020825A (en) Electronic apparatus and positiong method thereof
TW201415061A (en) Earth positioning system
US11228890B2 (en) Electronic device supporting proximity communication service and method for obtaining information of short-range communication device using the same
CN108108090B (en) Communication message reminding method and device
US10805900B2 (en) Method and device for deriving location
TWM450170U (en) Internet of things system
TW201735706A (en) Interactive communication system, method, and wearable device
CN107409358B (en) Power saving method in peer-to-peer network and electronic device performing the same
CN111083022A (en) Mobile terminal, control method thereof and computer storage medium
EP4216582A1 (en) Energy saving method and terminal device
CN114173325B (en) Detection method and device of Bluetooth positioning device and storage medium
WO2019010795A1 (en) Internet of things based control method and internet of things server
WO2023071454A1 (en) Scenario synchronization method and apparatus, and electronic device and readable storage medium
CN106535106B (en) Wireless Bluetooth intelligent positioning device
CN112367615B (en) Communication method between street lamp and portable 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