CN107730677A - A kind of bar code method for unlocking and system - Google Patents
A kind of bar code method for unlocking and system Download PDFInfo
- Publication number
- CN107730677A CN107730677A CN201710906981.XA CN201710906981A CN107730677A CN 107730677 A CN107730677 A CN 107730677A CN 201710906981 A CN201710906981 A CN 201710906981A CN 107730677 A CN107730677 A CN 107730677A
- Authority
- CN
- China
- Prior art keywords
- bar code
- unlocking
- information
- voucher
- intelligent lock
- 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
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
- G07C2009/0042—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed
- G07C2009/00476—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a kind of bar code method for unlocking and system, wherein, method includes:The bar code generation request that the client that server receives the first user is sent;Client-side information comprising unlocking authority information and targeted customer in the bar code generation request;The server generates voucher bar code according to the unlocking authority information;The server sends the voucher bar code to client corresponding with the client-side information of the targeted customer;The voucher bar code in the intelligent lock scanning client corresponding with the client-side information of the targeted customer;The intelligent lock judges whether the targeted customer has unlocking authority according to the voucher bar code scanned;The intelligent lock carries out unlocking operation when the targeted customer has unlocking authority.The present invention can improve the security and convenience that more people share lockset, and cost is low.
Description
Technical field
The present invention relates to intelligent unlocking technical field, and in particular to a kind of bar code method for unlocking and system.
Background technology
Lock is articles for use essential in people's daily life, applied to various occasions, with the development of information technology, electricity
Son lock substitutes traditional mechanical lock due to possessing higher security and convenience gradually, wherein, it is the most commonly used for IC-card
Lock, RF clamping locks and Remote control electronic lock.However, although the more traditional mechanical lock of these electronic locks is more difficult to be replicated, and possess more
More management functions, but there are still deficiency, for example after house-owner loses IC-card, house-owner will be unable to open door corresponding to IC-card
Lock, makes troubles, and for example, in order to cost-effective, house owner often only provides a number of IC-card, can not for house-owner
Meet the substantial amounts of demand of lessee, when lessee's amount exceedes possessed IC-card quantity, more IC-cards need to be configured again, added into
This.
The content of the invention
The embodiment of the present invention provides a kind of bar code method for unlocking and system, can be according to user's request to specified targeted customer
Client send the voucher bar code with unlocking authority information, and carried out when verifying that the targeted customer has unlocking authority
Unlock, improve security and convenience that more people share lockset, and cost is low.
To achieve these goals, one aspect of the present invention provides a kind of bar code method for unlocking, and methods described includes:
The bar code generation request that the client that server receives the first user is sent;Include and open in the bar code generation request
Lock authority information and the client-side information of targeted customer;
The server generates voucher bar code according to the unlocking authority information;
The server sends the voucher bar code to client corresponding with the client-side information of the targeted customer;
The voucher bar in the intelligent lock scanning client corresponding with the client-side information of the targeted customer
Code;
The intelligent lock judges whether the targeted customer has unlocking authority according to the voucher bar code scanned;
The intelligent lock carries out unlocking operation when the targeted customer has unlocking authority.
In a kind of optional embodiment, the intelligent lock judges the mesh according to the voucher bar code scanned
Whether mark user has unlocking authority, including:
The intelligent lock obtains the unlocking authority information according to the voucher bar code scanned;
The intelligent lock judges whether the unlocking authority information is effective information;
The intelligent lock judges that the targeted customer has to unlock and weighed when the unlocking authority information is effective information
Limit;
The intelligent lock judges the targeted customer without unlocking when the unlocking authority information is invalid information
Authority.
Further, the unlocking authority information includes effective period of time and effective degree;
The intelligent lock judges whether the unlocking authority information is effective information, including:
Whether the intelligent lock judges current time in the range of the effective period of time and current unlocking times are
It is no to exceed the effective degree;
The intelligent lock is current time is in the range of the effective period of time and current unlocking times are not less than institute
When stating effective degree, it is effective information to judge the unlocking authority information;
The intelligent lock is not current time is in the range of the effective period of time or current unlocking times exceed institute
When stating effective degree, it is invalid information to judge the unlocking authority information.
In another optional embodiment, the intelligent lock is according to judging the voucher bar code scanned
Whether targeted customer has unlocking authority, including:
For the intelligent lock from being previously received in the checking bar code that the server is sent, lookup is described with scanning
The checking bar code that voucher bar code matches;
The intelligent lock is in the checking bar code that the voucher bar code for finding Yu scanning matches, described in judgement
Targeted customer has unlocking authority;
The intelligent lock judges institute when searching less than the checking bar code to match with the voucher bar code scanned
State targeted customer and do not have unlocking authority.
Further, the unlocking authority information includes effective period of time and effective time;Methods described also includes:
The server reach at current time in the effective period of time at the beginning of between when, by the voucher bar code send out
The intelligent lock is delivered to, so that the intelligent lock will receive the voucher bar code of the server transmission as checking bar
Code;
The server reaches the end time of the effective period of time at current time or reached in current unlocking times
During the effective degree, the voucher failure instruction with the voucher bar code is sent to the intelligent lock, so that the intelligence
Voucher bar code of the lockset in voucher failure instruction is using with the checking bar code that the voucher bar code matches as failure bar
Code.
In order to realize identical purpose, another aspect of the present invention provides a kind of bar code unlocking system, and the system includes:
Including server and intelligent lock;Wherein,
The server includes:
Request receiving module, the bar code that the client for receiving the first user is sent generate request;The bar code generation
Client-side information comprising unlocking authority information and targeted customer in request;
Bar code generation module, for generating voucher bar code according to the unlocking authority information;
Bar code sending module, for the voucher bar code to be sent to corresponding with the client-side information of the targeted customer
Client;
The intelligent lock includes:
Bar code scanning module, for scanning the institute in the client corresponding with the client-side information of the targeted customer
State voucher bar code;
Authority judge module, unlocked for judging whether the targeted customer has according to the voucher bar code scanned
Authority;
Unlocking respond module, for having when the targeted customer has unlocking authority, carry out unlocking operation.
In a kind of optional embodiment, the authority judge module includes:
Information acquisition unit, for according to the voucher bar code scanned, obtaining the unlocking authority information;
Authority information judging unit, for judging whether the unlocking authority information is effective information;
First identifying unit, for when the unlocking authority information is effective information, judging the bar code information checking
Success;
Second identifying unit, for when the unlocking authority information is invalid information, judging the bar code information checking
Failure.
Further, the unlocking authority information includes effective period of time and effective degree;
The authority information judging unit includes:
Effective information judgment sub-unit, for judging whether current time is in the range of the effective period of time and current
Whether unlocking times exceed the effective degree;
First effective information judges subelement, for being opened at current time in the range of the effective period of time and currently
When locking number not less than the effective degree, it is effective information to judge the unlocking authority information;
Second effective information judges subelement, for not in the range of the effective period of time or current at current time
When unlocking times exceed the effective degree, it is invalid information to judge the unlocking authority information.
In another optional embodiment, the authority judge module includes:
Bar code matching unit is verified, for from being previously received in the checking bar code that the server is sent, searching and sweeping
The checking bar code that the voucher bar code retouched matches;
3rd identifying unit, for match in the voucher bar code for finding Yu scanning checking bar code when, sentence
The fixed targeted customer has unlocking authority;
4th identifying unit, for search less than the checking bar code to match with the voucher bar code scanned when,
Judge that the targeted customer does not have unlocking authority.
Further, the unlocking authority information includes effective period of time and effective time;The server also includes:
Verify bar code sending module, for reaching at current time in the effective period of time at the beginning of between when, by institute
State voucher bar code to send to the intelligent lock, so that the intelligent lock will receive the voucher bar code of the server transmission
As checking bar code;
Fail instruction sending module, for reaching the end time of the effective period of time at current time or being opened currently
When lock number reaches the effective degree, the voucher failure instruction with the voucher bar code is sent to the intelligent lock, with
The checking bar code for making voucher bar code of the intelligent lock in voucher failure instruction to be matched with the voucher bar code
As failure bar code.
Compared to prior art, the beneficial effect of the embodiment of the present invention is:The embodiments of the invention provide a kind of bar code
Method for unlocking and system, wherein method include:The bar code generation request that the client that server receives the first user is sent;It is described
Client-side information comprising unlocking authority information and targeted customer in bar code generation request;The server is according to the unlocking
Authority information generates voucher bar code;The server sends the voucher bar code to the client-side information with the targeted customer
Corresponding client;In the intelligent lock scanning client corresponding with the client-side information of the targeted customer it is described with
Demonstrate,prove bar code;The intelligent lock judges whether the targeted customer has unlocking authority according to the voucher bar code scanned;
The intelligent lock carries out unlocking operation when the targeted customer has unlocking authority.A kind of bar code of the embodiment of the present invention
Method for unlocking and system can according to user's request to the client of specified targeted customer send with unlocking authority information with
Bar code is demonstrate,proved, the voucher bar code is scanned by intelligent lock, is unlocked, improved when verifying that targeted customer has unlocking authority
More people share the security and convenience of lockset, and can be sent the voucher bar code with different unlocking authority information by network
To different targeted customers, cost is reduced.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, the required accompanying drawing used in embodiment will be made below
Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of bar code method for unlocking provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of embodiment of the step S5 in Fig. 1;
Fig. 3 is the schematic flow sheet of step S512 in Fig. 2;
Fig. 4 is the schematic flow sheet of the another embodiment of the step S5 in Fig. 1;
Fig. 5 is a kind of structural representation of bar code unlocking system provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of embodiment of the authority judge module 22 in Fig. 5;
Fig. 7 is the structural representation of the authority information judging unit 2212 in Fig. 6;
Fig. 8 is the structural representation of the another embodiment of the authority judge module 22 in Fig. 5.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, it is a kind of schematic flow sheet of bar code method for unlocking provided in an embodiment of the present invention.The bar code
Method for unlocking includes:
The bar code generation request that the client that S1, server receive the first user is sent;Wrapped in the bar code generation request
Information containing unlocking authority and the client-side information of targeted customer;
S2, the server generate voucher bar code according to the unlocking authority information;
S3, the server send the voucher bar code to client corresponding with the client-side information of the targeted customer
End;
The voucher on S4, the intelligent lock scanning client corresponding with the client-side information of the targeted customer
Bar code;
S5, the intelligent lock judge whether the targeted customer has the power of unlocking according to the voucher bar code scanned
Limit;
S6, the intelligent lock carry out unlocking operation when the targeted customer has unlocking authority.
The operation principle of the embodiment of the present invention is:
Server is after the bar code generation request that the client for receiving the first user is sent;Generated and asked according to the bar code
In unlocking authority information generation voucher bar code, and send to the bar code generation request in targeted customer client believe
Client corresponding to breath, when targeted customer needs to be unlocked, in the client by intelligent lock scanning targeted customer
Voucher bar code, when the intelligent lock judges that the targeted customer has unlocking authority according to the voucher bar code scanned,
Unlocking operation is carried out, otherwise, refusal carries out unlocking operation.
It should be noted that the client of first user, including multiple, the intelligent lock includes multiple, Duo Gesuo
The client and multiple intelligent locks for stating the first user correspond.To send the client of each first user
Bar code generation request can open corresponding intelligent lock, the client of each first user is beforehand through server
Intelligent lock corresponding to binding;Specifically, each intelligent lock is respectively provided with unique identification address, Mei Yisuo when dispatching from the factory
The client for stating the first user realizes binding by inputting unique identification address of the intelligent lock.
It should be noted that the targeted customer includes first user and multiple different from first user
User;When the client-side information of the targeted customer is the client-side information of first user, the visitor of first user
The voucher bar code that family end is sent by receiving the server, to obtain unlocking authority;When the client of the targeted customer is believed
It is described to be different from first user when ceasing to be different from the client-side information of the user of first user one of them Suo Shu
User the voucher bar code that is sent by receiving the server of client, to obtain unlocking authority.
In a kind of optional embodiment, the voucher bar code is bar code or two-dimensional bar code.
For how to judge that the intelligent lock judges that the targeted customer is according to the voucher bar code scanned
In the no method with unlocking authority, i.e., for the step S5, the embodiments of the invention provide the following two kinds embodiment:
Please refer to Fig. 2 and Fig. 3, wherein Fig. 2 is a kind of schematic flow sheet of embodiment of the step S5 in Fig. 1;
Fig. 3 is the schematic flow sheet of step S512 in Fig. 2.In a kind of optional embodiment, the step S5 includes:
S511, the intelligent lock obtain the unlocking authority information according to the voucher bar code scanned;
S512, the intelligent lock judge whether the unlocking authority information is effective information;
S513, the intelligent lock judge that the targeted customer has when the unlocking authority information is effective information
Unlocking authority;
S514, the intelligent lock judge that the targeted customer does not have when the unlocking authority information is invalid information
There is unlocking authority.
In the present embodiment, the intelligent lock is by according to the voucher bar code scanned, obtaining the unlocking
Authority information, and judge whether the targeted customer has unlocking authority according to the unlocking authority information.
Further, the unlocking authority information includes effective period of time and effective degree;
The step S512 includes:
S5121, the intelligent lock judge whether current time in the range of the effective period of time and current unlocks
Whether number exceedes the effective degree;
S5122, the intelligent lock current time in the range of the effective period of time and current unlocking times not
During more than the effective degree, it is effective information to judge the unlocking authority information;
S5123, the intelligent lock are at current time not in the range of the effective period of time or current unlocking times
During more than the effective degree, it is invalid information to judge the unlocking authority information.
By the priority assignation of effective period of time and effective degree, unlocking of the user in special time time can be limited
Number, such as, effective period of time is set as 5 points to 6 points of Thursday afternoon, and set effective degree as 2 times, then receive the voucher
The targeted customer of bar code can only at most be unlocked twice by the voucher bar code within the time of 5 points to 6 points of Thursday afternoon,
Other times can not be unlocked;By above method, the uncaging time and number of user are limited, effectively increases safety
Property.
Referring to Fig. 4, it is the schematic flow sheet of the another embodiment of the step S5 in Fig. 1.Another optional
In embodiment, the step S5 includes:
From being previously received in the checking bar code that the server is sent, lookup is arrived with scanning for S521, the intelligent lock
The checking bar code that matches of the voucher bar code;
S522, the intelligent lock are sentenced in the checking bar code that the voucher bar code for finding Yu scanning matches
The fixed targeted customer has unlocking authority;
S523, the intelligent lock search less than the checking bar code to match with the voucher bar code scanned when,
Judge that the targeted customer does not have unlocking authority.
In the present embodiment, the intelligent lock passes through directly from the checking bar for being previously received the server transmission
The checking bar code to match with the voucher bar code scanned is searched in code, when the voucher bar code for finding Yu scanning
During the checking bar code to match, unlocking operation is carried out, otherwise, refusal carries out unlocking operation;By verifying that bar code verifies the intelligence
The voucher bar code that energy lockset scans, simplify the flow for judging whether the targeted customer has unlocking authority.
Further, the unlocking authority information includes effective period of time or effective;Methods described also includes:
The server reach at current time in the effective period of time at the beginning of between when, by the voucher bar code send out
The intelligent lock is delivered to, so that the intelligent lock will receive the voucher bar code of the server transmission as checking bar
Code;
The server reaches the end time of the effective period of time at current time or reached in current unlocking times
During the effective degree, the voucher failure instruction with the voucher bar code is sent to the intelligent lock, so that the intelligence
Voucher bar code of the lockset in voucher failure instruction is using with the checking bar code that the voucher bar code matches as failure bar
Code.
It is understood that the intelligent lock searches the situation less than the checking bar code to match with the voucher bar code
Have following two:What what the intelligent lock did not received that the server sends matched with the voucher bar code scanned tests
Bar code is demonstrate,proved, or the intelligent lock has the failure bar code matched with the voucher bar code scanned.
In a kind of optional embodiment, the unlocking authority information also includes the feature letter of bar code generation request
Breath.
Further, the characteristic information is the temporal information of bar code generation request.
It is understood that due to the bar code generation request temporal information it is different, therefore, the server according to
Unlocking authority information in different bar code generation requests generates different voucher bar codes, further increases security.
In a kind of optional embodiment, the step S2 includes:
The unlocking authority information is encrypted the server;
The server generates voucher bar code according to the unlocking authority information after encryption.
The unlocking authority information is encrypted, security can be effectively improved.
Further, the step S511 is specially:
The intelligent lock decodes to the voucher bar code, obtains the unlocking authority information.
It should be appreciated that the intelligent lock is preset with the key for decoding, therefore when the voucher bar is arrived in scanning
During code, the intelligent lock is decoded using default key to the voucher bar code, to obtain the unlocking authority information.
Compared to prior art, the beneficial effect of the embodiment of the present invention is:The embodiments of the invention provide a kind of bar code
Method for unlocking and system, wherein method include:The bar code generation request that the client that server receives the first user is sent;It is described
Client-side information comprising unlocking authority information and targeted customer in bar code generation request;The server is according to the unlocking
Authority information generates voucher bar code;The server sends the voucher bar code to the client-side information with the targeted customer
Corresponding client;In the intelligent lock scanning client corresponding with the client-side information of the targeted customer it is described with
Demonstrate,prove bar code;The intelligent lock judges whether the targeted customer has unlocking authority according to the voucher bar code scanned;
The intelligent lock carries out unlocking operation when the targeted customer has unlocking authority.A kind of bar code of the embodiment of the present invention
Method for unlocking and system can according to user's request to the client of specified targeted customer send with unlocking authority information with
Bar code is demonstrate,proved, the voucher bar code is scanned by intelligent lock, is unlocked when verifying that the targeted customer has unlocking authority,
Security and convenience that more people share lockset are improved, and can be by network by the voucher bar code with different unlocking authority information
Send to different targeted customers, reduce cost.
In order to realize identical purpose, another aspect of the present invention provides a kind of bar code unlocking system.Referring to Fig. 5, its
It is a kind of structural representation of bar code unlocking system provided in an embodiment of the present invention.The system includes:Including server 1 and
Intelligent lock 2;Wherein,
The server 1 includes:
Request receiving module 11, the bar code that the client for receiving the first user is sent generate request;The bar code life
The client-side information comprising unlocking authority information and targeted customer into request;
Bar code generation module 12, for generating voucher bar code according to the unlocking authority information;
Bar code sending module 13, for the voucher bar code to be sent to corresponding with the client-side information of the targeted customer
Client;
In a kind of optional embodiment, the voucher bar code is bar code or two-dimensional bar code.
The intelligent lock 2 includes:
Bar code scanning module 21, for scanning in the client corresponding with the client-side information of the targeted customer
The voucher bar code;
Authority judge module 22, opened for judging whether the targeted customer has according to the voucher bar code scanned
Lock authority;
Unlocking respond module 23, for having when the targeted customer has unlocking authority, carry out unlocking operation.
Please refer to Fig. 6 and Fig. 7, wherein, Fig. 6 is a kind of knot of embodiment of the authority judge module 22 in Fig. 5
Structure schematic diagram, Fig. 7 are the structural representations of the authority information judging unit 2212 in Fig. 6.In a kind of optional embodiment,
The authority judge module 22 includes:
Information acquisition unit 2211, for according to the voucher bar code scanned, obtaining the unlocking authority information;
Authority information judging unit 2212, for judging whether the unlocking authority information is effective information;
First identifying unit 2213, for when the unlocking authority information is effective information, judging the bar code information
It is proved to be successful;
Second identifying unit 2214, for when the unlocking authority information is invalid information, judging the bar code information
Authentication failed.
Further, the unlocking authority information includes effective period of time and effective degree;
The authority information judging unit 2212 includes:
Effective information judgment sub-unit 22121, for judging current time whether in the range of the effective period of time
And whether current unlocking times exceed the effective degree;
First effective information judge subelement 22122, for current time in the range of the effective period of time and
When current unlocking times are not less than the effective degree, it is effective information to judge the unlocking authority information;
Second effective information judge subelement 22123, at current time not in the range of the effective period of time
Or current unlocking times, when exceeding the effective degree, it is invalid information to judge the unlocking authority information.
Referring to Fig. 8, it is the structural representation of the another embodiment of the authority judge module 22 in Fig. 5.Another
In a kind of optional embodiment, the authority judge module 22 includes:
Bar code matching unit 2221 is verified, for from being previously received in the checking bar code that the server 1 is sent, searching
The checking bar code to match with the voucher bar code scanned;
3rd identifying unit 2222, for the checking bar code to match in the voucher bar code for finding Yu scanning
When, judge that the targeted customer has unlocking authority;
4th identifying unit 2223, for searching less than the checking bar code to match with the voucher bar code scanned
When, judge that the targeted customer does not have unlocking authority.
Further, the unlocking authority information includes effective period of time and effective time;The server also includes:
Verify bar code sending module, for reaching at current time in the effective period of time at the beginning of between when, by institute
State voucher bar code to send to the intelligent lock, so that the intelligent lock will receive the voucher bar code of the server transmission
As checking bar code;
Fail instruction sending module, for reaching the end time of the effective period of time at current time or being opened currently
When lock number reaches the effective degree, the voucher failure instruction with the voucher bar code is sent to the intelligent lock, with
The checking bar code for making voucher bar code of the intelligent lock in voucher failure instruction to be matched with the voucher bar code
As failure bar code.
In a kind of optional embodiment, the unlocking authority information also includes the feature letter of bar code generation request
Breath.
Further, the characteristic information is the temporal information of bar code generation request.
In a kind of optional embodiment, the bar code generation module 12 includes:
Information ciphering unit, for the unlocking authority information to be encrypted;
Barcode generator unit, for generating voucher bar code according to the unlocking authority information after encryption.
Further, described information acquiring unit 2211 is specifically used for:
The voucher bar code is decoded, obtains the unlocking authority information.
It should be noted that bar code unlocking system provided in an embodiment of the present invention is used for a kind of above-mentioned bar code method for unlocking
In, its operation principle and beneficial effect correspond prevents touch-screen false touch forwarding method in above-mentioned, thus repeats no more.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (10)
- A kind of 1. bar code method for unlocking, it is characterised in that including:The bar code generation request that the client that server receives the first user is sent;The power of unlocking is included in the bar code generation request Limit information and the client-side information of targeted customer;The server generates voucher bar code according to the unlocking authority information;The server sends the voucher bar code to client corresponding with the client-side information of the targeted customer;The voucher bar code in the intelligent lock scanning client corresponding with the client-side information of the targeted customer;The intelligent lock judges whether the targeted customer has unlocking authority according to the voucher bar code scanned;The intelligent lock carries out unlocking operation when the targeted customer has unlocking authority.
- 2. bar code method for unlocking as claimed in claim 1, it is characterised in that the intelligent lock according to scanning with Card bar code judges whether the targeted customer has unlocking authority, including:The intelligent lock obtains the unlocking authority information according to the voucher bar code scanned;The intelligent lock judges whether the unlocking authority information is effective information;The intelligent lock judges that the targeted customer has unlocking authority when the unlocking authority information is effective information;The intelligent lock judges that the targeted customer weighs without unlocking when the unlocking authority information is invalid information Limit.
- 3. bar code method for unlocking as claimed in claim 2, it is characterised in that the unlocking authority information includes effective period of time And effective degree;The intelligent lock judges whether the unlocking authority information is effective information, including:Whether the intelligent lock judges current time in the range of the effective period of time and whether current unlocking times surpass Cross the effective degree;The intelligent lock is current time is in the range of the effective period of time and current unlocking times have not less than described When imitating number, it is effective information to judge the unlocking authority information;The intelligent lock is not current time is in the range of the effective period of time or current unlocking times exceed and described had When imitating number, it is invalid information to judge the unlocking authority information.
- 4. bar code method for unlocking as claimed in claim 1, it is characterised in that the intelligent lock according to scanning with Card bar code judges whether the targeted customer has unlocking authority, including:The intelligent lock searches the voucher with scanning from being previously received in the checking bar code that the server is sent The checking bar code that bar code matches;The intelligent lock judges the target in the checking bar code that the voucher bar code for finding Yu scanning matches User has unlocking authority;The intelligent lock judges the mesh when searching less than the checking bar code to match with the voucher bar code scanned Mark user does not have unlocking authority.
- 5. bar code method for unlocking as claimed in claim 4, it is characterised in that the unlocking authority information includes effective period of time And effective time;Methods described also includes:The server reach at current time in the effective period of time at the beginning of between when, by the voucher bar code send to The intelligent lock, so that the intelligent lock will receive the voucher bar code of the server transmission as checking bar code;The server reaches the end time of the effective period of time at current time or reaches described in current unlocking times During effective degree, the voucher failure instruction with the voucher bar code is sent to the intelligent lock, so that the intelligent lock Voucher bar code in voucher failure instruction is using with the checking bar code that the voucher bar code matches as failure bar code.
- 6. a kind of bar code unlocking system, it is characterised in that including server and intelligent lock;Wherein,The server includes:Request receiving module, the bar code that the client for receiving the first user is sent generate request;The bar code generation request In the client-side information comprising unlocking authority information and targeted customer;Bar code generation module, for generating voucher bar code according to the unlocking authority information;Bar code sending module, for the voucher bar code to be sent to client corresponding with the client-side information of the targeted customer End;The intelligent lock includes:Bar code scanning module, for described in scanning in the client corresponding with the client-side information of the targeted customer with Demonstrate,prove bar code;Authority judge module, for judging whether the targeted customer has the power of unlocking according to the voucher bar code scanned Limit;Unlocking respond module, for having when the targeted customer has unlocking authority, carry out unlocking operation.
- 7. bar code unlocking system as claimed in claim 6, it is characterised in that the authority judge module includes:Information acquisition unit, for according to the voucher bar code scanned, obtaining the unlocking authority information;Authority information judging unit, for judging whether the unlocking authority information is effective information;First identifying unit, for when the unlocking authority information is effective information, judging that the bar code information is proved to be successful;Second identifying unit, for when the unlocking authority information is invalid information, judging the bar code information authentication failed.
- 8. bar code unlocking system as claimed in claim 7, it is characterised in that the unlocking authority information includes effective period of time And effective degree;The authority information judging unit includes:Effective information judgment sub-unit, for judging whether current time in the range of the effective period of time and current unlocks Whether number exceedes the effective degree;First effective information judges subelement, secondary for being unlocked at current time in the range of the effective period of time and currently When number is not less than the effective degree, it is effective information to judge the unlocking authority information;Second effective information judges subelement, for being unlocked at current time not in the range of the effective period of time or currently When number exceedes the effective degree, it is invalid information to judge the unlocking authority information.
- 9. bar code unlocking system as claimed in claim 6, it is characterised in that the authority judge module includes:Bar code matching unit is verified, for from being previously received in the checking bar code that the server is sent, lookup to be arrived with scanning The checking bar code that matches of the voucher bar code;3rd identifying unit, for match in the voucher bar code for finding Yu scanning checking bar code when, judge institute Stating targeted customer has unlocking authority;4th identifying unit, for when searching less than the checking bar code to match with the voucher bar code scanned, judging The targeted customer does not have unlocking authority.
- 10. bar code unlocking system as claimed in claim 9, it is characterised in that the unlocking authority information includes effective time Section and effective time;The server also includes:Verify bar code sending module, for reaching at current time in the effective period of time at the beginning of between when, will it is described with Card bar code is sent to the intelligent lock so that the intelligent lock will receive voucher bar code that the server sends as Verify bar code;Fail instruction sending module, for reaching the end time of the effective period of time at current time or in current unlocking time When number reaches the effective degree, the voucher failure instruction with the voucher bar code is sent to the intelligent lock, so that institute State intelligent lock according to the voucher failure instruction in voucher bar code using with the checking bar code that the voucher bar code matches as Fail bar code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710906981.XA CN107730677A (en) | 2017-09-29 | 2017-09-29 | A kind of bar code method for unlocking and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710906981.XA CN107730677A (en) | 2017-09-29 | 2017-09-29 | A kind of bar code method for unlocking and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107730677A true CN107730677A (en) | 2018-02-23 |
Family
ID=61209015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710906981.XA Pending CN107730677A (en) | 2017-09-29 | 2017-09-29 | A kind of bar code method for unlocking and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107730677A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108596300A (en) * | 2018-04-26 | 2018-09-28 | 广东电网有限责任公司 | Intelligent lead sealing method and system applied to electric energy metering device |
CN109214166A (en) * | 2018-08-20 | 2019-01-15 | 阿里巴巴集团控股有限公司 | Smart machine authentication control method and system |
CN109598831A (en) * | 2018-11-20 | 2019-04-09 | 北京千丁互联科技有限公司 | A kind of visitor's access control system control method and its device based on image recognition |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104966340A (en) * | 2015-06-19 | 2015-10-07 | 深圳市幸福立方科技有限公司 | Access control system, access control method and cloud service platform |
CN105069876A (en) * | 2015-08-04 | 2015-11-18 | 珠海格力电器股份有限公司 | Control method and system for intelligent access control |
CN105243715A (en) * | 2015-10-28 | 2016-01-13 | 成都卫士通信息产业股份有限公司 | Dynamic two-dimensional bar code based automatic registration method and system for district visiting users |
CN105741395A (en) * | 2016-02-03 | 2016-07-06 | 慧锐通智能科技股份有限公司 | Entrance guard access method and system based on two-dimension code and face identification |
CN105931340A (en) * | 2016-06-12 | 2016-09-07 | 南宁思飞电子科技有限公司 | Intelligent visitor access control device applicable to residential community |
CN106097498A (en) * | 2016-06-12 | 2016-11-09 | 南宁思飞电子科技有限公司 | It is applied to the intelligent caller gate control system of community |
CN106097490A (en) * | 2016-06-02 | 2016-11-09 | 成都科曦科技有限公司 | A kind of intelligent lock, the door-locking system being made up of lockset and method for unlocking |
-
2017
- 2017-09-29 CN CN201710906981.XA patent/CN107730677A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104966340A (en) * | 2015-06-19 | 2015-10-07 | 深圳市幸福立方科技有限公司 | Access control system, access control method and cloud service platform |
CN105069876A (en) * | 2015-08-04 | 2015-11-18 | 珠海格力电器股份有限公司 | Control method and system for intelligent access control |
CN105243715A (en) * | 2015-10-28 | 2016-01-13 | 成都卫士通信息产业股份有限公司 | Dynamic two-dimensional bar code based automatic registration method and system for district visiting users |
CN105741395A (en) * | 2016-02-03 | 2016-07-06 | 慧锐通智能科技股份有限公司 | Entrance guard access method and system based on two-dimension code and face identification |
CN106097490A (en) * | 2016-06-02 | 2016-11-09 | 成都科曦科技有限公司 | A kind of intelligent lock, the door-locking system being made up of lockset and method for unlocking |
CN105931340A (en) * | 2016-06-12 | 2016-09-07 | 南宁思飞电子科技有限公司 | Intelligent visitor access control device applicable to residential community |
CN106097498A (en) * | 2016-06-12 | 2016-11-09 | 南宁思飞电子科技有限公司 | It is applied to the intelligent caller gate control system of community |
Non-Patent Citations (1)
Title |
---|
林自葵: "《物流信息系统管理》", 31 July 2014 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108596300A (en) * | 2018-04-26 | 2018-09-28 | 广东电网有限责任公司 | Intelligent lead sealing method and system applied to electric energy metering device |
CN109214166A (en) * | 2018-08-20 | 2019-01-15 | 阿里巴巴集团控股有限公司 | Smart machine authentication control method and system |
CN109598831A (en) * | 2018-11-20 | 2019-04-09 | 北京千丁互联科技有限公司 | A kind of visitor's access control system control method and its device based on image recognition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8581690B2 (en) | Electromechanical lock | |
CN102262793B (en) | Entrance guard control method and entrance guard control system | |
CN109272606B (en) | Intelligent lock supervision equipment and method based on block chain and storage medium | |
US10171444B1 (en) | Securitization of temporal digital communications via authentication and validation for wireless user and access devices | |
CN100409617C (en) | System and method of authenticating validity and dropoff | |
JP3222111B2 (en) | Remote identity verification method and apparatus using personal identification device | |
CN106652135A (en) | Access control method and system based on cloud technology and two-dimensional code technology | |
US20070034686A1 (en) | Protection of non-promiscuous data in an rfid transponder | |
CN109712300A (en) | A kind of unlocking system based on network identification card certification | |
CN107730677A (en) | A kind of bar code method for unlocking and system | |
CN105190638A (en) | Rfid secure authentication | |
CN1535437A (en) | Method and system using SMS notification for facilitating delivery of goods | |
CN101297327A (en) | Procedure for control of interlock and lock | |
CN106355708A (en) | Door control system capable of conferring opening authority to visitors and door control management method | |
CN207946884U (en) | A kind of locker management system | |
CN109064603A (en) | A kind of method and access control system for opening gate inhibition | |
JP2010071009A (en) | Unlocking system and unlocking method | |
Divya et al. | Survey on various door lock access control mechanisms | |
CN109215204A (en) | A kind of intelligent door lock security system based on ether mill | |
CN106600773A (en) | Multifunctional distributed intelligent access control system using IC card or dynamic password | |
CN113971849A (en) | Dynamic coded lock with management system | |
CN207123882U (en) | A kind of antitheft cloud service door-locking system of multiple intelligent | |
CN107423609A (en) | A kind of authoring system, method and card | |
CN107978033A (en) | A kind of smart lock exchange method | |
CN111192386A (en) | Intelligent lock system and unlocking method of intelligent lock |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180223 |