CN107248208B - Access control method, terminal, access control equipment and storage device - Google Patents

Access control method, terminal, access control equipment and storage device Download PDF

Info

Publication number
CN107248208B
CN107248208B CN201710261695.2A CN201710261695A CN107248208B CN 107248208 B CN107248208 B CN 107248208B CN 201710261695 A CN201710261695 A CN 201710261695A CN 107248208 B CN107248208 B CN 107248208B
Authority
CN
China
Prior art keywords
access control
control equipment
unlocking
service data
terminal
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.)
Active
Application number
CN201710261695.2A
Other languages
Chinese (zh)
Other versions
CN107248208A (en
Inventor
吴兆云
周维龙
王慧鑫
袁龙泉
付红桃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Ningbo Ltd
Original Assignee
JRD Communication Shenzhen 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 JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201710261695.2A priority Critical patent/CN107248208B/en
Publication of CN107248208A publication Critical patent/CN107248208A/en
Application granted granted Critical
Publication of CN107248208B publication Critical patent/CN107248208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an access control method, a terminal, access control equipment and a storage device, wherein the access control method receives service data broadcasted by preset access control equipment in a set range; and sending the acquired unlocking information to the preset access control equipment to control the preset access control equipment to unlock according to the unlocking information. By using the access control method, the terminal detects the service data broadcasted by the access control equipment, and then sends the unlocking instruction to the access control equipment, so as to control the unlocking of the access control equipment, the access control equipment can not be connected with a wifi network, as long as the service data can be broadcasted, and the user can remotely unlock and control the access control equipment, thereby improving the flexibility and stability of the control of the access control equipment.

Description

Access control method, terminal, access control equipment and storage device
Technical Field
The invention relates to the technical field of communication, in particular to an access control method, a terminal, access control equipment and a storage device.
Background
With the development of intelligent terminals and network technologies, it has become possible to control home devices, vehicle-mounted devices, and the like by using an intelligent terminal.
In traditional access control system, the user can only open access control equipment through modes such as key, fingerprint or password, this kind of mode must the user reach access control equipment and just can carry out, even if there is wireless control function's access control equipment, also need the user to go the operation that the initiative execution opened access control equipment, furthermore, among the access control system who utilizes intelligent terminal and access control equipment constitution among the prior art, need access control equipment connecting network just can go on, if the network breaks down then can't open access control system, very be inconvenient to the user.
Disclosure of Invention
The invention aims to provide an access control method, a terminal, access control equipment and a storage device, which can improve the flexibility and stability of access control equipment control.
In order to achieve the above object, the present invention provides a method for controlling access of a terminal, including:
receiving service data broadcasted by preset access control equipment within a set range;
and sending the acquired unlocking information to the preset access control equipment to control the preset access control equipment to unlock according to the unlocking information.
The service data is broadcasted by the preset access control equipment through a wifi perception module of the preset access control equipment;
receiving the service data of presetting entrance guard's equipment broadcast in the settlement scope, including:
establishing a physical layer connection with at least one detected access control device with a wifi sensing module;
respectively acquiring the name of the at least one access control device through the physical layer connection;
screening out the access control equipment with the same name as a preset name from the at least one access control equipment;
and receiving the service data broadcasted by the screened access control equipment.
Wherein, after receiving the service data of presetting the broadcast of entrance guard's equipment in the settlement scope, still include:
acquiring the MAC address of the preset access control equipment from the service data;
judging whether the MAC address is consistent with a preset MAC address or not;
and if so, executing the step of sending the acquired unlocking information to the preset access control equipment.
Wherein, to preset entrance guard's equipment sends the unblock information that acquires, include:
acquiring unlocking information input by a user, and encrypting the unlocking information;
and sending the encrypted unlocking information to the preset access control equipment.
Wherein the unlocking information at least comprises an unlocking password and unlocking time;
after to preset entrance guard's equipment sends the unblock information that acquires, include:
judging whether password correct information fed back by the access control equipment is received;
if so, prompting the preset access control equipment to unlock according to the unlocking time; otherwise, prompting the unlocking failure.
Wherein, after receiving the service data of presetting the broadcast of entrance guard's equipment in the settlement scope, still include:
calculating the distance between the terminal and the preset access control equipment by using the service data, and prompting the distance to a user;
wherein, utilize service data calculation terminal with predetermine the distance between the entrance guard's equipment, include:
judging whether the service data contains round trip delay data or not;
if so, calculating the distance between the terminal and the preset access control equipment by using the round-trip delay data;
if not, acquiring received signal strength indicating data from the service data, and calculating the distance between the terminal and the preset access control equipment by using the received signal strength indicating data.
On the other hand, the invention provides an access control method of access control equipment, which comprises the following steps:
broadcasting self service data within a set range;
and receiving unlocking information sent by the terminal, and unlocking according to the unlocking information.
In another aspect, the present invention further provides a terminal, including:
the device comprises a processor, a memory and a wifi chip;
the processor is respectively coupled with the memory and the wifi chip;
the memory is used for storing an operating instruction executed by the processor and an operating system;
the wifi chip is used for detecting service data broadcasted by the access control equipment;
the processor is configured to perform the following operations:
receiving service data broadcasted by preset access control equipment within a set range;
and sending the acquired unlocking information to the preset access control equipment to control the preset access control equipment to unlock according to the unlocking information.
On the other hand, the invention also provides an access control device, which comprises:
the system comprises a processor, a memory and a wifi perception module;
the processor is respectively coupled with the memory and the wifi perception module;
the memory is used for storing an operating instruction executed by the processor and an operating system;
the wifi perception module is used for broadcasting self service data;
the processor is configured to perform the following operations:
broadcasting self service data within a set range;
and receiving unlocking information sent by the terminal, and unlocking according to the unlocking information.
In another aspect, the present invention further provides a storage device, in which program data is stored, and the program data can be executed to implement the access control method of the terminal; or the access control method of the access control device.
Has the advantages that: different from the situation of the prior art, the method receives the service data broadcasted by the preset access control equipment within the set range; and sending the acquired unlocking information to the preset access control equipment to control the preset access control equipment to unlock according to the unlocking information. According to the method, the access control equipment can broadcast the service data of the access control equipment, so that the terminal can detect the access control equipment, unlocking control can be performed on the detected access control equipment when the access control equipment is not close to the access control equipment, network connection is not needed for access control on the access control equipment conveniently, stability is improved, a user does not need to be close to the access control equipment to control the access control equipment, and flexibility of the access control method is improved.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of an access control method of a terminal according to the present invention;
FIG. 2 is a schematic flow chart diagram illustrating one embodiment of step S101 in FIG. 1;
FIG. 3 is a schematic flow chart diagram illustrating one embodiment of step S102 in FIG. 1;
fig. 4 is a flowchart illustrating a second embodiment of a method for controlling access by a terminal according to the present invention;
fig. 5 is a schematic flow chart of a third embodiment of the access control method of the terminal of the present invention;
FIG. 6 is a schematic flow chart illustrating a fourth embodiment of a method for controlling access of a terminal according to the present invention;
FIG. 7 is a schematic flow chart diagram illustrating one embodiment of step S110 in FIG. 6;
fig. 8 is a schematic flow chart of a first embodiment of the access control method of the access control device of the present invention;
FIG. 9 is a block diagram of an embodiment of a terminal according to the present invention;
fig. 10 is a schematic structural diagram of an embodiment of the access control device of the present invention;
fig. 11 is a schematic structural diagram of an embodiment of the access control system of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the access control method, the terminal, the access control device and the storage apparatus provided by the present invention are further described in detail below with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of a terminal access control method according to the present invention, and as shown in fig. 1, the control method may include the following steps:
s101, receiving service data broadcasted by preset access control equipment within a set range.
The preset access control device broadcasts the service data of the preset access control device outwards in real time, and it can be understood that the preset access control device broadcasts the service data of the preset access control device outwards through the preset access control device, so that certain distance limitation exists when the service data are broadcasted, and the limited distance is the set range. In this embodiment, the size of the setting range is related to the communication performance of the communication module, which is used for broadcasting service data, of the preset access control device, and the stronger the communication performance is, the larger the setting range corresponding to the communication module is. Further, the present invention may have an association with the presence or absence of a signal interference device or the like in the periphery.
The terminal detects the service data broadcasted by the preset access control equipment, and can receive the service data when detecting the service data broadcasted by the preset access control equipment.
And S102, sending the obtained unlocking information to a preset access control device.
And the terminal sends unlocking information to the preset access control equipment corresponding to the received service data. The unlocking information is set by a user and used for controlling the preset access control equipment to unlock.
In this embodiment, the unlocking information is unlocking information input by a user through an input interface of the terminal or unlocking information pre-stored in the terminal by the user. And after the terminal acquires the unlocking information, the unlocking information is sent to the preset access control equipment, so that the access control equipment can unlock according to the content of the unlocking information.
After the embodiment can enable the terminal to detect the access control equipment, the detected access control equipment can be unlocked and controlled when the access control equipment is not close to the terminal, so that a user does not need to be close to the access control equipment to control the access control equipment, and the flexibility of the access control method is improved.
In this embodiment, the preset access control device is an access control device with a wifi sensing module, and the preset access control device broadcasts service data of the preset access control device through the wifi sensing module. The terminal carries out the interaction of information through the wifi perception module of predetermineeing entrance guard's equipment, need not the connecting network, can further improve the stability to predetermineeing entrance guard's equipment unblock, does not receive the influence of network environment, and the communication scope that the settlement scope is wifi perception module promptly.
It can be understood that, it is the entrance guard's equipment that is set by the user to predetermine entrance guard's equipment, but any one possesses wifi perceiving module's entrance guard's equipment all can broadcast its self service data, if a plurality of entrance guard's equipment that possess wifi perceiving module are not far apart, and all during the service data of outside broadcast self, the terminal can detect the broadcast service data of a plurality of entrance guard's equipment, the terminal need judge the broadcast service data of a plurality of entrance guard's equipment that detect, confirm the broadcast service data of predetermineeing entrance guard's equipment from a plurality of service data that detect.
Further, referring to fig. 2, the step S101 may include the steps of:
s1011, establishing physical layer connection with the detected at least one access control device with the wifi perception module.
When the terminal detects the service data broadcasted by the access control equipment, the terminal firstly establishes physical layer connection, namely bottom layer connection, with the access control equipment. At this time, the terminal does not receive the service data broadcasted by the access control device, but can acquire the service name of each detected service data, namely the name of each access control device.
And S1012, respectively obtaining the name of at least one access control device through physical layer connection.
Through step S1011, after the physical layer connection between the terminal and the access control device is established, the service name of each detected service data can be obtained, that is, the name of each access control device can be obtained.
S1013, screening out the entrance guard equipment with the same name as the preset name from the at least one entrance guard equipment.
At the moment, the access control equipment is selected, and then the preset access control equipment is determined. If the service data broadcasted by only one access control device is detected, comparing the name of the access control device with the name of a preset access control device, judging whether the name of the access control device is the same as the name of the preset access control device or not, if so, indicating that the detected access control device is the preset access control device, and continuing to execute the subsequent steps; if not, the detected access control equipment is not the preset access control equipment, and the subsequent flow is ended.
If the service data of two or more than two entrance guard equipment broadcastings that detect, then screen the name of two or more than two entrance guard equipment that acquire, will screen out the same with the name of presetting entrance guard equipment, the entrance guard equipment that the name of screening is the same with the name of presetting entrance guard equipment is presetting entrance guard equipment promptly.
And S1014, receiving the service data broadcasted by the screened access control equipment.
After the preset access control device is determined in step S1013, the service data broadcasted by the preset access control device is received. It can be understood that the terminal will not receive the service data broadcast by other access control devices.
And judging by detecting the name of the access control equipment corresponding to the service data, and further determining the preset access control equipment.
Further, referring to fig. 3, step S102 may include the following steps:
and S1021, acquiring unlocking information input by a user, and encrypting the unlocking information.
In this embodiment, after the service data broadcasted by the preset access control device is obtained in step S101, the user inputs the currently input unlocking information. In other embodiments, the user may input the unlocking information in advance, store the input unlocking information on the terminal, and obtain the unlocking information input by the user and stored on the terminal after the service data broadcasted by the preset access control device is obtained in step S101. In order to improve the security of unlocking the access control device, the obtained unlocking information may be encrypted in this embodiment.
And S1022, sending the encrypted unlocking information to the preset access control equipment.
And sending the unlocking information encrypted in the step S1021 to a preset access control device. It is worth noting that the encryption algorithm for encrypting the unlocking information is consistent with the encryption algorithm at the preset access control device, so that the preset access control device can unlock the encrypted unlocking information sent by the terminal, and further obtain the related data in the unlocking information.
Further, the unlocking information may at least include an unlocking password and unlocking time, wherein the unlocking password is used for verifying the unlocking information by the preset access control device, the preset access control device can be controlled to unlock according to the unlocking information only after the unlocking password is verified, and otherwise, the preset access control device cannot be controlled to unlock according to the unlocking information; the unlocking time is a parameter for controlling the preset access control device to unlock, for example, controlling the preset access control device to unlock every few minutes after receiving the unlocking information, and presetting the unlocking duration of the access control device.
From this, after presetting entrance guard's equipment and receiving the unblock information that the terminal sent, can feed back the processing result to the terminal according to the processing to unblock information to the user knows. Therefore, the first embodiment of the access control method shown in fig. 1 to 3 is improved. Referring to fig. 4, fig. 4 is a schematic flowchart of a second embodiment of the access control method of the terminal of the present invention, and as shown in fig. 4, after step S102, the method of the present embodiment may further include the following steps:
s103, judging whether correct password information fed back by the access control equipment is received.
After the terminal sends unlocking information to the preset access control equipment, whether correct password information sent back by the preset access control equipment is received or not is judged. The password correct information is used for informing a user whether an unlocking password in the unlocking information is correct or not, and whether the door access equipment is correctly unlocked according to unlocking time in the unlocking information or not is preset.
And S104, prompting the preset access control equipment to unlock according to the unlocking time.
If the correct password information sent by the preset access control device is received, the sent unlocking information is received by the preset access control device, the unlocking password in the unlocking information is successfully checked, and the preset access control device can be unlocked according to the unlocking time in the unlocking information. In this embodiment, the prompt indicating that the corresponding unlocking password is correct may be displayed on the terminal interface, or the user may be prompted in a voice manner. In other embodiments, other methods may also be used to prompt the user, and the present invention is not limited in particular.
And S105, prompting the unlocking failure.
If the correct password information is not received, the preset access control equipment cannot be unlocked according to the unlocking time in the unlocking information, and failure in unlocking is prompted. If the correct password information is not received, the correct password information may be received, or a feedback message sent by a preset access control device is not received. If the received password error information is the password error information, the unlocking password is wrong, and the unlocking password error is prompted to the user; if the feedback message sent by the preset access control equipment is not received, the preset access control equipment possibly has a fault for judging the unlocking password, and the fault is prompted to a user.
The unlocking condition of the preset access control equipment can be known by the user.
Further, since the names of the access control devices are set by users, the same names of a plurality of access control devices may occur, and in addition, the access control devices may be false access control devices. Therefore, the first embodiment of the access control method shown in fig. 1 to 3 is improved. Referring to fig. 5, fig. 5 is a schematic flowchart of a third embodiment of the access control method of the terminal of the present invention, and as shown in fig. 5, after step S101, the method of the present embodiment may further include the following steps:
and S106, obtaining the MAC address of the preset access control equipment from the service data.
Because the names of the plurality of access control devices may be the same or the access control devices may be false, when the terminal acquires the service data of the access control device with the name the same as the preset name in step S101, the service data of other access control devices with the name the same as the preset name but not the preset access control device or the service data of the false access control device may be received. Therefore, the step further judges the access control equipment through the MAC address of the preset access control equipment so as to further determine the preset access control equipment.
The MAC address is a unique identifier of the device, that is, the MAC address of each access control device is unique and different from each other, so that it can be determined whether the access control device corresponding to the detected service data is a preset access control device through the MAC address. And acquiring the MAC address of the corresponding access control equipment from the detected service data.
And S107, judging whether the MAC address is consistent with the preset MAC address.
Comparing the MAC address obtained in step S106 with the preset MAC address, and determining whether the MAC address is consistent with the preset MAC address, where it can be understood that the preset MAC address is the MAC address of the preset access control device pre-stored on the terminal.
It can be understood that, if only service data of one access control device is received, the MAC address of the access control device is obtained from the service data, the MAC address is compared with a preset MAC address, whether the MAC address is consistent with the preset MAC address is determined, and if so, the access control device corresponding to the MAC address is the preset access control device. If service data of a plurality of access control devices with the same name are received, corresponding MAC addresses are respectively obtained from the service data, one MAC address which is the same as a preset MAC address is screened out from the obtained MAC addresses, and the access control device corresponding to the MAC address is the preset access control device.
And S108, sending the obtained unlocking information to a preset access control device.
If the obtained MAC address is consistent with the preset MAC address as a result of the determination in step S107, it indicates that the access control device is the preset access control device, and then the subsequent steps are performed to send the obtained unlocking information to the preset access control device. At this moment, the prompt can also be used for detecting the preset access control equipment.
And S109, prompting the MAC address error.
If the judgment result in the step S107 is that the obtained MAC address is not consistent with the preset MAC address, it indicates that no preset access control device is present in the detected access control device, and then the user is prompted that the detected MAC address of the access control device is incorrect, and the process is ended.
This embodiment can carry out further affirmation to the entrance guard's equipment of surveying, avoids sending unlocking information to other entrance guard's equipment, guarantees unlocking information safety to and improve the preparation degree that the entrance guard's equipment was predetermine in the unblock.
Further, the first embodiment of the access control method shown in fig. 1 to 3 is improved. Referring to fig. 6, fig. 6 is a schematic flowchart of a fourth embodiment of the access control method of the terminal of the present invention, and as shown in fig. 6, after step S101, the method of the present embodiment may further include the following steps:
and S110, calculating the distance between the terminal and the preset access control equipment by using the service data, and prompting the distance to a user.
And calculating the distance between the terminal and the preset access control equipment so that the user can input proper unlocking information according to the distance. The user can be according to the distance of suggestion, reasonable setting unblock information to make preset entrance guard's equipment unblock after appropriate time, and keep appropriate unblock time. For example, if the distance between the terminal and the preset access control device is 20m, the user may set the unlocking information, so that the preset access control device is unlocked after 3 minutes, and the unlocking state is maintained for 1 minute.
Further, referring to fig. 7, the step S110 may include the following steps:
s1101, judging whether the service data contains round trip delay data.
After receiving the service data broadcasted by the preset access control device in step S101, searching whether the service data includes round trip delay data. Round-Trip Time (RTT) represents the total Time delay from when the sender sends data to when the sender receives an acknowledgement from the receiver.
And S1102, calculating the distance between the terminal and the preset access control equipment by using the round-trip delay data.
If the judgment result in the step S1101 is that the service data includes round-trip delay data, the round-trip delay data is obtained from the service data, the distance between the terminal and the preset access control device is calculated by using the round-trip delay data, and the distance is prompted to the user.
In this embodiment, the distance may be prompted to the user by displaying the prompt information on a display interface of the terminal to prompt the distance, or by voice broadcasting. In other embodiments, other ways of prompting the user may be adopted, and the present invention is not limited in particular.
S1103, obtaining the received signal strength indicating data from the service data, and calculating the distance between the terminal and the preset access control device by using the received signal strength indicating data.
If the determination result in the step S1101 is that the service data does not include the round trip delay data, a Received Signal Strength Indicator (RSSI) is obtained from the service data, and a distance between the terminal and the preset access control device is calculated according to the RSSI. The received signal intensity data represent the signal intensity of the preset access control equipment received by the terminal, and then the distance between the preset access control equipment and the terminal can be calculated according to the signal intensity.
In this embodiment, the distance between the terminal and the preset access control device is calculated by adopting a wifi transmission public model formula. The open model formula is:
d=10^((abs(RSSI)-A)/(10*n));
a and n are chip parameters of chips adopted on the terminal, chips of different brands and/or different models, and the corresponding A and n are different. In this embodiment, chips of different brands and/or different models are tested, so as to obtain corresponding experience values of a and n, the chips of different brands and/or different models and the corresponding experience values of a and n are stored in a list, during calculation, the brands and/or types of the chips on the terminal are judged, the corresponding experience values of a and n can be obtained after the brands and/or types of the chips are determined, and then the experience values of a and n are substituted into a public model formula, so that the distance d between the terminal and the preset access control device can be calculated. In the embodiment, in order to make the calculation result more accurate, the calculation value is not taken once, but the calculation is performed for multiple times, and the average value of the multiple calculations is taken; further, in this embodiment, a plurality of calculations are performed to obtain a plurality of calculation results, the maximum value and the minimum value in the plurality of calculation results are removed, the remaining results are averaged, a corresponding average value is obtained, and the average value is used as the distance d between the terminal and the preset access control device, which is finally calculated.
It can be understood that calculating the distance between the terminal and the preset access control device by using the public model formula is only one calculation method adopted in this embodiment, and in other embodiments, other calculation methods may also be adopted.
It can be understood that the second embodiment, the third embodiment and the fourth embodiment of the access control method of the terminal shown in fig. 4 to fig. 7 may be combined with each other to form a new implementation manner, and the specific content of each step is the same as that described in the second embodiment, the third embodiment and the fourth embodiment, and is not repeated herein; furthermore, the first, second, third and fourth embodiments may be combined to form an integrated implementation.
Referring to fig. 8, fig. 8 is a schematic flow chart of a first embodiment of a method for controlling an access control device according to the present invention, where the method includes the following steps:
s201, broadcasting its own service data in a set range.
In this embodiment, entrance guard's equipment possesses wifi perceiving module, and entrance guard's equipment passes through wifi perceiving module broadcast self service data. The access control equipment carries out information interaction with the terminal through the wifi perception module of the access control equipment, and does not need to be connected with a network. The set range is determined by the communication performance of the wifi perception module. The service data broadcasted by the access control device in the set range can be detected by the terminal in the set range and received.
S202, receiving unlocking information sent by the terminal, and unlocking according to the unlocking information.
And if the terminal detects and receives the service data broadcasted by the access control equipment, corresponding unlocking information is sent to the access control equipment, and the access control equipment unlocks according to the unlocking information after receiving the unlocking information.
It can be understood that, the terminal sends the unlocking information which may be encrypted unlocking information, and the access control device needs to decrypt the received unlocking information. Furthermore, the unlocking information at least comprises an unlocking password and unlocking time, the door control device can acquire the unlocking password and the unlocking time in the unlocking information after unlocking the unlocking information, the door control device verifies the unlocking password and judges whether the unlocking password is consistent with a preset password, if so, the unlocking password passes verification, and the door control device unlocks according to the unlocking time in the unlocking information. The unlock time may be a time for controlling how long the access control device is unlocked and remains unlocked.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of the terminal disclosed in the present invention, as shown in fig. 9, the terminal includes a processor 901, a memory 902 and a wifi chip 903; the processor 901 is coupled to the memory 902 and the wifi chip 903 respectively. The memory 902 is used for storing operating instructions and an operating system executed by the processor 901; the wifi chip 903 is used for detecting service data broadcasted by the access control equipment; the processor 901 is configured to execute receiving service data broadcasted by a preset access control device within a set range; and sending the acquired unlocking information to the preset access control equipment to control the preset access control equipment to unlock according to the unlocking information. Specifically, the processor 901 may execute each step in the first embodiment, the second embodiment, the third embodiment and the fourth embodiment of the access control method of the terminal shown in fig. 1 to 7 according to the operation instruction stored in the memory 902, which is not described herein again, and please refer to the description of the corresponding step in detail above.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment of the door access device disclosed in the present invention, and as shown in fig. 10, the door access device of the present embodiment includes a processor 1001, a memory 1002, and a wifi sensing module 1003; the processor 1001 is respectively coupled with the memory 1002 and the wifi perception module 1003; the memory 1002 is used for storing operating instructions and an operating system executed by the processor 1001; the wifi perception module 1003 is used for broadcasting service data of the wifi perception module; the processor 1001 is configured to execute, according to the operation instruction stored in the memory 1002, each step in the access control method embodiment of the access control device shown in fig. 8, which is not described herein again, and please refer to the detailed description of the corresponding step above.
Further, referring to fig. 11, the present application further discloses an access control system, as shown in fig. 11, the access control system of this embodiment may include a terminal 1101 and an access control device 1102, where the terminal and the access control device may be the terminal shown in fig. 9 and the access control device shown in fig. 10, and the content of the specific execution of the terminal and the access control device in this embodiment is the same as that of the terminal shown in fig. 9 and the access control device shown in fig. 10, and is not described herein again.
In addition, the present invention further discloses an embodiment of a storage device, in which the storage device stores program data that can be executed to implement the first, second, third, and fourth embodiments of the access control method of a terminal as shown in fig. 1 to 7. In addition, the program data stored in the storage device in the embodiment may also be executed to implement the access control method of the access control apparatus shown in fig. 8.
The above description is only an 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 performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. The access control method of the terminal is characterized by comprising the following steps:
receiving service data broadcasted by preset access control equipment within a set range;
sending the obtained unlocking information to the preset access control equipment to control the preset access control equipment to unlock according to the unlocking information;
wherein, after receiving the service data of presetting the broadcast of entrance guard's equipment in the settlement scope, still include: calculating the distance between the terminal and the preset access control equipment by using the service data, and prompting the distance to a user;
wherein, utilize service data calculation terminal with predetermine the distance between the entrance guard's equipment, include: judging whether the service data contains round trip delay data or not; if so, calculating the distance between the terminal and the preset access control equipment by using the round-trip delay data; if not, acquiring received signal strength indicating data from the service data, and calculating the distance between the terminal and the preset access control equipment by using the received signal strength indicating data;
the unlocking information at least comprises an unlocking password and unlocking time, wherein the unlocking time is a parameter for controlling the unlocking of the preset access control equipment, and comprises the interval time from the control of the preset access control equipment to the unlocking after the unlocking information is received and the unlocking duration time of the preset access control equipment; the interval time and the duration time are set according to the distance between the terminal and the preset access control equipment.
2. The access control method according to claim 1, wherein the service data is broadcasted by the preset access control device through a wifi perception module thereof;
receiving the service data of presetting entrance guard's equipment broadcast in the settlement scope, including:
establishing a physical layer connection with at least one detected access control device with a wifi sensing module;
respectively acquiring the name of the at least one access control device through the physical layer connection;
screening out the access control equipment with the same name as a preset name from the at least one access control equipment;
and receiving the service data broadcasted by the screened access control equipment.
3. The door access control method according to claim 1, further comprising, after receiving service data broadcasted by a preset door access device within a set range:
acquiring the MAC address of the preset access control equipment from the service data;
judging whether the MAC address is consistent with a preset MAC address or not;
and if so, executing the step of sending the acquired unlocking information to the preset access control equipment.
4. The access control method according to claim 1, wherein the step of sending the acquired unlocking information to the preset access control device includes:
acquiring unlocking information input by a user, and encrypting the unlocking information;
and sending the encrypted unlocking information to the preset access control equipment.
5. The access control method according to claim 1, wherein after the step of sending the acquired unlocking information to the preset access control device, the access control method comprises the following steps:
judging whether password correct information fed back by the access control equipment is received;
if so, prompting the preset access control equipment to unlock according to the unlocking time; otherwise, prompting the unlocking failure.
6. An access control method of an access control device, comprising:
broadcasting self service data within a set range;
receiving unlocking information sent by a terminal, and unlocking according to the unlocking information;
the unlocking information at least comprises an unlocking password and unlocking time, wherein the unlocking time is a parameter for controlling the unlocking of the preset access control equipment, and comprises the interval time from the control of the preset access control equipment to the unlocking after the unlocking information is received and the unlocking duration time of the preset access control equipment; the interval time and the duration time are set according to the distance between the terminal and the preset access control equipment;
the distance between the terminal and the preset access control equipment is calculated by utilizing the service data after the terminal receives the service data broadcasted by the preset access control equipment within a set range;
after receiving service data broadcasted by preset access control equipment within a set range, the terminal calculates the distance between the preset access control equipment by using the service data, wherein the distance comprises the following steps: judging whether the service data contains round trip delay data or not; if so, calculating the distance between the terminal and the preset access control equipment by using the round-trip delay data; if not, acquiring received signal strength indicating data from the service data, and calculating the distance between the terminal and the preset access control equipment by using the received signal strength indicating data.
7. A terminal, characterized in that the terminal comprises: the device comprises a processor, a memory and a wifi chip;
the processor is respectively coupled with the memory and the wifi chip;
the memory is used for storing an operating instruction executed by the processor and an operating system;
the wifi chip is used for detecting service data broadcasted by the access control equipment;
the processor is configured to perform the following operations:
receiving service data broadcasted by preset access control equipment within a set range;
sending the obtained unlocking information to the preset access control equipment to control the preset access control equipment to unlock according to the unlocking information;
wherein, after receiving the service data of presetting the broadcast of entrance guard's equipment in the settlement scope, still include: calculating the distance between the terminal and the preset access control equipment by using the service data, and prompting the distance to a user;
wherein, utilize service data calculation terminal with predetermine the distance between the entrance guard's equipment, include: judging whether the service data contains round trip delay data or not; if so, calculating the distance between the terminal and the preset access control equipment by using the round-trip delay data; if not, acquiring received signal strength indicating data from the service data, and calculating the distance between the terminal and the preset access control equipment by using the received signal strength indicating data;
the unlocking information at least comprises an unlocking password and unlocking time, wherein the unlocking time is a parameter for controlling the unlocking of the preset access control equipment, and comprises the interval time from the control of the preset access control equipment to the unlocking after the unlocking information is received and the unlocking duration time of the preset access control equipment; the interval time and the duration time are set according to the distance between the terminal and the preset access control equipment.
8. An access control device, comprising: the system comprises a processor, a memory and a wifi perception module;
the processor is respectively coupled with the memory and the wifi perception module;
the memory is used for storing an operating instruction executed by the processor and an operating system;
the wifi perception module is used for broadcasting self service data;
the processor is configured to perform the following operations:
broadcasting self service data within a set range;
receiving unlocking information sent by a terminal, and unlocking according to the unlocking information;
the unlocking information at least comprises an unlocking password and unlocking time, wherein the unlocking time is a parameter for controlling the unlocking of the preset access control equipment, and comprises the interval time from the control of the preset access control equipment to the unlocking after the unlocking information is received and the unlocking duration time of the preset access control equipment; the interval time and the duration time are set according to the distance between the terminal and the preset access control equipment;
the distance between the terminal and the preset access control equipment is calculated by utilizing the service data after the terminal receives the service data broadcasted by the preset access control equipment within a set range;
after receiving service data broadcasted by preset access control equipment within a set range, the terminal calculates the distance between the preset access control equipment by using the service data, wherein the distance comprises the following steps: judging whether the service data contains round trip delay data or not; if so, calculating the distance between the terminal and the preset access control equipment by using the round-trip delay data; if not, acquiring received signal strength indicating data from the service data, and calculating the distance between the terminal and the preset access control equipment by using the received signal strength indicating data.
9. A storage device, characterized by storing program data executable to implement the access control method of any one of claims 1-5; or the access control method of claim 6.
CN201710261695.2A 2017-04-20 2017-04-20 Access control method, terminal, access control equipment and storage device Active CN107248208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710261695.2A CN107248208B (en) 2017-04-20 2017-04-20 Access control method, terminal, access control equipment and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710261695.2A CN107248208B (en) 2017-04-20 2017-04-20 Access control method, terminal, access control equipment and storage device

Publications (2)

Publication Number Publication Date
CN107248208A CN107248208A (en) 2017-10-13
CN107248208B true CN107248208B (en) 2020-02-21

Family

ID=60017453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710261695.2A Active CN107248208B (en) 2017-04-20 2017-04-20 Access control method, terminal, access control equipment and storage device

Country Status (1)

Country Link
CN (1) CN107248208B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303670A (en) * 2015-12-04 2016-02-03 马孝康 Access control management method, device and system
CN105574960A (en) * 2014-10-17 2016-05-11 慧锐通智能科技股份有限公司 Entrance guard control system and method
CN105631987A (en) * 2015-02-12 2016-06-01 北京神器科技有限公司 Bluetooth access control unlocking method, device and system
CN105788047A (en) * 2016-03-30 2016-07-20 北京千丁互联科技有限公司 Bluetooth access control device, Bluetooth access control management system and Bluetooth access control management method
CN105894627A (en) * 2016-03-30 2016-08-24 北京千丁互联科技有限公司 Bluetooth access control equipment and bluetooth access control management system and method
CN106023381A (en) * 2016-06-17 2016-10-12 北京千丁互联科技有限公司 Bluetooth terminal and Bluetooth access control system and method
CN106127890A (en) * 2016-06-17 2016-11-16 北京千丁互联科技有限公司 Control of bluetooth access equipment, Bluetooth terminal, control of bluetooth access management system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574960A (en) * 2014-10-17 2016-05-11 慧锐通智能科技股份有限公司 Entrance guard control system and method
CN105631987A (en) * 2015-02-12 2016-06-01 北京神器科技有限公司 Bluetooth access control unlocking method, device and system
CN105303670A (en) * 2015-12-04 2016-02-03 马孝康 Access control management method, device and system
CN105788047A (en) * 2016-03-30 2016-07-20 北京千丁互联科技有限公司 Bluetooth access control device, Bluetooth access control management system and Bluetooth access control management method
CN105894627A (en) * 2016-03-30 2016-08-24 北京千丁互联科技有限公司 Bluetooth access control equipment and bluetooth access control management system and method
CN106023381A (en) * 2016-06-17 2016-10-12 北京千丁互联科技有限公司 Bluetooth terminal and Bluetooth access control system and method
CN106127890A (en) * 2016-06-17 2016-11-16 北京千丁互联科技有限公司 Control of bluetooth access equipment, Bluetooth terminal, control of bluetooth access management system and method

Also Published As

Publication number Publication date
CN107248208A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
US11257360B2 (en) Method of pairing a remote control
CN110386105B (en) Vehicle unlocking method and system, mobile terminal and key controller
CN110072236B (en) Device connection method, device and system
CN107249170B (en) Method and system for safe communication of Bluetooth equipment
CN112822630B (en) Data processing method of device and computer-readable storage medium
US20160173505A1 (en) On-vehicle communication system
JP6866818B2 (en) Terminals, vehicle control systems, and vehicle control methods
EP3272162B1 (en) Detecting device movement through electronic fingerprint analysis
US10516774B2 (en) Method for configuring a wireless device
CN109920114B (en) Door lock control method and system based on geographic position
CN108390873B (en) Authentication binding method, device and system for intelligent equipment
CN107770226B (en) Control method and device for smart home, home gateway and mobile terminal
KR102297889B1 (en) Method and apparatus for wlan device pairing
CN106154997B (en) Vehicle-mounted control device, terminal device, and vehicle control program updating method and system
US8458448B2 (en) Method of installing a wireless network
CN105554295A (en) Application program starting method and device
CN107622547A (en) Method, apparatus, storage medium and the computer equipment that terminal is unlocked
CN113129486A (en) Vehicle lock control method, terminal device, HID vehicle lock device and electronic device
CN107248208B (en) Access control method, terminal, access control equipment and storage device
CN103763759A (en) Short-message-based method and system for activating LTE function
CN105631281A (en) Control method and control device based on fingerprint recognition
CN111147336A (en) Intelligent terminal access control system and method
CN112312386A (en) Equipment binding method and device and electronic equipment
JP2019199782A (en) Communication device
CN111917614B (en) Network distribution method and device and household electrical appliance

Legal Events

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

Effective date of registration: 20200914

Address after: 6 / F, No.5, Lane 999, Yangfan Road, hi tech Zone, Ningbo City, Zhejiang Province

Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd.

Address before: 518063 Guangdong city of Shenzhen province Nanshan District ten South Road West High Technology South Road North Tower B 16 floor TCL

Patentee before: Jiekai communication (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right