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 scheme of the embodiment of the present invention is related to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, MP3
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3)
Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound
Frequency aspect 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components.
User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface
1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard
Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Alternatively, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity transducer 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 in all directions the size of (generally three axles) acceleration, quiet
Size and the direction of gravity are can detect that when only, the application available for identification mobile terminal posture is (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 somebody with somebody
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, will not be repeated here.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped
Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe module, Subscriber Interface Module SIM and gate inhibition's authorization control program.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background server
Data communicate;User interface 1003 is mainly used in connecting client (user terminal), enters row 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 it 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, processor 1001 is called and deposited
During the gate inhibition's authorization control program stored in reservoir 1005, following operate is performed:
When receiving the authorization requests that requesting terminal is sent, determine room corresponding to the authorization requests whether in
Licensing status;
When being in licensing status in the room, the authorization requests are sent whole to producer corresponding to the room
End;
When producer's terminal receives the authorization requests, feed back Authorization result corresponding to the authorization requests and extremely please
Seek terminal.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also perform
Operate below:
When receiving the authorization requests based on the authorized application page triggering in application program, the mandate is obtained
Room number information corresponding to request;
Based on the data in Cloud Server, determine whether room corresponding to the room number information is in and authorized shape
State, wherein, access control system pair is stored with by corresponding producer's terminal management, Cloud Server in the room of licensing status
All data answered.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also perform
Operate below:
When being not at licensing status in the room, the authorization identifying page is shown, acquisition is based on the authorization identifying page
The authentication information of triggering, wherein, authentication information is including corresponding to the room number information, subscriber identity information, application program
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 perform
Operate below:
When producer's terminal receives the authorization requests, the display authorization requests dialogue page, obtain and awarded based on described
The feedback result of the power request dialogue page;
When the feedback result is agrees to the authorization requests, authorize the requesting terminal and enter the authorization requests pair
The authority in the room answered.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also perform
Operate below:
When the feedback result is refuses the authorization requests, transmission refusal mandate prompt message to the request is eventually
End.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also perform
Operate below:
When receiving the pin power instruction that producer's terminal is sent, show and sell the power page corresponding to the pin power instruction,
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, visitor's terminal corresponding to the pin power instruction is updated 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 perform
Operate below:
When receiving the authorized order that producer's terminal is sent, authorization page corresponding to the authorized order is shown,
The authorization parameter information based on authorization page triggering is obtained, wherein, the authorization parameter information includes room number information, authorized
Object information and mandate 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, send and authorize message request whole to the visitor
End, opened for visitor's terminal based on the two-dimensional code authentication function in the application program and state room corresponding to authorized order
Between, wherein, authorize message request corresponding including the mandate Quick Response Code and the mandate Quick Response Code for being stored with the parameter information
Operation instruction.
Further, processor 1001 can call the gate inhibition's authorization control program stored in memory 1005, also perform
Operate below:
When producer's terminal and visitor's terminal are not associated, sending association by the authorization page please
Ask;
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, reference picture 2, and Fig. 2 authorizes for gate inhibition of the present invention
The schematic flow sheet of control method first embodiment.
In the present embodiment, gate inhibition's authentication control method is applied to access control system, the access control system bag
Multiple terminals are included, gate inhibition's authentication control method comprises the following steps:
Step S110, when receiving the authorization requests that requesting terminal is sent, determine room corresponding to the authorization requests
Whether in licensing status;
Terminal in the present embodiment can be desktop computer, and the terminal that notebook or smart mobile phone etc. have display function 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, many functions are also developed in addition to mutually sending out message with good friend at present, such as public number function.Wechat public number is a kind of
Special wechat account, different from private account, generally applied by developer or businessman, it is possible to achieve in wechat platform and special
Grouping body provides business service platform and user's pipe by word, picture, voice, the communication of video, interaction to enterprise and tissue
Platform, Mobile solution entrance is provided for enterprise or tissue, help enterprise to establish and applied with employee, upstream and downstream supply chain and enterprise
Between connection.The present invention is to realize that its function, including producer can pass through the submission pair of wechat public number based on wechat public number
The authentication information of producer's identity, the certification of producer's identity is completed, the life for authorizing Quick Response Code can also be realized by wechat public number
Into, and then visitor is pushed to, it is obtained access permission, can also actively be applied by wechat public number by visitor, in producer
Access permission is obtained after agreement.Although the application program that can run the inventive method 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 number involved in the present invention in wechat.
When the instruction for paying close attention to the wechat public number is got in requesting terminal, searching menu that can be in the application leads to
Cross public number title or code search to the information of the public number, show the wechat public number introduces the page.Getting
, can be in wechat application program to involved by the present invention when being instructed based on the concern for the public number for introducing interface triggering
And wechat public number paid close attention to, the homepage of the wechat public number is shown in the display screen of requesting terminal, the homepage
Include some menu bars, each menu bar divides into some buttons, and the button is different functional entrances.
Access control system in the present invention is except multiple terminals, in addition to gate inhibition's Quick Response Code, Cloud Server, access control
Circuit.Gate inhibition's Quick Response Code is one-to-one with room, includes room number information;Cloud Server is used to store user profile
And the authority of user is differentiated, successful director data will be authenticated and pass through TSP/IP agreements (time stamp agreement/internet protocol
View) it is sent in control circuit.
When receiving the trigger action of menu bar button corresponding to authorization requests function, the authorized application page is shown, is used
In the room number information for obtaining requesting terminal expectation acquisition, the page setup has multiple drop-down menus refined step by step, each
Individual drop-down menu is provided with multiple options according to actual conditions, for example, in the authorized application page, can set 5 grades of drop-down dishes
Single, scope reduces step by step from big to small, including saves, city, cell or street, number, room number;It can ensure fast and accurately
Get room number information corresponding to authorization requests operation.Getting the submission operation based on the triggering of the authorized application page
When, the authorization requests containing room number information are generated, are sent to wechat public number management backstage.Received in the management backstage
During to the authorization requests, the Cloud Server for being stored with all access informations is conducted interviews, adjusted by the room number information
Its corresponding gate inhibition's authorization message is taken, determines whether gate inhibition's authorization message corresponding to the room number includes obtaining the producer authorized
End message, if having the access permission that producer obtains the room, gate inhibition corresponding to the room number in Cloud Server
Authorization message can include obtaining the producer's end message authorized, represent that the room is in licensing status.It is in the room
During licensing status, Cloud Server is by the status information feedback in the room to management backstage.
Step S120, when being in licensing status in the room, the authorization requests are sent corresponding to the room
Producer's terminal;
The application program that the present invention relates to, it can run over multiple terminals, including mobile terminal and non-moving end
End, usual mobile terminal refer to smart mobile phone, tablet personal computer, notebook computer etc., and immobile terminal refers to desktop computer.Based on micro-
Letter application program can not only be run on the mobile terminals such as smart mobile phone but also can be run on the immobile terminals such as desktop computer
Feature, producer's terminal refer to terminal corresponding to used wechat account during producer's authentication.Because producer's wechat account can
To log in over multiple terminals simultaneously, therefore terminal corresponding to 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 same wechat account, that is to say, that producer's terminal-pair
It is unique during the wechat account answered.For example, the wechat account of first, which is producer's terminal-pair that certification is multiple rooms, answers account, work as first
Simultaneously when logging in the wechat account on smart mobile phone and notebook, it can serve as producer's terminal and operated, but for
For the access control system in above-mentioned room, can only identify terminal corresponding to the wechat account of first as producer's terminal, no matter this
Whether individual terminal device was certified.
When being in licensing status in the room, management backstage sends the authorization requests to producer's terminal.
Step S130, when producer's terminal receives the authorization requests, feed back and awarded corresponding to 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 receiving
During to authorization requests, the prompting message from the generation of wechat application program system can be received, shows the prompting message page.
When getting feedback operation, feedback result corresponding to acquisition feedback operation, determine whether to award access permission according to feedback result
Give requesting terminal.When feedback operation is triggers the agreement button based on prompting message interface, feedback result is defined as agreeing to
Access permission is authorized, when feedback operation is triggers the refusal button based on prompting message interface, feedback result is defined as refusing
Authorize access permission absolutely.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by receiving what requesting terminal was sent
During authorization requests, determine room corresponding to the authorization requests whether in licensing status;Then it is in the room
During licensing status, the authorization requests are sent to producer's terminal corresponding to the room;Received afterwards in producer's terminal
During to the authorization requests, Authorization result corresponding to the authorization requests is fed back;The present invention realize examination & verification authority with concentrate with
Distributed cooperation, the efficiency of review process is improved, alleviate the examination burden of system manager, ensure that gate control system
In safe and reliable state, the mandate of gate control system timely can be carried out to visitor and pin is weighed, producer can generate two dimension
Code active push makes it obtain gate inhibition's mandate to visitor, avoids because examination & verification has delayed mandate opportunity not in time.
Based on first embodiment, the second embodiment of gate inhibition's authentication control method of the present invention, reference picture 3 are proposed.In this reality
Apply in example, the access control system includes the application program and Cloud Server that may operate in multiple terminals, step
S110 includes:
Step S111, when receiving the authorization requests based on the authorized application page triggering in application program, obtain
Take room number information corresponding to the authorization requests;
Requesting terminal can be when entering the homepage of public number, by receiving menu corresponding to authorization requests function
During the trigger action of column button, the authorized application page is shown, the room number information obtained for obtaining requesting terminal it is expected should
Page setup has multiple drop-down menus refined step by step, and each drop-down menu is provided with multiple options, example according to actual conditions
Such as, in the authorized application page, 5 grades of drop-down menus can be set, scope reduces step by step from big to small, including save, city, cell or
Street, number, room number;It can ensure fast and accurately to get room number information corresponding to authorization requests operation.
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 extremely
Wechat public number management backstage.
Step S112, based on the data in Cloud Server, determine whether room corresponding to the room number information is in
Licensing status, wherein, in the room of licensing status by corresponding producer's terminal management, Cloud Server is stored with gate inhibition's control
All data corresponding to system processed.
When the management backstage receives the authorization requests, the Cloud Server for being stored with all access informations is visited
Ask, its corresponding gate inhibition's authorization message is transferred by the room number information, determine that gate inhibition corresponding to the room number authorizes
Whether information includes obtaining the producer's end message authorized, if existing producer obtains the access permission in the room, cloud service
Gate inhibition's authorization message corresponding to the room number in device can include the producer's end message for having obtained mandate, represent at the room
In licensing status.When being in licensing status in the room, 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 on application program
The authorized application page triggering the authorization requests when, obtain room number information corresponding to the authorization requests;Then base
Data in Cloud Server, whether room corresponding to the room number information is determined in licensing status, wherein, cloud clothes
Business device is stored with all data corresponding to access control system;Using the mass data stored in Cloud Server, request is authorized
The room of access permission carries out condition adjudgement, for the room in licensing status, the authorization requests is forwarded to and possess mandate
Producer's terminal of right, is audited by producer's terminal, and the examination that script is concentrated is transferred to producer corresponding to each room
Terminal, alleviates the work load of system manager, is also granted by the bigger right of producer's terminal, enhances the safety guarantor of producer
Barrier.
Based on first embodiment, the 3rd embodiment of gate inhibition's authentication control method of the present invention, reference picture 4, in this reality are proposed
Apply in example, after step S110, methods described also includes:
Step S140, when being not at licensing status in the room, the authorization identifying page is shown, acquisition is based on the mandate
The authentication information of certification page triggering, wherein, authentication information includes the room number information, subscriber identity information, using journey
Account information corresponding to sequence;
When being not at licensing status in the room, represent that gate inhibition corresponding to the room number authorizes letter in Cloud Server
Breath does not include the producer's end message for having obtained mandate, therefore status information generation prompting letter of the Cloud Server based on the room
Breath is sent to requesting terminal, is prompted other side to need to submit personal information to carry out authentication, is shown the authorization identifying page, awarded at this
Weigh the authentication information that certification page needs user to fill in certification needs according to prompt message, including room number information, Yong Hushen
Account information corresponding to part information, application program, wherein, room number information refers to room number corresponding to the authorization requests,
Subscriber identity information refers to the information such as address name, cell-phone number for sending authorization requests, and the authorization identifying page is based on receiving
During 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 authentication information is submitted, believed from system to authentication
Cell-phone number in breath sends a checking information for including random verification code, starts timing when getting the checking information, such as
Fruit requesting terminal got in preset time period 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 into requesting terminal.
Can be based on the above-mentioned authentication information of data verification in Cloud Server, can also direct labor's checking.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
Register information corresponding to the room number, it is determined that sending user's surname used in the requesting terminal and register information of authorization requests
Whether name is consistent with cell-phone number, in the case of consistent, makes the decision for authorizing the requesting terminal access permission, and this is asked
Terminal is defined as producer's terminal.In the inconsistent situation of the address name involved by register information and 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.Register information in Cloud Server is true
Whether the fixed requesting terminal is producer in register information, if it can not determine, may also need to pass through register information
Producer is contacted, confirms whether the authorization requests are he or she's operation.System manager is typically 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 of each householder of cell, and
And often more accurately, so after authorization requests are transferred to the program of manual verification, it can be stepped on by administrative staff's reference
Information is remembered to audit authentication information corresponding to authorization requests.
When management terminal gets the authentication information result consistent with register information, make and authorize requesting terminal gate inhibition
The decision of authority, the requesting terminal is fed back into requesting terminal by the authentication result of certification by the form of prompt message, together
Gate inhibition authorization message of the Shi Gengxin room numbers in Cloud Server, the authorization message is adjusted to increase producer's terminal letter
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 message feeds back to requesting terminal, wherein, the result can be made by Cloud Server or system manager.
Obtaining producer's terminal of Cloud Server or management backstage mutual authentication can need to open room gate inhibition system in next time
During system, the gate inhibition's Quick Response Code one-to-one with room number or entrance wechat public number puted up on sweep gate are opened using a key
Door function, due to producer's terminal access authentication, therefore gate inhibition's authorization message corresponding to the room number in Cloud Server
Including producer's end message, when producer's terminal sends the instruction of key enabling, Cloud Server can verify the producer automatically
The authenticity of terminal, door lock is opened by access control circuit after checking is errorless.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by being not at authorizing shape in the room
During state, the authorization identifying page is shown, obtains the authentication information based on authorization identifying page triggering, wherein, authentication information bag
Include the room number information, subscriber identity information, account information corresponding to 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;It can help to audit request eventually in no producer's terminal
During the authority at end, control system may require that requesting terminal provides more information, so that management backstage is entered as producer's terminal
Row examines, ensure that the accuracy of certification, perfect to operate to provide certification channel using the producer of the gate control system for the first time
Flow.
Based on first embodiment, the fourth embodiment of gate inhibition's authentication control method of the present invention, reference picture 5, in this reality are proposed
Apply in example, step S130 includes:
Step S131, when producer's terminal receives the authorization requests, the display authorization requests dialogue 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 receiving
During to authorization requests, the prompting message from the generation of wechat application program system can be received, shows the prompting message page.
When getting feedback operation, feedback result corresponding to acquisition feedback operation, determine whether to award access permission according to feedback result
Give requesting terminal.,
Step S132, when the feedback result is agrees to the authorization requests, authorize described in the requesting terminal entrance
The authority in room corresponding to authorization requests.
When feedback operation is triggers the agreement button based on prompting message interface, feedback result is defined as agreement and authorized
Access permission.
Further, in one embodiment, after step S132, gate inhibition's authentication control method also includes:
When the feedback result is refuses the authorization requests, transmission refusal mandate prompt message to the request is eventually
End.
When feedback operation is triggers the refusal button based on prompting message interface, feedback result is defined as refusal and 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
During authorization requests, the display authorization requests dialogue page, the feedback result based on the authorization requests dialogue page is obtained;Then exist
When the feedback result is agrees to the authorization requests, authorize the requesting terminal and enter room corresponding to the authorization requests
Authority;When the existing producer's terminal of application obtains the room authorized, authorized application is directly by producer's terminal processes, because producer is whole
End needs only to examine indivedual authorized applications, therefore improves the accuracy of examination & verification, ensure that security.
Based on first embodiment, the 5th embodiment of gate inhibition's authentication control method of the present invention, reference picture 6, in this reality are proposed
Apply in example, after step S130, methods described also includes:
Step S160, when the pin for receiving producer's terminal transmission weighs instruction, obtain pin and weigh pin power corresponding to instruction
Parameter information, wherein, the pin weight parameter information includes room number information and pin power object information;
Server shows when receiving the pin power instruction that producer's terminal is sent and sells power corresponding to the pin power instruction
The page, in the pin weighs the page, there is prompt message to help to obtain the pin weight parameter information that producer's terminal needs to provide, including need
Sell the room number information of power and corresponding visitor's terminal.The pin based on pin power page triggering, which is received, in producer's terminal weighs ginseng
After number information solicitation completes instruction, the pin weight parameter information is sent to apps server, i.e. wechat server.
Step S170, when getting the pin weight parameter information, update pin power instruction corresponding to visitor's terminal exist
Status information in Cloud Server, pin power feedback information is sent to visitor's terminal and producer's terminal.
Wechat server stores when receiving above-mentioned pin weight parameter information, according to specified path to it, and pushes
Prompting message is to management backstage, and when receiving the prompting message, visitor's terminal corresponding to renewal pin power instruction exists management backstage
Status information in Cloud Server, i.e., access control information corresponding to room number is adjusted to not including visitor's terminal letter
Breath, afterwards, pin power feedback information is sent to visitor's terminal and producer's terminal.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by receiving producer's terminal hair
During the pin power instruction sent, the pin power page corresponding to the pin power instruction is shown, obtains 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
During weight parameter information, status information of visitor's terminal in Cloud Server corresponding to the pin power instruction is updated, transmission pin power is anti-
Feedforward information is to visitor's terminal and producer's terminal;Producer can timely be sold to the access permission of visitor's terminal
Power, avoids potential safety hazard.
Based on first embodiment, the sixth embodiment of gate inhibition's authentication control method of the present invention, reference picture 7, in this reality are proposed
Apply in example, after step S130, methods described also includes:
Step S180, when receiving the authorized order that producer's terminal is sent, show corresponding to the authorized order
Authorization page, the authorization parameter information based on authorization page triggering is obtained, wherein, the authorization parameter information includes room number
Information, authorization object information and mandate 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 number
Function is weighed, selection authorizes gate inhibition and corresponding mandate period corresponding to room, and then visitor's terminal is receiving mandate two dimension
Code is can to authorize qualification by identifying that the Quick Response Code obtains gate inhibition.
Producer's terminal can enter the menu bar of wechat public number, when getting authorized order, by triggering menu bar
In Unsolicited Grant function, show authorized order corresponding to authorization page, in the authorization page provide prompt message help industry
Family provides authorization parameter information, wherein, authorization parameter information includes room number, and producer is wanted corresponding to visitor's terminal of mandate
Wechat account and producer want the open mandate period, it is notable that gate inhibition's mandate for visitor's terminal only exists
Authorize in the period effectively, once it will be nullified immediately beyond time, the access permission that visitor's terminal possesses as defined in the mandate period,
Such as need to be again by gate inhibition, it is necessary to submit authorized application again or actively send mandate Quick Response Code again by producer's terminal.It is right
For the same suite of rooms, there may be several rooms, wherein there is unique corresponding numbering in each room in gate control system,
Therefore producer's terminal is indivedual several in the room number information that authorization page obtains is probably one set of house corresponding to producer's terminal
The access permission in individual room, for example, sharing 3 rooms in one set of house, other are public domain, room corresponding to this suite of rooms
Between number just and have 4, one of them is gate, each one of other 3 rooms, is specifically needed the gate inhibition of which room number
Authority is authorized visitor's terminal and can voluntarily selected in authorization page by producer.
Step S190, when getting the authorization parameter information, determine producer's terminal and the authorized order pair
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 mandate period, really
Whether the fixed wechat account has associated with producer's terminal, and association refers to that producer's terminal can be whole to visitor by least one mode
End, which is sent, authorizes Quick Response Code, if for example, the wechat account of visitor and producer are wechat friend relations, can be in wechat application
The chat interface of program is directly sent with graphic form and authorizes Quick Response Code, if other correlation forms, is knowing visitor's terminal
Phone number when, also by the form of multimedia message Quick Response Code can will be authorized to be sent to visitor's terminal.
Step S200, when producer's terminal and visitor's terminal have been associated, send and authorize message request extremely
Visitor's terminal, opened for visitor's terminal based on the two-dimensional code authentication function in the application program and state authorized order
Corresponding room, wherein, authorize message request to include the mandate Quick Response Code for being stored with the parameter information and the mandate two
Tie up operation instruction corresponding to code.
When the association status of at least one form between producer's terminal and visitor's terminal be present, generate one and authorize invitation
Information is sent to visitor's terminal, and the mandate message request includes a picture for Quick Response Code form and making for passage form
With explanation, visitor's terminal can authorize the Quick Response Code in message request to activate when receiving the mandate message request by identifying
The authorized order, after Quick Response Code is identified, public number can be paid close attention to automatically and enter the homepage of the public number, it is now just complete
Into the Unsolicited Grant of producer's terminal-pair visitor's terminal.
The gate inhibition's authentication control method based on AGV proposed in the present embodiment, by receiving producer's terminal hair
During the authorized order sent, show the authorized order corresponding to authorization page, obtain based on authorization page triggering authorization parameter
Information, wherein, the authorization parameter information includes room number information, authorization object information and authorizes 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;Afterwards when producer's terminal and visitor's terminal have been associated, send and authorize message request to described
Visitor's terminal, authorized order is stated based on the two-dimensional code authentication function opening in the application program for visitor's terminal and corresponded to
Room, wherein, authorize message request include be stored with the mandate Quick Response Code of the parameter information and the mandate Quick Response Code
Corresponding operation instruction;Producer can authorize part access permission by way of Unsolicited Grant, improve the flexible of gate inhibition's mandate
Property.
Based on sixth embodiment, the 7th embodiment of gate inhibition's authentication control method of the present invention, reference picture 8, in this reality are proposed
Apply in example, after step S190, methods described also includes:
Step S210, when producer's terminal and visitor's terminal are not associated, sent out 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, trigger the addition good friend based on authorization page and submit function, it be not wechat good friend or no pair that can make two terminals
Send by wechat platform and operator multimedia message to include in the case of square phone number and authorize awarding for Quick Response 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 mandate message request is temporarily stored in Cloud Server, in visitor's terminal
When being asked by the addition good friend, the invitation authorization message is sent.
Step S220, status information of the visitor's terminal in Cloud Server is updated based on the association request.
Cloud Server receive it is described authorize invite instruction when, update it is described authorize invite instruction corresponding to room number
Gate inhibition's authorization message, gate inhibition's authorization message is adjusted to include visitor's end message.So that visitor's terminal can
Authorized in the Quick Response 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 renewal
Status information of visitor's terminal in Cloud Server;, can also be straight in authorization page when producer and visitor are not wechat good friends
Meet addition good friend and submit to management backstage, simplify the flow 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 recording medium, the computer-readable recording 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 that requesting terminal is sent, determine room corresponding to the authorization requests whether in
Licensing status;
When being in licensing status in the room, the authorization requests are sent whole to producer corresponding to the room
End;
When producer's terminal receives the authorization requests, Authorization result corresponding to 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 mandate is obtained
Room number information corresponding to request;
Based on the data in Cloud Server, determine whether room corresponding to the room number information is in and authorized shape
State, wherein, access control system pair is stored with by corresponding producer's terminal management, Cloud Server in the room of licensing status
All data answered.
Further, following operation is also realized when gate inhibition's authorization control program is executed by processor:
When being not at licensing status in the room, the authorization identifying page is shown, acquisition is based on the authorization identifying page
The authentication information of triggering, wherein, authentication information is including corresponding to the room number information, subscriber identity information, application program
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, the display authorization requests dialogue page, obtain and awarded based on described
The feedback result of the power request dialogue page;
When the feedback result is agrees to the authorization requests, authorize the requesting terminal and enter the authorization requests pair
The authority 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 refuses the authorization requests, transmission refusal mandate prompt message 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 and sell the power page corresponding to the pin power instruction,
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, visitor's terminal corresponding to the pin power instruction is updated 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, authorization page corresponding to the authorized order is shown,
The authorization parameter information based on authorization page triggering is obtained, wherein, the authorization parameter information includes room number information, authorized
Object information and mandate 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, send and authorize message request whole to the visitor
End, opened for visitor's terminal based on the two-dimensional code authentication function in the application program and state room corresponding to authorized order
Between, wherein, authorize message request corresponding including the mandate Quick Response Code and the mandate Quick Response Code for being stored with the parameter information
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, sending association by the authorization page please
Ask;
Status information of the visitor's terminal in Cloud Server is updated based on the association request.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.