CN111325880A - Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium - Google Patents
Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium Download PDFInfo
- Publication number
- CN111325880A CN111325880A CN202010118341.4A CN202010118341A CN111325880A CN 111325880 A CN111325880 A CN 111325880A CN 202010118341 A CN202010118341 A CN 202010118341A CN 111325880 A CN111325880 A CN 111325880A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- access control
- bluetooth access
- control device
- current
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The invention discloses a Bluetooth-based positioning door opening method and device, an intelligent terminal and a storage medium, and belongs to the technical field of Internet of things. According to the Bluetooth access control device, the Bluetooth access control device with the closest distance is determined through the automatic learning model based on the hardware identifier of each Bluetooth access control device, the current position coordinate and the current environment influence factor, the determined hardware identifier of the Bluetooth access control device is used as the target hardware identifier, the target Bluetooth access control device is positioned through the target hardware identifier, so that the target Bluetooth access control device opens the door, the Bluetooth access control device with the closest distance is determined by combining the current environment influence factor, the Bluetooth access control device with the closest distance can be determined more accurately, the phenomenon of wrong access control is avoided, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a Bluetooth-based positioning door opening method and device, an intelligent terminal and a storage medium.
Background
In the aspect of access management, as the bluetooth technology has low power consumption and stable and safe transmission, most property companies in the market at present basically manage the access of residents in a community by using an intelligent bluetooth access control system.
The intelligent Bluetooth access control system on the market at present still has a lot of problems which are still unsolved. For example, when a certain resident enters or exits a cell, the resident is normally opened through a door with wrong direction. The entrance guard equipment of the outgoing direction is opened, but the entrance guard of the incoming direction is not known to be opened, so that the entrance guard is very inconvenient. For this reason, property companies often receive such complaints, which seriously affect the satisfaction of residents with property services.
However, this kind of condition appears mainly because, in the in-process of production intelligent bluetooth entrance guard hardware, can't guarantee that every bluetooth device receives the unanimous signal strength who causes of instruction, and bluetooth entrance guard's theory of operation, realize the butt joint of cell-phone bluetooth agreement mainly, transfer bluetooth service at the cell-phone end through APP, at entrance guard end installation intelligent hardware, again according to the signal strength that the bluetooth instruction was received to hardware, let the strong hardware of signal control bluetooth entrance guard equipment's on-off state after the preferential bluetooth instruction of receiving of signal. For this reason, when the house is opened the door before going out the direction entrance guard's equipment, the signal that cell-phone end called bluetooth service through the APP and sent can be received preferentially to the hardware that the signal is strong, just the above-mentioned condition of opening wrong entrance guard can appear to influence user experience.
Disclosure of Invention
The invention mainly aims to provide a positioning door opening method and device based on Bluetooth, an intelligent terminal and a storage medium, and aims to solve the technical problem that a Bluetooth door access device closest to the Bluetooth door access device cannot be accurately determined in the prior art, so that a wrong door access can be opened.
In order to achieve the above object, the present invention provides a bluetooth-based positioning door opening method, which comprises the following steps:
scanning hardware identifiers of each Bluetooth access control device in a preset range;
acquiring a current position coordinate and acquiring a current environment influence factor;
determining the Bluetooth access control equipment with the closest distance through an automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor;
and taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to open the door of the target Bluetooth access control equipment.
Optionally, the determining, based on the hardware identifier of each bluetooth access control device, the current position coordinate and the current environment influence factor, of the closest bluetooth access control device through the automatic learning model includes:
and determining the equipment coordinates corresponding to the hardware identifiers of the Bluetooth access control equipment through an automatic learning model, and calculating the distance between each equipment coordinate and the current position coordinate based on the current environment influence factors through the automatic learning model so as to determine the Bluetooth access control equipment with the closest distance.
Optionally, the determining, based on the hardware identifier of each bluetooth access control device, the current position coordinate and the current environment influence factor, of the closest bluetooth access control device through the automatic learning model includes:
judging whether the current network state is normal or not;
and when the current network state is abnormal, acquiring a local automatic learning model, and determining the Bluetooth access control equipment with the nearest distance through the acquired automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor.
Optionally, after determining whether the current network state is normal, the method further includes:
when the current network state is normal, the hardware identification of each Bluetooth access control device, the current position coordinate and the current environment influence factor are sent to the server, so that the server determines the Bluetooth access control device closest to the current position coordinate and the current environment influence factor based on the hardware identification of each Bluetooth access control device, and feeds back the determined hardware identification of the Bluetooth access control device.
Optionally, the obtaining of the current position coordinate specifically includes:
judging whether the GPS positioning function is normal or not;
when the GPS positioning function is normal, acquiring the current position coordinate through GPS positioning;
and when the GPS positioning function is abnormal, the received signal intensity of each Bluetooth access control device is acquired, and the current position coordinate is determined through a three-point positioning algorithm according to the coordinate of each Bluetooth access control device and the received signal intensity.
Optionally, before scanning the hardware identifier of each bluetooth access control device within the preset range, the method further includes:
collecting hardware identification and equipment coordinates of each Bluetooth access control equipment, and acquiring a plurality of sample position coordinates and corresponding sample environment influence factors;
and training a preset normal distribution self-learning model according to the sample position coordinates and the corresponding sample environment influence factors to obtain an automatic learning model.
Optionally, after determining the nearest bluetooth access control device through an automatic learning model based on the hardware identifier of each bluetooth access control device, the current position coordinate, and the current environment influence factor, the method further includes:
and training the automatic learning model according to the hardware identification of each Bluetooth access control device, the current position coordinate, the current environment influence factor and the target hardware identification so as to realize the inertial connection of the automatic learning model.
In addition, in order to achieve the above object, the present invention further provides a positioning door opener based on bluetooth, including:
the identification scanning module is used for scanning hardware identifications of all Bluetooth access control devices in a preset range;
the parameter acquisition module is used for acquiring the current position coordinates and acquiring the current environment influence factors;
the device determining module is used for determining the Bluetooth access control device closest to the Bluetooth access control device through an automatic learning model based on the hardware identifier of each Bluetooth access control device, the current position coordinate and the current environment influence factor;
and the positioning door opening module is used for taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to enable the target Bluetooth access control equipment to open the door.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: the system comprises a memory, a processor and a Bluetooth-based positioning door opening program stored on the memory and capable of running on the processor, wherein the Bluetooth-based positioning door opening program is configured to realize the steps of the Bluetooth-based positioning door opening method.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, wherein a bluetooth-based positioning door opening program is stored on the computer readable storage medium, and when being executed by a processor, the bluetooth-based positioning door opening program implements the steps of the bluetooth-based positioning door opening method as described above.
According to the Bluetooth access control device, the Bluetooth access control device with the closest distance is determined through the automatic learning model based on the hardware identifier of each Bluetooth access control device, the current position coordinate and the current environment influence factor, the determined hardware identifier of the Bluetooth access control device is used as the target hardware identifier, the target Bluetooth access control device is positioned through the target hardware identifier, so that the target Bluetooth access control device opens the door, the Bluetooth access control device with the closest distance is determined by combining the current environment influence factor, the Bluetooth access control device with the closest distance can be determined more accurately, the phenomenon of wrong access control is avoided, and the user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a first embodiment of a Bluetooth-based door opening method;
FIG. 3 is a flowchart illustrating a second embodiment of a Bluetooth-based door opening method according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a Bluetooth-based door opening method according to the present invention;
fig. 5 is a block diagram of a first embodiment of the bluetooth-based door opener according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the mobile terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
In a specific implementation, the mobile terminal is a terminal device such as a smart phone, a tablet computer, a notebook computer, or an intelligent bracelet, which is not limited in this embodiment.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the mobile terminal and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a bluetooth-based positioning door opening program.
In the mobile terminal shown in fig. 1, the network interface 1004 is mainly used for data communication with an external network; the user interface 1003 is mainly used for receiving input instructions of a user; the mobile terminal calls a bluetooth-based positioning door opening program stored in the memory 1005 through the processor 1001, and performs the following operations:
scanning hardware identifiers of each Bluetooth access control device in a preset range;
acquiring a current position coordinate and acquiring a current environment influence factor;
determining the Bluetooth access control equipment with the closest distance through an automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor;
and taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to open the door of the target Bluetooth access control equipment.
Further, the processor 1001 may call the bluetooth-based positioning door opening program stored in the memory 1005, and also perform the following operations:
and determining the equipment coordinates corresponding to the hardware identifiers of the Bluetooth access control equipment through an automatic learning model, and calculating the distance between each equipment coordinate and the current position coordinate based on the current environment influence factors through the automatic learning model so as to determine the Bluetooth access control equipment with the closest distance.
Further, the processor 1001 may call the bluetooth-based positioning door opening program stored in the memory 1005, and also perform the following operations:
judging whether the current network state is normal or not;
and when the current network state is abnormal, acquiring a local automatic learning model, and determining the Bluetooth access control equipment with the nearest distance through the acquired automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor.
Further, the processor 1001 may call the bluetooth-based positioning door opening program stored in the memory 1005, and also perform the following operations:
when the current network state is normal, the hardware identification of each Bluetooth access control device, the current position coordinate and the current environment influence factor are sent to the server, so that the server determines the Bluetooth access control device closest to the current position coordinate and the current environment influence factor based on the hardware identification of each Bluetooth access control device, and feeds back the determined hardware identification of the Bluetooth access control device.
Further, the processor 1001 may call the bluetooth-based positioning door opening program stored in the memory 1005, and also perform the following operations:
judging whether the GPS positioning function is normal or not;
when the GPS positioning function is normal, acquiring the current position coordinate through GPS positioning;
and when the GPS positioning function is abnormal, the received signal intensity of each Bluetooth access control device is acquired, and the current position coordinate is determined through a three-point positioning algorithm according to the coordinate of each Bluetooth access control device and the received signal intensity.
Further, the processor 1001 may call the bluetooth-based positioning door opening program stored in the memory 1005, and also perform the following operations:
collecting hardware identification and equipment coordinates of each Bluetooth access control equipment, and acquiring a plurality of sample position coordinates and corresponding sample environment influence factors;
and training a preset normal distribution self-learning model according to the sample position coordinates and the corresponding sample environment influence factors to obtain an automatic learning model.
Further, the processor 1001 may call the bluetooth-based positioning door opening program stored in the memory 1005, and also perform the following operations:
and training the automatic learning model according to the hardware identification of each Bluetooth access control device, the current position coordinate, the current environment influence factor and the target hardware identification so as to realize the inertial connection of the automatic learning model.
According to the scheme, the nearest Bluetooth access control equipment is determined by the current position coordinates and the current environment influence factors through the automatic learning model according to the hardware identification based on each Bluetooth access control equipment, the hardware identification of the determined Bluetooth access control equipment is used as the target hardware identification, and the target Bluetooth access control equipment is located through the target hardware identification, so that the target Bluetooth access control equipment is opened, the nearest Bluetooth access control equipment is determined by combining the current environment influence factors, the nearest Bluetooth access control equipment can be determined more accurately, the phenomenon of opening wrong access control is avoided, and the user experience is improved.
Based on the hardware structure, the embodiment of the positioning door opening method based on the Bluetooth is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a bluetooth-based positioning door opening method according to a first embodiment of the present invention.
In a first embodiment, the bluetooth-based positioning door opening method includes the following steps:
s10: and scanning hardware identifiers of each Bluetooth access control device in a preset range.
It should be noted that, after the mobile terminal starts the bluetooth function, the hardware identifier of each bluetooth device within the preset range can be scanned, and the hardware identifier of the bluetooth access control device is usually different from other bluetooth devices, so that the hardware identifier of each bluetooth access control device within the preset range can be obtained through scanning.
It can be understood that, for the bluetooth function, there is a certain range limitation, and the preset range is the range that the bluetooth function can cover.
In a specific implementation, the hardware identifier is a unique identifier that can characterize a bluetooth access control device, for example: MAC address, etc., which is not limited in this embodiment.
S20: and acquiring the current position coordinate and acquiring the current environment influence factor.
It should be noted that the current position coordinate is a coordinate of a position where the mobile terminal is located, and in a specific implementation, the current position coordinate is obtained through GPS positioning in a relatively simple manner, so that whether the GPS positioning function is normal or not can be determined first, and when the GPS positioning function is normal, the current position coordinate is obtained through GPS positioning; when the GPS positioning function is abnormal, the received signal strength of each Bluetooth access control device is obtained, the current position coordinate is determined through a three-point positioning algorithm according to the coordinate of each Bluetooth access control device and the received signal strength, specifically, the received signal strength can reflect the distance under a certain condition, therefore, the received signal strength is taken as the distance, and then the current position coordinate can be determined through the three-point positioning algorithm by combining the coordinate of each Bluetooth access control device.
It can be understood that the current environmental influence factor is an influence factor similar to weather, such as: the influence of the rainstorm weather and the sunny weather on the bluetooth is different, so that the current environment influencing factor also needs to be acquired while the current position coordinate is acquired, and specifically, the current environment influencing factor can be acquired through a network.
S30: and determining the Bluetooth access control equipment with the nearest distance through an automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor.
In specific implementation, the automatic learning model is provided with hardware identifiers and device coordinates of different bluetooth access control devices, so that device coordinates corresponding to the hardware identifiers of the bluetooth access control devices can be determined through the automatic learning model, and the distance between each device coordinate and the current position coordinate is calculated through the automatic learning model based on the current environment influence factors so as to determine the bluetooth access control device with the closest distance.
S40: and taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to open the door of the target Bluetooth access control equipment.
It should be noted that after the target hardware identifier is determined, the target bluetooth access control device can be located through the target hardware identifier, so that a start instruction is sent to the target bluetooth access control device, and the target bluetooth access control device opens the door after receiving the start instruction.
The nearest bluetooth entrance guard equipment of distance is confirmed through the automatic learning model to current position coordinate and current environment influence factor through the hardware identification based on each bluetooth entrance guard equipment to this embodiment, regards the hardware identification of the bluetooth entrance guard equipment of confirming as the target hardware identification, through target hardware identification location target bluetooth entrance guard equipment, so that target bluetooth entrance guard equipment opens the door, has combined current environment influence factor to confirm the nearest bluetooth entrance guard equipment of distance, can confirm more accurately apart from nearest bluetooth entrance guard equipment, has avoided opening the phenomenon of wrong entrance guard, has improved user experience.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the bluetooth-based positioning door opening method according to the present invention, and the second embodiment of the bluetooth-based positioning door opening method according to the present invention is proposed based on the embodiment shown in fig. 2.
In the second embodiment, step S30 includes:
s31: and judging whether the current network state is normal.
It should be noted that, determining whether the current network state is normal is to determine whether the network can be connected.
S32: and when the current network state is abnormal, acquiring a local automatic learning model, and determining the Bluetooth access control equipment with the nearest distance through the acquired automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor.
It can be understood that when the current network state is abnormal, that is, when the connection to the network cannot be performed, the local automatic learning model of the mobile terminal can be obtained, and at this time, the bluetooth access control device closest to the current network state can be determined through the obtained automatic learning model based on the hardware identifier of each bluetooth access control device, the current position coordinate and the current environment influence factor.
In order to ensure that the mobile terminal has the automatic learning model locally, the automatic learning model can be stored locally in the mobile terminal in advance.
Of course, when the current network state is normal, that is, when the network can be connected, the hardware identifier of each bluetooth access control device, the current position coordinate and the current environment influence factor can be sent to the server, so that the server determines the nearest bluetooth access control device based on the hardware identifier of each bluetooth access control device, the current position coordinate and the current environment influence factor are passed through the automatic learning model stored on the mobile terminal, and feeds back the determined hardware identifier of the bluetooth access control device.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of the bluetooth-based positioning door opening method according to the present invention, and the third embodiment of the bluetooth-based positioning door opening method according to the present invention is proposed based on the embodiment shown in fig. 2.
In the third embodiment, before the step S10, the method further includes:
s01: and collecting hardware identification and equipment coordinates of each Bluetooth access control equipment, and acquiring a plurality of sample position coordinates and corresponding sample environment influence factors.
It should be noted that the device coordinate is a longitude and latitude coordinate of a position where the bluetooth access control device is located, and certainly, other coordinates may also be used, which is not limited in this embodiment.
Similarly, the sample position coordinates may be obtained by GPS positioning, or when the sample position coordinates cannot be obtained by GPS positioning, the sample position coordinates may be determined by a three-point positioning algorithm.
S02: and training a preset normal distribution self-learning model according to the sample position coordinates and the corresponding sample environment influence factors to obtain an automatic learning model.
It can be understood that, in order to obtain the automatic learning model, in this embodiment, the preset normal distribution self-learning model may be trained according to the sample position coordinates and the corresponding sample environment influence factors to obtain the automatic learning model.
In specific implementation, the training of the preset normal distribution self-learning model can be implemented locally at the mobile terminal, and of course, the hardware identifier, the device coordinate, the sample position coordinate and the corresponding sample environment influence factor of each bluetooth access control device can also be sent to the server, and the server trains the preset normal distribution self-learning model according to the sample position coordinate and the corresponding sample environment influence factor to obtain the automatic learning model.
In order to implement the inertial connection of the automatic learning model, in this embodiment, after step S40, the automatic learning model may be trained according to the hardware identifier of each bluetooth access control device, the current position coordinate, the current environmental influence factor, and the target hardware identifier, so as to implement the inertial connection of the automatic learning model.
In addition, an embodiment of the present invention further provides a positioning door opener based on bluetooth, and referring to fig. 5, the positioning door opener based on bluetooth includes:
the identifier scanning module 510 is configured to scan hardware identifiers of each bluetooth access control device within a preset range;
a parameter obtaining module 520, configured to obtain a current position coordinate and obtain a current environmental influence factor;
the device determining module 530 is configured to determine, based on the hardware identifier of each bluetooth access control device, the current position coordinate, and the current environmental influence factor, a bluetooth access control device closest to the current position coordinate through an automatic learning model;
and the positioning door opening module 540 is used for taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to enable the target Bluetooth access control equipment to open a door.
The nearest bluetooth entrance guard equipment of distance is confirmed through the automatic learning model to current position coordinate and current environment influence factor through the hardware identification based on each bluetooth entrance guard equipment to this embodiment, regards the hardware identification of the bluetooth entrance guard equipment of confirming as the target hardware identification, through target hardware identification location target bluetooth entrance guard equipment, so that target bluetooth entrance guard equipment opens the door, has combined current environment influence factor to confirm the nearest bluetooth entrance guard equipment of distance, can confirm more accurately apart from nearest bluetooth entrance guard equipment, has avoided opening the phenomenon of wrong entrance guard, has improved user experience. Each module in the apparatus may be configured to implement each step in the method, and is not described herein again.
In addition, an embodiment of the present invention further provides a storage medium, where a bluetooth-based positioning door opening program is stored in the storage medium, and when executed by a processor, the bluetooth-based positioning door opening program implements the following operations:
scanning hardware identifiers of each Bluetooth access control device in a preset range;
acquiring a current position coordinate and acquiring a current environment influence factor;
determining the Bluetooth access control equipment with the closest distance through an automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor;
and taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to open the door of the target Bluetooth access control equipment.
The bluetooth-based positioning and door opening program in the storage medium is executed by the processor to implement the steps of the method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be substantially or partially embodied in the form of a software product, where the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk, hard disk, cloud server, etc.) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a mobile terminal, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A Bluetooth-based positioning door opening method is characterized by comprising the following steps:
scanning hardware identifiers of each Bluetooth access control device in a preset range;
acquiring a current position coordinate and acquiring a current environment influence factor;
determining the Bluetooth access control equipment with the closest distance through an automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor;
and taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to open the door of the target Bluetooth access control equipment.
2. The bluetooth-based positioning door opening method according to claim 1, wherein the determining a nearest bluetooth door access device through an automatic learning model based on the hardware identifier of each bluetooth door access device, the current location coordinates, and the current environmental impact factors comprises:
and determining the equipment coordinates corresponding to the hardware identifiers of the Bluetooth access control equipment through an automatic learning model, and calculating the distance between each equipment coordinate and the current position coordinate based on the current environment influence factors through the automatic learning model so as to determine the Bluetooth access control equipment with the closest distance.
3. The bluetooth-based positioning door opening method according to claim 1, wherein the determining a nearest bluetooth door access device through an automatic learning model based on the hardware identifier of each bluetooth door access device, the current location coordinates, and the current environmental impact factors comprises:
judging whether the current network state is normal or not;
and when the current network state is abnormal, acquiring a local automatic learning model, and determining the Bluetooth access control equipment with the nearest distance through the acquired automatic learning model based on the hardware identification of each Bluetooth access control equipment, the current position coordinate and the current environment influence factor.
4. The bluetooth-based positioning door opening method according to claim 3, wherein after determining whether the current network status is normal, the method further comprises:
when the current network state is normal, the hardware identification of each Bluetooth access control device, the current position coordinate and the current environment influence factor are sent to the server, so that the server determines the Bluetooth access control device closest to the current position coordinate and the current environment influence factor based on the hardware identification of each Bluetooth access control device, and feeds back the determined hardware identification of the Bluetooth access control device.
5. The Bluetooth-based positioning door opening method according to any one of claims 1 to 4, wherein the obtaining of the current position coordinates specifically comprises:
judging whether the GPS positioning function is normal or not;
when the GPS positioning function is normal, acquiring the current position coordinate through GPS positioning;
and when the GPS positioning function is abnormal, the received signal intensity of each Bluetooth access control device is acquired, and the current position coordinate is determined through a three-point positioning algorithm according to the coordinate of each Bluetooth access control device and the received signal intensity.
6. The Bluetooth-based positioning door opening method according to any one of claims 1 to 4, wherein before scanning hardware identifiers of Bluetooth access control devices within a preset range, the method further comprises:
collecting hardware identification and equipment coordinates of each Bluetooth access control equipment, and acquiring a plurality of sample position coordinates and corresponding sample environment influence factors;
and training a preset normal distribution self-learning model according to the sample position coordinates and the corresponding sample environment influence factors to obtain an automatic learning model.
7. The Bluetooth-based positioning door opening method according to any one of claims 1 to 4, wherein after determining the Bluetooth access control device with the closest distance through an automatic learning model based on the hardware identifier of each Bluetooth access control device, the current position coordinates and the current environment influence factors, the method further comprises:
and training the automatic learning model according to the hardware identification of each Bluetooth access control device, the current position coordinate, the current environment influence factor and the target hardware identification so as to realize the inertial connection of the automatic learning model.
8. The utility model provides a location door opener based on bluetooth, its characterized in that, location door opener based on bluetooth includes:
the identification scanning module is used for scanning hardware identifications of all Bluetooth access control devices in a preset range;
the parameter acquisition module is used for acquiring the current position coordinates and acquiring the current environment influence factors;
the device determining module is used for determining the Bluetooth access control device closest to the Bluetooth access control device through an automatic learning model based on the hardware identifier of each Bluetooth access control device, the current position coordinate and the current environment influence factor;
and the positioning door opening module is used for taking the determined hardware identifier of the Bluetooth access control equipment as a target hardware identifier, and positioning the target Bluetooth access control equipment through the target hardware identifier so as to enable the target Bluetooth access control equipment to open the door.
9. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor and a bluetooth based positioning door opening program stored on the memory and executable on the processor, the bluetooth based positioning door opening program being configured to implement the steps of the bluetooth based positioning door opening method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon a bluetooth-based positioning door opening program, and the bluetooth-based positioning door opening program, when executed by a processor, implements the steps of the bluetooth-based positioning door opening method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010118341.4A CN111325880A (en) | 2020-02-26 | 2020-02-26 | Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010118341.4A CN111325880A (en) | 2020-02-26 | 2020-02-26 | Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111325880A true CN111325880A (en) | 2020-06-23 |
Family
ID=71167194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010118341.4A Pending CN111325880A (en) | 2020-02-26 | 2020-02-26 | Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111325880A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111901788A (en) * | 2020-08-27 | 2020-11-06 | 深圳创维-Rgb电子有限公司 | Bluetooth connection method, device, equipment and storage medium |
CN112053484A (en) * | 2020-08-25 | 2020-12-08 | 青岛聚好联科技有限公司 | Door opening method and device of access control equipment, electronic equipment and medium |
CN112700575A (en) * | 2021-03-23 | 2021-04-23 | 成都宜泊信息科技有限公司 | Vehicle entrance and exit management method and system, electronic device and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101381042A (en) * | 2008-08-19 | 2009-03-11 | 上海新时达电气股份有限公司 | Elevator locating method based on RFID technology |
CN101526604A (en) * | 2008-03-07 | 2009-09-09 | 财团法人工业技术研究院 | device and method for converting signal intensity of wireless positioning system |
CN102779322A (en) * | 2012-06-29 | 2012-11-14 | 西安理工大学 | Thermal power plant comprehensive scheduling method based on environment protection and economical benefit |
CN103561463A (en) * | 2013-10-24 | 2014-02-05 | 电子科技大学 | RBF neural network indoor positioning method based on sample clustering |
CN103929807A (en) * | 2014-04-28 | 2014-07-16 | 上海和视环境艺术工程有限公司 | Method for precisely positioning device coordinate based on low power consumption |
CN104053230A (en) * | 2014-06-04 | 2014-09-17 | 浙江大学 | Distance measurement method based on Bluetooth protocol |
TW201603519A (en) * | 2014-07-03 | 2016-01-16 | 啟碁科技股份有限公司 | Method of verifying beam-forming function and related communication device |
CN105530702A (en) * | 2016-01-25 | 2016-04-27 | 杭州电子科技大学 | Wireless sensing network mobile node positioning method based on self-organizing mapping |
CN105574975A (en) * | 2016-02-01 | 2016-05-11 | 深圳市亲邻科技有限公司 | Entrance guard opening method and entrance guard device and system |
US20170046889A1 (en) * | 2015-08-14 | 2017-02-16 | Skidata Ag | Method and system for access control |
CN109862514A (en) * | 2019-01-21 | 2019-06-07 | 上海美迪索科电子科技有限公司 | A kind of bluetooth positioning system, method, apparatus and storage medium |
CN110070652A (en) * | 2019-04-26 | 2019-07-30 | 广东昇辉电子控股有限公司 | A kind of access control method, system, electronic equipment and storage medium |
-
2020
- 2020-02-26 CN CN202010118341.4A patent/CN111325880A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526604A (en) * | 2008-03-07 | 2009-09-09 | 财团法人工业技术研究院 | device and method for converting signal intensity of wireless positioning system |
CN101381042A (en) * | 2008-08-19 | 2009-03-11 | 上海新时达电气股份有限公司 | Elevator locating method based on RFID technology |
CN102779322A (en) * | 2012-06-29 | 2012-11-14 | 西安理工大学 | Thermal power plant comprehensive scheduling method based on environment protection and economical benefit |
CN103561463A (en) * | 2013-10-24 | 2014-02-05 | 电子科技大学 | RBF neural network indoor positioning method based on sample clustering |
CN103929807A (en) * | 2014-04-28 | 2014-07-16 | 上海和视环境艺术工程有限公司 | Method for precisely positioning device coordinate based on low power consumption |
CN104053230A (en) * | 2014-06-04 | 2014-09-17 | 浙江大学 | Distance measurement method based on Bluetooth protocol |
TW201603519A (en) * | 2014-07-03 | 2016-01-16 | 啟碁科技股份有限公司 | Method of verifying beam-forming function and related communication device |
US20170046889A1 (en) * | 2015-08-14 | 2017-02-16 | Skidata Ag | Method and system for access control |
CN105530702A (en) * | 2016-01-25 | 2016-04-27 | 杭州电子科技大学 | Wireless sensing network mobile node positioning method based on self-organizing mapping |
CN105574975A (en) * | 2016-02-01 | 2016-05-11 | 深圳市亲邻科技有限公司 | Entrance guard opening method and entrance guard device and system |
CN109862514A (en) * | 2019-01-21 | 2019-06-07 | 上海美迪索科电子科技有限公司 | A kind of bluetooth positioning system, method, apparatus and storage medium |
CN110070652A (en) * | 2019-04-26 | 2019-07-30 | 广东昇辉电子控股有限公司 | A kind of access control method, system, electronic equipment and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112053484A (en) * | 2020-08-25 | 2020-12-08 | 青岛聚好联科技有限公司 | Door opening method and device of access control equipment, electronic equipment and medium |
CN111901788A (en) * | 2020-08-27 | 2020-11-06 | 深圳创维-Rgb电子有限公司 | Bluetooth connection method, device, equipment and storage medium |
CN111901788B (en) * | 2020-08-27 | 2023-09-26 | 深圳创维-Rgb电子有限公司 | Bluetooth connection method, device, equipment and storage medium |
CN112700575A (en) * | 2021-03-23 | 2021-04-23 | 成都宜泊信息科技有限公司 | Vehicle entrance and exit management method and system, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111325880A (en) | Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium | |
CN107192390B (en) | Localization method, device and the terminal device of shared vehicle | |
CN104980997B (en) | Network access method and mobile communication terminal | |
CN104918298B (en) | A kind of network connection control method, device and mobile terminal | |
CN104572001B (en) | Open method and the mobile terminal of split screen | |
CN104038261B (en) | Location information management between multiple equipment and sharing method and relevant device | |
CN103024929A (en) | Mobile terminal and method for connecting wireless network based on mobile terminal | |
CN109508527A (en) | A kind of method that realizing that different terminals account is unified, terminal and server | |
CN107544272A (en) | terminal control method, device and storage medium | |
CN103997771A (en) | System and method for achieving application and message triggering based on wireless access recognition technology | |
EP1940124A2 (en) | Mobile communication terminal, and communication method for communication of location based message content | |
CN102685670A (en) | Processing method for automatically replying incoming call by using short message based on mobile phone and mobile phone | |
CN107150933B (en) | Method, device, server and storage medium for determining elevator floor | |
CN105847553A (en) | Incoming call management method and system | |
CN105682009A (en) | Mobile terminal and method for managing wireless signals | |
CN107959920B (en) | Wireless network-based sign-in method and equipment | |
CN105656894A (en) | Main control intelligent terminal, controlled intelligent terminal and monitoring method | |
CN105282830A (en) | Network access method and mobile terminal | |
CN107708064B (en) | Method and system for positioning mobile phone by vehicle-mounted equipment | |
CN106254448A (en) | A kind of information getting method and device | |
CN111050380A (en) | Hotspot opening method and device, terminal equipment and storage medium | |
CN108494951B (en) | Unread data acquisition method, unread data acquisition device, unread data acquisition equipment and storage medium | |
CN109041174A (en) | A kind of method for connecting network and SIM card | |
CN111654898B (en) | Information display method and device, storage medium and terminal | |
CN108632957B (en) | Network connection method, equipment and storage medium based on voice control |
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: 20200623 |
|
RJ01 | Rejection of invention patent application after publication |