CN113015104A - Illumination control method and device based on Bluetooth proximity recognition and storage medium - Google Patents

Illumination control method and device based on Bluetooth proximity recognition and storage medium Download PDF

Info

Publication number
CN113015104A
CN113015104A CN202110245908.9A CN202110245908A CN113015104A CN 113015104 A CN113015104 A CN 113015104A CN 202110245908 A CN202110245908 A CN 202110245908A CN 113015104 A CN113015104 A CN 113015104A
Authority
CN
China
Prior art keywords
bluetooth
distance
sending
bluetooth terminal
lighting
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
CN202110245908.9A
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.)
Shenzhen Xiaowo Technology Co ltd
Original Assignee
Shenzhen Xiaowo Technology 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 Shenzhen Xiaowo Technology Co ltd filed Critical Shenzhen Xiaowo Technology Co ltd
Priority to CN202110245908.9A priority Critical patent/CN113015104A/en
Publication of CN113015104A publication Critical patent/CN113015104A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/06Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/009Security arrangements; Authentication; Protecting privacy or anonymity specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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
    • 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 invention relates to the technical field of control of the Internet of things, in particular to a lighting control method and device based on Bluetooth proximity identification and a storage medium. Continuously sending out Bluetooth broadcast, and receiving pairing information of a Bluetooth terminal through the Bluetooth broadcast; performing identity verification on the Bluetooth terminal according to the pairing information, and establishing Bluetooth signal connection with the Bluetooth terminal after the identity verification is passed; determining the real-time signal intensity of the received Bluetooth signal, and calculating the estimated distance from the Bluetooth terminal according to the real-time signal intensity; when the estimated distance is smaller than a first set distance, sending a starting instruction to the lighting equipment; and when the estimated distance is smaller than the second set distance, sending a maximum brightness instruction to the lighting equipment. The invention can carry out illumination control based on Bluetooth signal ranging aiming at a specific Bluetooth terminal, and can not cause illumination control failure due to obstruction of a shelter, thereby improving the use experience of users.

Description

Illumination control method and device based on Bluetooth proximity recognition and storage medium
Technical Field
The invention relates to the technical field of control of the Internet of things, in particular to a lighting control method and device based on Bluetooth proximity identification and a storage medium.
Background
The Internet of Things (Internet of Things, IOT for short) is used for collecting any object or process needing monitoring, connection and interaction in real time and collecting various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and position through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, and realizing the ubiquitous connection of objects and people through various possible network accesses and the intelligent sensing, identification and management of the objects and the processes. The internet of things is an information bearer based on the internet, a traditional telecommunication network and the like, and all common physical objects which can be independently addressed form an interconnected network.
Currently, the mainstream lighting control mode of the internet of things is proximity sensing control, including infrared proximity sensing control, millimeter wave radar proximity sensing control, sound wave sensing control and the like. The proximity sensing control is based on that a corresponding sensor makes lighting control behaviors when detecting that a person approaches a corresponding proximity signal sent out, and such a control mode is an undifferentiated sensing control method, which cannot effectively identify the identity of the person approaching and further performs lighting control on specific persons, and is easy to cause monitoring failure of the corresponding proximity signal due to the limitation of shielding, blocking and sensing monitoring distance, thereby causing lighting control failure and influencing the use experience of a user.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides the illumination control method, the illumination control device and the storage medium based on the Bluetooth proximity identification, when the illumination control method, the illumination control device and the storage medium are applied, the illumination control based on the Bluetooth signal distance measurement can be carried out aiming at a specific Bluetooth terminal, the condition that the illumination control is out of order due to obstruction of a shielding object can be avoided, and the use experience of a user can be improved.
In a first aspect, the present invention provides a lighting control method based on bluetooth proximity recognition, comprising:
continuously sending out Bluetooth broadcast, and receiving pairing information of a Bluetooth terminal through the Bluetooth broadcast;
performing identity verification on the Bluetooth terminal according to the pairing information, and establishing Bluetooth signal connection with the Bluetooth terminal after the identity verification is passed;
determining the real-time signal intensity of the received Bluetooth signal, and calculating the estimated distance from the Bluetooth terminal according to the real-time signal intensity;
when the estimated distance is smaller than a first set distance, sending a starting instruction to the lighting equipment;
and when the estimated distance is smaller than the second set distance, sending a maximum brightness instruction to the lighting equipment.
Based on the content, when a user holds a corresponding Bluetooth terminal to enter a Bluetooth broadcast range, the Bluetooth terminal is authenticated by acquiring pairing information of the Bluetooth terminal to determine whether the Bluetooth terminal is a specific target, Bluetooth signal connection is established with the Bluetooth terminal after the authentication is passed, and the estimated distance between the Bluetooth terminal and the Bluetooth terminal is calculated by monitoring the real-time signal intensity of the Bluetooth signal corresponding to the Bluetooth terminal, so that the lighting equipment is started and controlled and the brightness is adjusted according to the estimated distance. The control mode replaces the traditional proximity sensing control mode, installation, debugging and use of corresponding sensors can be reduced, equipment use cost is saved, meanwhile, illumination control based on Bluetooth signal distance measurement can be carried out on specific Bluetooth terminals through the control mode, reaction can not be carried out when other Bluetooth terminals are close, energy efficiency is saved, the Bluetooth signal coverage range is large, monitoring failure caused by obstruction of the obstruction can not occur, illumination control failure can be caused, and use experience of users can be improved.
In one possible design, the method further includes: and sending a brightness increasing instruction to the lighting equipment once when the predicted distance is reduced by the set spacing distance between the first set distance and the second set distance.
In one possible design, the method further includes: and sending a brightness reduction command to the lighting equipment once when the predicted distance is increased between the second set distance and the first set distance and every time the set spacing distance is increased, and sending a closing command to the lighting equipment when the predicted distance exceeds the first set distance.
In one possible design, when the bluetooth broadcast is transmitted, the method includes: the method comprises the steps of detecting a current power supply type, adjusting the Bluetooth broadcast frequency to a first set frequency when the current power supply type is an internal power supply, and adjusting the Bluetooth broadcast frequency to a second set frequency when the current power supply type is an external power supply, wherein the second set frequency is higher than the first set frequency.
In one possible design, the pairing information includes a bluetooth terminal identification code, and the authenticating the bluetooth terminal according to the pairing information includes:
comparing and retrieving the Bluetooth terminal identification code with the archived equipment identification code;
and when the Bluetooth terminal identification code is retrieved to be the archived equipment identification code, judging that the Bluetooth terminal identity authentication is passed.
In one possible design, after sending the turn-on command to the lighting device, the method further includes: and associating and archiving the Bluetooth terminal identification code and the time for sending the opening instruction.
In one possible design, the calculating the estimated distance to the bluetooth terminal according to the real-time signal strength includes:
calling a pre-stored instruction;
setting signal intensity and environment attenuation factors when the distance between the Bluetooth sending end and the receiving end is 1m according to a pre-stored instruction;
and calculating to obtain the estimated distance according to the real-time signal intensity, the set signal intensity when the distance between the Bluetooth sending end and the receiving end is 1m and the environmental attenuation factor.
In a second aspect, the present invention provides a lighting control apparatus based on bluetooth proximity recognition, the apparatus comprising:
the receiving and sending unit is used for continuously sending out Bluetooth broadcast and receiving the pairing information of the Bluetooth terminal through the Bluetooth broadcast;
the verification unit is used for verifying the identity of the Bluetooth terminal according to the pairing information and establishing Bluetooth signal connection with the Bluetooth terminal after the identity verification is passed;
the computing unit is used for determining the real-time signal intensity of the received Bluetooth signal and computing the estimated distance between the computing unit and the Bluetooth terminal according to the real-time signal intensity;
the control unit is used for sending a starting instruction to the lighting equipment when the pre-estimated distance is smaller than a first set distance; and when the estimated distance is smaller than the second set distance, sending a maximum brightness instruction to the lighting equipment.
In a third aspect, the present invention provides a lighting control apparatus based on bluetooth proximity recognition, the apparatus comprising:
a memory to store instructions;
a processor configured to read the instructions stored in the memory and execute the method of any of the first aspects according to the instructions.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects described above.
In a fifth aspect, the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects above.
The invention has the beneficial effects that:
the Bluetooth terminal is authenticated by acquiring the pairing information of the Bluetooth terminal to determine whether the Bluetooth terminal is a specific target, Bluetooth signal connection is established with the Bluetooth terminal after the authentication is passed, and the estimated distance between the Bluetooth terminal and the Bluetooth terminal is calculated by monitoring the real-time signal intensity of the Bluetooth signal corresponding to the Bluetooth terminal, so that the lighting equipment is started and controlled and the brightness of the lighting equipment is adjusted according to the estimated distance. The control mode replaces the traditional proximity sensing control mode, installation, debugging and use of corresponding sensors can be reduced, equipment use cost is saved, meanwhile, illumination control based on Bluetooth signal distance measurement can be carried out on specific Bluetooth terminals through the control mode, reaction can not be carried out when other Bluetooth terminals are close, energy efficiency is saved, the Bluetooth signal coverage range is large, monitoring failure caused by obstruction of the obstruction can not occur, illumination control failure can be caused, and use experience of users can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a schematic diagram showing the construction of a first apparatus according to the present invention;
FIG. 3 is a schematic diagram showing the structure of a second apparatus according to the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. Specific structural and functional details disclosed herein are merely illustrative of example embodiments of the invention. This invention may, however, be embodied in many alternate forms and should not be construed as limited to the embodiments set forth herein.
It should be understood that the terms first, second, etc. are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance. Although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time, and the term "/and" is used herein to describe another association object relationship, which means that two relationships may exist, for example, A/and B, may mean: a alone, and both a and B alone, and further, the character "/" in this document generally means that the former and latter associated objects are in an "or" relationship.
It is to be understood that in the description of the present invention, the terms "upper", "vertical", "inside", "outside", and the like, refer to an orientation or positional relationship that is conventionally used for placing the product of the present invention, or that is conventionally understood by those skilled in the art, and are used merely for convenience in describing and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and therefore should not be considered as limiting the present invention.
It will be understood that when an element is referred to as being "connected," "connected," or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between … …" versus "directly between … …", "adjacent" versus "directly adjacent", etc.).
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," and "connected" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
In the following description, specific details are provided to facilitate a thorough understanding of example embodiments. However, it will be understood by those of ordinary skill in the art that the example embodiments may be practiced without these specific details. For example, systems may be shown in block diagrams in order not to obscure the examples in unnecessary detail. In other instances, well-known processes, structures and techniques may be shown without unnecessary detail in order to avoid obscuring example embodiments.
Example 1:
the present embodiment provides a lighting control method based on bluetooth proximity identification, as shown in fig. 1, including the following steps:
s101, continuously sending out Bluetooth broadcast, and receiving pairing information of the Bluetooth terminal through the Bluetooth broadcast.
During specific implementation, corresponding Bluetooth equipment can be arranged at the illumination control end to continuously send out Bluetooth broadcast, the Bluetooth equipment can adopt the low-power-consumption Bluetooth module to support a broadcast mode and frequent on-off, and the low-power-consumption Bluetooth module can be selected according to actual transmission distance requirements, so that the transmission distance of not less than 20m is suitable. The process of the Bluetooth broadcast by the low-power Bluetooth module comprises the following steps: the method comprises the steps of detecting a current power supply type, adjusting the Bluetooth broadcast frequency to a first set frequency when the current power supply type is an internal power supply, adjusting the Bluetooth broadcast frequency to a second set frequency when the current power supply type is an external power supply, wherein the second set frequency is higher than the first set frequency, and through the adjustment and setting of the broadcast frequency, the power consumption is reduced as much as possible when the internal power supply is used, and the working duration of the low-power Bluetooth module is prolonged. And after the Bluetooth terminal enters the broadcast range of the Bluetooth equipment, pairing information is sent to the Bluetooth equipment through Bluetooth broadcast so as to request to establish Bluetooth connection.
And S102, performing identity verification on the Bluetooth terminal according to the pairing information, and establishing Bluetooth signal connection with the Bluetooth terminal after the identity verification is passed.
When the method is specifically implemented, the process of carrying out identity verification on the Bluetooth terminal according to the pairing information comprises the following steps: comparing and retrieving the Bluetooth terminal identification code with the archived equipment identification code; and when the Bluetooth terminal identification code is retrieved to be the archived equipment identification code, judging that the Bluetooth terminal identity authentication is passed. After the Bluetooth terminal passes the authentication, the Bluetooth equipment and the Bluetooth terminal handshake to establish Bluetooth signal connection.
S103, determining the real-time signal intensity of the received Bluetooth signal, and calculating the estimated distance from the Bluetooth terminal according to the real-time signal intensity.
During the concrete implementation, bluetooth equipment accessible and bluetooth terminal's bluetooth Signal connection, monitor the Received Signal Strength (RSSI, Received Signal Strength Indication) of bluetooth Signal in real time, real-time Signal Strength promptly, then just can calculate the prediction distance with bluetooth terminal according to real-time Signal Strength, the process includes: calling a pre-stored instruction; setting signal intensity and environment attenuation factors when the distance between the Bluetooth sending end and the receiving end is 1m according to a pre-stored instruction; and calculating to obtain the estimated distance according to the real-time signal intensity, the set signal intensity when the distance between the Bluetooth sending end and the receiving end is 1m and the environmental attenuation factor. The estimated distance calculation formula is as follows: d ═ 10^ ((abs (rssi) -a)/(10 ×) n)). Wherein d is the estimated distance in m; (ABS (RSSI)) is real-time signal strength which is a negative number, A is the absolute value of the signal strength when the set Bluetooth equipment is 1m away from the Bluetooth terminal, the optimal range is 45-49, n is an environmental attenuation factor which needs to be tested and corrected, and the optimal range is 3.25-4.5.
And S104, when the estimated distance is smaller than the first set distance, sending a starting instruction to the lighting equipment.
In specific implementation, the first set distance may be set according to an actual situation, for example, the first set distance may be set to 10m, when the user holds the bluetooth terminal to a position about 10m away from the bluetooth device, the bluetooth device sends an on instruction to the lighting device to turn on the lighting device, and similarly, if the user holds the bluetooth terminal to exceed 10m away from the bluetooth device, the bluetooth device sends an off instruction to the lighting device to turn off the lighting device. After sending the opening instruction to the lighting equipment, the Bluetooth equipment also correlates and archives the Bluetooth terminal identification code with the time of sending the opening instruction so as to fetch and consult the archive record. The Bluetooth terminal held by the user can be a mobile phone, a tablet personal computer, an intelligent bracelet, an intelligent watch and the like.
And S105, when the estimated distance is smaller than a second set distance, sending a maximum brightness instruction to the lighting equipment.
In specific implementation, the second set distance may be set according to an actual situation, for example, the second set distance may be set to 3m, when the user holds the bluetooth terminal to a position 3m away from the bluetooth device, the bluetooth device sends a maximum brightness instruction to the lighting device to turn on the lighting device with the maximum brightness, and similarly, if the user holds the bluetooth terminal to exceed 3m away from the bluetooth device, the bluetooth device sends a corresponding brightness reduction instruction to the lighting device to reduce the lighting brightness. The brightness adjusting process specifically includes: sending a brightness increasing instruction to the lighting equipment once when the predicted distance is reduced by the set spacing distance between the first set distance and the second set distance; and sending a brightness reduction command to the lighting equipment once when the predicted distance is increased between the second set distance and the first set distance and every time the set spacing distance is increased, and sending a closing command to the lighting equipment when the predicted distance exceeds the first set distance.
Example 2, the following:
the present embodiment provides a lighting control device based on bluetooth proximity recognition, as shown in fig. 2, including:
the receiving and sending unit is used for continuously sending out Bluetooth broadcast and receiving the pairing information of the Bluetooth terminal through the Bluetooth broadcast;
the verification unit is used for verifying the identity of the Bluetooth terminal according to the pairing information and establishing Bluetooth signal connection with the Bluetooth terminal after the identity verification is passed;
the computing unit is used for determining the real-time signal intensity of the received Bluetooth signal and computing the estimated distance between the computing unit and the Bluetooth terminal according to the real-time signal intensity;
the control unit is used for sending a starting instruction to the lighting equipment when the pre-estimated distance is smaller than a first set distance; and when the estimated distance is smaller than the second set distance, sending a maximum brightness instruction to the lighting equipment.
Example 3:
the present embodiment provides a lighting control device based on bluetooth proximity recognition, as shown in fig. 3, including:
a memory to store instructions;
a processor for reading the instructions stored in the memory and executing the illumination control method based on bluetooth proximity identification in embodiment 1 according to the instructions;
the Memory may include, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Flash Memory (Flash Memory), a First In First Out (FIFO), a First In Last Out (FILO), and/or the like; the processor may include, but is not limited to, a single chip, an ARM processor, and the like.
Example 4:
the present embodiment provides a computer-readable storage medium having stored thereon instructions that, when executed on a computer, cause the computer to execute the lighting control method based on bluetooth proximity recognition described in embodiment 1. The computer-readable storage medium refers to a carrier for storing data, and may include, but is not limited to, floppy disks, optical disks, hard disks, flash memories, flash disks and/or Memory sticks (Memory sticks), etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
Example 5:
the present embodiment provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the illumination control method based on bluetooth proximity recognition described in embodiment 1. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the embodiments of the method may be implemented by hardware related to program instructions, the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps including the embodiments of the method, and the storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, storage media and computer program products of the embodiments. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The present invention is not limited to the above-described alternative embodiments, and various other forms of products can be obtained by anyone in light of the present invention. The above detailed description should not be taken as limiting the scope of the invention, which is defined in the claims, and which the description is intended to be interpreted accordingly.

Claims (10)

1. Illumination control method based on bluetooth proximity identification, characterized by comprising:
continuously sending out Bluetooth broadcast, and receiving pairing information of a Bluetooth terminal through the Bluetooth broadcast;
performing identity verification on the Bluetooth terminal according to the pairing information, and establishing Bluetooth signal connection with the Bluetooth terminal after the identity verification is passed;
determining the real-time signal intensity of the received Bluetooth signal, and calculating the estimated distance from the Bluetooth terminal according to the real-time signal intensity;
when the estimated distance is smaller than a first set distance, sending a starting instruction to the lighting equipment;
and when the estimated distance is smaller than the second set distance, sending a maximum brightness instruction to the lighting equipment.
2. The lighting control method based on bluetooth proximity recognition as recited in claim 1, wherein the method further comprises: and sending a brightness increasing instruction to the lighting equipment once when the predicted distance is reduced by the set spacing distance between the first set distance and the second set distance.
3. The lighting control method based on bluetooth proximity recognition as recited in claim 2, wherein the method further comprises: and sending a brightness reduction command to the lighting equipment once when the predicted distance is increased between the second set distance and the first set distance and every time the set spacing distance is increased, and sending a closing command to the lighting equipment when the predicted distance exceeds the first set distance.
4. The lighting control method based on bluetooth proximity recognition according to claim 1, wherein when bluetooth broadcasting is emitted, the method comprises: the method comprises the steps of detecting a current power supply type, adjusting the Bluetooth broadcast frequency to a first set frequency when the current power supply type is an internal power supply, and adjusting the Bluetooth broadcast frequency to a second set frequency when the current power supply type is an external power supply, wherein the second set frequency is higher than the first set frequency.
5. The lighting control method based on bluetooth proximity identification according to claim 1, wherein the pairing information includes a bluetooth terminal identification code, and the authenticating the bluetooth terminal according to the pairing information includes:
comparing and retrieving the Bluetooth terminal identification code with the archived equipment identification code;
and when the Bluetooth terminal identification code is retrieved to be the archived equipment identification code, judging that the Bluetooth terminal identity authentication is passed.
6. The lighting control method based on Bluetooth proximity recognition as recited in claim 5, wherein after sending a turn-on command to the lighting device, the method further comprises: and associating and archiving the Bluetooth terminal identification code and the time for sending the opening instruction.
7. The lighting control method based on bluetooth proximity recognition according to claim 1, wherein the calculating the estimated distance to the bluetooth terminal according to the real-time signal strength comprises:
calling a pre-stored instruction;
setting signal intensity and environment attenuation factors when the distance between the Bluetooth sending end and the receiving end is 1m according to a pre-stored instruction;
and calculating to obtain the estimated distance according to the real-time signal intensity, the set signal intensity when the distance between the Bluetooth sending end and the receiving end is 1m and the environmental attenuation factor.
8. Illumination control device based on bluetooth is close discernment, its characterized in that includes:
the receiving and sending unit is used for continuously sending out Bluetooth broadcast and receiving the pairing information of the Bluetooth terminal through the Bluetooth broadcast;
the verification unit is used for verifying the identity of the Bluetooth terminal according to the pairing information and establishing Bluetooth signal connection with the Bluetooth terminal after the identity verification is passed;
the computing unit is used for determining the real-time signal intensity of the received Bluetooth signal and computing the estimated distance between the computing unit and the Bluetooth terminal according to the real-time signal intensity;
the control unit is used for sending a starting instruction to the lighting equipment when the pre-estimated distance is smaller than a first set distance; and when the estimated distance is smaller than the second set distance, sending a maximum brightness instruction to the lighting equipment.
9. A lighting control device based on bluetooth proximity recognition, the device comprising:
a memory to store instructions;
a processor for reading the instructions stored in the memory and executing the method of any one of claims 1-7 in accordance with the instructions.
10. A computer-readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-7.
CN202110245908.9A 2021-03-05 2021-03-05 Illumination control method and device based on Bluetooth proximity recognition and storage medium Pending CN113015104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110245908.9A CN113015104A (en) 2021-03-05 2021-03-05 Illumination control method and device based on Bluetooth proximity recognition and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110245908.9A CN113015104A (en) 2021-03-05 2021-03-05 Illumination control method and device based on Bluetooth proximity recognition and storage medium

Publications (1)

Publication Number Publication Date
CN113015104A true CN113015104A (en) 2021-06-22

Family

ID=76406991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110245908.9A Pending CN113015104A (en) 2021-03-05 2021-03-05 Illumination control method and device based on Bluetooth proximity recognition and storage medium

Country Status (1)

Country Link
CN (1) CN113015104A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596791A (en) * 2021-06-25 2021-11-02 青岛海尔科技有限公司 Bluetooth device control method and device, storage medium and electronic device
CN114364106A (en) * 2021-12-07 2022-04-15 珠海格力电器股份有限公司 Light control method and device, storage medium and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110028093A1 (en) * 2009-07-28 2011-02-03 Patel Shwetak N Bluetooth Proximity Detection System and Method of Interacting With One or More Bluetooth Devices
CN104104782A (en) * 2013-04-03 2014-10-15 深圳市中易腾达科技有限公司 Mobile phone, illuminating lamp with incoming call prompting function, and system
CN109068458A (en) * 2018-07-11 2018-12-21 上海闻泰电子科技有限公司 Intelligent lighting control system and method
CN110460977A (en) * 2019-07-23 2019-11-15 厦门阳光恩耐照明有限公司 A kind of Intelligent illumination device based on bluetooth MESH matches network method
CN210431999U (en) * 2019-07-23 2020-04-28 深圳市北电仪表有限公司 Lighting terminal based on bluetooth wireless network deployment
CN111511080A (en) * 2020-04-30 2020-08-07 杭州涂鸦信息技术有限公司 Bluetooth mesh-based illumination control method and related system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110028093A1 (en) * 2009-07-28 2011-02-03 Patel Shwetak N Bluetooth Proximity Detection System and Method of Interacting With One or More Bluetooth Devices
CN104104782A (en) * 2013-04-03 2014-10-15 深圳市中易腾达科技有限公司 Mobile phone, illuminating lamp with incoming call prompting function, and system
CN109068458A (en) * 2018-07-11 2018-12-21 上海闻泰电子科技有限公司 Intelligent lighting control system and method
CN110460977A (en) * 2019-07-23 2019-11-15 厦门阳光恩耐照明有限公司 A kind of Intelligent illumination device based on bluetooth MESH matches network method
CN210431999U (en) * 2019-07-23 2020-04-28 深圳市北电仪表有限公司 Lighting terminal based on bluetooth wireless network deployment
CN111511080A (en) * 2020-04-30 2020-08-07 杭州涂鸦信息技术有限公司 Bluetooth mesh-based illumination control method and related system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596791A (en) * 2021-06-25 2021-11-02 青岛海尔科技有限公司 Bluetooth device control method and device, storage medium and electronic device
CN113596791B (en) * 2021-06-25 2023-10-24 青岛海尔科技有限公司 Bluetooth device control method and device, storage medium and electronic device
CN114364106A (en) * 2021-12-07 2022-04-15 珠海格力电器股份有限公司 Light control method and device, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
RU2658813C2 (en) Electronic device control method and apparatus
JP6761134B2 (en) Processor controllers, methods and devices
DK2979463T3 (en) Portable, wireless multi-mode microphone
CN113015104A (en) Illumination control method and device based on Bluetooth proximity recognition and storage medium
US11223497B2 (en) Method and apparatus for providing notification by interworking plurality of electronic devices
US9191480B2 (en) Method for performing alarm function and electronic device thereof
RU2644410C2 (en) Reminding method and reminding device
US8621568B2 (en) WAN module based remote wakeup system and terminal thereof
US11115929B2 (en) Method and device for operating operation mode of electronic device
CN106572152B (en) A kind of message prompt method and device
CN109033247B (en) Application program management method and device, storage medium and terminal
EP3353495B1 (en) Causing a transition between positioning modes
CN109377991B (en) Intelligent equipment control method and device
CN113747549B (en) Base station control method, device, storage medium and communication system
CN103581446A (en) Scene mode switching method and electronic terminal
CN107528970B (en) User identification method, terminal and storage medium
CN114428546B (en) Background application cleaning method and device, storage medium and terminal equipment
CN105682021B (en) Information processing method and electronic equipment
CN104348962A (en) Mobile phone unlocking method based on laser distance measuring and mobile phone with laser distance measuring function
CN107832669B (en) Face detection method and related product
CN110797983B (en) Charging management and control method and device, storage medium and charging equipment
CN110632734A (en) Focusing method and related product
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN103294367B (en) A kind of methods, devices and systems determining operational order and terminal
CN108566471B (en) Information processing method, device, mobile terminal and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210622

RJ01 Rejection of invention patent application after publication