CN109523672A - A kind of Door-access control method and device - Google Patents
A kind of Door-access control method and device Download PDFInfo
- Publication number
- CN109523672A CN109523672A CN201811386026.9A CN201811386026A CN109523672A CN 109523672 A CN109523672 A CN 109523672A CN 201811386026 A CN201811386026 A CN 201811386026A CN 109523672 A CN109523672 A CN 109523672A
- Authority
- CN
- China
- Prior art keywords
- preset
- access control
- mobile terminal
- facility information
- address
- 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.)
- Granted
Links
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of Door-access control method and device, wherein the access control method includes: the mobile terminal detected in preset range, and obtains the facility information of mobile terminal;Judge in preset user information database whether to include facility information;When in preset user information database including facility information, communication connection is established between mobile terminal and access control equipment, and obtain the mailing address of mobile terminal;Judge whether mailing address and preset address match;When mailing address and preset address match, the door open command to open the door for access control equipment is sent.Access control method described in the invention can be realized unaware access control, and user is avoided to operate gate inhibition, to avoid cumbersome operating process, improve the convenience degree of gate inhibition's enabling.
Description
Technical field
The present invention relates to safety-security areas, in particular to a kind of Door-access control method and device.
Background technique
Currently, gate inhibition's technology is more and more perfect also with developing, wherein gate inhibition with the continuous development of security and guard technology
Technology is even more to be developed into wireless control gate inhibition (such as control of bluetooth access etc.) from original traditional gate inhibition that swipes the card, password access, can
See, present gate inhibition's technology constantly develops to intelligentized direction.However, it has been found in practice that existing gate inhibition's skill
There is still a need for users to go operation control for art, and wherein control of bluetooth access technical solution just includes that user uses bluetooth module of the mobile phone to gate inhibition
Send instruction so that gate inhibition parses the command content upon receipt of the instructions, and to the user account for including in command content into
Whether row belongs to the judgement of white list, and after judging successfully, sends door open command to execution unit to execute door opening action.
As it can be seen that there is still a need for above-mentioned steps for existing control of bluetooth access technology, so that user carries out corresponding operation to gate inhibition, and
With cumbersome operating process, the convenience degree of gate inhibition's enabling is reduced.
Summary of the invention
In view of the above problems, the present invention provides a kind of Door-access control method and devices, can be realized unaware gate inhibition control
System, avoids user from operating gate inhibition, to avoid cumbersome operating process, improves the convenience degree of gate inhibition's enabling.
To achieve the goals above, the present invention adopts the following technical scheme that:
In a first aspect, the present invention provides a kind of access control methods, comprising:
The mobile terminal in preset range is detected, and obtains the facility information of the mobile terminal;
Judge in preset user information database whether to include the facility information;
When in the preset user information database including the facility information, the mobile terminal and access control equipment it
Between establish communication connection, and obtain the mailing address of the mobile terminal;
Judge whether the mailing address and preset address match;
When the mailing address and the preset address match, send for controlling opening for the access control equipment enabling
Door instruction.
As an alternative embodiment, the mailing address includes bluetooth media accessing to control address, it is described default
Address includes default media access control address, wherein described to judge the mailing address and the whether matched step of preset address
Suddenly include:
Authentication comparison is carried out to the bluetooth media accessing to control address and the default media access control address, is obtained
Comparison result;
Judge whether the comparison result is successfully comparison result;
When the comparison result is successfully comparison result, triggering executes the transmission for controlling the access control equipment
The step of door open command of enabling.
As an alternative embodiment, the preset user information database includes the first sub-information library and the second son letter
Cease library, wherein described to judge whether include the steps that the facility information in preset user information database, comprising:
Judge in first sub-information library whether to include the facility information;
When in first sub-information library including the facility information, triggering executes described in the mobile terminal and door
Prohibit and establish communication connection between equipment, and the step of obtaining the mailing address of the mobile terminal;
When not including the facility information in first sub-information library, judge whether wrap in second sub-information library
Include the facility information;
When in second sub-information library including the facility information, triggering executes described in the mobile terminal and door
Prohibit and establish communication connection between equipment, and the step of obtaining the mailing address of the mobile terminal;
When not including the facility information in second sub-information library, triggering executes the judgement the first son letter
Whether breath includes the steps that the facility information in library.
As an alternative embodiment, the mobile terminal in the detection preset range, and obtain described mobile whole
Before the step of facility information at end, the method also includes:
When detecting the unpaired message that preset pairing terminal is sent, the preset pairing terminal and the door are controlled
Prohibit equipment to be matched;
In the preset pairing terminal and the access control equipment successful matching, the preset pairing terminal is obtained
Facility information, and the facility information of the preset pairing terminal is stored into the preset user information database;
The mailing address of the preset pairing terminal is obtained, and determines that the preset mailing address for matching terminal is
The preset address.
As an alternative embodiment, described establish communication connection between the mobile terminal and access control equipment
Step includes:
Connection request is sent to the mobile terminal, so that the mobile terminal is beaten when receiving the connection request
It opens built-in communication device and establishes the communication connection between the mobile terminal and the access control equipment.
Second aspect, the present invention provides a kind of access control devices, comprising:
Detection module for detecting the mobile terminal in preset range, and obtains the facility information of the mobile terminal;
Judgment module, for judging in preset user information database whether to include the facility information;
First communication module, when for including the facility information in the preset user information database, in the shifting
It establishes and communicates to connect between dynamic terminal and access control equipment, and obtain the mailing address of the mobile terminal;
The judgment module, is also used to judge whether the mailing address and preset address match;
Second communication module, for sending for controlling when the mailing address and the preset address match
State the door open command of access control equipment enabling.
As an alternative embodiment, the access control device further include:
Control module, for controlling described preset match when detecting the unpaired message that preset pairing terminal is sent
Terminal and the access control equipment are matched;
Module is obtained, for obtaining described pre- in the preset pairing terminal and the access control equipment successful matching
If pairing terminal facility information, and store the facility information of the preset pairing terminal to the preset user information
In library;
The acquisition module is also used to obtain the mailing address of the preset pairing terminal, and determination is described preset
The mailing address for matching terminal is the preset address.
As an alternative embodiment, the first communication module, is specifically used in the preset user information
When including the facility information in library, connection request is sent to the mobile terminal, so that the mobile terminal is receiving
When stating connection request, opens built-in communication device and establish the communication link between the mobile terminal and the access control equipment
It connects, and obtains the mailing address of the mobile terminal.
The third aspect, the present invention provides a kind of computer equipment, the computer equipment includes memory and processing
Device, the memory run the computer program so that the computer is set for storing computer program, the processor
It is standby to execute a kind of access control method described in first aspect present invention.
Fourth aspect, the present invention provides a kind of computer readable storage mediums, are stored with third aspect present invention institute
Computer program used in the computer equipment stated.
The Door-access control method and device provided according to the present invention, can by access control equipment to neighbouring mobile terminal into
Row equipment determines to obtain the mobile terminal authenticated, then obtains the mailing address in mobile terminal, passes through the matching of mailing address
Authentication operations are carried out, and trigger the operation of enabling after authenticating successfully.As it can be seen that implementing this embodiment, can be realized
Unaware access control, avoids user from operating access control equipment, so as to avoid previous cumbersome operating process, improves
The convenience degree that gate inhibition opens the door.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of the scope of the invention.
Fig. 1 is a kind of flow diagram for access control method that first embodiment of the invention provides;
Fig. 2 is a kind of flow diagram for access control method that second embodiment of the invention provides;
Fig. 3 is a kind of structural schematic diagram for access control device that third embodiment of the invention provides.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
For the problems of the prior art, the present invention provides a kind of access control method, Door-access control method and device,
Equipment can be carried out to neighbouring mobile terminal by access control equipment to determine to obtain the mobile terminal authenticated, then obtain mobile whole
Mailing address in end carries out authentication operations by the matching of mailing address, and the behaviour of enabling is triggered after authenticating successfully
Make.As it can be seen that implementing this embodiment, it can be avoided user and access control equipment operated, so as to avoid previous cumbersome
Operating process improves the convenience degree of gate inhibition's enabling.It is described below by embodiment.
Wherein, above-mentioned technical method can also be realized using relevant software or hardware, in this present embodiment
No longer add to repeat.For the Door-access control method and device, it is described below by embodiment.
Embodiment 1
Referring to Fig. 1, being a kind of flow diagram of access control method provided in this embodiment, the access control method
The following steps are included:
Mobile terminal in S101, detection preset range, and obtain the facility information of mobile terminal.
In the present embodiment, executing subject can be access control equipment, which should have communication function and storage function
Energy.
In the present embodiment, detection mode is signal scanning.
In the present embodiment, preset range can be by being artificially configured, and the preset range is for being arranged above-mentioned detection
Range.
In the present embodiment, preset range is the range that access control equipment works automatically.
In the present embodiment, mobile terminal is the mobile terminal into preset range, which can be mobile phone, plate
Etc. various terminal equipments, to not being limited in any way in this present embodiment.
In the present embodiment, mobile terminal has independent device identifying information, which is above equipment letter
Breath, the facility information are used to determine the model of mobile terminal.
For example, in step S101, access control equipment detects mobile phone signal in 50 meters of circumference, and is detecting mobile phone letter
Number when, obtain the handset identity code of mobile phone.
In the present embodiment, facility information can be unpaired message, or mobile terminal and matching before access control equipment
To record, to not being limited in any way in this present embodiment.As it can be seen that facility information not only can be model, the version number etc. of equipment, also
It can be unpaired message, the pair record etc. stored in mobile terminal.
S102, judge in preset user information database whether to include above equipment information, if so, then follow the steps S103~
S104;If it is not, then terminating this process.
In the present embodiment, preset user information database be with the storage database therein there are access control equipment, this is default
User information database may be the database (such as in other servers) that other positions are set, for preset user information
The setting position in library is not limited in any way in the present embodiment.
In the present embodiment, for the facility information of memory mobile terminal, (facility information is preset user information database
User's registration information), it is seen then that preset user information database is the database for the facility information that storing user's registered is crossed.
In the present embodiment, above equipment information is the facility information that access control equipment detects, which is then used to judge door
Prohibit equipment and detect whether facility information belongs to preset user information database, if belonging to, determines that the facility information is corresponding and set
Standby is the equipment (good user equipment registered in advance) prestored, if being not belonging to, determines that the corresponding equipment of the facility information is not
The equipment prestored.Implement this embodiment, initial authentication can be carried out to the mobile terminal of user, registration is used to improve
The identification degree at family.
S103, communication connection is established between mobile terminal and access control equipment, and obtain the mailing address of mobile terminal.
As an alternative embodiment, the step of establishing communication connection between mobile terminal and access control equipment can be with
Include:
Access control equipment sends communication connection and instructs to mobile terminal, so that mobile terminal receives communication connection instruction,
And it is established and is communicated to connect between mobile terminal and access control equipment according to communication connection instruction.
Implement this embodiment, access control equipment can actively issue communication connection instruction (connection request signal), so that
Mobile terminal and access control equipment, which are established, to be communicated to connect, and mobile terminal is avoided finding nearby signal and to establish communication connection at any time, from
And the time is saved, and avoid the electric quantity consumption of mobile terminal.
In the present embodiment, the communication connection between mobile terminal and access control equipment can connect for Radio Operation Company, can be with
For Bluetooth communication connection, it can also be communicated to connect for WIFI, for the form of the communication connection, not make any limit in the present embodiment
It is fixed.
In the present embodiment, the mailing address and mobile terminal device information of mobile terminal are irrelevant, wherein mobile
The mailing address of terminal is in mobile terminal for the address information in the communication module of communication, for example, the mailing address
It can be Bluetooth MAC address.And the facility information of mobile terminal is for conscientious mobile terminal, for example, equipment letter
Breath can be the type of mobile terminal or production time etc., it should be noted that the facility information can be by communicating mould
What block was sent out, but the not design parameter of communication module itself.In comparison, mailing address is communication module itself
Address parameter, and the address parameter is sent to access control equipment by communication module.
In the present embodiment, mailing address and facility information can all be communicated by communication module, still, communicatedly
Location is the built-in information in a certain specific communications module, and it includes that the whole equipment of the specific communications module is set that facility information, which is,
Standby information.Wherein, facility information may include multiple communication modules.
For example, communication module is bluetooth communication, and mobile terminal is mobile phone, and facility information is mobile phone model or version
Number information, mailing address is Bluetooth MAC address, wherein mobile phone further includes WIFI communication module etc..
S104, judge whether mailing address and preset address match, if so, thening follow the steps S105;If it is not, then terminating this
Process.
In the present embodiment, preset address is also mailing address, which is to be pre-stored in access control equipment or other are deposited
In storage device, for not being limited in any way in storage location the present embodiment of preset address.
Implement this embodiment, mailing address and preset address identical then determine that communication module is identical, and authenticate successfully,
And subsequent operation is carried out on this basis, it completes the enabling to access control equipment and controls.
In the present embodiment, step S104 can be understood as the secondary judgement to mobile terminal, and by specifically determining to hold
The control that row access control equipment opens the door.
S105, the door open command to open the door for access control equipment is sent.
In the present embodiment, door open command opens the door for access control equipment.
In the access control method described in Fig. 1, equipment can be carried out to neighbouring mobile terminal by access control equipment
Determine to obtain the mobile terminal authenticated, then obtain the mailing address in mobile terminal, is carried out by the matching of mailing address
Authentication operations, and trigger after authenticating successfully the operation of enabling.As it can be seen that implement access control method described in Fig. 1, it can
It realizes unaware access control, user is avoided to operate access control equipment, so as to avoid previous cumbersome operating process, mention
The convenience degree that high gate inhibition opens the door.
Embodiment 2
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of access control method provided in this embodiment.As shown in Fig. 2,
The access control method the following steps are included:
S201, when detecting the unpaired message that preset pairing terminal is sent, control preset pairing terminal and gate inhibition
Equipment is matched.
In the present embodiment, preset pairing terminal is the mobile end for forming preset facility information in access control equipment
End, wherein the preset pairing terminal applies are different from subsequent mobile terminal during access control equipment prestored information.
In the present embodiment, unpaired message is that preset pairing terminal is sent, for carrying out pairing connection with access control equipment
The communication information.For example, mobile terminal is mobile phone, and mobile phone sends Bluetooth pairing signal to access control equipment, so that gate inhibition sets
It is standby to receive the Bluetooth pairing signal, it controls mobile phone and access control equipment carries out Bluetooth pairing.
S202, in preset pairing terminal and access control equipment successful matching, obtain it is preset pairing terminal equipment letter
Breath, and the facility information of preset pairing terminal is stored into preset user information database.
In the present embodiment, preset pairing terminal and access control equipment successful matching can be understood as preset pairing terminal and
Both access control equipments are mutually paired, and are connected with each other, so that access control equipment can obtain preset match by above-mentioned connection
To the facility information of terminal.Wherein, which, which can be, is sent to access control equipment by preset pairing terminal.
In the present embodiment, the facility information of preset pairing terminal is a kind of information, and the facility information of mobile terminal is another
A kind of information, two information belong to different types of information.Specifically, the facility information of preset pairing terminal is suitable for doing
Presupposed information, the facility information of mobile terminal is to detect, for judging whether it is legitimate device, the two purposes is different,
Therefore type is different.
S203, the mailing address for obtaining preset pairing terminal, and determine that the mailing address of preset pairing terminal is pre-
If address.
In the present embodiment, it is preset pairing terminal mailing address can be Bluetooth MAC address, in this present embodiment not
Add to repeat again.
In the present embodiment, preset address is the address for being stored in storage equipment, for being used as pre-stored data to visiting
The mobile terminal of user carries out matched data.
For example, the bluetooth equipment for opening mobile terminal searches for the bluetooth equipment on periphery, selects corresponding on mobile terminal
Gate inhibition's Bluetooth MAC address match;After successful matching, access control equipment termination receives unpaired message, and unpaired message is deposited
It is put into memory, wherein unpaired message includes the Bluetooth MAC address of mobile terminal.At this point, pairing is completed, i.e., completion user infuses
Volume process.
Mobile terminal in S204, detection preset range, and obtain the facility information of mobile terminal.
Implement this embodiment, the facility information of all mobile terminals can be obtained in specified region, and according to this
Subsequent step after facility information.
S205, judge in preset user information database whether include mobile terminal facility information, if so, thening follow the steps
S206~S207;If it is not, then terminating this process.
Implement this embodiment, can preferentially judge the facility information of mobile terminal, judges whether mobile terminal is to have
Effectiveness family.
As an alternative embodiment, preset user information database includes the first sub-information library and the second sub-information
Library, wherein judge whether include the steps that facility information in preset user information database, comprising:
Judge in the first sub-information library whether to include facility information;
When in the first sub-information library including facility information, triggering, which executes to establish between mobile terminal and access control equipment, leads to
Letter connection, and the step of obtaining the mailing address of mobile terminal;
When not including facility information in the first sub-information library, judge in the second sub-information library whether to include facility information;
When in the second sub-information library including facility information, triggering, which executes to establish between mobile terminal and access control equipment, leads to
Letter connection, and the step of obtaining the mailing address of mobile terminal;
When not including facility information in the second sub-information library, whether triggering executes judges in the first sub-information library to include setting
The step of standby information.
Implement above-mentioned embodiment, preset user information database can be divided into multiple sub-information libraries, using rotation
Formula detection, the situation for avoiding single detection limit excessive occur, and improve efficiency and smooth degree.
S206, communication connection is established between mobile terminal and access control equipment, and obtain the mailing address of mobile terminal.
Implement this embodiment, can independently set up the communication connection between mobile terminal and access control equipment, and lead to
Cross the mailing address (such as Bluetooth MAC address) that the communication connection obtains mobile terminal.
As an alternative embodiment, above-mentioned the step of establishing communication connection between mobile terminal and access control equipment
Include:
Connection request is sent to mobile terminal, so that mobile terminal when receiving connection request, opens built-in communication
Device simultaneously establishes communication connection between mobile terminal and access control equipment.
Implement this embodiment, communication connection can be set up by communications, then promote by the communication connection
Mobile terminal sends oneself mailing address to access control equipment.Wherein, communication connection can connect for Bluetooth communication.
S207, judge whether mailing address and preset address match, if so, thening follow the steps S208;If it is not, then terminating this
Process.
In the present embodiment, which can be understood as carrying out authentication operations to the mailing address of mobile terminal.
As an alternative embodiment, mailing address includes bluetooth media accessing to control address, preset address includes
Default media access control address, wherein judge that the step of whether mailing address and preset address match includes:
Authentication comparison is carried out to bluetooth media accessing to control address and default media access control address, obtains comparing knot
Fruit;
Judge whether comparison result is successfully comparison result;
When comparison result is successfully comparison result, triggers enabling of the transmission of execution for the enabling of access control equipment and refer to
The step of enabling.
In the present embodiment, bluetooth media accessing to control address can be understood as Bluetooth MAC address or internet address, right
It is not construed as limiting in this present embodiment.
In the present embodiment, above-mentioned authentication operations can be most basic matching operation, or calculated and weighed by algorithm
The authentication operations of value, to not being limited in any way in this present embodiment.
Implement this embodiment, the matching of high-speed, high precision can be realized by bluetooth.
S208, the door open command to open the door for access control equipment is sent.
For example, access control equipment, which is read, is stored in the user's registration information of memory, to registered mobile terminal by
One initiates the connection, if access control equipment nearby has registered mobile terminal, access control equipment is built with registered movement eventually immediately
Vertical connection.After the completion of connection is established, gate inhibition gets the Bluetooth MAC address of mobile terminal, with the bluetooth MAC for being stored in memory
Address carries out authentication comparison, if compared successfully, gate inhibition sends door open command to execution unit, and execution unit is completed to open the door dynamic
Make.
As it can be seen that implement Fig. 2 described in access control method, can by preset certification mobile terminal make it is preset
Terminal is matched, and obtains the mailing address in the preset pairing terminal as preset address, to improve the setting of gate inhibition
Method and gate inhibition's door opening method, and then constitute perfect access control method.This kind of perfect access control method, can be realized
Unaware access control, avoids user from operating access control equipment, so as to avoid previous cumbersome operating process, improves
The convenience degree that gate inhibition opens the door.
Embodiment 3
Referring to Fig. 3, being a kind of system structure diagram of access control device provided in this embodiment.
As shown in figure 3, the access control device includes:
Detection module 301 for detecting the mobile terminal in preset range, and obtains the facility information of mobile terminal;
Judgment module 302, for judging in preset user information database whether to include facility information;
First communication module 303, when for including facility information in preset user information database, in mobile terminal and door
Prohibit and establish communication connection between equipment, and obtains the mailing address of mobile terminal;
Judgment module 302, is also used to judge whether mailing address and preset address match;
Second communication module 304, for sending and being used for access control equipment when mailing address and preset address match
The door open command of enabling.
As an alternative embodiment, access control device further include:
Control module 305, for controlling preset pairing when detecting the unpaired message that preset pairing terminal is sent
Terminal and access control equipment are matched;
Module 306 is obtained, in preset pairing terminal and access control equipment successful matching, obtaining preset pairing eventually
The facility information at end, and the facility information of preset pairing terminal is stored into preset user information database;
Module 306 is obtained, is also used to obtain the mailing address of preset pairing terminal, and determines preset pairing terminal
Mailing address is preset address.
As an alternative embodiment, first communication module 303, specifically for being wrapped in preset user information database
When including facility information, send connection request to mobile terminal so that mobile terminal when receiving connection request, open it is built-in
Communication device simultaneously establishes communication connection between mobile terminal and access control equipment, and obtains the mailing address of mobile terminal.
As it can be seen that implementing access control device described in the present embodiment, it can be realized unaware access control, avoid user
Access control equipment is operated, so as to avoid previous cumbersome operating process, improves the convenience degree of gate inhibition's enabling.
In addition, the computer equipment may include smart phone, put down the present invention also provides another computer equipment
Plate computer, vehicle-mounted computer, intelligent wearable device etc..The computer equipment includes memory and processor, and memory can be used for depositing
Store up computer program, processor by running above-mentioned computer program, thus make computer equipment execute the above method or on
State the function of each unit in device.
Memory may include storing program area and storage data area, wherein storing program area can storage program area, at least
Application program needed for one function (such as sound-playing function, image player function etc.) etc.;Storage data area can store root
Created data (such as audio data, phone directory etc.) etc. are used according to computer equipment.In addition, memory may include height
Fast random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device,
Or other volatile solid-state parts.
The present embodiment additionally provides a kind of computer storage medium, for storing calculating used in above-mentioned computer equipment
Machine program.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing
Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, a part of above-mentioned module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart
The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together
Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
If described function is realized and when sold or used as an independent product in the form of software function module, can
To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or
Say that the part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, it should
Computer software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
Smart phone, personal computer, server or network equipment etc.) execute the complete of method described by each embodiment of the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
Content described above, only a specific embodiment of the invention, but protection scope of the present invention is not limited to
In this, anyone skilled in the art in the technical scope disclosed by the present invention, can readily occur in variation or replace
It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims
Subject to.
Claims (10)
1. a kind of access control method characterized by comprising
The mobile terminal in preset gate inhibition's detection range is detected, and obtains the facility information of the mobile terminal;
Judge in preset user information database whether to include the facility information;
When in the preset user information database including the facility information, built between the mobile terminal and access control equipment
Vertical communication connection, and obtain the mailing address of the mobile terminal;
Judge whether the mailing address and preset alignment site match;
When the mailing address and the preset alignment site match, send for controlling the access control equipment enabling
Door open command.
2. access control method according to claim 1, which is characterized in that the mailing address includes bluetooth media access
Address is controlled, the preset alignment site includes default media access control address, wherein the judgement mailing address
The step of whether matching with preset alignment site include:
Authentication comparison is carried out to the bluetooth media accessing to control address and the default media access control address, is compared
As a result;
Judge whether the comparison result is successful comparison result;
When the comparison result is successful comparison result, triggering executes the transmission and opens for controlling the access control equipment
The step of door open command of door.
3. access control method according to claim 1, which is characterized in that the preset user information database includes first
Sub-information library and the second sub-information library, and first sub-information library and second sub-information library do not have identical content,
It is wherein, described to judge whether include the steps that the facility information in preset user information database, comprising:
Judge in first sub-information library whether to include the facility information;
When in first sub-information library including the facility information, triggering execution is described to be set in the mobile terminal with gate inhibition
Communication connection, and the step of obtaining the mailing address of the mobile terminal are established between standby;
When not including the facility information in first sub-information library, judge in second sub-information library whether to include institute
State facility information;
When in second sub-information library including the facility information, triggering execution is described to be set in the mobile terminal with gate inhibition
Communication connection, and the step of obtaining the mailing address of the mobile terminal are established between standby;
When not including the facility information in second sub-information library, triggering executes judgement first sub-information library
In whether include the steps that the facility information.
4. access control method according to claim 1, which is characterized in that the shifting in the preset detection range of detection
Dynamic terminal, and before the step of obtaining the facility information of the mobile terminal, the method also includes:
When detecting the unpaired message that preset pairing terminal is sent, controls the preset pairing terminal and the gate inhibition sets
It is standby to be matched;
In the preset pairing terminal and the access control equipment successful matching, the preset equipment for matching terminal is obtained
Information, and the facility information of the preset pairing terminal is stored into the preset user information database;
The mailing address of the preset pairing terminal is obtained, and determines that the mailing address of the preset pairing terminal is described
Preset address.
5. access control method according to claim 1, which is characterized in that described in the mobile terminal and access control equipment
Between establish communication connection the step of include:
Connection request is sent to the mobile terminal, the mobile terminal is controlled when receiving the connection request, in opening
The communication device set simultaneously establishes the communication connection between the mobile terminal and the access control equipment.
6. a kind of access control device characterized by comprising
Detection module for detecting the mobile terminal in preset range, and obtains the facility information of the mobile terminal;
Judgment module, for judging in preset user information database whether to include the facility information;
First communication module, when for including the facility information in the preset user information database, described mobile whole
It establishes and communicates to connect between end and access control equipment, and obtain the mailing address of the mobile terminal;
The judgment module, is also used to judge whether the mailing address and preset address match;
Second communication module, for sending for controlling the door when the mailing address and the preset address match
Prohibit the door open command that equipment is opened the door.
7. access control device according to claim 6, which is characterized in that the access control device further include:
Control module, for controlling the preset pairing eventually when detecting the unpaired message that preset pairing terminal is sent
End and the access control equipment are matched;
Module is obtained, for obtaining described preset in the preset pairing terminal and the access control equipment successful matching
The facility information of terminal is matched, and stores the preset facility information for matching terminal to the preset user information database
In;
The acquisition module, is also used to obtain the mailing address of the preset pairing terminal, and determines the preset pairing
The mailing address of terminal is the preset address.
8. access control device according to claim 6, which is characterized in that
The first communication module is sent when being specifically used in the preset user information database including the facility information
Connection request is to the mobile terminal, so that the mobile terminal when receiving the connection request, opens built-in communication
Device simultaneously establishes the communication connection between the mobile terminal and the access control equipment, and obtains the mobile terminal communicatedly
Location.
9. a kind of computer equipment, which is characterized in that including memory and processor, the memory is for storing computer
Program, the processor runs the computer program so that the computer equipment executes according to claim 1 to any in 5
A kind of access control method described in.
10. a kind of computer readable storage medium, which is characterized in that it is stored in computer equipment as claimed in claim 9
Used computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811386026.9A CN109523672B (en) | 2018-11-20 | 2018-11-20 | Access control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811386026.9A CN109523672B (en) | 2018-11-20 | 2018-11-20 | Access control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109523672A true CN109523672A (en) | 2019-03-26 |
CN109523672B CN109523672B (en) | 2021-09-21 |
Family
ID=65776442
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811386026.9A Active CN109523672B (en) | 2018-11-20 | 2018-11-20 | Access control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109523672B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599642A (en) * | 2019-08-23 | 2019-12-20 | 珠海优特电力科技股份有限公司 | Unlocking equipment, lock and lock control system |
CN113256854A (en) * | 2021-07-06 | 2021-08-13 | 徐州源勤电子科技有限公司 | User behavior encryption method and device based on computer big data |
CN113593083A (en) * | 2021-06-24 | 2021-11-02 | 云度新能源汽车有限公司 | Vehicle unlocking method and system based on WiFi identification |
CN113808303A (en) * | 2021-08-24 | 2021-12-17 | 珠海市安科电子有限公司 | Composite encryption method, door lock system and storage medium |
CN113835380A (en) * | 2021-06-29 | 2021-12-24 | 辽宁晨晖智慧能源有限公司 | Control system and method for power supply |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104851169A (en) * | 2015-05-25 | 2015-08-19 | 惠州Tcl移动通信有限公司 | Wireless smart lock and unlocking control method thereof |
CN106593135A (en) * | 2016-12-22 | 2017-04-26 | 歌尔科技有限公司 | Lock system based on wireless communication and control method of lock system |
CN107705399A (en) * | 2017-09-15 | 2018-02-16 | 南京右转信息科技有限公司 | The control system and control method of a kind of intelligent entrance guard |
CN107967733A (en) * | 2017-11-20 | 2018-04-27 | 美的智慧家居科技有限公司 | Door lock door opening method, door lock and computer-readable recording medium |
CN108541324A (en) * | 2016-12-27 | 2018-09-14 | 深圳易马达科技有限公司 | A kind of unlocking method of electronic lock device, client and its electronic lock device |
-
2018
- 2018-11-20 CN CN201811386026.9A patent/CN109523672B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104851169A (en) * | 2015-05-25 | 2015-08-19 | 惠州Tcl移动通信有限公司 | Wireless smart lock and unlocking control method thereof |
CN106593135A (en) * | 2016-12-22 | 2017-04-26 | 歌尔科技有限公司 | Lock system based on wireless communication and control method of lock system |
CN108541324A (en) * | 2016-12-27 | 2018-09-14 | 深圳易马达科技有限公司 | A kind of unlocking method of electronic lock device, client and its electronic lock device |
CN107705399A (en) * | 2017-09-15 | 2018-02-16 | 南京右转信息科技有限公司 | The control system and control method of a kind of intelligent entrance guard |
CN107967733A (en) * | 2017-11-20 | 2018-04-27 | 美的智慧家居科技有限公司 | Door lock door opening method, door lock and computer-readable recording medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599642A (en) * | 2019-08-23 | 2019-12-20 | 珠海优特电力科技股份有限公司 | Unlocking equipment, lock and lock control system |
CN110599642B (en) * | 2019-08-23 | 2022-03-22 | 珠海优特电力科技股份有限公司 | Unlocking equipment, lock and lock control system |
CN113593083A (en) * | 2021-06-24 | 2021-11-02 | 云度新能源汽车有限公司 | Vehicle unlocking method and system based on WiFi identification |
CN113835380A (en) * | 2021-06-29 | 2021-12-24 | 辽宁晨晖智慧能源有限公司 | Control system and method for power supply |
CN113256854A (en) * | 2021-07-06 | 2021-08-13 | 徐州源勤电子科技有限公司 | User behavior encryption method and device based on computer big data |
CN113808303A (en) * | 2021-08-24 | 2021-12-17 | 珠海市安科电子有限公司 | Composite encryption method, door lock system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109523672B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109523672A (en) | A kind of Door-access control method and device | |
US20190372971A1 (en) | Identity Authentication Method and Apparatus, and User Equipment | |
US20180213397A1 (en) | Method and apparatus for interconnection between terminal device and gateway device | |
EP3675541B1 (en) | Authentication method and device | |
CN103108327B (en) | Checking terminal unit and the method for subscriber card security association, Apparatus and system | |
CN104125567B (en) | Home eNodeB accesses method for authenticating, device and the Home eNodeB of network side | |
CN106792707A (en) | The detection method and device of counterfeit WAP | |
CN105898743B (en) | A kind of method for connecting network, apparatus and system | |
CN108737381A (en) | A kind of extended authentication method of Internet of things system | |
CN112995895B (en) | Network sharing method, device, terminal and computer readable storage medium | |
CN107579966A (en) | Control method, device, system and the terminal device of remote access to intranet | |
CN107529160A (en) | A kind of VoWiFi method for network access and system, terminal and wireless access points equipment | |
CN106961683B (en) | Method and system for detecting illegal AP and discoverer AP | |
CN106982430B (en) | Portal authentication method and system based on user use habits | |
CN109872424A (en) | A kind of unlocking method, device, electronic equipment and storage medium | |
CN108650671A (en) | Establish method, apparatus, mobile terminal, storage medium and the system of bluetooth connection | |
CN101867912A (en) | Authentication method of access network and terminal | |
CN111901208A (en) | Intelligent equipment control method and device, intelligent control panel and storage medium | |
CN107508784B (en) | Application login method and terminal equipment | |
CN110992528A (en) | Intelligent door lock binding method and equipment based on identification code and storage medium | |
CN106102066A (en) | A kind of wireless network secure certification devices and methods therefor, a kind of router | |
CN104782154B (en) | A kind of method and apparatus for disabling algorithm in a device | |
CN106341374A (en) | Method and device for restricting access of unlicensed user device to home gateway | |
CN108282784A (en) | Wireless network access method, MiFi terminals, mobile terminal and storage medium | |
CN104426894B (en) | A kind of register method of terminal applies, business platform equipment and terminal |
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 |