Disclosure of Invention
The invention aims to provide a Bluetooth-based access control system to solve the problem of poor adaptability of a Bluetooth access control in subsequent use.
The access control system based on Bluetooth in the scheme comprises a Bluetooth access control subsystem and a server subsystem;
the Bluetooth access control subsystem acquires a maintenance request of a maintenance end for verification, and after the maintenance request is successfully verified, the Bluetooth access control subsystem transmits pre-stored equipment information and position information to the maintenance end, and the server subsystem acquires the equipment information and the position information for storage;
the server subsystem acquires the identity of the owner end for verification, and after the identity passes the verification, the server subsystem sends a door opening instruction to the owner end;
the server subsystem receives the identity information of the visitor terminal and the equipment information acquired from the Bluetooth access control subsystem for verification, and sends an opening command to the visitor terminal according to the equipment information after the verification is successful;
and the Bluetooth access control subsystem receives door opening instructions of the owner side and the visitor side and opens the access control.
The beneficial effect of this scheme is:
the maintenance request of the maintenance end is verified at the Bluetooth access control subsystem, and after the verification is successful, the equipment information and the position information are sent to the maintenance end and are sent to the server subsystem for storage; when entering and exiting the entrance guard, the server subsystem verifies the identity of the owner end and then sends a display list of the position information, acquires the position information of the entrance guard module to be passed, sends a door opening instruction according to the position information, and when a visitor accesses the entrance guard, firstly, the visitor end acquires equipment information, sends identification information and the identity information to the server subsystem for verification, and sends a door opening instruction after the verification is successful by verifying the identity information and the equipment information of the visitor.
Compared with the existing Bluetooth access control working mode, the device information and the position information of the Bluetooth access control subsystem are acquired and stored, so that the basic information of the Bluetooth access control subsystem can be accurately known in the subsequent maintenance process, the server subsystem is not relied on, and the server subsystem is prevented from being incapable of being used in the case of closing or other conditions; the background server verifies the identities of all the parties, and after the identity verification is successful, an opening command is issued for the Bluetooth access control subsystem to open the access control, so that the Bluetooth access control subsystem is prevented from being changed or opened at will; and, to opening bluetooth access control system with the instruction mode of opening the door, when this server subsystem had to close or other unusual circumstances, can work through setting up the server in addition, and whole system can make up and adapt to the upgrading of each part at will, and the suitability of system is stronger.
Further, the server subsystem sends a display list of the position information to the owner side when receiving the identity information of the owner side, and obtains the position information of the access control module to be passed selected from the display list of the position information by the owner side, and the server subsystem sends a door opening instruction to the owner side according to the position information.
Has the beneficial effects that: when the identity information of the owner end is received, the door opening instruction is formed by sending the display list of the position information and acquiring the position information of the corresponding door opening module to be passed, and all Bluetooth door openings are not required to be sent out by the same door opening instruction when the owner end needs to open the door, so that the safety of opening the Bluetooth door openings is improved.
Further, the Bluetooth access control subsystem comprises a Bluetooth communication module, a control module and an access control module, wherein the Bluetooth communication module is used for receiving first interaction information of a maintenance end, an owner end and a visitor end, and the control module acquires the first interaction information for verification and controls the access control module to be opened after the verification is successful;
the server subsystem comprises a transceiver module, a processing module and a storage module, wherein the transceiver module is used for interacting second interaction information with a maintenance end, a business owner end and a visitor end, the processing module sends the acquired second interaction information to the storage module for storage, and the processing module verifies the second interaction information and sends third interaction information to the maintenance end, the business owner end and the visitor end when verification is successful.
The beneficial effects are that: the Bluetooth access control subsystem and the server subsystem are set to interact in a mode of not directly communicating, so that the dependence of the Bluetooth access control subsystem on the server subsystem is reduced.
Further, the second interaction information includes identity information sent by the visitor terminal, the identity information includes personal information and communication information of a to-be-accessed owner, when verification of the identity information in the second interaction information is performed, the processing module sends the personal information to the owner through the transceiver module by taking the communication information as a communication address, and obtains feedback information of the personal information, the feedback information includes access acceptance and access rejection, the processing module judges whether the feedback information is access acceptance, and when the feedback information is access acceptance, the processing module judges that the verification of the identity information is successful.
The beneficial effects are that: by verifying the identity information of the owner to be accessed, compared with a mode of only checking the information of the owner to be accessed, the accuracy of the identity verification of the visitor can be improved, and the safety of the Bluetooth access control is improved.
Further, the first interaction information includes a maintenance request sent by the maintenance end, the processing module judges whether a maintenance identification code in the maintenance request is a pre-stored maintenance code, the maintenance identification code is processed in a mode of alphabets representing numbers, the processing module firstly converts the maintenance identification code into numbers according to preset rules and then judges whether the maintenance identification code is the maintenance code, and when the maintenance identification code is the maintenance code, the processing module judges that the verification of the maintenance request is successful.
The beneficial effects are that: the maintenance request is verified in a maintenance identification code mode, the server subsystem does not need to limit, the follow-up maintenance suitability of the Bluetooth access control subsystem can be improved, the maintenance identification code is processed in a letter-to-number mode and converted by the processing module according to a preset rule, and the maintenance identification code is prevented from being leaked at will to cause the system to be changed at will.
Further, the processing module forms the position information into a display list when receiving the second interaction information, adds a preset landmark identifier to each position information on the display list according to the position information, wherein the landmark identifier is any item of building information, plant information or shop information, adds the landmark identifier of the position information to the display list, and sends the display list added with the landmark identifier to the receiving and transmitting module.
The beneficial effects are that: and when the position information is displayed, landmark identifiers are added, so that the Bluetooth access control can be prevented from being opened by mistake due to the fact that the current Bluetooth access control position is unclear.
Further, when the position information and the landmark mark cannot be uniquely identified, the processing module adds a trigger button icon of the unique identifier to the position information on the display list, the trigger button icon sends out a docking instruction in a Bluetooth communication mode when triggered, the Bluetooth access control subsystem further comprises a prompting module, the Bluetooth communication module receives the docking instruction and feeds back the docking instruction to the control module, and the control module controls the prompting module to conduct docking prompting.
The beneficial effects are that: when the position information cannot be uniquely identified, the trigger button icon is added to the position information of the display list, and when the trigger button icon is triggered, a docking instruction is sent to the Bluetooth communication module, so that the control module obtains the docking instruction and controls the prompting module to conduct docking prompting, the position information is accurately indicated to be the position where the current owner terminal is located, the owner terminal can accurately send a door opening instruction to the Bluetooth door control, and safety problems caused by the fact that the Bluetooth door control is opened by mistake are prevented.
Further, the server subsystem further comprises a visitor invitation module, the receiving and sending module receives a visitor invitation request of the owner side, the processing module obtains the visitor invitation request of the receiving and sending module and sends a generation signal to the visitor invitation module, the visitor invitation module generates a visitor door opening instruction according to the generation signal, the visitor door opening instruction is a general door opening instruction of the Bluetooth access control subsystem, and the processing module obtains the visitor door opening instruction and sends the visitor door opening instruction to the owner side through the receiving and sending module.
The beneficial effects are that: the owner side sends the visitor invitation request and triggers the visitor invitation module to generate the visitor door opening instruction, so that the owner side invites the visitor, and the general door opening instruction is used by the visitor, so that the visitor can use at any Bluetooth entrance guard, and the waiting time of the visitor in the process of passing through the Bluetooth entrance guard is reduced.
Further, the visitor invitation request includes access target information, and the processing module adds access guide information to the visitor door opening instruction according to the access target information.
The beneficial effects are that: by acquiring access target information of the owner side and adding access guide information to the visitor door opening instruction according to the access target information, a visitor can enter from a Bluetooth access control position nearest to the owner, and the visitor is prevented from searching too long.
Detailed Description
Further details are provided below with reference to the specific embodiments.
Example 1
Bluetooth-based access control system, as shown in fig. 1 and 2: the system comprises a Bluetooth access control subsystem and a server subsystem.
The Bluetooth access control subsystem comprises a Bluetooth communication module, a control module and an access control module, wherein the Bluetooth communication module is used for receiving first interaction information of a maintenance end, an owner end and a visitor end, and the maintenance end is used for carrying out information interaction when the Bluetooth access control subsystem is maintained; the owner side is used for acquiring a door opening instruction through information interaction of the server subsystem when passing through the Bluetooth access control subsystem, and sending the door opening instruction to the Bluetooth access control subsystem; the visitor terminal is used for acquiring the position information and the equipment information of the Bluetooth access control subsystem when in external access, acquiring the door opening instruction of the server subsystem according to the position information and the equipment information, and sending the door opening instruction to the Bluetooth access control subsystem to open the access control module.
The bluetooth communication module can use existing products, such as MS50SFB, the control module can use existing bluetooth communication controller, the access control module selects existing access control equipment according to actual needs, the maintenance end, the owner end and the visitor end can be smart phones or tablets, and the first interaction information comprises maintenance request, access trigger information and door opening instructions. The Bluetooth access control subsystem acquires a maintenance request of a maintenance end for verification, and after the maintenance request is successfully verified, the Bluetooth access control subsystem sends pre-stored equipment information and position information to the maintenance end, the equipment information can be uniquely identified through letters and numbers, the position information can be identified through directions and numbers, for example, southeast No. 1 access control is achieved, and the server subsystem acquires the equipment information and the position information for storage.
When the maintenance request is verified, the processing module judges whether a maintenance identification code in the maintenance request is a pre-stored maintenance code, the maintenance code represents a code sequence which is generated in advance when the Bluetooth access control subsystem needs maintenance or maintenance, the maintenance code is firstly notified to a maintenance end to be used as the maintenance identification code when the Bluetooth access control subsystem needs maintenance or maintenance, the maintenance code is composed of a code sequence formed by a plurality of numbers, each two numbers represent unique letters, for example, 11 represents A, B represents 12, 13 represents C, 14 represents D, 15 represents E, 16 represents F and the like, and the maintenance code composed of ten numbers can be 1115141315; the maintenance identification code is processed in a mode of alphabets representing numbers, the processing module firstly converts the maintenance identification code into numbers according to preset rules and then judges whether the maintenance identification code is the maintenance code or not, for example, in the maintenance identification code AEDCE, A is 11, E is 15, D is 14 and C is 13, and when the maintenance identification code is the maintenance code, the processing module judges that the verification of the maintenance request is successful. The maintenance identification codes are marked by letters, the letters of the maintenance identification codes and the numbers of the maintenance codes need to be converted, the maintenance identification codes cannot be intuitively checked for counterfeiting, and the probability that the maintenance identification codes are coded for changing the functions of the Bluetooth access control subsystem is reduced.
The server subsystem comprises a transceiver module, a processing module and a storage module, wherein the transceiver module is used for carrying out interaction of second interaction information with the maintenance end, the owner end and the visitor end, the transceiver module can use an existing network communicator, the processing module can be a background server host, the storage module can use an existing storage hard disk, and the second interaction information comprises equipment information, position information, identity identification, identity information and a door opening instruction. The server subsystem acquires the identity of the owner end for verification, the identity can be any combination of a room number, a telephone number, a work number, a name and the like, when the identity is verified, the processing module judges whether the information carried by the identity is the same as the prestored information or not, and after the identity is verified, namely the identity is the same as the prestored information, the server subsystem sends a door opening instruction to the owner end, and the door opening instruction carries a password consisting of numbers and letters randomly. The processing module sends the acquired second interaction information to the storage module for storage, the processing module receives the second interaction information, the position information is formed into a display list, the display list is used for displaying the position of the access control module in the control range of the Bluetooth access control subsystem in a list mode, so that the owner side can select the access control module, the processing module verifies the second interaction information and sends third interaction information to the maintenance side, the owner side and the visitor side when the verification is successful, the verification of the second interaction information is that of identity identification and identity information, the identity identification is that of identity identification pre-stored for the owner side, for example, a room number identification is used as the identity identification, the identity information is that can prove identity information submitted by the visitor side, for example, an identity card number, a name and the like representing personal information, and the third interaction information comprises the position list and a door opening instruction.
The Bluetooth access control subsystem receives access trigger information of the visitor and sends equipment information, the access trigger information can be sent through the visitor to scan the two-dimension code and identify code information carried by the two-dimension code, the code information is sent to the Bluetooth communication module to serve as access trigger information, the control module sends prestored equipment information to the visitor after acquiring the code information from the Bluetooth communication module, the server subsystem receives identity information of the visitor and the equipment information acquired from the Bluetooth access control subsystem by the visitor through the receiving and sending module to verify, and after verification is successful, a door opening instruction is sent to the visitor according to the equipment information.
The Bluetooth access control subsystem opens the access control after receiving the door opening instructions of the owner end and the visitor end respectively, namely, the control module acquires the door opening instructions in the first interaction information and then controls the access control module to open, and the Bluetooth access control subsystem verifies the first interaction information as a maintenance request.
The server subsystem sends a display list of position information to the owner side through the receiving and transmitting module when receiving the identity information of the owner side, and obtains the position information of the access control module to be passed selected from the display list of the position information by the owner side through the receiving and transmitting module, the server subsystem sends an opening command to the owner side according to the position information, each position information can be uniquely corresponding to the opening command, so that the access control module at other positions is prevented from being randomly opened after the opening command of one access control module is obtained, safety is improved, the identity information comprises personal information and communication information of the owner to be accessed, the personal information is the name, telephone number and the like of the visitor, the communication information can be the house number, the name and the like of the owner, when verification of the identity information in the second interaction information is carried out, the processing module sends the personal information to the owner side through the receiving and transmitting module with the communication information as a communication address, and obtains feedback information of the personal information, the feedback information comprises access acceptance and access rejection, for example, the processing module judges whether the feedback information is access acceptance can be indicated by yes, the access rejection can be indicated by no, and the identity information can be successfully verified by the processing module when the feedback information is judged as access acceptance.
The specific implementation process is as follows:
when the Bluetooth access control subsystem is maintained or repaired, a maintenance request of the maintenance end is obtained through the Bluetooth communication module of the Bluetooth access control subsystem, the control module verifies the maintenance request of the maintenance end, after verification is successful, the equipment information and the position information are sent to the maintenance end, the maintenance end sends the equipment information and the position information to the server subsystem, and the storage module stores the equipment information and the position information.
When the owner gets in and out of the entrance guard, the receiving and transmitting module of the server subsystem receives the identity of the owner end, the processing module acquires the identity and verifies the identity of the owner end, after the identity is verified successfully, the processing module acquires the position information in the storage module and forms a display list, the display list of the position information is sent to the owner end for selecting the position information of the entrance guard module to be passed, the receiving and transmitting module acquires the position information of the entrance guard module to be passed sent by the owner end, the processing module acquires the position information of the entrance guard module to be passed and sends an opening command to the owner end according to the position information, the owner end receives the opening command and then sends the opening command to the communication module of the Bluetooth entrance guard subsystem, and the control module acquires the opening command of the owner end from the communication module and controls the entrance guard module to be opened.
When a visitor accesses, access trigger information of the visitor terminal is obtained through the receiving and transmitting module, equipment information is transmitted to the visitor terminal, the processing module is then used for verifying the identity information and the equipment information obtained from the visitor terminal, after verification is successful, the processing module transmits a door opening instruction to the visitor terminal through the receiving and transmitting module according to the equipment information, and the control module is used for obtaining the door opening instruction of the visitor terminal from the communication module and controlling the door control module to open.
According to the method, the device information and the position information of the Bluetooth access control subsystem are acquired and stored, so that the basic information of the Bluetooth access control subsystem can be accurately known in the subsequent maintenance process, the server subsystem is not relied on, and the server subsystem is prevented from being incapable of being used in the case of shutdown or other conditions; the background server verifies the identities of all the parties, and after the identity verification is successful, an opening command is issued for the Bluetooth access control subsystem to open the access control, so that the Bluetooth access control subsystem is prevented from being changed or opened at will; and, to opening bluetooth access control system with the instruction mode of opening the door, when this server subsystem had to close or other unusual circumstances, can work through setting up the server in addition, and whole system can make up and adapt to the upgrading of each part at will, and the suitability of system is stronger.
Example two
The difference between the first embodiment and the second embodiment is that the processing module adds a preset landmark identifier to each piece of position information on the display list according to the position information, the landmark identifier is any item of building information, plant information or shop information, the building information, the plant information and the shop information are processed according to the standard of uniquely identifying the position information of the entrance guard module, for example, when no shops and no close building are located around the position information of part of the entrance guard module, two plants around the entrance guard module can be used for identification, the processing module adds the landmark identifier of the uniquely identified position information to the display list, and the processing module sends the display list added with the landmark identifier to the transceiver module.
When the position information and the landmark mark cannot be uniquely identified, the processing module adds a trigger button icon with unique identification to the position information on the display list, the trigger button icon can be displayed through a virtual trigger button, and when the trigger button icon is triggered, a docking instruction is sent out in a Bluetooth communication mode through a communication module of an owner end or a visitor end, and the docking instruction can be a communication signal of digital and letter characterization; the Bluetooth access control subsystem further comprises a prompting module, the prompting module can be a lamplight prompting or a sound prompting, the Bluetooth communication module receives a docking instruction and feeds back the docking instruction to the control module, and the control module controls the prompting module to conduct docking prompting.
Because the owner end can not directly acquire the position information from the Bluetooth access control subsystem, when the owner is positioned at an unfamiliar Bluetooth access control position, the owner can not accurately know the position information of the Bluetooth access control currently positioned, and the owner can possibly send the position information acquisition door opening instruction of the access control module to be passed through a guessing mode, so that part of Bluetooth access control is opened by mistake. Therefore, in the second embodiment, the landmark identifier is added when the position information is displayed, so that the bluetooth entrance guard can be prevented from being opened by mistake due to the fact that the current bluetooth entrance guard position is not clear, and when the position information cannot be uniquely identified, the trigger button icon is added on the position information of the display list, the control module is used for sending the docking instruction to the bluetooth communication module when the trigger button icon is triggered, the control module is used for obtaining the docking instruction and controlling the prompting module to carry out docking prompting, and therefore the position information is accurately indicated to be the position where the current owner end is located, the owner end can accurately send the door opening instruction to the bluetooth entrance guard, and the problem that the bluetooth entrance guard is opened by mistake is prevented from causing safety problems.
Example III
The first difference from the first embodiment is that the server subsystem further includes a visitor invitation module, the transceiver module receives a visitor invitation request from the owner, the processing module obtains the visitor invitation request from the transceiver module and sends a generation signal to the visitor invitation module, the visitor invitation module generates a visitor door opening instruction according to the generation signal, the visitor door opening instruction can be a door opening password or the like, the visitor door opening instruction is a general door opening instruction of the bluetooth access control subsystem, and the processing module obtains the visitor door opening instruction and sends the visitor door opening instruction to the owner through the transceiver module; the visitor invitation request includes access target information, and the processing module adds access guide information to the visitor door opening instruction according to the access target information, wherein the access guide information can be performed by indicating a Bluetooth access control position nearest to the visited owner.
The owner side sends the visitor invitation request and triggers the visitor invitation module to generate the visitor door opening instruction, so that the owner side invites the visitor, and the general door opening instruction is used by the visitor, so that the visitor can use at any Bluetooth entrance guard, and the waiting time of the visitor in the process of passing through the Bluetooth entrance guard is reduced.
The foregoing is merely exemplary embodiments of the present invention, and specific structures and features that are well known in the art are not described in detail herein. It should be noted that modifications and improvements can be made by those skilled in the art without departing from the structure of the present invention, and these should also be considered as the scope of the present invention, which does not affect the effect of the implementation of the present invention and the utility of the patent. The protection scope of the present application shall be subject to the content of the claims, and the description of the specific embodiments and the like in the specification can be used for explaining the content of the claims.