CN109600734A - Method for authenticating, binding method, system and equipment based on APP application - Google Patents

Method for authenticating, binding method, system and equipment based on APP application Download PDF

Info

Publication number
CN109600734A
CN109600734A CN201710944518.4A CN201710944518A CN109600734A CN 109600734 A CN109600734 A CN 109600734A CN 201710944518 A CN201710944518 A CN 201710944518A CN 109600734 A CN109600734 A CN 109600734A
Authority
CN
China
Prior art keywords
information
app
short
communication device
binding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710944518.4A
Other languages
Chinese (zh)
Inventor
贾海军
朱碧军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710944518.4A priority Critical patent/CN109600734A/en
Priority to PCT/CN2018/107228 priority patent/WO2019062687A1/en
Publication of CN109600734A publication Critical patent/CN109600734A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present application provides a kind of method for authenticating, binding method, system and equipment based on APP application.Wherein, information binding method includes: the information for obtaining the first short-range communication device;According to the binding relationship between the information and the first APP account information of first short-range communication device, user identity is determined;When user identity is legal, according to the first APP account information with the binding of the information of first short-range communication device, user right is determined.Technical solution provided by the embodiments of the present application, APP application can be used to realize the information of short-range communication device and the binding of employee APP account information for employee, APP application platform can utilize the binding information and account information on platform, determination to the employee progress identity and permission that use short-range communication device, the workload of administrator is simplified, and convenience has also obtained effective promotion under the premise of ensure that authentication accuracy.

Description

Method for authenticating, binding method, system and equipment based on APP application
Technical field
This application involves field of computer technology more particularly to it is a kind of based on APP application method for authenticating, binding method, System and equipment.
Background technique
Work card is usually to be issued by enterprise, the card with job number and wearer information.Work card is not only used to It shows outside employee information, it may also be used for brush gate inhibition, for attendance etc..Currently, class there are many kinds of work boards, such as IC card work board, Two dimensional code work board etc..Employee by work board close to gate inhibition/attendance recorder, gate inhibition/attendance recorder read or the information of scanning work board after, i.e., Enabling can be brushed and prohibit or complete attendance.
But realize the above process premise be, administrative staff need manual entry employee information and work board information and execute tie up Then fixed operation is manually again the corresponding permission of employee setup, so as to personal management.These work all need administrative staff to complete, Heavy workload, and it is time-consuming and laborious.
Summary of the invention
In view of the above problems, propose the application solve the above problems or at least be partially solved in order to provide one kind it is above-mentioned Method for authenticating, device, equipment and the system based on APP application of problem.
In one embodiment of the application, a kind of method for authenticating based on APP application is provided, comprising:
Obtain the information of the first short-range communication device;
According to the binding relationship between the information and the first APP account information of first short-range communication device, determine User identity;
When user identity is legal, according to the first APP account with the binding of the information of first short-range communication device Number information, determines user right.
In another embodiment of the application, a kind of method for authenticating based on APP application is provided, comprising:
Read the information of short-range communication device;
When network is normal, the information of the short-range communication device is sent to APP server-side;
According to the authenticating result that the APP server-side is fed back, corresponding logical operation is executed;
Wherein, the authenticating result includes: user identity and the user right when user identity is legal;User's body Part is that the binding relationship between information and APP account information according to the short-range communication device determines;The user right It is to be determined according to the APP account information bound with the information of the short-range communication device.
In another embodiment of the application, a kind of right discriminating system based on APP application is provided.The system includes:
First APP server-side, for obtaining the information of the first short-range communication device;According to first short haul connection Binding relationship between the information of device and the first APP account information, determines user identity;When the user identity is legal, root According to the first APP account information with the binding of the information of first short-range communication device, user right is determined;
Actuating station, for reading the information of first short-range communication device;By first short distance when network is normal The first APP server-side is sent to from the information of communication device;According to the first APP server-side feed back authenticating result, Execute corresponding logical operation;
Wherein, the authenticating result includes: the user identity and the user when the user identity is legal Permission.
In another embodiment of the application, a kind of binding method based on APP application is provided, comprising:
In response to the barcode scanning request of user's triggering, the barcode scanning object in short-range communication device is obtained to identify that barcode scanning is believed Breath;
Obtain the APP account information of the user;
The code scaning information and the APP account information are sent to APP server-side, to execute in the APP server-side Bindings.
In another embodiment of the application, a kind of binding method based on APP application is provided, comprising:
Obtain code scaning information and APP account information that APP client uploads;
Bindings are carried out to the code scaning information and the APP account information.
In another embodiment of the application, a kind of binding system based on APP application is provided, comprising:
2nd APP client, the barcode scanning request for triggering in response to user, obtains the barcode scanning in short-range communication device Object is to identify code scaning information;Obtain the APP account information of the user;By the code scaning information and the APP account information It uploads;
2nd APP server-side, the code scaning information and APP account information uploaded for obtaining the 2nd APP client;It is right The code scaning information and the APP account information carry out bindings.
In another embodiment of the application, a kind of server device is provided, comprising: first memory and first Processor;
The first memory, for storing program;
The first processor is coupled with the first memory, for executing the institute stored in the first memory Program is stated, to be used for:
Obtain the information of the first short-range communication device;
According to the binding relationship between the information and the first APP account information of first short-range communication device, determine User identity;
When user identity is legal, believed according to the first APP account with the binding of the information of first short-range communication device Breath, determines user right.
In another embodiment of the application, a kind of execution end equipment is provided, comprising: second memory and second Processor;
The second memory, for storing program;
The second processor is coupled with the second memory, for executing the institute stored in the second memory Program is stated, to be used for:
Read the information of short-range communication device;
When network is normal, the information of the short-range communication device is sent to APP server-side;
According to the authenticating result that the APP server-side is fed back, corresponding logical operation is executed;
Wherein, the authenticating result includes: user identity and the user right when user identity is legal;User's body Part is that the binding relationship between information and APP account information according to the short-range communication device determines;The user right It is to be determined according to the APP account information bound with the information of the short-range communication device.
In another embodiment of the application, provide at a kind of client device, including third memory and third Manage device, wherein
The third memory, for storing program;
The third processor is coupled with the third memory, for executing the institute stored in the third memory Program is stated, to be used for:
In response to the barcode scanning request of user's triggering, the barcode scanning object in short-range communication device is obtained to identify that barcode scanning is believed Breath;
Obtain the APP account information of the user;
The code scaning information and the APP account information are sent to APP server-side, to execute in the APP server-side Bindings.
In another embodiment of the application, a kind of client device is provided, including the 4th memory and is everywhere Manage device, wherein
4th memory, for storing program;
The fourth processor is coupled with the 4th memory, for executing the institute stored in the 4th memory Program is stated, to be used for:
Obtain code scaning information and APP account information that APP client uploads;
Bindings are carried out to the code scaning information and the APP account information.
APP (Application) application can be used to realize that short distance is logical for technical solution provided by the embodiments of the present application, employee The binding of the information and employee APP account information of T unit, APP application platform can utilize the binding information and account letter on platform Breath simplifies the workload of administrator, and convenience has also obtained effective promotion under the premise of ensure that authentication accuracy.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this Shen Some embodiments please for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram for the method for authenticating based on APP application that one embodiment of the application provides;
Fig. 2 is the flow diagram for the method for authenticating based on APP application that another embodiment of the application provides;
Fig. 3 is the flow diagram for the method for authenticating based on APP application that the another embodiment of the application provides;
Fig. 4 is the flow diagram for the binding method based on APP application that one embodiment of the application provides;
Fig. 5 is the flow diagram for the binding method based on APP application that another embodiment of the application provides;
Fig. 6 is the flow diagram for the binding method based on APP application that the another embodiment of the application provides;
Fig. 7 is the exemplary diagram of work board involved in the binding method provided by the embodiments of the present application based on APP application;
Fig. 8 is a boundary of APP client involved in the binding method provided by the embodiments of the present application based on APP application Face schematic diagram;
Fig. 9 is another of APP client involved in the binding method provided by the embodiments of the present application based on APP application Interface schematic diagram;
Figure 10 be it is provided by the embodiments of the present application based on APP application binding method involved in APP client another Interface schematic diagram;
Figure 11 is the structural schematic diagram for the right discriminating system based on APP application that one embodiment of the application provides;
Figure 12 is the structural schematic diagram for the binding system based on APP application that one embodiment of the application provides;
Figure 13 is the structural schematic diagram for the authentication device based on APP application that one embodiment of the application provides;
Figure 14 is the structural schematic diagram for the server device that one embodiment of the application provides;
Figure 15 is the structural schematic diagram for the server device that another embodiment of the application provides;
Figure 16 is the structural schematic diagram for the authentication device based on APP application that another embodiment of the application provides;
Figure 17 is the structural schematic diagram for the execution end equipment that one embodiment of the application provides;
Figure 18 is the structural schematic diagram for the binding device based on APP application that one embodiment of the application provides;
Figure 19 is the structural schematic diagram for the client device that one embodiment of the application provides;
Figure 20 is the structural schematic diagram for the binding device based on APP application that another embodiment of the application provides;
Figure 21 is the structural schematic diagram for the server device that the another embodiment of the application provides.
Specific embodiment
In the prior art, administrator need to manually brush the short-range communication device (such as work board) of each employee, then people again Work binds the information of the short-range communication device of reading and the information of the affiliated employee of short-range communication device, then is the member Work configures corresponding permission.When quantity is larger, administrator is easily because heavy workload occurs binding and/or authority configuration mistake Problem.In view of the above-mentioned problems, the embodiment of the present application provides a kind of authentication scheme based on APP application, the program is without management Member is manually entered relevant information, simplifies the work of administrator, and convenience also obtains under the premise of guaranteeing the accuracy of authentication Effective promotion is arrived.
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those skilled in the art's every other implementation obtained without making creative work Example, shall fall in the protection scope of this application.
Fig. 1 shows the flow diagram of the method for authenticating based on APP application of one embodiment of the application offer.Such as Fig. 1 It is shown, it is provided in this embodiment the described method includes:
101, the information of the first short-range communication device is obtained.
102, according to the binding relationship between the information and the first APP account information of first short-range communication device, Determine user identity.
103, when user identity is legal, according to described first with the binding of the information of first short-range communication device APP account information, determines user right.
What needs to be explained here is that: the executing subject of the method provided in this embodiment can be APP server-side.Specifically When implementation, APP can directly select existing instant messaging application (Enterprise Instant Messaging, EIM), example Such as, " wechat enterprise " etc..The APP server-side i.e. corresponding application platform of the APP, as General Server, Cloud Server, cloud host, Virtual center etc..
In above-mentioned 101, short-range communication device can be independent short haul connection card, or have short-range communications functionality Terminal (such as mobile phone, wearable device), the embodiment of the present application is not especially limited this.Actuating station (such as Time Attendance Device, gate inhibition Equipment etc.) information for reading the first short-range communication device is sent to APP server-side.That is the specific implementation process of this step It may is that the information for receiving the first short-range communication device that actuating station is sent.
In above-mentioned 102, it can determine that the information of the first short-range communication device and the first APP account are believed based on binding information Binding relationship between breath.Specifically, binding information in record have the short-range communication device with binding relationship information and APP account information.The information and APP account for the short-range communication device to be bound that user can be uploaded by APP client are believed Breath, APP server-side be can information to the short-range communication device received and APP account information carry out bindings, with Associated storage in binding information.For example, user completes the information and APP of short-range communication device using wechat enterprise client The binding of account information is arranged, after the binding acknowledgement operation of wechat enterprise client end response user, i.e., to wechat enterprise server-side Bind request is sent, wechat enterprise server-side closes the information of the short-range communication device received and APP account information Join and is stored in binding information.
Specifically, if binding between the information of first short-range communication device and the first APP account information Relationship is to have bound, it is determined that user identity is legal;
If the binding relationship between the information of first short-range communication device and the first APP account information is not Binding, it is determined that user identity is illegal.
In above-mentioned 103, the first APP account information also may include having customer attribute information in addition to including login name, It is one or more in such as working team's information, post information and affiliated permission group information.These attribute informations, user can be Log in APP (such as wechat enterprise) laggard edlin setting;APP server-side is uploaded to after the completion of user setting.Certainly, it uses Family attribute information can also be not included in APP account information, and as an independent information storage and corresponding APP account Number information association.Specifically, above-mentioned 103 can include: according to the first APP account information, obtain customer attribute information;According to The customer attribute information determines the user right.
Different operating team corresponds to different user right or different job and corresponds to different user rights or different power Limit group corresponds to different user rights etc.;These corresponding relationships can be preset.For example, being built in an enforceable example The corresponding relationship of vertical customer attribute information and user right;Correspondingly, according to the customer attribute information, user's power is determined Limit can specifically: according to the corresponding relationship of customer attribute information and user right, searches the corresponding use of the customer attribute information Family permission.
In addition, user right can be Permission Levels or other, the embodiment of the present application is not especially limited this.
Technical solution provided by the embodiments of the present application, using APP application platform (i.e. server-side or cloud) to using short distance Employee from communication device carries out the determination of identity and permission;Due to being stored with a variety of letters of employee's upload in APP application platform Breath, for example, working group, position belonging to log-on message, the work board information of binding and user information, employee etc..These information It all can be used as the foundation of authentication, administrative staff simplify the workload of administrator, and guaranteeing without repeatedly inputting these information Convenience has also obtained effective promotion under the premise of the accuracy of authentication.
Further, the method provided by the above embodiment may also include the steps of:
105, the bind request that user is sent by the APP client is received, is carried in the bind request and is intended to tie up The information and the 2nd APP account information of the second fixed short-range communication device.
106, the information to second short-range communication device and the 2nd APP account information carry out bindings.
In above-mentioned 106, binding procedure can specifically: judge second short-range communication device information whether with remove Other APP account informations binding other than the 2nd APP account information;If it is not, then by second short-range communication device Information and the 2nd APP account information be associated and be stored in binding information.
In a kind of achievable technical solution, technical solution provided by the above embodiment may also include that
107, it receives user to request by the unbundlings that the APP client is sent, is carried in the unbundlings request and be intended to solve The information and the 3rd APP account information for the third short-range communication device tied up.
108, the information to the third short-range communication device and the 3rd APP account information carry out unbundlings operation.
Wherein, the process of unbundlings can specifically: leads to the third short distance with binding relationship recorded in binding information The information of T unit and the 3rd APP account information are deleted.
What needs to be explained here is that: the method provided by the above embodiment needs to be implemented the network between end and server-side Connection is normal.Actuating station can send information to server-side by network, receive information etc..But between actuating station and server-side Network connection abnormal (such as suspension) when, method provided by the above embodiment just can not be executed normally, thus the embodiment of the present application Following method is additionally provided to allow actuating station to cache binding information and/or using account information.
I.e. in a kind of achievable technical solution, the method provided by the above embodiment may also include that
The binding information is issued to actuating station, so that the binding information is buffered in local by the actuating station, in net It is authenticated when network exception according to information of the binding information to the short-range communication device read, and according to authenticating result Execute corresponding logical operation;
Wherein, the binding information record has the information and APP account letter of the short-range communication device with binding relationship Breath, the user right when authenticating result includes user identity and legal user identity.
Fig. 2 shows the flow diagrams for the method for authenticating based on APP application that the another embodiment of the application provides.Such as figure Shown in 2, it is provided in this embodiment the described method includes:
201, the information of short-range communication device is read.
202, when network is normal, the information of the short-range communication device is sent to APP server-side.
203, the authenticating result fed back according to the APP server-side, executes corresponding logical operation.
Wherein, the authenticating result includes: user identity and the user right when user identity is legal identity;It is described User identity is that the binding relationship between information and APP account information according to the short-range communication device determines;The use Family permission is determined according to the APP account information bound with the information of the short-range communication device.
What needs to be explained here is that: the executing subject of the method provided in this embodiment can be actuating station.The execution End can be a specific physical equipment, such as access control equipment, Time Attendance Device;The application journey of an either installation on the terminal device Sequence, the embodiment of the present application are not especially limited this.
In above-mentioned 202, work board information is sent to by APP server-side by network when network is normal.APP server-side is receiving To after the information of the short-range communication device, that is, determine whether the information of the short-range communication device has with an APP account information There is binding relationship to determine user identity, if user identity is legal, according to the APP account with short-range communication device binding Information determines user right.
Wherein, the determination of user right can be found in the related content in above-described embodiment, and details are not described herein again.
A kind of above-mentioned 203 specific implementation can specifically: if the user identity is illegal, exports illegal prompt letter Breath;If the user identity is legal, and the user right be greater than or equal to default access grade, then execute attendance operation and/ Or access control makes door opening action.
Technical solution provided by the embodiments of the present application, using APP application platform (i.e. server-side or cloud) to using short distance Employee from communication device carries out the determination of identity and permission;Due to being stored with a variety of letters of employee's upload in APP application platform Breath, for example, working group, position belonging to log-on message, the work board information of binding and user information, employee etc..These information It all can be used as the foundation of authentication, administrative staff simplify the workload of administrator, and guaranteeing without repeatedly inputting these information Convenience has also obtained effective promotion under the premise of the accuracy of authentication.
The realization of method provided by the above embodiment is on condition that network is normal;When Network Abnormal (suspension), the above method It can not just execute.For this purpose, method provided by the embodiments of the present application further includes following steps:
Receive the binding information that the APP server-side issues;
The binding information is buffered in local.
Wherein, binding information record has the information and APP account information of the short-range communication device with binding relationship.
The purpose for increasing above-mentioned steps is exactly that binding information is issued to actuating station when network is normal.Network Abnormal is Unpredictable, therefore APP server-side can be issued periodically, for example, interval issues once for N hours;Alternatively, in binding information When having update, APP server-side is to issue to synchronize the binding information of actuating station caching.
There is the support of above-mentioned technology, corresponding method provided in this embodiment can be used in Network Abnormal such as lower section Method is authenticated:
When Network Abnormal, authenticated according to information of the binding information to the short-range communication device read, and Corresponding logical operation is executed according to authenticating result.
Wherein, the determination process of user identity and user right can be found in the corresponding contents in the various embodiments described above, from this Place repeats no more.
Fig. 3 shows the flow diagram of the method for authenticating based on APP application of one embodiment of the application offer.This implementation Example has substituted into the executing subject of each step.As shown in Figure 3, which comprises
301, the read operation that APP client end response is triggered in user reads the information of short-range communication device.
302, APP client obtains the APP account information of user, and by APP account information and short-range communication device Information is shown in binding set interface.
303, when APP client listens to binding acknowledgement event, by APP account information and the information of short-range communication device It is uploaded to APP server-side.
304, whether APP server-side judges the information of the short-range communication device and in addition to the APP account information The binding of other APP account informations, if it is not, then the information of the short-range communication device and the APP account information are carried out It is associated with and is stored in binding information.
305, the information that end equipment reads short-range communication device is executed.
306, when actuating station equipment monitoring is normal to network, the information of the short-range communication device is sent to APP clothes Business end.
307, APP server-side judges whether the information of the short-range communication device closes with APP account information with binding System;If so, determining that user identity is legal;Otherwise determine that user identity is illegal.
308, APP server-side determines user according to the APP account information with the binding of the information of short-range communication device Permission.
309, APP server-side feeds back authenticating result to end equipment is executed.
Wherein, which includes user identity and the user right when user identity is legal identity.
If 310, the user identity is illegal, actuating station exports illegal prompt information;If the user identity is legal, and The user right is greater than or equal to default access grade, then actuating station executes attendance operation and/or access control makes enabling Movement.
In above-mentioned 301, user can trigger the letter of short-range communication device by the control on touch-control APP client end interface Cease read operation.For example, starting is equipped with short haul connection (the Near Field of the terminal device of APP client Communication, NFC) function, to read the information of short-range communication device.Alternatively, starting is equipped with APP client The camera barcode scanning two dimensional code of terminal device obtains the information of short-range communication device.With a kind of wechat enterprise (instant messaging Using) and short-range communication device with two-dimensional barcode information for, user can enter client circle after logging in wechat enterprise Face.Barcode scanning control " sweep and sweep " is shown on the client end interface;User is somebody's turn to do " sweep and sweep " control by touch-control, that is, enters barcode scanning The camera at interface, mobile device is activated, and to the barcode scanning object in the barcode scanning region in barcode scanning interface (on such as work board Two dimensional code) be acquired and identify.
In above-mentioned 302, APP account information can be the log-on message that APP is logged in when applying automatically according to user and obtain.When So, APP account information is also possible to what user voluntarily inputted.
For the scene that user voluntarily inputs, the method provided in this embodiment can specifically: is reading short distance After the information of communication device, display includes the binding set interface of the information of short-range communication device;The binding set interface In also show one for prompt user insert information filling frame;The touch control operation of the filling frame is directed in response to user, Editing interface is shown in the binding set interface;User can edit the APP account to be inputted in the display editing interface Number information.When it is implemented, user can input APP account information by keyboard, or APP account letter is inputted by way of voice Breath, etc., the application is not especially limited specific input mode.
For the scene that APP account information automatically determines, the method provided in this embodiment can specifically: according to user Log-on message when logging in application obtains the APP account information, enters after to the information for having read short-range communication device The binding set interface, and binding set interface in simultaneously show the short-range communication device information and the APP Account information.
Based on above content it is found that the information and APP account information of 302 short-distance and medium-distance communication devices can be successive display In binding set interface or simultaneous display is in binding set interface.When it is implemented, above-mentioned display short haul connection The information and APP account information of device, can specifically:
In binding set interface, the information, APP account information and the prompt short distance of short-range communication device are shown From the page elements that the information of communication device and the APP account information have binding relationship;Or
It is described binding set interface two association display areas in, show respectively short-range communication device information and APP account information.
Wherein, the information of short-range communication device described in display reminding and APP account information have the page of binding relationship Element can be, and being shown in binding set interface has text information, pattern-information, animation information of suggesting effect etc., The embodiment of the present application is not especially limited this.Two association viewing areas, which can be two, has same design element (such as color It is identical, size shape is mutually same) viewing area or two positions viewing area closely etc..Here it shows with being associated Purpose be relationship in order to protrude two data, notice binding information to allow user to be relatively easy to and then confirm.
In above-mentioned 303, binding acknowledgement event can be the confirmation control key triggering in user's touch-control binding set interface.On The information and APP account information of the short-range communication device of biography, which are carried in bind request, is sent to APP server-side;It can also incite somebody to action Information and APP the account information compression of the short-range communication device are uploaded to the APP as binding file after being packaged and service End.
Further, after above-mentioned 304, it may also include the steps of: APP server-side when bindings are finished, The binding result of information and the APP account information to client feedback in relation to the short-range communication device;APP client Show the binding result of the server-side feedback.
Wherein, binding result can be the automatic feedback after APP server-side executes bindings, be also possible to APP visitor Family end APP server-side after sending inquiry request is fed back again.Binding result can be directly displayed in binding set interface, or with The mode reality of floating frame is in binding set interface, or is shown in a new interface.
The specific implementation of above-mentioned 305~310 each step can be found in the corresponding contents in above-described embodiment, no longer superfluous herein It states.
Fig. 4 shows the flow diagram of the binding method based on APP application of one embodiment of the application offer.Such as Fig. 4 It is shown, which comprises
110, it is requested in response to the barcode scanning of user's triggering, obtains the barcode scanning object in short-range communication device to identify barcode scanning Information.
111, the APP account information of the user is obtained.
112, the code scaning information and the APP account information are sent to APP server-side, in the APP server-side Execute bindings.
In above-mentioned 110 wherein, barcode scanning object can be bar code, two dimensional code etc., and the application is not especially limited this. The identification of barcode scanning object can be found in the corresponding encoding and decoding algorithm of respective type code in the prior art to realize, the application is herein no longer It repeats.
When it is implemented, user can trigger barcode scanning request by the barcode scanning control on touch-control APP client end interface.? In a kind of achievable technical solution, the method provided in this embodiment may also include the steps of:
It shows APP client end interface, includes barcode scanning control on the APP client end interface;
It is directed to the touch control operation of the barcode scanning control in response to user, generates the barcode scanning request.
By taking wechat enterprise as an example, user can enter wechat enterprise interface after logging in wechat enterprise.The wechat enterprise interface On show barcode scanning control " sweep and sweep ";User is somebody's turn to do " sweep and sweep " control by touch-control, that is, enters barcode scanning interface, wechat enterprise visitor The camera of family end equipment (such as mobile phone, tablet computer, wearable device) is activated, and to the barcode scanning object in barcode scanning interface (two dimensional code on such as work board) is acquired and identifies.
In above-mentioned 111, APP account information, that is, user logs in the information of APP application, for example, can include but is not limited to: using One of name in an account book, the pet name, mailbox, cell-phone number etc. are a variety of.
In above-mentioned 112, it is true can to listen to user's binding in APP client for the code scaning information and the APP account information Recognize after event to be triggered and is sent to APP server-side.Wherein, user's binding acknowledgement event can be the confirmation voice of user's sending, It is also possible to the operation etc. of user's touch-control confirmation control, the embodiment of the present application is to this to being not especially limited.
In a kind of achievable technical solution, the binding method provided by the embodiments of the present application based on APP application may be used also Include:
After barcode scanning success, the binding set interface for showing the code scaning information and the APP account information is jumped to.
Correspondingly, user can trigger binding acknowledgement event by the confirmation control in binding set interface.That is, above-mentioned The code scaning information and the APP account information are sent to APP server-side, to execute bindings in the APP server-side, It can specifically:
In response to user by the binding acknowledgement event of the binding set interface triggering, by the code scaning information and described APP account information is sent to APP server-side.
The embodiment of the present application provides a kind of scheme by employee's active upload binding information, simplifies the work of administrator Make;In addition, independently uploading binding information by employee and independently confirming its accuracy, the general of binding information error can be effectively reduced Rate.
Further, technical solution provided by the above embodiment may also include the steps of:
113, the binding result of the server-side feedback is shown.
Wherein, binding result can be the automatic feedback after APP server-side executes bindings, be also possible to APP visitor Family end APP server-side after sending inquiry request is fed back again.Binding result can be directly displayed in binding set interface, or with The mode reality of floating frame is in binding set interface, or is shown in a new interface.
Further, the binding method provided by the above embodiment based on APP application may also include unbundlings step.For example, Further include:
In response to the unbundlings request of user, the code scaning information and APP account information to be unbinded are obtained;
The code scaning information and APP account information for being intended to unbundlings are sent to APP server-side, to execute in the APP server-side Unbundlings operation.
Fig. 5 shows the flow diagram for the binding method based on APP application that another embodiment of the application provides.Such as figure Shown in 5, which comprises
210, code scaning information and APP account information that APP client uploads are obtained.
211, bindings are carried out to the code scaning information and the APP account information.
In above-mentioned 210, code scaning information and APP account information can be obtained from the bind request that APP client uploads, can also It is obtained with the binding data packet uploaded by decompression APP client.Wherein, code scaning information can be APP client and pass through starting Camera on client device acquires and identifies to obtain.
In above-mentioned 211, before bindings, need to judge whether code scaning information is unbound information, that is, judges whether have APP account information binding in addition to the APP account information.Specifically, in a kind of achievable technical solution, it is above-mentioned 211 may particularly include:
Judge whether the code scaning information has bound with other APP account informations in addition to the APP account information;
If it is not, then the code scaning information and the APP account information are associated and are stored in binding information.
Further, above-mentioned 211 may also include that if so, feeding back Bind Failed prompt result.
Further, it by after the code scaning information and the APP account information binding success, can also be tied up to client feedback It is fixed successfully to prompt result.That is, the method provided by the above embodiment may also include that
When bindings are finished, Xiang Suoshu APP client feedback is believed in relation to the code scaning information and the APP account The binding result of breath.
Wherein, binding result is that above-mentioned Bind Failed prompts result or binding success to prompt result.
What needs to be explained here is that: APP server-side can automatically be tied up to client feedback after bindings are finished Calmly as a result, can also be fed back again after receiving APP client and sending inquiry request, this embodiment of the present application is not especially limited.
Further, the method provided by the above embodiment may also include that
Receive the code scaning information to be unbinded and APP account information that APP client is sent;
Unbundlings operation is carried out to the code scaning information and APP account information to be unbinded.
The embodiment of the present application provides a kind of scheme by employee's active upload binding information, simplifies the work of administrator Make;In addition, independently uploading binding information by employee and independently confirming its accuracy, binding information error rate can be effectively reduced, Improve the importing efficiency of binding information.
Fig. 6 shows the flow diagram for the binding method based on APP application that the another embodiment of the application provides.Such as figure Shown in 6, binding procedure is as follows:
310, the barcode scanning request that APP client end response is triggered in user, obtains the barcode scanning object in short-range communication device To identify code scaning information.
311, APP client obtains the APP account information of the user.
312, the code scaning information and the APP account information are sent to APP server-side by APP client.
313, APP server-side judge the code scaning information whether with other APP accounts in addition to the APP account information The binding of number information;If it is not, then the code scaning information and the APP account information are associated and are stored in binding information, Otherwise, Bind Failed.
314, binding result of the Xiang Suoshu APP client feedback in relation to the code scaning information and the APP account information.
The specific implementation of above-mentioned 310~314 each step can be found in the corresponding contents in above-described embodiment, no longer superfluous herein It states.
The embodiment of the present application provides a kind of scheme by employee's active upload binding information, simplifies the work of administrator Make;In addition, independently uploading binding information by employee and independently confirming its accuracy, binding information error rate can be effectively reduced, Improve the importing efficiency of binding information.
Below by taking two dimensional code work board as an example, to it is provided by the embodiments of the present application based on APP application binding method for authenticating into Row explanation.It is wechat enterprise that APP, which is applied, in this example, and lanyard is two dimensional code work board (as shown in Figure 7);Actuating station is gate inhibition Equipment.
As shown in figure 8, employee can carry out two dimensional code work board by " sweep and the sweep " control shown on wechat enterprise interface Barcode scanning operation, to read code scaning information (i.e. the information of work board).After the completion of reading, as shown in figure 9, from barcode scanning page jump to tying up Determine set interface;User can fill in APP account information or wechat enterprise directly in binding set interface and will currently log in APP account information is shown in binding set interface.User binds " submission " the control triggering in set interface by touch-control and ties up Surely confirm event.The information of work board and APP account information are uploaded to by wechat enterprise client end response in the binding acknowledgement event Wechat enterprise server-side.Wechat enterprise server-side carries out bindings to code scaning information and APP account information, and feeds back binding knot Fruit (prompt information of binding success as shown in Figure 10).
Work board is placed in the barcode scanning region of access control equipment by employee, and access control equipment reads work board by barcode scanning operation After information, the information of the work board is uploaded to wechat enterprise server-side by access control equipment, and wechat enterprise server-side inquires binding information In the work board information and APP account information between binding relationship;If the binding between the information and APP account of the work board is closed System is to have bound, it is determined that user identity is legal identity;Otherwise, it determines user identity is illegal.If user identity is legal, look forward to The account information that industry wechat server-side is stored based on its own, obtain the employee customer attribute information (as place working team, Post information, affiliated permission group etc.), user right is determined according to the customer attribute information.Wechat enterprise server-side will reflect Power result feeds back to access control equipment.If authenticating result is that identity is illegal, access control equipment is by the way of voice, text or video Export illegal prompt information.If authenticating result is that identity is legal, and user right is greater than or equal to the preset permission of access control equipment Grade, then access control equipment makes door opening action.
In some processes described in the description of the present application, claims and above-mentioned attached drawing, contain according to spy Multiple operations that fixed sequence occurs, these operations can not be executed according to its sequence what appears in this article or be executed parallel. Serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, and it is suitable that serial number itself does not represent any execution Sequence.In addition, these processes may include more or fewer operations, and these operations can be executed in order or be held parallel Row.It should be noted that the description such as herein " first ", " second ", be for distinguishing different message, equipment, module etc., Sequencing is not represented, " first " and " second " is not also limited and is different type.
Figure 11 shows the structural schematic diagram of the right discriminating system based on APP application of one embodiment of the application offer.Such as figure Shown in 11, system provided in this embodiment includes:
First APP server-side 401 and the first actuating station 402.Wherein, the first APP server-side 401 is for obtaining the first short distance Information from communication device;According to the binding between the information and the first APP account information of first short-range communication device Relationship determines user identity;When the user identity is legal, according to the binding of the information of first short-range communication device The first APP account information, determines user right;
First actuating station 402 is used to read the information of first short-range communication device;By described when network is normal The information of one short-range communication device is sent to the first APP server-side 401;It is fed back according to the first APP server-side 401 Authenticating result, execute corresponding logical operation;
Wherein, the authenticating result includes: the user identity and the user when the user identity is legal Permission.
Further, as shown in figure 11, above system further include: the first APP client 403.First APP client 403 For sending bind request to the first APP server-side 401, the second short distance to be bound is carried in the bind request The information of communication device and the 2nd APP account information;The first APP server-side 401 is also used to state the second short distance to described The information of communication device and the 2nd APP account information carry out bindings.
Further, the first APP client 403 described in above system is also used to send unbundlings to the APP server-side Request, it is described to unbind the information and the 3rd APP account information that the third short-range communication device to be unbinded is carried in request;Institute The first APP server-side 401 is stated, is also used to carry out the information of the third short-range communication device and the 3rd APP account information Unbundlings operation.
What needs to be explained here is that: it is soft that above-mentioned first APP client 403 with the first actuating station 402 can be same application Part or same hardware entities, be also possible to be mounted on the application software in different hardware equipment, be also possible to two it is different hard Part equipment can also be different two application software being mounted on same hardware device, not make to this embodiment of the present application It is specific to limit.First APP server-side 401 can be General Server, cloud, virtual center etc., the embodiment of the present application to this not Make specific limit.
What needs to be explained here is that: the right discriminating system provided by the above embodiment based on APP application can realize above-mentioned Fig. 3 institute Show technical solution described in embodiment of the method, it is real that the principle that above-mentioned each module or unit implement can be found in above-mentioned each method The corresponding contents in example are applied, details are not described herein again.
Technical solution provided by the embodiments of the present application, using APP application platform (i.e. server-side or cloud) to using short distance Employee from communication device (such as work board) carries out the determination of identity and permission;It is uploaded due to being stored with employee in APP application platform Much information, for example, working group, position belonging to log-on message, the work board information of binding and user information, employee etc.. These information all can be used as the foundation of authentication, and administrative staff are not necessarily to repeatedly input these information, simplify the workload of administrator, And convenience has also obtained effective promotion under the premise of ensure that the accuracy of authentication.
Figure 12 shows the structural schematic diagram of the binding system based on APP application of one embodiment of the application offer.Such as figure Shown in 12, the binding system based on APP application includes: the 2nd APP client 411 and the 2nd APP server-side 412.Wherein, The barcode scanning that the 2nd APP client 411 is used to trigger in response to user is requested, and the barcode scanning pair in short-range communication device is obtained As to identify code scaning information;Obtain the APP account information of the user;It will be in the code scaning information and the APP account information It passes.2nd APP server-side 412 is used to obtain the code scaning information and APP account information of APP client upload;The barcode scanning is believed Breath and the APP account information carry out bindings.
What needs to be explained here is that: it is provided by the above embodiment based on APP application binding system in APP client and APP server-side can realize technical solution described in embodiment of the method shown in above-mentioned Fig. 4 and Fig. 5, the principle of specific implementation respectively It can be found in the corresponding contents in above-mentioned each method embodiment, details are not described herein again.
2nd APP server-side 412 can be General Server, cloud, virtual center etc.;Above-mentioned 2nd APP client 411 It can be application software (such as wechat enterprise) or hardware entities, the embodiment of the present application be not especially limited this.
The embodiment of the present application provides a kind of scheme by employee's active upload binding information, simplifies the work of administrator Make;In addition, independently uploading binding information by employee and independently confirming its accuracy, binding information error rate can be effectively reduced, Improve the importing efficiency of binding information.
Figure 13 shows the structural schematic diagram of the authentication device based on APP application of one embodiment of the application offer.Such as figure Shown in 13, the information binding device includes: the first acquisition module 501, the first determining module 502 and the second determining module 503. Wherein, the first acquisition module 501 is used to obtain the information of the first short-range communication device;First determining module 502 is used for basis Binding relationship between the information and the first APP account information of first short-range communication device, determines user identity;Second When determining module 503 is legal for user identity, according to described the with the binding of the information of first short-range communication device One APP account information, determines user right.
Further, first determining module 502 is also used to: if the information of first short-range communication device and institute Stating the binding relationship between the first APP account information is to have bound, it is determined that user identity is legal;If first short distance is logical Binding relationship between the information of T unit and the first APP account information is unbound, it is determined that user identity is illegal.
Further, second determining module 503 is also used to obtain user according to the first APP account information and belong to Property information;According to the customer attribute information, the user right is determined.
Further, the customer attribute information includes: in working team's information, post information and affiliated permission group information It is one or more.
Further, the above-mentioned authentication device based on APP application may also include that the first receiving module and binding module.Its In, first receiving module, the bind request sent for receiving user by the APP client, the bind request In carry the information and the 2nd APP account information of the second short-range communication device to be bound;Binding module is used for described The information of second short-range communication device and the 2nd APP account information carry out bindings.
Further, the binding module be also used to judge second short-range communication device information whether with remove Other APP account informations binding other than the 2nd APP account information;If it is not, then by second short-range communication device Information and the 2nd APP account information be associated and be stored in binding information.
Further, the above-mentioned authentication device based on APP application may also include that the second receiving module and unbundlings module.Its In, the second receiving module is requested for receiving user by the unbundlings that the APP client is sent, and is taken in the unbundlings request Information and the 3rd APP account information with the third short-range communication device to be unbinded;Module is unbinded to be used for the third The information of short-range communication device and the 3rd APP account information carry out unbundlings operation.
Further, the above-mentioned authentication device based on APP application further include: issue module.It is described issue module for Actuating station issues binding information, so that the binding information is buffered in local by the actuating station, in Network Abnormal according to institute It states binding information to authenticate the information of the short-range communication device read, and corresponding logic is executed according to authenticating result Operation;Wherein, the binding information record has the information and APP account information of the short-range communication device with binding relationship, The user right when authenticating result includes user identity and legal user identity.
What needs to be explained here is that: the authentication device provided by the above embodiment based on APP application can realize above-mentioned Fig. 1 institute Show that technical solution described in embodiment of the method, the principle that above-mentioned each module or unit implement can be found in above method implementation Corresponding contents in example, details are not described herein again.
Technical solution provided by the embodiments of the present application, using APP application platform (i.e. server-side or cloud) to using short distance Employee from communication device carries out the determination of identity and permission;Due to being stored with a variety of letters of employee's upload in APP application platform Breath, for example, working group, position belonging to log-on message, the work board information of binding and user information, employee etc..These information It all can be used as the foundation of authentication, administrative staff simplify the workload of administrator, and guaranteeing without repeatedly inputting these information Convenience has also obtained effective promotion under the premise of the accuracy of authentication.
Figure 14 is the structural schematic diagram for the server device that one embodiment of the application provides.The server device includes: One memory 601 and first processor 602.First memory 601 can be configured to store various other data to support Operation in server device.The example of these data includes for any application program operated in server device or side The instruction of method.First memory 601 can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.
First processor 602 is coupled with first memory 601, for executing the program stored in first memory 601, with For:
Obtain the information of the first short-range communication device;
According to the binding relationship between the information and the first APP account information of first short-range communication device, determine User identity;
When user identity is legal, according to the first APP account with the binding of the information of first short-range communication device Number information, determines user right.
Wherein, first processor 602 is when executing the program in first memory 601, other than function above, also Other functions can be achieved, for details, reference can be made to the descriptions of previous embodiments.
Further, as shown in figure 15, server device further include: the first communication component 603, the first display 604, first Other components such as power supply module 605, the first audio component 606.Members are only schematically provided in Figure 15, are not meant to electricity Sub- equipment only includes component shown in Figure 15.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program, institute State can be realized when computer program is computer-executed the various embodiments described above offer cloud virtual machine creation method step or Function.
Figure 16 shows the structural schematic diagram for the authentication device based on APP application that another embodiment of the application provides.Such as Shown in Figure 16, the authentication device based on APP application includes: read module 701, sending module 702 and execution module 703. Wherein, read module 701 is used for the information of short-range communication device;Sending module 702 is used for when network is normal, will be described short The information of range communication device is sent to APP server-side;Execution module 703 is used for the authentication fed back according to the APP server-side As a result, executing corresponding logical operation;Wherein, the authenticating result includes: user identity and is legal identity in user identity When user right;The user identity is tying up between information and APP account information according to the short-range communication device Determine relationship to determine;The user right is determined according to the APP account information bound with the information of the short-range communication device.
Further, the above-mentioned authentication device based on APP application may also include that third receiving module and memory module.Its In, third receiving module, the binding information issued for receiving the APP server-side;Memory module, for believing the binding Breath is buffered in local.
Further, the above-mentioned authentication device based on APP application may also include that
Third determining module is used in Network Abnormal, according to the binding information to the letter of the short-range communication device Breath is authenticated, and executes corresponding logical operation according to authenticating result.
Further, if to be also used to the user identity illegal for the execution module 703, illegal prompt information is exported; If the user identity is legal, and the user right is greater than or equal to default access grade, then executes attendance operation and/or control Gate inhibition processed makes door opening action.
What needs to be explained here is that: the authentication device provided by the above embodiment based on APP application can realize above-mentioned Fig. 2 institute Show technical solution described in embodiment of the method, it is real that the principle that above-mentioned each module or unit implement can be found in above-mentioned each method The corresponding contents in example are applied, details are not described herein again.
Technical solution provided by the embodiments of the present application, using APP application platform (i.e. server-side or cloud) to using short distance Employee from communication device carries out the determination of identity and permission;Due to being stored with a variety of letters of employee's upload in APP application platform Breath, for example, working group, position belonging to log-on message, the work board information of binding and user information, employee etc..These information It all can be used as the foundation of authentication, administrative staff simplify the workload of administrator, and guaranteeing without repeatedly inputting these information Convenience has also obtained effective promotion under the premise of the accuracy of authentication.
Figure 17 is the structural schematic diagram for the execution end equipment that one embodiment of the application provides.The execution end equipment includes: Two memories 801 and second processor 802.Second memory 801 can be configured to store various other data to support Execute the operation in end equipment.The example of these data includes any application program or side for operating on executing end equipment The instruction of method.Second memory 801 can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.
Second processor 802 is coupled with second memory 801, for executing the program stored in second memory 801, with For:
Read the information of short-range communication device;
When network is normal, the information of the short-range communication device is sent to APP server-side;
According to the authenticating result that the APP server-side is fed back, corresponding logical operation is executed;
Wherein, the authenticating result includes: user identity and the user right when user identity is legal;User's body Part is that the binding relationship between information and APP account information according to the short-range communication device determines;The user right It is to be determined according to the APP account information bound with the information of the short-range communication device.
Wherein, second processor 802 is when executing the program in second memory 801, other than function above, also Other functions can be achieved, for details, reference can be made to the descriptions of previous embodiments.
Further, end equipment is executed further include: the second communication component, second display, third power supply module, third audio Other components such as component.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program, institute State can be realized when computer program is computer-executed the various embodiments described above offer cloud virtual machine creation method step or Function.
Figure 18 is the structural schematic diagram for the binding device based on APP application that one embodiment of the application provides.As shown, Described device includes:
The barcode scanning that second acquisition module 511 is used to trigger in response to user is requested, and sweeping in short-range communication device is obtained Code object is to identify code scaning information;
Third obtains the APP account information that module 512 is used to obtain the user;
Sending module 513 is used to the code scaning information and the APP account information being sent to APP server-side, in institute It states APP server-side and executes bindings.
Further, described device may also include that
Display module jumps to after barcode scanning success and shows tying up for the code scaning information and the APP account information Determine set interface;And
The sending module 513 is also used to the binding acknowledgement thing in response to user by the binding set interface triggering The code scaning information and the APP account information are sent to APP server-side by part.
Further, the display module is also used to show the binding result of the server-side feedback.
Further, the third obtains module 512, is also used to the unbundlings request in response to user, what acquisition to be unbinded Code scaning information and APP account information;
The sending module 513 is also used to be intended to the code scaning information of unbundlings and APP account information is sent to APP server-side, To execute unbundlings operation in the APP server-side.
What needs to be explained here is that: the binding device provided by the above embodiment based on APP application can realize above-mentioned Fig. 4 institute Show technical solution described in embodiment of the method, it is real that the principle that above-mentioned each module or unit implement can be found in above-mentioned each method The corresponding contents in example are applied, details are not described herein again.
The embodiment of the present application provides a kind of scheme by employee's active upload binding information, simplifies the work of administrator Make;In addition, independently uploading binding information by employee and independently confirming its accuracy, binding information error rate can be effectively reduced, Improve the importing efficiency of binding information.
Figure 19 is the structural schematic diagram for the client device that one embodiment of the application provides.The client device includes: Three memories 811 and third processor 812.Third memory 811 can be configured to store various other data to support Operation on client device.The example of these data includes for any application program operated on a client device or side The instruction of method.Third memory 811 can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.
Third processor 812 is coupled with third memory 811, for executing the program stored in third memory 811, with For:
In response to the barcode scanning request of user's triggering, the barcode scanning object in short-range communication device is obtained to identify that barcode scanning is believed Breath;
Obtain the APP account information of the user;
The code scaning information and the APP account information are sent to APP server-side, to execute in the APP server-side Bindings.
Wherein, third processor 812 is when executing the program in third memory 811, other than function above, also Other functions can be achieved, for details, reference can be made to the descriptions of previous embodiments.
Further, end equipment is executed further include: third communication component, third display, third power supply module, third frequency group Other components such as part.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program, institute State can be realized when computer program is computer-executed the various embodiments described above offer cloud virtual machine creation method step or Function.
Figure 20 shows the binding device based on APP application that another embodiment of the application provides.As shown in figure 20, described Device includes:
4th acquisition module 522 is used to obtain the code scaning information and APP account information of APP client upload;
Binding module 523 is used to carry out bindings to the code scaning information and the APP account information.
Further, the binding module 523 is also used to:
Judge whether the code scaning information has bound with other APP account informations in addition to the APP account information;
If it is not, then the code scaning information and the APP account information are associated and are stored in binding information.
What needs to be explained here is that: the binding device provided by the above embodiment based on APP application can realize above-mentioned Fig. 5 institute Show technical solution described in embodiment of the method, it is real that the principle that above-mentioned each module or unit implement can be found in above-mentioned each method The corresponding contents in example are applied, details are not described herein again.
The embodiment of the present application provides a kind of scheme by employee's active upload binding information, simplifies the work of administrator Make;In addition, independently uploading binding information by employee and independently confirming its accuracy, binding information error rate can be effectively reduced, Improve the importing efficiency of binding information.
Figure 21 is the structural schematic diagram for the server device that one embodiment of the application provides.The server device includes: Four memories 611 and fourth processor 612.4th memory 611 can be configured to store various other data to support Operation in server device.The example of these data includes for any application program operated in server device or side The instruction of method.4th memory 611 can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.
Fourth processor 612 is coupled with the 4th memory 611, for executing the program stored in the 4th memory 611, with For:
Obtain code scaning information and APP account information that APP client uploads;
Bindings are carried out to the code scaning information and the APP account information.
Wherein, fourth processor 612 is when executing the program in the 4th memory 611, other than function above, also Other functions can be achieved, for details, reference can be made to the descriptions of previous embodiments.
Further, server device further include: fourth communication component, the 4th display, the 4th power supply module, the 4th audio Other components such as component.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program, institute State can be realized when computer program is computer-executed the various embodiments described above offer cloud virtual machine creation method step or Function.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (25)

1. a kind of method for authenticating based on APP application characterized by comprising
Obtain the information of the first short-range communication device;
According to the binding relationship between the information and the first APP account information of first short-range communication device, user is determined Identity;
When user identity is legal, believed according to the first APP account with the binding of the information of first short-range communication device Breath, determines user right.
2. the method according to claim 1, wherein according to the information of first short-range communication device and Binding relationship between one APP account information, determines user identity, comprising:
If the binding relationship between the information of first short-range communication device and the first APP account information is to have tied up It is fixed, it is determined that user identity is legal;
If the binding relationship between the information of first short-range communication device and the first APP account information is not tie up It is fixed, it is determined that user identity is illegal.
3. the method according to claim 1, wherein being tied up according to the information with first short-range communication device Fixed the first APP account information, determines user right, comprising:
According to the first APP account information, customer attribute information is obtained;
According to the customer attribute information, the user right is determined.
4. according to the method described in claim 3, it is characterized in that, the customer attribute information includes: working team's information, duty It is one or more in information of being engaged in and affiliated permission group information.
5. method according to any one of claims 1 to 4, which is characterized in that further include:
The bind request that user is sent by the APP client is received, carries to be bound second in the bind request The information of short-range communication device and the 2nd APP account information;
Information and the 2nd APP account information to second short-range communication device carry out bindings.
6. according to the method described in claim 5, it is characterized in that information to second short-range communication device and described 2nd APP account information carries out bindings, comprising:
Judge second short-range communication device information whether with other in addition to the 2nd APP account information The binding of APP account information;
If it is not, then the information of second short-range communication device is associated and is stored with the 2nd APP account information In binding information.
7. method according to claim 1 to 4, which is characterized in that further include:
It receives user to request by the unbundlings that the APP client is sent, carries the third to be unbinded in the unbundlings request The information of short-range communication device and the 3rd APP account information;
Information and the 3rd APP account information to the third short-range communication device carry out unbundlings operation.
8. method according to claim 1 to 4, which is characterized in that further include:
Binding information is issued to actuating station, so that the binding information is buffered in local by the actuating station, in Network Abnormal It is authenticated according to information of the binding information to the short-range communication device read, and is executed accordingly according to authenticating result Operation;
Wherein, the binding information record has the information and APP account information of the short-range communication device with binding relationship, institute State user right when authenticating result includes user identity and legal user identity.
9. a kind of method for authenticating based on APP application characterized by comprising
Read the information of short-range communication device;
When network is normal, the information of the short-range communication device is sent to APP server-side;
According to the authenticating result that the APP server-side is fed back, corresponding logical operation is executed;
Wherein, the authenticating result includes: user identity and the user right when user identity is legal;The user identity root It is determined according to the binding relationship between the information and APP account information of the short-range communication device;The user right according to The APP account information of the information binding of the short-range communication device determines.
10. according to the method described in claim 9, it is characterized by further comprising:
Receive the binding information that the APP server-side issues;
The binding information is buffered in local;
Wherein, the binding information record has the information and APP account information of the short-range communication device with binding relationship.
11. according to the method described in claim 10, it is characterized by further comprising:
When Network Abnormal, authenticated according to information of the binding information to the short-range communication device, and according to authentication As a result corresponding logical operation is executed.
12. according to the described in any item methods of claim 9 to 11, which is characterized in that the mirror fed back according to the APP server-side Power is as a result, execute corresponding logical operation, comprising:
If the user identity is illegal, illegal prompt information is exported;
If the user identity is legal, and the user right be greater than or equal to default access grade, then execute attendance operation and/ Or access control makes door opening action.
13. a kind of right discriminating system based on APP application characterized by comprising
First APP server-side, for obtaining the information of the first short-range communication device;According to first short-range communication device Information and the first APP account information between binding relationship, determine user identity;When the user identity is legal, according to The first APP account information of the information binding of first short-range communication device, determines user right;
Actuating station, for reading the information of first short-range communication device;First short distance is led to when network is normal The information of T unit is sent to the first APP server-side;According to the authenticating result that the first APP server-side is fed back, execute Corresponding logical operation;
Wherein, the authenticating result includes: the user identity and the user right when the user identity is legal.
14. system according to claim 13, which is characterized in that further include:
First APP client carries desire in the bind request for sending bind request to the first APP server-side The information and the 2nd APP account information of second short-range communication device of binding;
The first APP server-side, be also used to the information of second short-range communication device and the 2nd APP account information into Row bindings.
15. system according to claim 14, which is characterized in that further include:
The first APP client is also used to send unbundlings request to the APP server-side, carries in the unbundlings request The information and the 3rd APP account information for the third short-range communication device to be unbinded;
The first APP server-side, be also used to the information of the third short-range communication device and the 3rd APP account information into Row unbundlings operation.
16. a kind of binding method based on APP application characterized by comprising
In response to the barcode scanning request of user's triggering, the barcode scanning object in short-range communication device is obtained to identify code scaning information;
Obtain the APP account information of the user;
The code scaning information and the APP account information are sent to APP server-side, to execute binding in the APP server-side Operation.
17. according to the method for claim 16, which is characterized in that further include:
After barcode scanning success, the binding set interface for showing the code scaning information and the APP account information is jumped to;And
The code scaning information and the APP account information are sent to APP server-side, comprising:
In response to user by the binding acknowledgement event of the binding set interface triggering, by the code scaning information and the APP Account information is sent to APP server-side.
18. according to the method for claim 17, which is characterized in that further include:
Show the binding result of the server-side feedback.
19. a kind of binding method based on APP application characterized by comprising
Obtain code scaning information and APP account information that APP client uploads;
Bindings are carried out to the code scaning information and the APP account information.
20. according to the method for claim 19, which is characterized in that the code scaning information and the APP account information into Row bindings, comprising:
Judge whether the code scaning information has bound with other APP account informations in addition to the APP account information;
If it is not, then the code scaning information and the APP account information are associated and are stored in binding information.
21. a kind of binding system based on APP application characterized by comprising
2nd APP client, the barcode scanning request for triggering in response to user, obtains the barcode scanning object in short-range communication device To identify code scaning information;Obtain the APP account information of the user;The code scaning information and the APP account information are uploaded;
2nd APP server-side, for obtaining the code scaning information and APP account letter that the 2nd APP client uploads Breath;Bindings are carried out to the code scaning information and the APP account information.
22. a kind of server device, which is characterized in that including first memory and first processor, wherein
The first memory, for storing program;
The first processor is coupled with the first memory, for executing the journey stored in the first memory Sequence, to be used for:
Obtain the information of the first short-range communication device;
According to the binding relationship between the information and the first APP account information of first short-range communication device, user is determined Identity;
When user identity is legal, believed according to the first APP account with the binding of the information of first short-range communication device Breath, determines user right.
23. a kind of execution end equipment, which is characterized in that including second memory and second processor, wherein
The second memory, for storing program;
The second processor is coupled with the second memory, for executing the journey stored in the second memory Sequence, to be used for:
Read the information of short-range communication device;
When network is normal, the information of the short-range communication device is sent to APP server-side;
According to the authenticating result that the APP server-side is fed back, corresponding logical operation is executed;
Wherein, the authenticating result includes: user identity and the user right when user identity is legal;The user identity is It is determined according to the binding relationship between the information of the short-range communication device and APP account information;The user right is root It is determined according to the APP account information with the binding of the information of the short-range communication device.
24. a kind of client device, which is characterized in that including third memory and third processor, wherein
The third memory, for storing program;
The third processor is coupled with the third memory, for executing the journey stored in the third memory Sequence, to be used for:
In response to the barcode scanning request of user's triggering, the barcode scanning object in short-range communication device is obtained to identify code scaning information;
Obtain the APP account information of the user;
The code scaning information and the APP account information are sent to APP server-side, to execute binding in the APP server-side Operation.
25. a kind of client device, which is characterized in that including the 4th memory and fourth processor, wherein
4th memory, for storing program;
The fourth processor is coupled with the 4th memory, for executing the journey stored in the 4th memory Sequence, to be used for:
Obtain code scaning information and APP account information that APP client uploads;
Bindings are carried out to the code scaning information and the APP account information.
CN201710944518.4A 2017-09-30 2017-09-30 Method for authenticating, binding method, system and equipment based on APP application Pending CN109600734A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710944518.4A CN109600734A (en) 2017-09-30 2017-09-30 Method for authenticating, binding method, system and equipment based on APP application
PCT/CN2018/107228 WO2019062687A1 (en) 2017-09-30 2018-09-25 App-based authentication method, binding method, system, and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710944518.4A CN109600734A (en) 2017-09-30 2017-09-30 Method for authenticating, binding method, system and equipment based on APP application

Publications (1)

Publication Number Publication Date
CN109600734A true CN109600734A (en) 2019-04-09

Family

ID=65900567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710944518.4A Pending CN109600734A (en) 2017-09-30 2017-09-30 Method for authenticating, binding method, system and equipment based on APP application

Country Status (2)

Country Link
CN (1) CN109600734A (en)
WO (1) WO2019062687A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365704B (en) 2019-07-30 2021-01-22 广东美的制冷设备有限公司 Equipment binding method and device and electronic equipment
CN111538596B (en) * 2020-04-23 2023-06-27 北京字节跳动网络技术有限公司 Resource processing method, device, computer equipment and storage medium
CN113792285B (en) * 2021-08-05 2024-01-26 广东核电合营有限公司 Nuclear power station service authority control method and device and terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150800A (en) * 2013-03-22 2013-06-12 李凯 Device for adding permissions in entrance guard system
CN103188238A (en) * 2011-12-30 2013-07-03 上海博泰悦臻电子设备制造有限公司 Activation method and system of payment account
US20130179352A1 (en) * 2011-03-12 2013-07-11 Mocapay, Inc. Secure wireless transactions when a wireless network is unavailable
CN104143056A (en) * 2013-12-31 2014-11-12 腾讯科技(深圳)有限公司 Identity authentication method and system
CN105577607A (en) * 2014-10-08 2016-05-11 腾讯科技(深圳)有限公司 User identity authentication method and user identity authentication device
CN105610796A (en) * 2015-12-17 2016-05-25 深圳市屹石科技股份有限公司 Method, server and system for transferring user identity recognition information
CN105791268A (en) * 2016-02-17 2016-07-20 深圳市屹石科技股份有限公司 Server, fitness equipment user login method and user login method
CN106981107A (en) * 2016-01-19 2017-07-25 福建省光速达物联网科技股份有限公司 The unlocked by mobile telephone method and system of control of bluetooth access

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179352A1 (en) * 2011-03-12 2013-07-11 Mocapay, Inc. Secure wireless transactions when a wireless network is unavailable
CN103188238A (en) * 2011-12-30 2013-07-03 上海博泰悦臻电子设备制造有限公司 Activation method and system of payment account
CN103150800A (en) * 2013-03-22 2013-06-12 李凯 Device for adding permissions in entrance guard system
CN104143056A (en) * 2013-12-31 2014-11-12 腾讯科技(深圳)有限公司 Identity authentication method and system
CN105577607A (en) * 2014-10-08 2016-05-11 腾讯科技(深圳)有限公司 User identity authentication method and user identity authentication device
CN105610796A (en) * 2015-12-17 2016-05-25 深圳市屹石科技股份有限公司 Method, server and system for transferring user identity recognition information
CN106981107A (en) * 2016-01-19 2017-07-25 福建省光速达物联网科技股份有限公司 The unlocked by mobile telephone method and system of control of bluetooth access
CN105791268A (en) * 2016-02-17 2016-07-20 深圳市屹石科技股份有限公司 Server, fitness equipment user login method and user login method

Also Published As

Publication number Publication date
WO2019062687A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
CN105303286B (en) Mobile card punching system and method and cloud system thereof
CN108961475B (en) Access control deployment method and access control deployment server
CN105761340B (en) A kind of network control method of door lock, device, server and PMS
CN102202044A (en) Portable cloud storage method and device
CN102333079A (en) Method for clearing disk space
CN107203814A (en) A kind of management of fire fighting equipment method, device and readable storage medium storing program for executing
CN106934946A (en) A kind of locker operating method, method for sending information, apparatus and system
CN109600734A (en) Method for authenticating, binding method, system and equipment based on APP application
CN107483437A (en) A kind of user's unified login management method and device
CN105069880A (en) Fusion communication based method and system for controlling entrance guard by mobile terminal
CN102394780B (en) Equipment management system and method
CN106339745B (en) Storage device, information processing system and information processing method
CN105337933B (en) Create method, system and the main account device of sub- account and sub- account device
CN106127906A (en) The unlocking method of a kind of door-control lock, Apparatus and system
US20160226810A1 (en) System and method of making messages remain on top of a mobile bulletin board
CN105427203A (en) House renting information management method and system
CN105323094B (en) Method for managing security based on device identification and system
CN103929411A (en) Information displaying method, terminal, safety server and system
CN105988896A (en) Backup method and device of mobile terminal data
CN105467948A (en) Security system for community on-site service
CN107484152A (en) The management method and device of terminal applies
CN108197850A (en) A kind of express mail processing method and bar rifle based on bar rifle
CN108551413A (en) Smart home device binding method, device, gateway device and storage medium
CN106127888A (en) Smart lock operational approach and smart lock operating system
CN107948970A (en) System of real name method of network entry, system and the mobile terminal of subordinate terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409

RJ01 Rejection of invention patent application after publication