Summary of the invention
The main purpose of the present invention is to provide a kind of gate inhibition's authentication control method, device and computer-readable storage mediums
Matter, it is intended to which the technical issues of authorizing to user and selling power can not be realized in time by solving access control system administrator.
To achieve the above object, the present invention provides a kind of gate inhibition's authentication control method, is applied to access control system, described
Access control system includes requesting terminal and producer's terminal, gate inhibition's authentication control method the following steps are included:
When receiving the authorization requests of requesting terminal sending, determine whether the corresponding room of the authorization requests is in
Licensing status;
When the room is in licensing status, it is whole that the authorization requests are sent to the corresponding producer in the room
End;
When producer's terminal receives the authorization requests, the corresponding Authorization result of the authorization requests is fed back to institute
State requesting terminal.
Preferably, the access control system includes Cloud Server and may operate in application journey in multiple terminals
Sequence, it is described when receiving the authorization requests of requesting terminal sending, determine whether the corresponding room of the authorization requests is in
The step of licensing status includes:
When receiving the authorization requests based on the authorized application page triggering in application program, the authorization is obtained
Request corresponding room number information;
Based on the data in Cloud Server, determines whether the corresponding room of the room number information is in and authorized shape
State, wherein the room in licensing status is stored with access control system pair by corresponding producer's terminal management, Cloud Server
All data answered.
Preferably, described when receiving the authorization requests of requesting terminal sending, determine the corresponding room of the authorization requests
Between whether in licensing status the step of after, the method also includes:
When the room is not at licensing status, the authorization identifying page is shown, obtain and be based on the authorization identifying page
The authentication information of triggering, wherein authentication information includes that the room number information, subscriber identity information, application program are corresponding
Account information;
The authentication information is verified, authentication result is fed back into requesting terminal.
Preferably, described when producer's terminal receives the authorization requests, it is corresponding to feed back the authorization requests
Authorization result to the step of requesting terminal includes:
When producer's terminal receives the authorization requests, display authorization requests talk with the page, obtain and are awarded based on described
The feedback result of the power request dialogue page;
When the feedback result is to agree to the authorization requests, the requesting terminal is authorized into the authorization requests pair
The permission in the room answered.
Preferably, described when producer's terminal receives the authorization requests, display authorization requests talk with the page, obtain
After the step of talking with the feedback result of the page based on the authorization requests, the method also includes:
When the feedback result is to refuse the authorization requests, transmission refusal authorization prompt information to the request is eventually
End.
Preferably, the access control system includes visitor's terminal, described to receive the authorization in producer's terminal
When request, after the step of feeding back the corresponding Authorization result of the authorization requests to the requesting terminal, the method also includes:
When receiving the pin power instruction that producer's terminal is sent, show that the pin power instructs the corresponding pin power page,
Obtain based on pin power the page triggering pin weight parameter information, wherein the pin weight parameter information include room number information and
Pin power object information;
When getting the pin weight parameter information, updates the pin power and instruct corresponding visitor's terminal in Cloud Server
Status information, send pin power feedback information to visitor's terminal and producer's terminal.
Preferably, the access control system includes that the application program that may operate in the multiple terminal and visitor are whole
End, the application program has two-dimensional code authentication function, described when producer's terminal receives the authorization requests, feedback
After the step of corresponding Authorization result of the authorization requests to requesting terminal, the method also includes:
When receiving the authorized order that producer's terminal is sent, the corresponding authorization page of the authorized order is shown,
Obtain the authorization parameter information triggered based on authorization page, wherein the authorization parameter information includes room number information, authorization
Object information and authorization period information;
When getting the authorization parameter information, determine that producer's terminal visitor corresponding with the authorized order is whole
Whether end has been associated;
When producer's terminal and visitor's terminal have been associated, it is whole to the visitor to send authorization message request
End, so that visitor's terminal states the corresponding room of authorized order based on the two-dimensional code authentication function opening in the application program
Between, wherein authorization message request includes that the authorization two dimensional code for being stored with the parameter information and the authorization two dimensional code correspond to
Operation instruction.
Preferably, described when getting the parameter information, determine that producer's terminal is corresponding with the authorized order
Visitor's terminal the step of whether being associated after, the method also includes:
When producer's terminal and visitor's terminal are not associated, association is sent by the authorization page and is asked
It asks;
Status information of the visitor's terminal in Cloud Server is updated based on the association request.
In addition, to achieve the above object, the present invention also provides a kind of gate inhibition's authorization control devices, which is characterized in that described
Gate inhibition's authorization control device includes: memory, processor and is stored on the memory and can run on the processor
Gate inhibition's authorization control program, when gate inhibition's authorization control program is executed by the processor realize any of the above-described gate inhibition award
The step of weighing control method.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Gate inhibition's authorization control program is stored on storage medium, gate inhibition's authorization control program realizes above-mentioned when being executed by processor
The step of one gate inhibition's authentication control method.
The present invention program, by determining that the authorization requests are corresponding when receiving the authorization requests of requesting terminal sending
Room whether be in licensing status;Then when the room is in licensing status, the authorization requests are sent to
The corresponding producer's terminal in the room;Later when producer's terminal receives the authorization requests, feeds back the authorization and ask
Ask corresponding Authorization result to requesting terminal.The present invention realizes audit permission to concentrate and distributed cooperation, improves audit
The efficiency of process alleviates the examination burden of system manager, ensure that access control system is in safe and reliable state, can
Timely to carry out the authorization and pin power of access control system to visitor, two dimensional code active push, which can be generated, in producer obtains it to visitor
Gate inhibition's authorization is obtained, is avoided because audit has delayed authorization opportunity not in time.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, E-book reader, MP3
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3)
Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound
Frequency level 3) the packaged type terminal device having a display function such as player, portable computer.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, quiet
Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related
Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe module, Subscriber Interface Module SIM and gate inhibition's authorization control program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for calling the gate inhibition's authorization control program stored in memory 1005.
In the present embodiment, gate inhibition's authorization control device includes: memory 1005, processor 1001 and is stored in described deposit
On reservoir 1005 and the gate inhibition's authorization control program that can be run on the processor 1001, wherein the calling of processor 1001 is deposited
When the gate inhibition's authorization control program stored in reservoir 1005, following operation is executed:
When receiving the authorization requests of requesting terminal sending, determine whether the corresponding room of the authorization requests is in
Licensing status;
When the room is in licensing status, it is whole that the authorization requests are sent to the corresponding producer in the room
End;
When producer's terminal receives the authorization requests, the corresponding Authorization result of the authorization requests is fed back to asking
Seek terminal.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also execute
It operates below:
When receiving the authorization requests based on the authorized application page triggering in application program, the authorization is obtained
Request corresponding room number information;
Based on the data in Cloud Server, determines whether the corresponding room of the room number information is in and authorized shape
State, wherein the room in licensing status is stored with access control system pair by corresponding producer's terminal management, Cloud Server
All data answered.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also execute
It operates below:
When the room is not at licensing status, the authorization identifying page is shown, obtain and be based on the authorization identifying page
The authentication information of triggering, wherein authentication information includes that the room number information, subscriber identity information, application program are corresponding
Account information;
The authentication information is verified, authentication result is fed back into requesting terminal.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also execute
It operates below:
When producer's terminal receives the authorization requests, display authorization requests talk with the page, obtain and are awarded based on described
The feedback result of the power request dialogue page;
When the feedback result is to agree to the authorization requests, the requesting terminal is authorized into the authorization requests pair
The permission in the room answered.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also execute
It operates below:
When the feedback result is to refuse the authorization requests, transmission refusal authorization prompt information to the request is eventually
End.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also execute
It operates below:
When receiving the pin power instruction that producer's terminal is sent, show that the pin power instructs the corresponding pin power page,
Obtain based on pin power the page triggering pin weight parameter information, wherein the pin weight parameter information include room number information and
Pin power object information;
When getting the pin weight parameter information, updates the pin power and instruct corresponding visitor's terminal in Cloud Server
Status information, send pin power feedback information to visitor's terminal and producer's terminal.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also execute
It operates below:
When receiving the authorized order that producer's terminal is sent, the corresponding authorization page of the authorized order is shown,
Obtain the authorization parameter information triggered based on authorization page, wherein the authorization parameter information includes room number information, authorization
Object information and authorization period information;
When getting the authorization parameter information, determine that producer's terminal visitor corresponding with the authorized order is whole
Whether end has been associated;
When producer's terminal and visitor's terminal have been associated, it is whole to the visitor to send authorization message request
End, so that visitor's terminal states the corresponding room of authorized order based on the two-dimensional code authentication function opening in the application program
Between, wherein authorization message request includes that the authorization two dimensional code for being stored with the parameter information and the authorization two dimensional code correspond to
Operation instruction.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also execute
It operates below:
When producer's terminal and visitor's terminal are not associated, association is sent by the authorization page and is asked
It asks;
Status information of the visitor's terminal in Cloud Server is updated based on the association request.
First embodiment of the invention provides a kind of gate inhibition's authentication control method, is gate inhibition of the present invention authorization referring to Fig. 2, Fig. 2
The flow diagram of control method first embodiment.
In the present embodiment, which is applied to access control system, the access control system packet
Include multiple terminals, gate inhibition's authentication control method the following steps are included:
Step S110 determines the corresponding room of the authorization requests when receiving the authorization requests of requesting terminal sending
Whether in licensing status;
Terminal in the present embodiment can be desktop computer, and the terminal having a display function such as notebook or smart phone is set
It is standby, while above-mentioned terminal can also run application program, such as wechat, this is a kind of instant messaging application based on mobile terminal
Program also developed many functions other than mutually sending out message with good friend at present, such as public platform function.Wechat public platform is a kind of
Special wechat account is different from private account, is usually applied by developer or businessman, may be implemented in wechat platform and special
Grouping body provides business service platform and user's pipe by text, picture, voice, the communication of video, interaction, to enterprise and tissue
Platform provides mobile application entrance for enterprise or tissue, helps enterprise to establish and applies with employee, upstream and downstream supply chain and enterprise
Between connection.The present invention is its function to be realized based on wechat public platform, including producer can pass through the submission pair of wechat public platform
The authentication information of producer's identity completes the certification of producer's identity, and the life of authorization two dimensional code can also be realized by wechat public platform
At, and then it is pushed to visitor, so that it is obtained access permission, can also actively be applied by visitor by wechat public platform, in producer
Access permission is obtained after agreement.Although the application program that can run the method for the present invention is not limited only to wechat, in this implementation
In example only by taking wechat as an example, and need to pay close attention to wechat public platform according to the present invention in wechat.
When requesting terminal gets the instruction of follow the WeChat public platform, can searching menu in the application it is logical
The title or code search for crossing public platform show the introduction page of the wechat public platform to the information of the public platform.It is getting
It, can be in wechat application program to involved by the present invention when being instructed based on the concern for the public platform for introducing interface triggering
And wechat public platform paid close attention to, the homepage of the wechat public platform is shown in the display screen of requesting terminal, the homepage
It include several menu bars, each menu bar divides into several buttons, and the button is different functional entrance.
Access control system in the present invention further includes gate inhibition's two dimensional code, Cloud Server, access control in addition to multiple terminals
Circuit.Gate inhibition's two dimensional code and room are one-to-one, include room number information;Cloud Server is for storing user information
And the permission of user is identified, successful director data will be authenticated and pass through TSP/IP agreement (time stamp agreement/internet protocol
View) it is sent in control circuit.
When receiving the trigger action of the corresponding menu bar button of authorization requests function, the authorized application page is shown, use
In the room number information that the expectation of acquisition request terminal obtains, which has multiple drop-down menus refined step by step, each
A drop-down menu is provided with multiple options according to the actual situation, for example, 5 grades of drop-down dishes can be set in the authorized application page
Single, range reduces step by step from big to small, including saves, city, cell or street, number, room number;It can guarantee fast and accurately
It gets authorization requests and operates corresponding room number information.Getting the submission operation based on the triggering of the authorized application page
When, the authorization requests containing room number information are generated, wechat public platform management backstage is sent to.It is received in the management backstage
When to the authorization requests, accesses to the Cloud Server for being stored with all access informations, pass through the room number information tune
Its corresponding gate inhibition's authorization message is taken, determines whether the corresponding gate inhibition's authorization message of the room number includes the producer for obtaining authorization
End message, if existing producer obtains the access permission in the room, the corresponding gate inhibition of the room number in Cloud Server
Authorization message will include the producer's end message for obtaining authorization, indicate that the room is in licensing status.It is in the room
When licensing status, Cloud Server is by the status information feedback in the room to management backstage.
It is corresponding to be sent to the room when the room is in licensing status by step S120 for the authorization requests
Producer's terminal;
The application program involved in the present invention arrived, can run over multiple terminals, including mobile terminal and non-moving end
End, usual mobile terminal refer to smart phone, tablet computer, laptop etc., and immobile terminal refers to desktop computer.Based on micro-
Letter application program not only can run on the mobile terminals such as smart phone but also can run on the immobile terminals such as desktop computer
Feature, producer's terminal refer to used wechat account corresponding terminal when producer's authentication.Since producer's wechat account can
To log in over multiple terminals simultaneously, therefore the corresponding terminal of the account can be identified as producer's terminal from the background.In general,
Producer's terminal can be multiple terminals, but this multiple terminal uses the same wechat account, that is to say, that producer's terminal pair
It is unique when the wechat account answered.For example, the wechat account of first is that producer's terminal that certification is multiple rooms corresponds to account, work as first
Simultaneously when logging in the wechat account on smart phone and notebook, it all can serve as producer's terminal and operate, but for
For the access control system in above-mentioned room, can only identify the corresponding terminal of wechat account of first as producer's terminal, no matter this
Whether a terminal device was certified.
When the room is in licensing status, the authorization requests are sent to producer's terminal by management backstage.
Step S130 feeds back that the authorization requests are corresponding to award when producer's terminal receives the authorization requests
Result is weighed to the requesting terminal.
In the case where producer's terminal can normally receive the message of wechat application program transmission, producer's terminal is being received
When to authorization requests, the prompting message generated from wechat application program system can be received, shows the prompting message page.?
When getting feedback operation, the corresponding feedback result of feedback operation is obtained, determines whether to award access permission according to feedback result
Give requesting terminal.When feedback operation is agreement button of the triggering based on prompting message interface, feedback result is determined as agreeing to
Access permission is authorized, when feedback operation is refusal button of the triggering based on prompting message interface, feedback result is determined as refusing
Access permission is authorized absolutely.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by receiving requesting terminal sending
When authorization requests, determine whether the corresponding room of the authorization requests is in licensing status;Then it is in the room
When licensing status, the authorization requests are sent to the corresponding producer's terminal in the room;It is received later in producer's terminal
When to the authorization requests, the corresponding Authorization result of the authorization requests is fed back;The present invention realize audit permission with concentrate with
Distributed cooperation improves the efficiency of review process, alleviates the examination burden of system manager, ensure that access control system
In safe and reliable state, the authorization of access control system timely can be carried out to visitor and pin is weighed, two dimension can be generated in producer
Code active push makes it obtain gate inhibition's authorization to visitor, avoids because audit has delayed authorization opportunity not in time.
Based on first embodiment, the second embodiment of gate inhibition's authentication control method of the present invention is proposed, referring to Fig. 3.In this reality
It applies in example, the access control system includes the application program that may operate in multiple terminals and Cloud Server, step
S110 includes:
Step S111 is obtained when receiving the authorization requests based on the authorized application page triggering in application program
Take the corresponding room number information of the authorization requests;
Requesting terminal can be when entering the homepage of public platform, by receiving the corresponding menu of authorization requests function
When the trigger action of column button, the authorized application page is shown, it, should for the room number information that the expectation of acquisition request terminal obtains
Page setup has multiple drop-down menus refined step by step, each drop-down menu is provided with multiple options, example according to the actual situation
Such as, in the authorized application page, 5 grades of drop-down menus can be set, range reduces step by step from big to small, including save, city, cell or
Street, number, room number;It can guarantee that fast and accurately getting authorization requests operates corresponding room number information.?
When getting the submission operation based on the triggering of the authorized application page, the authorization requests containing room number information are generated, are sent to
Wechat public platform management backstage.
Step S112 determines whether the corresponding room of the room number information is in based on the data in Cloud Server
Licensing status, wherein for the room in licensing status by corresponding producer's terminal management, Cloud Server is stored with gate inhibition's control
The corresponding all data of system processed.
When the management backstage receives the authorization requests, the Cloud Server for being stored with all access informations is visited
It asks, its corresponding gate inhibition's authorization message is transferred by the room number information, determine the corresponding gate inhibition's authorization of the room number
Whether information includes the producer's end message for obtaining authorization, if existing producer obtains the access permission in the room, cloud service
The corresponding gate inhibition's authorization message of the room number in device will include the producer's end message for having obtained authorization, indicate at the room
In licensing status.When the room is in licensing status, Cloud Server is by the status information feedback in the room to pipe
Reason backstage.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by receiving based in application program
The authorized application page triggering the authorization requests when, obtain the corresponding room number information of the authorization requests;Then base
Data in Cloud Server, determine whether the corresponding room of the room number information is in licensing status, wherein cloud clothes
Business device is stored with the corresponding all data of access control system;Using mass data stored in cloud server, request is authorized
The room of access permission carries out state judgement, for being in the room of licensing status, which is forwarded to and possesses authorization
Producer's terminal of right, is audited by producer's terminal, and producer corresponding to each room is transferred in the examination that script is concentrated
Terminal, alleviates the work load of system manager, is also granted by the bigger right of producer's terminal, and the safety for enhancing producer is protected
Barrier.
Based on first embodiment, the 3rd embodiment of gate inhibition's authentication control method of the present invention is proposed, referring to Fig. 4, in this reality
It applies in example, after step S110, the method also includes:
Step S140 shows the authorization identifying page when the room is not at licensing status, obtains and is based on the authorization
The authentication information of certification page triggering, wherein authentication information includes the room number information, subscriber identity information, using journey
The corresponding account information of sequence;
When the room is not at licensing status, indicate that the corresponding gate inhibition of the room number authorizes letter in Cloud Server
Breath does not include having obtained producer's end message of authorization, therefore Cloud Server generates prompt letter based on the status information in the room
Breath is sent to requesting terminal, prompts other side to need that personal information is submitted to carry out authentication, shows the authorization identifying page, awards at this
Power certification page needs user to fill in the authentication information that certification needs, including room number information, Yong Hushen according to prompt information
Part information, the corresponding account information of application program, wherein room number information refers to the corresponding room number of the authorization requests,
Subscriber identity information refers to the address name for issuing authorization requests, and the information such as cell-phone number are being received based on the authorization identifying page
When the completion instruction of triggering, the wechat account binding corresponding with the requesting terminal of above-mentioned authentication information is sent to management backstage,
It is also desirable to verify the validity of cell-phone number, therefore when submitting authentication information, believed from system to authentication
Cell-phone number in breath sends the verification information comprising random verification code, starts timing when getting the verification information, such as
Fruit requesting terminal get within a preset period of time the random verification code and by contrast with management backstage send identifying code it is consistent,
Then determine that the cell-phone number is authentic and valid.
Step S150, verifies the authentication information, and authentication result is fed back to requesting terminal.
It can also be verified based on the above-mentioned authentication information of data verification in Cloud Server with direct labor.It is taken based on cloud
The method that data in business device are verified is, when getting the authorization requests containing authentication information, to transfer in Cloud Server
The corresponding register information of the room number determines user's surname used in the requesting terminal for issuing authorization requests and register information
Whether name is consistent with cell-phone number, under unanimous circumstances, makes the decision for authorizing the requesting terminal access permission, and by the request
Terminal is determined as producer's terminal.In the register information situation inconsistent with address name involved in authentication information and cell-phone number
Under, turn to manual verification's program.Manual verification needs system manager to log in back-stage management account in terminal, transfers needs and tests
The authorization requests of card, wherein the terminal that back-stage management account logs in is management terminal.It is true according to the register information in Cloud Server
Whether the fixed requesting terminal is that producer in register information may also need to pass through register information if it can not determine
Producer is contacted, confirms whether the authorization requests are he or she's operation.System manager is usually the pipe of cell where producer
Reason personnel, such as property management personnel etc., this kind of personnel often grasp the identity information that registers on the books for having each householder of cell, and
And often more accurately, it so after authorization requests are transferred to the program of manual verification, can be stepped on by administrative staff's reference
Information is remembered to audit the corresponding authentication information of authorization requests.
When management terminal gets authentication information and the consistent result of register information, makes and authorize requesting terminal gate inhibition
The requesting terminal is fed back to requesting terminal by way of the authentication result authenticated is by prompt information, together by the decision of permission
The authorization message is adjusted to increase producer's terminal letter by gate inhibition authorization message of the Shi Gengxin room number in Cloud Server
Breath, wherein the result can be made by Cloud Server or system manager.Authentication information and registered letter are got in management terminal
When ceasing inconsistent result, the decision for refusing the authorization requests is made, the authentication result of the requesting terminal authentification failure is passed through
The form of prompt information feeds back to requesting terminal, wherein the result can be made by Cloud Server or system manager.
The producer's terminal for obtaining Cloud Server or management backstage mutual authentication can need to open room gate inhibition system in next time
When system, that puts up on sweep gate is opened with the one-to-one gate inhibition's two dimensional code of room number or into wechat public platform using a key
Door function, since producer's terminal has been authenticated, the corresponding gate inhibition's authorization message of the room number in Cloud Server
Including producer's end message, when producer's terminal issues the instruction that a key opens the door, Cloud Server can verify the producer automatically
The authenticity of terminal is verified errorless rear by access control circuit opening door lock.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by being not at authorization shape in the room
When state, the authorization identifying page is shown, obtain the authentication information triggered based on the authorization identifying page, wherein authentication information packet
Include the room number information, subscriber identity information, the corresponding account information of application program;The number being then based in Cloud Server
According to the authentication information is verified, authentication result is fed back into requesting terminal;Request can be helped to audit eventually in no producer's terminal
When the permission at end, control system may require that requesting terminal provide more information, for management backstage as producer's terminal into
Row examines, ensure that the accuracy of certification, perfect to operate to provide certification channel using the producer of the access control system for the first time
Process.
Based on first embodiment, the fourth embodiment of gate inhibition's authentication control method of the present invention is proposed, referring to Fig. 5, in this reality
It applies in example, step S130 includes:
Step S131, when producer's terminal receives the authorization requests, display authorization requests talk with the page, obtain base
In the feedback result of the authorization requests dialogue page;
In the case where producer's terminal can normally receive the message of wechat application program transmission, producer's terminal is being received
When to authorization requests, the prompting message generated from wechat application program system can be received, shows the prompting message page.?
When getting feedback operation, the corresponding feedback result of feedback operation is obtained, determines whether to award access permission according to feedback result
Give requesting terminal.,
Step S132 is authorized described in the requesting terminal entrance when the feedback result is to agree to the authorization requests
The permission in the corresponding room of authorization requests.
When feedback operation is agreement button of the triggering based on prompting message interface, feedback result is determined as agreeing to authorize
Access permission.
Further, in one embodiment, after step S132, gate inhibition's authentication control method further include:
When the feedback result is to refuse the authorization requests, transmission refusal authorization prompt information to the request is eventually
End.
When feedback operation is refusal button of the triggering based on prompting message interface, feedback result is determined as refusal and is authorized
Access permission.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, it is described by being received in producer's terminal
When authorization requests, display authorization requests talk with the page, obtain the feedback result based on the authorization requests dialogue page;Then exist
The feedback result is to authorize the requesting terminal into the corresponding room of the authorization requests when agreeing to the authorization requests
Permission;When applying for that existing producer's terminal obtains the room of authorization, authorized application is directly by producer's terminal processes, due to producer's end
End improves the accuracy of audit it is only necessary to examine individual authorized applications, ensure that safety.
Based on first embodiment, the 5th embodiment of gate inhibition's authentication control method of the present invention is proposed, referring to Fig. 6, in this reality
It applies in example, after step S130, the method also includes:
Step S160 obtains pin power and instructs corresponding pin power when receiving the pin power instruction that producer's terminal is sent
Parameter information, wherein the pin weight parameter information includes room number information and pin power object information;
Server shows that the pin power instructs corresponding pin power when receiving the pin power instruction that producer's terminal is sent
The page, in the pin power page, having prompt information help to obtain producer's terminal needs pin weight parameter information to be offered, including needs
Sell the room number information and corresponding visitor's terminal of power.The pin power ginseng based on pin power page triggering is received in producer's terminal
After number information solicitation completes instruction, the pin weight parameter information is sent to apps server, i.e. wechat server.
Step S170 updates the pin power and corresponding visitor's terminal is instructed to exist when getting the pin weight parameter information
Status information in Cloud Server sends pin power feedback information to visitor's terminal and producer's terminal.
Wechat server stores it when receiving above-mentioned pin weight parameter information, according to specified path, and pushes
To management backstage, management backstage updates pin power and corresponding visitor's terminal is instructed to exist prompting message when receiving the prompting message
The corresponding access control information of room number is adjusted to not including visitor's terminal letter by the status information in Cloud Server
Breath sends pin power feedback information to visitor's terminal and producer's terminal later.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by receiving producer's terminal hair
When the pin power instruction sent, shows that the pin power instructs the corresponding pin power page, obtain the pin weight parameter based on pin power page triggering
Information, wherein the pin weight parameter information includes room number information and pin power object information;Then the pin is being got
When weight parameter information, updates the pin power and instruct status information of the corresponding visitor's terminal in Cloud Server, it is anti-to send pin power
Feedforward information is to visitor's terminal and producer's terminal;Producer can the access permission to visitor's terminal timely sold
Power, avoids security risk.
Based on first embodiment, the sixth embodiment of gate inhibition's authentication control method of the present invention is proposed, referring to Fig. 7, in this reality
It applies in example, after step S130, the method also includes:
Step S180 shows that the authorized order is corresponding when receiving the authorized order that producer's terminal is sent
Authorization page obtains the authorization parameter information triggered based on authorization page, wherein the authorization parameter information includes room number
Information, authorization object information and authorization period information;
When producer needs actively to authorize access permission to a certain visitor's terminal, can be awarded by the active of wechat public platform
Function, the selection authorization corresponding gate inhibition in room and corresponding authorization period are weighed, then visitor's terminal is receiving authorization two dimension
Code is can to authorize qualification by identifying that the two dimensional code obtains gate inhibition.
Producer's terminal can enter the menu bar of wechat public platform, when getting authorized order, by triggering menu bar
In Unsolicited Grant function, the corresponding authorization page of display authorized order provides prompt information in the authorization page and helps industry
Family provides authorization parameter information, wherein authorization parameter information includes room number, and visitor's terminal that producer wants authorization is corresponding
Wechat account and producer want the open authorization period, it is notable that gate inhibition's authorization for visitor's terminal only exists
It authorizes in the period effectively, once beyond the time as defined in the authorization period, the access permission that visitor's terminal possesses will nullify immediately,
If you need to again by gate inhibition, need to submit authorized application again or by producer's terminal active transmission authorization two dimensional code again.It is right
For the same suite of rooms, there may be several rooms, wherein there is unique corresponding number in each room in access control system,
Therefore producer's terminal the room number information that authorization page obtains may be in the corresponding one set of house of producer's terminal individually it is several
The access permission in a room, for example, sharing 3 rooms in one set of house, other are public domain, the corresponding room of this suite of rooms
Between number just and have 4, one of them is gate, and each one of other 3 rooms are specifically needed the gate inhibition of which room number
Permission is authorized visitor's terminal and can voluntarily be selected by producer in authorization page.
Step S190 determines producer's terminal and the authorized order pair when getting the authorization parameter information
Whether the visitor's terminal answered has been associated;
When getting including room number, visitor's terminal wechat account and the authorization parameter information of authorization period, really
Whether the fixed wechat account has been associated with producer's terminal, and association refers to that producer's terminal can be whole to visitor by least one mode
End sends authorization two dimensional code, for example, if the wechat account of visitor and producer are wechat friend relations, it can be in wechat application
The chat interface of program directly sends authorization two dimensional code with graphic form and is knowing visitor's terminal if it is other correlation forms
Phone number when, can also by way of multimedia message will authorization two dimensional code be sent to visitor's terminal.
Step S200 sends authorization message request extremely when producer's terminal and visitor's terminal have been associated
Visitor's terminal, so that visitor's terminal states authorized order based on the two-dimensional code authentication function opening in the application program
Corresponding room, wherein authorization message request includes the authorization two dimensional code for being stored with the parameter information and the authorization two
Tie up the corresponding operation instruction of code.
There are when the association status of at least one form, generate an authorization to invite between producer's terminal and visitor's terminal
Information is sent to visitor's terminal, which includes a picture for quick response code form and making for passage form
With explanation, visitor's terminal can be activated when receiving the authorization message request by the two dimensional code in identification authorization message request
The authorized order can pay close attention to public platform automatically and enter the homepage of the public platform after identifying two dimensional code, just complete at this time
At producer's terminal to the Unsolicited Grant of visitor's terminal.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by receiving producer's terminal hair
When the authorized order sent, the corresponding authorization page of the authorized order is shown, obtain the authorization parameter triggered based on authorization page
Information, wherein the authorization parameter information includes room number information, authorization object information and authorization period information;Then
When getting the authorization parameter information, whether producer's terminal visitor's terminal corresponding with the authorized order is determined
It is associated;Later when producer's terminal and visitor's terminal have been associated, authorization message request is sent to described
Visitor's terminal is stated authorized order based on the two-dimensional code authentication function opening in the application program for visitor's terminal and is corresponded to
Room, wherein authorization message request include the authorization two dimensional code and the authorization two dimensional code for being stored with the parameter information
Corresponding operation instruction;Producer can authorize part access permission by way of Unsolicited Grant, improve the flexible of gate inhibition's authorization
Property.
Based on sixth embodiment, the 7th embodiment of gate inhibition's authentication control method of the present invention is proposed, referring to Fig. 8, in this reality
It applies in example, after step S190, the method also includes:
Step S210 is sent out when producer's terminal and visitor's terminal are not associated by the authorization page
Send association request;
When producer's terminal needs actively to authorize some visitor, and producer's terminal is not associated with visitor's terminal
When, it triggers the addition good friend based on authorization page and submits function, can make two terminals be not wechat good friend or no pair
Sent in the case where square phone number by wechat platform and operator's multimedia message includes to authorize awarding for two dimensional code and operation instruction
Weigh message request.Producer's terminal passes through wechat when receiving the addition good friend based on authorization page triggering and submitting instruction
Server sends addition good friend request to visitor's terminal and the authorization message request is temporarily stored in Cloud Server, in visitor's terminal
When requesting by the addition good friend, the invitation authorization message is sent.
Step S220 updates status information of the visitor's terminal in Cloud Server based on the association request.
Cloud Server updates the authorization and invites the corresponding room number of instruction when receiving the authorization invitation instruction
Gate inhibition's authorization message, which is adjusted to comprising visitor's end message.So that visitor's terminal can
It is authorized in the two dimensional code puted up on sweep gate.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by producer's terminal and the visit
When objective terminal is not associated, association request is sent by the authorization page;It is then based on described in the association request update
Status information of visitor's terminal in Cloud Server;It, can also be straight in authorization page when producer and visitor are not wechat good friends
It meets addition good friend and submits to management backstage, simplify the process that access permission is authorized, optimize the usage experience of user.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with gate inhibition's authorization control program, following operation is realized when gate inhibition's authorization control program is executed by processor:
When receiving the authorization requests of requesting terminal sending, determine whether the corresponding room of the authorization requests is in
Licensing status;
When the room is in licensing status, it is whole that the authorization requests are sent to the corresponding producer in the room
End;
When producer's terminal receives the authorization requests, the corresponding Authorization result of the authorization requests is fed back to institute
State requesting terminal.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When receiving the authorization requests based on the authorized application page triggering in application program, the authorization is obtained
Request corresponding room number information;
Based on the data in Cloud Server, determines whether the corresponding room of the room number information is in and authorized shape
State, wherein the room in licensing status is stored with access control system pair by corresponding producer's terminal management, Cloud Server
All data answered.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When the room is not at licensing status, the authorization identifying page is shown, obtain and be based on the authorization identifying page
The authentication information of triggering, wherein authentication information includes that the room number information, subscriber identity information, application program are corresponding
Account information;
The authentication information is verified, authentication result is fed back into requesting terminal.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When producer's terminal receives the authorization requests, display authorization requests talk with the page, obtain and are awarded based on described
The feedback result of the power request dialogue page;
When the feedback result is to agree to the authorization requests, the requesting terminal is authorized into the authorization requests pair
The permission in the room answered.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When the feedback result is to refuse the authorization requests, transmission refusal authorization prompt information to the request is eventually
End.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When receiving the pin power instruction that producer's terminal is sent, show that the pin power instructs the corresponding pin power page,
Obtain based on pin power the page triggering pin weight parameter information, wherein the pin weight parameter information include room number information and
Pin power object information;
When getting the pin weight parameter information, updates the pin power and instruct corresponding visitor's terminal in Cloud Server
Status information, send pin power feedback information to visitor's terminal and producer's terminal.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When receiving the authorized order that producer's terminal is sent, the corresponding authorization page of the authorized order is shown,
Obtain the authorization parameter information triggered based on authorization page, wherein the authorization parameter information includes room number information, authorization
Object information and authorization period information;
When getting the authorization parameter information, determine that producer's terminal visitor corresponding with the authorized order is whole
Whether end has been associated;
When producer's terminal and visitor's terminal have been associated, it is whole to the visitor to send authorization message request
End, so that visitor's terminal states the corresponding room of authorized order based on the two-dimensional code authentication function opening in the application program
Between, wherein authorization message request includes that the authorization two dimensional code for being stored with the parameter information and the authorization two dimensional code correspond to
Operation instruction.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When producer's terminal and visitor's terminal are not associated, association is sent by the authorization page and is asked
It asks;
Status information of the visitor's terminal in Cloud Server is updated based on the association request.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.