CN108010174A - Access control system control method based on Quick Response Code, apparatus and system - Google Patents

Access control system control method based on Quick Response Code, apparatus and system Download PDF

Info

Publication number
CN108010174A
CN108010174A CN201810021003.1A CN201810021003A CN108010174A CN 108010174 A CN108010174 A CN 108010174A CN 201810021003 A CN201810021003 A CN 201810021003A CN 108010174 A CN108010174 A CN 108010174A
Authority
CN
China
Prior art keywords
code
original
dynamic
control system
access control
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
CN201810021003.1A
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.)
Jiangmen Yizhao Science And Technology Co Ltd
Original Assignee
Jiangmen Yizhao Science And Technology Co 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 Jiangmen Yizhao Science And Technology Co Ltd filed Critical Jiangmen Yizhao Science And Technology Co Ltd
Priority to CN201810021003.1A priority Critical patent/CN108010174A/en
Publication of CN108010174A publication Critical patent/CN108010174A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/38Individual registration on entry or exit not involving the use of a pass with central registration

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The present invention provides a kind of access control system control method based on Quick Response Code, apparatus and system, is related to field of computer technology, the Quick Response Code of access control system can be prevented to be replicated, lift the safety coefficient of access control system.The described method includes:Obtain the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;It is regular using the current time, the original two dimensional code and pre-arranged code, generate the dynamic two-dimension code of access control system;The dynamic two-dimension code is shown on the mobile terminal screen, to be scanned the dynamic two-dimension code and dynamic analysis, is determined whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis.The present invention is suitable for the access control system control method based on Quick Response Code.

Description

Access control system control method based on Quick Response Code, apparatus and system
Technical field
The present invention relates to gate inhibition's technical field, particularly with regard to a kind of access control system control method based on Quick Response Code, Apparatus and system.
Background technology
The continuous popularization of smart mobile phone, planar bar code technology occur therewith therewith, and Quick Response Code uses certain particular geometric figure According to certain rules in the figure identifying recording layer symbolic information of two-dimensional directional distribution, can implicitly store by anti-counterfeiting object Information carry out false proof, introducing planar bar code technology and being advantageous in that can greatly store by the customized information of anti-counterfeiting object, Including pictograph, sound etc..Quick Response Code generation at the same time and cost of manufacture are relatively low, therefore, are applied in many fields, Especially it is widely used in access control system.
At present, when being controlled based on Quick Response Code to access control system, it is based primarily upon static two dimensional code access control system System opens the door, i.e., by identifying the static two dimensional code on mobile terminal, to determine whether user has enabling authority.It is however, mobile Terminal has the function of to take pictures either, and copy screen etc. i.e. mobile terminal may be by duplication or transfer mode, and acquisition, which has, opens The static two dimensional code of door authority, the user for the authority that causes not open the door also can be by access control system, so as to cause access control system Safety coefficient is relatively low.
The content of the invention
The present invention provides a kind of access control system control method based on Quick Response Code, apparatus and system, main purpose is The Quick Response Code of access control system can be prevented to be replicated, lift the safety coefficient of access control system.
The first aspect according to embodiments of the present invention, there is provided a kind of access control system control method based on Quick Response Code, bag Include:
Obtain the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;
It is regular using the current time, the original two dimensional code and pre-arranged code, generate the Dynamic Two-dimensional of access control system Code;
The dynamic two-dimension code is shown on the mobile terminal screen, to carry out dynamic resolution to the dynamic two-dimension code Analysis, determines whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis.
Second aspect according to embodiments of the present invention, there is provided a kind of access control system control method based on Quick Response Code, bag Include:
The dynamic two-dimension code for the access control system that scanning mobile terminal screen is shown;
Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, when obtaining original two dimensional code and reference Between;
According to sweep time, the original two dimensional code and the reference time, effective original two dimensional code is identified;
By verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
3rd aspect according to embodiments of the present invention, there is provided a kind of dynamic two-dimension code generating means of access control system, bag Include:
Acquiring unit, for obtaining the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;
Generation unit, for utilizing the current time, the original two dimensional code and pre-arranged code rule, generation gate inhibition system The dynamic two-dimension code of system;
Display unit, for showing the dynamic two-dimension code on the mobile terminal screen, so as to the dynamic two Tie up code and carry out dynamic analysis, determined whether to control the access control system to open the door according to the original two dimensional code of dynamic analysis.
4th aspect according to embodiments of the present invention, there is provided a kind of access control system control device based on Quick Response Code, bag Include:
Scanning element, the dynamic two-dimension code of the access control system shown for scanning mobile terminal screen;
Resolution unit, for carrying out dynamic analysis to the Quick Response Code scanned according to default decoding rule, obtains original two Tie up code and reference time;
Recognition unit, for according to sweep time, the original two dimensional code and the reference time, identifying effective original Beginning Quick Response Code;
Determination unit, for by verifying the effective original two dimensional code, it is determined whether control the access control system to open Door.
5th aspect according to embodiments of the present invention, there is provided a kind of access control system control system based on Quick Response Code, bag Include:
The dynamic two-dimension code generating means of access control system, for obtaining original two dimensional code and the shifting of the transmission of gate inhibition's server The current time of dynamic terminal;Using the current time, the original two dimensional code and pre-arranged code rule, access control system is generated Dynamic two-dimension code;The dynamic two-dimension code is shown on the mobile terminal screen;
Access control system control device based on Quick Response Code, the access control system shown for scanning the mobile terminal screen Dynamic two-dimension code;Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, obtains original two dimensional code and reference Time;According to sweep time, the original two dimensional code and the reference time, effective original two dimensional code is identified;By testing Demonstrate,prove the effective original two dimensional code, it is determined whether control the access control system to open the door.
6th aspect according to embodiments of the present invention, there is provided a kind of computer-readable recording medium, is stored thereon with meter Calculation machine program, the program realize following steps when being executed by processor:
Obtain the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;
It is regular using the current time, the original two dimensional code and pre-arranged code, generate the Dynamic Two-dimensional of access control system Code;
The dynamic two-dimension code is shown on the mobile terminal screen, to carry out dynamic resolution to the dynamic two-dimension code Analysis, determines whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis.
7th aspect according to embodiments of the present invention, there is provided a kind of computer-readable recording medium, is stored thereon with meter Calculation machine program, the program realize following steps when being executed by processor:
The dynamic two-dimension code for the access control system that scanning mobile terminal screen is shown;
Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, when obtaining original two dimensional code and reference Between;
According to sweep time, the original two dimensional code and the reference time, effective original two dimensional code is identified;
By verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
The present invention provides a kind of access control system control method based on Quick Response Code, apparatus and system, with present based on When being controlled to access control system of Quick Response Code, is based primarily upon the enabling of static two dimensional code access control system and compares, energy of the present invention Current time and pre-arranged code the rule generation gate inhibition of enough the original two dimensional code sent according to gate inhibition's server and mobile terminal The dynamic two-dimension code of system, shows the dynamic two-dimension code on the mobile terminal screen;The dynamic two-dimension code is carried out Scanning and dynamic analysis, determine whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis, so that It can realize and access control system is controlled based on dynamic two-dimension code, change since dynamic two-dimension code changes over time, in short-term Between after i.e. failure can not reuse, the corresponding enabling Quick Response Code of access control system can be prevented to be replicated, and then being capable of lever gear door The safety coefficient of access control system.
Brief description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of access control system control method flow chart based on Quick Response Code provided in an embodiment of the present invention;
Fig. 2 is another access control system control method flow chart based on Quick Response Code provided in an embodiment of the present invention;
Fig. 3 is another access control system control method flow chart based on Quick Response Code provided in an embodiment of the present invention;
Fig. 4 is another access control system control method flow chart based on Quick Response Code provided in an embodiment of the present invention;
Fig. 5 is a kind of structure diagram of the dynamic two-dimension code generating means of access control system provided in an embodiment of the present invention;
Fig. 6 is a kind of entity structure signal of the dynamic two-dimension code generating means of access control system provided in an embodiment of the present invention Figure;
Fig. 7 is a kind of structure diagram of access control system control device based on Quick Response Code provided in an embodiment of the present invention;
Fig. 8 is a kind of entity structure signal of access control system control device based on Quick Response Code provided in an embodiment of the present invention Figure;
Fig. 9 is a kind of structure diagram of access control system control system based on Quick Response Code provided in an embodiment of the present invention.
Embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Such as background technology, the enabling of static two dimensional code access control system is based primarily upon, i.e., by identifying on mobile terminal Static two dimensional code, to determine whether user has enabling authority.However, mobile terminal, which has, takes pictures or copies the work(such as screen Can, i.e., mobile terminal may obtain the static two dimensional code with enabling authority, cause not open by duplication or transfer mode The user of door authority also can be by access control system, so as to cause the safety coefficient of access control system relatively low.
To solve the above-mentioned problems, the embodiment of the present invention provides a kind of access control system control method based on Quick Response Code, can With the dynamic two-dimension code generating means applied to access control system, as shown in Figure 1, the described method includes:
101st, the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal are obtained.
Wherein, the original two dimensional code can be to be obtained from gate inhibition's server system by wireless network, i.e., to The original two dimensional code that gate inhibition's server application access control system is opened the door, gate inhibition's server can be right according to mobile terminal institute Using the enabling authority at family, to original two dimensional code of the dynamic two-dimension code generating means feedback with enabling authority.It is described dynamic State Quick Response Code generating means can be client on the mobile terminal device, and the current time of mobile terminal can be with Be to include year, month, day, hour, min, the time of second, can be include the moon, day, when, the time of minute, second, or including when, The time of minute, second, the embodiment of the present invention do not limit, for example, the current time of mobile terminal can be 12:34:56.
102nd, it is regular using the current time, the original two dimensional code and pre-arranged code, generate the dynamic of access control system Quick Response Code.
Wherein, the pre-arranged code rule can be designed according to practical application, and the pre-arranged code rule can be for by institute State the rule that the corresponding time series of current time and the corresponding Quick Response Code sequence of the original two dimensional code are spliced and combined.Example Such as, Quick Response Code sequence has a Q1, Q2, Q3 ... Qn, common n character, when the time is, minute, second (HH, MM, SS), the Quick Response Code after coding Sequence can be Q1, Q2, Q3 ... Qn, HH, MM, SS;Specifically, original two dimensional code sequence is " 1234567890 ", current time For 12:34:56, the Quick Response Code sequence after coding is " 1234567890123456 ", or " 1234561234567890 ".
The pre-arranged code rule can be that the corresponding time series of the current time and the original two dimensional code is right The Quick Response Code sequence answered carries out the rule of end alignment or head and the tail alignment superposition.In another example original two dimensional code sequence is " 1234567890 ", current time 12:34:56, the Quick Response Code sequence after end alignment encodes is " 1234691346 ".
For the embodiment of the present invention, the step 102 is specifically as follows:Utilize the current time and pre-arranged code rule The original two dimensional code is encoded, obtains the first Quick Response Code;Working as mobile terminal is reacquired according to prefixed time interval The preceding time;The original two dimensional code is encoded using the current time and pre-arranged code rule of reacquisition, obtains second Quick Response Code;According to first Quick Response Code and second Quick Response Code, the dynamic two-dimension code is generated.The dynamic two-dimension code can Think the Quick Response Code for changing over time and changing, i.e., described dynamic two-dimension code may be referred to time and original two dimensional code.Specifically, The dynamic two-dimension code is the current time redefined according to prefixed time interval, and coding life is carried out to the original two dimensional code Into.
103rd, the dynamic two-dimension code is shown on the mobile terminal screen.
For the embodiment of the present invention, by the step 103, the access control system control device based on Quick Response Code can be to institute State dynamic two-dimension code to be scanned and dynamic analysis, determine whether to control the door according to effective original two dimensional code of dynamic analysis Access control system opens the door.
It is described to be based on since the dynamic two-dimension code is to be generated according to the current time and original two dimensional code of mobile terminal The access control system control device of Quick Response Code carries out dynamic analysis to the dynamic two-dimension code, can restore original two before coding Time when code and coding is tieed up, then according to the original two dimensional code before coding and time during coding, is identified effective original Quick Response Code.
For the embodiment of the present invention, by generating and showing the dynamic two-dimension code of access control system, effective original can be prevented Beginning Quick Response Code is replicated, and the Quick Response Code for efficiently controlling access control system is transmitted, so as to effectively reach the mesh of access permission management 's.
A kind of access control system control method based on Quick Response Code provided in an embodiment of the present invention, and at present based on Quick Response Code When being controlled to access control system, be based primarily upon static two dimensional code access control system open the door compare, the present invention being capable of basis The original two dimensional code and current time and the pre-arranged code rule of mobile terminal that gate inhibition's server is sent generate access control system Dynamic two-dimension code, shows the dynamic two-dimension code on the mobile terminal screen;The dynamic two-dimension code is scanned and Dynamic analysis, determines whether to control the access control system to open the door, so as to reality according to effective original two dimensional code of dynamic analysis Now access control system is controlled based on dynamic two-dimension code, is changed since dynamic two-dimension code changes over time, after the short time i.e. Failure can not reuse, and the corresponding enabling Quick Response Code of access control system can be prevented to be replicated, and then can lift access control system Safety coefficient.
In order to better illustrate the process of the above-mentioned access control system control based on Quick Response Code, as to the thin of above-described embodiment Change and extension, the embodiment of the present invention also provide another access control system control method based on Quick Response Code, as shown in Fig. 2, including:
201st, the original two dimensional code of access control system is obtained from server by network.
202nd, mobile terminal present system time (date can be contained) is obtained.
Wherein, the time can be used only or using only date or use date time at the same time according to different demands.
203rd, Quick Response Code (including original two dimensional code and current time) is reconfigured according to pre-arranged code rule.
204th, new Quick Response Code is shown on mobile terminal screen.
Wherein, new Quick Response Code is made of 2 parts:Original two dimensional code data and current time.
205th, postpone and be spaced repeat step 202-204 to schedule.
Access control system control method of the another kind based on Quick Response Code provided in an embodiment of the present invention, and at present based on two dimension When being controlled to access control system of code, is based primarily upon the enabling of static two dimensional code access control system and compares, the present invention being capable of root The original two dimensional code and current time and pre-arranged code the rule generation access control system of mobile terminal sent according to gate inhibition's server Dynamic two-dimension code, the dynamic two-dimension code is shown on the mobile terminal screen;The dynamic two-dimension code is scanned And dynamic analysis, determined whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis, so as to Realization is controlled access control system based on dynamic two-dimension code, changes since dynamic two-dimension code changes over time, after the short time I.e. failure can not reuse, and the corresponding enabling Quick Response Code of access control system can be prevented to be replicated, and then can lift gate inhibition system The safety coefficient of system.
The embodiment of the present invention provides another access control system control method based on Quick Response Code, can be applied to based on two dimension The access control system control device of code, as shown in figure 3, the described method includes:
301st, the dynamic two-dimension code for the access control system that scanning mobile terminal screen is shown.
Wherein, the dynamic two-dimension code be according to gate inhibition's server send original two dimensional code, mobile terminal it is current when Between and pre-arranged code rule generation.
302nd, dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, obtains original two dimensional code and reference Time.
It should be noted that the default decoding rule can be utilized with the generating means of the dynamic two-dimension code it is pre- If if coding rule is correspondingly, for example, pre-arranged code rule is by the corresponding time series of the current time and described The splicing rule that the corresponding Quick Response Code sequence of original two dimensional code is spliced and combined, then the default decoding rule is by scanning Quick Response Code is decomposed into the decomposition rule of original two dimensional code sequence and reference time array.Specifically, the step 302 specifically can be with For:Predetermined sequence decomposition rule decomposes the Quick Response Code sequence scanned, obtains original two dimensional code sequence and reference time Sequence;According to the original two dimensional code sequence and the reference time array, the original two dimensional code and the ginseng are determined respectively Examine the time.
For example, the Quick Response Code sequence of scanning is " 1234567890123456 ", the original two dimensional code sequence after decomposition can be with For " 1234567890 ", reference time array can be:" 123456 ", time during coding are 12:34:56.
303rd, according to sweep time, the original two dimensional code and the reference time, effective original two dimensional code is identified.
For the embodiment of the present invention, the step 303 is specifically as follows:Compare the sweep time and the reference time Between time difference;If the time difference is more than preset time threshold, rescans and parse the dynamic two-dimension code; If the time difference is less than preset time threshold, whether the original two dimensional code for comparing at least secondary parsing is identical;If differing, Then rescan and parse the dynamic two-dimension code;If identical, identical original two dimensional code is determined as effective original two Tie up code.
For example, the preset time threshold can be 2 seconds, 3 seconds, the sweep time scanned the two-dimensional code was 12:34:57, ginseng The time is examined as 12:34:56, the time difference of sweep time and reference time are 1 second, then can be in the range of preset time threshold Whether identical compare the original two dimensional code of at least secondary parsing, if identical, identical original two dimensional code is determined as effectively Original two dimensional code, otherwise, can rescan and parse dynamic two-dimension code.Specifically, the original two dimensional code sequence of secondary parsing It is " 1234567890 ", the corresponding original two dimensional code of the Quick Response Code sequence is then determined as effective original two dimensional code.
304th, by verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
It should be noted that the process verified to the effective original two dimensional code can be:Verify described effective Original two dimensional code whether have enabling authority, if the effective original two dimensional code possesses enabling authority, it is determined that described in control Access control system is opened the door, and sends control door open command to the access control system at this time;If the effective original two dimensional code does not possess The prompt message opened the door is had no right in enabling authority, then output.
Another access control system control method based on Quick Response Code provided in an embodiment of the present invention, and at present based on two dimension When being controlled to access control system of code, is based primarily upon the enabling of static two dimensional code access control system and compares, the present invention being capable of root The original two dimensional code and current time and pre-arranged code the rule generation access control system of mobile terminal sent according to gate inhibition's server Dynamic two-dimension code, the dynamic two-dimension code is shown on the mobile terminal screen;The dynamic two-dimension code is scanned And dynamic analysis, determined whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis, so as to Realization is controlled access control system based on dynamic two-dimension code, changes since dynamic two-dimension code changes over time, after the short time I.e. failure can not reuse, and the corresponding enabling Quick Response Code of access control system can be prevented to be replicated, and then can lift gate inhibition system The safety coefficient of system.
In order to better illustrate the process of the above-mentioned access control system control based on Quick Response Code, as to the thin of above-described embodiment Change and extension, the embodiment of the present invention also provide another access control system control method based on Quick Response Code, as shown in figure 4, including:
401st, scan the dynamic two-dimension code of mobile terminal screen and the Quick Response Code of scanning is decoded.
402nd, decompose Quick Response Code and obtain original two dimensional code and reference time.
403rd, reference time and the sweep time difference of Quick Response Code are compared.If time difference exceedes error threshold, perform Step 401;If time difference performs step 404 not less than error threshold.
For the embodiment of the present invention, by setting error threshold, can obtain Quick Response Code fail in a short time can not Reuse, further original two dimensional code can maliciously be parsed and replicated, so as to further lift access control system Safety coefficient.
404th, whether identical the front and rear 2 times original two dimensional codes for scanning and decoding at least are compared.If it is different, then step 401 rescan Quick Response Code;If identical, step 405 is performed.
405th, determine the original two dimensional code effectively and export.
Another access control system control method based on Quick Response Code provided in an embodiment of the present invention, and at present based on two dimension When being controlled to access control system of code, is based primarily upon the enabling of static two dimensional code access control system and compares, the present invention being capable of root The original two dimensional code and current time and pre-arranged code the rule generation access control system of mobile terminal sent according to gate inhibition's server Dynamic two-dimension code, the dynamic two-dimension code is shown on the mobile terminal screen;The dynamic two-dimension code is scanned And dynamic analysis, determined whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis, so as to Realization is controlled access control system based on dynamic two-dimension code, changes since dynamic two-dimension code changes over time, after the short time I.e. failure can not reuse, and the corresponding enabling Quick Response Code of access control system can be prevented to be replicated, and then can lift gate inhibition system The safety coefficient of system.
Further, the specific implementation as Fig. 1, an embodiment of the present invention provides a kind of dynamic two-dimension code of access control system Generating means, as shown in figure 5, described device includes:Acquiring unit 51, generation unit 52 and display unit 53.
The acquiring unit 51, can be used for obtaining the original two dimensional code of gate inhibition's server transmission and working as mobile terminal The preceding time.The acquiring unit 51 be in the present apparatus gate inhibition's server send original two dimensional code and mobile terminal it is current when Between main functional modules.
The generation unit 52, can be used for using the current time, the original two dimensional code and pre-arranged code rule, Generate the dynamic two-dimension code of access control system.The generation unit 52 is that the current time, described original two are utilized in the present apparatus Code and pre-arranged code rule are tieed up, generates the main functional modules of the dynamic two-dimension code of access control system, and the core mould of the present apparatus Block.
The display unit 53, can be used on the mobile terminal screen showing the dynamic two-dimension code, so as to right The dynamic two-dimension code is scanned and dynamic analysis, determines whether to control the gate inhibition according to the original two dimensional code of dynamic analysis System is opened the door.The display unit 53 is to show the main work(of the dynamic two-dimension code in the present apparatus on the mobile terminal screen Can module.
Further, in order to preferably generate dynamic two-dimension code, the generation unit 52, specifically can be used for using described Current time and pre-arranged code rule encode the original two dimensional code, obtain the first Quick Response Code;According between preset time Every the current time for reacquiring mobile terminal;Using the current time and pre-arranged code rule of reacquisition to described original two Dimension code is encoded, and obtains the second Quick Response Code;According to first Quick Response Code and second Quick Response Code, the dynamic two is generated Tie up code.
It should be noted that involved by a kind of dynamic two-dimension code generating means of access control system provided in an embodiment of the present invention Other corresponding corresponding descriptions for describing, may be referred to method shown in Fig. 1 of each function module, details are not described herein.
Based on above-mentioned method as shown in Figure 1, correspondingly, the embodiment of the present invention additionally provides a kind of computer-readable storage medium Matter, is stored thereon with computer program, which realizes following steps when being executed by processor:Obtain what gate inhibition's server was sent The current time of original two dimensional code and mobile terminal;Advised using the current time, the original two dimensional code and pre-arranged code Then, the dynamic two-dimension code of access control system is generated;The dynamic two-dimension code is shown on the mobile terminal screen, so as to described Dynamic two-dimension code is scanned and dynamic analysis, determines whether to control the gate inhibition according to effective original two dimensional code of dynamic analysis System is opened the door.
The embodiment of dynamic two-dimension code generating means based on above-mentioned method as shown in Figure 1 and access control system as shown in Figure 5, The embodiment of the present invention additionally provides a kind of entity structure diagram of the dynamic two-dimension code generating means of access control system, as shown in fig. 6, should Device includes:Processor 61, memory 62 and the computer program that can be run on memory 62 and on a processor is stored in, Wherein memory 62 and processor 61 are arranged at when the processor 61 performs described program in bus 63 and realize following steps: Obtain the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;Utilize the current time, the original Beginning Quick Response Code and pre-arranged code rule, generate the dynamic two-dimension code of access control system;On the mobile terminal screen described in display Dynamic two-dimension code, to be scanned to the dynamic two-dimension code and dynamic analysis, according to effective original two dimensional of dynamic analysis Code determines whether to control the access control system to open the door.
Further, the specific implementation as Fig. 3, an embodiment of the present invention provides a kind of access control system based on Quick Response Code Control device, as shown in fig. 7, described device includes:Scanning element 71, resolution unit 72, recognition unit 73 and determination unit 74.
The scanning element 71, can be used for the dynamic two-dimension code for scanning the access control system that mobile terminal screen is shown.Institute State the major function mould that scanning element 71 is the dynamic two-dimension code that the access control system that mobile terminal screen is shown is scanned in the present apparatus Block.
The resolution unit 72, can be used for carrying out dynamic analysis to the Quick Response Code scanned according to default decoding rule, Obtain original two dimensional code and reference time.The resolution unit 72 be in the present apparatus according to it is default decoding rule to scan two Tie up code and carry out dynamic analysis, obtain the main functional modules of original two dimensional code and reference time, and the nucleus module of the present apparatus.
The recognition unit 73, can be used for according to sweep time, the original two dimensional code and the reference time, identification Go out effective original two dimensional code.The recognition unit 73 is according to sweep time, the original two dimensional code and described in the present apparatus Reference time, identifies the main functional modules of effective original two dimensional code.
The determination unit 74, can be used for by verifying the effective original two dimensional code, it is determined whether described in control Access control system is opened the door.The determination unit 74 is by verifying the effective original two dimensional code in the present apparatus, it is determined whether control Make the main functional modules that the access control system is opened the door.
For the embodiment of the present invention, in order to identify effective original two dimensional code, the recognition unit 73, can specifically use Time difference between the sweep time and the reference time;If the time difference is more than preset time threshold Value, then rescan and parse the dynamic two-dimension code;If the time difference is less than preset time threshold, compare at least secondary Whether the original two dimensional code of parsing is identical;If differing, rescan and parse the dynamic two-dimension code;, will if identical Identical original two dimensional code is determined as effective original two dimensional code.
It should be noted that the default decoding rule is preset decomposition rule, in order to parse original two dimensional code and ginseng Examine the time, the resolution unit 72, specifically can be used for predetermined sequence decomposition rule and the Quick Response Code sequence scanned is divided Solution, obtains original two dimensional code sequence and reference time array;According to the original two dimensional code sequence and the reference time array, The original two dimensional code and the reference time are determined respectively.
It should be noted that involved by a kind of access control system control device based on Quick Response Code provided in an embodiment of the present invention Other corresponding corresponding descriptions for describing, may be referred to method shown in Fig. 3 of each function module, details are not described herein.
Based on above-mentioned method as shown in Figure 3, correspondingly, the embodiment of the present invention additionally provides a kind of computer-readable storage medium Matter, is stored thereon with computer program, which realizes following steps when being executed by processor:Scanning mobile terminal screen is shown Access control system dynamic two-dimension code;Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, is obtained original Quick Response Code and reference time;According to sweep time, the original two dimensional code and the reference time, effective original two are identified Tie up code;By verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
Based on above-mentioned method and the embodiment of the access control system control device based on Quick Response Code as shown in Figure 7 as shown in Figure 1, The embodiment of the present invention additionally provides a kind of entity structure diagram of the access control system control device based on Quick Response Code, as shown in figure 8, should Device includes:Processor 81, memory 82 and the computer program that can be run on memory 82 and on a processor is stored in, Wherein memory 82 and processor 81 are arranged at when the processor 81 performs described program in bus 83 and realize following steps: Obtain the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;Utilize the current time, the original Beginning Quick Response Code and pre-arranged code rule, generate the dynamic two-dimension code of access control system;On the mobile terminal screen described in display Dynamic two-dimension code, to be scanned to the dynamic two-dimension code and dynamic analysis, according to effective original two dimensional of dynamic analysis Code determines whether to control the access control system to open the door.
Further, the embodiment of the present invention also provides a kind of access control system control system based on Quick Response Code, such as Fig. 9 institutes Show, the system comprises:The dynamic two-dimension code generating means 91 of access control system and the access control system control device based on Quick Response Code 92。
The dynamic two-dimension code generating means 91 of the access control system, can be used for obtaining gate inhibition's server is sent original two Tie up the current time of code and mobile terminal;Utilize the current time, the original two dimensional code and pre-arranged code rule, generation The dynamic two-dimension code of access control system;The dynamic two-dimension code is shown on the mobile terminal screen.
The access control system control device 92 based on Quick Response Code, can be used for scanning what the mobile terminal screen was shown The dynamic two-dimension code of access control system;Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, obtains original two Tie up code and reference time;According to sweep time, the original two dimensional code and the reference time, effective original two dimensional is identified Code;By verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
By technical scheme, it can realize and access control system is controlled based on dynamic two-dimension code, due to dynamic State Quick Response Code is changed over time and changed, and is that failure can not reuse after the short time, can be prevented access control system is corresponding to open Door Quick Response Code is replicated, and then can lift the safety coefficient of access control system.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.Combined in this way, the present invention is not restricted to any specific hardware and software.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this area For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included within protection scope of the present invention.

Claims (10)

  1. A kind of 1. access control system control method based on Quick Response Code, it is characterised in that including:
    Obtain the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;
    It is regular using the current time, the original two dimensional code and pre-arranged code, generate the dynamic two-dimension code of access control system;
    The dynamic two-dimension code is shown on the mobile terminal screen, so as to the dynamic two-dimension code is scanned and dynamic Parsing, determines whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis.
  2. 2. according to the method described in claim 1, it is characterized in that, described utilize the current time, the original two dimensional code With pre-arranged code rule generation dynamic two-dimension code, specifically include:
    The original two dimensional code is encoded using the current time and pre-arranged code rule, obtains the first Quick Response Code;
    The current time of mobile terminal is reacquired according to prefixed time interval;
    The original two dimensional code is encoded using the current time and pre-arranged code rule of reacquisition, obtains the second two dimension Code;
    According to first Quick Response Code and second Quick Response Code, the dynamic two-dimension code is generated.
  3. A kind of 3. access control system control method based on Quick Response Code, it is characterised in that including:
    The dynamic two-dimension code for the access control system that scanning mobile terminal screen is shown;
    Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, obtains original two dimensional code and reference time;
    According to sweep time, the original two dimensional code and the reference time, effective original two dimensional code is identified;
    By verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
  4. It is 4. according to the method described in claim 3, it is characterized in that, described according to sweep time, the original two dimensional code and institute The reference time is stated, effective original two dimensional code is identified, specifically includes:
    Compare the time difference between the sweep time and the reference time;
    If the time difference is more than preset time threshold, rescans and parse the dynamic two-dimension code;
    If the time difference is less than preset time threshold, whether the original two dimensional code for comparing at least secondary parsing is identical;
    If differing, rescan and parse the dynamic two-dimension code;
    If identical, identical original two dimensional code is determined as effective original two dimensional code.
  5. 5. according to the method described in claim 3, it is characterized in that, it is described it is default decoding rule for preset decomposition rule, it is described Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, obtains original two dimensional code and reference time, specific bag Include:
    Predetermined sequence decomposition rule decomposes the Quick Response Code sequence scanned, obtains original two dimensional code sequence and reference time Sequence;
    According to the original two dimensional code sequence and the reference time array, the original two dimensional code and the reference are determined respectively Time.
  6. A kind of 6. dynamic two-dimension code generating means of access control system, it is characterised in that including:
    Acquiring unit, for obtaining the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;
    Generation unit, for using the current time, the original two dimensional code and pre-arranged code rule, generating access control system Dynamic two-dimension code;
    Display unit, for showing the dynamic two-dimension code on the mobile terminal screen, so as to the dynamic two-dimension code It is scanned and dynamic analysis, is determined whether to control the access control system to open the door according to the original two dimensional code of dynamic analysis.
  7. A kind of 7. access control system control device based on Quick Response Code, it is characterised in that including:
    Scanning element, the dynamic two-dimension code of the access control system shown for scanning mobile terminal screen;
    Resolution unit, for carrying out dynamic analysis to the Quick Response Code scanned according to default decoding rule, obtains original two dimensional code And the reference time;
    Recognition unit, for according to sweep time, the original two dimensional code and the reference time, identifying effective original two Tie up code;
    Determination unit, for by verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
  8. A kind of 8. access control system control system based on Quick Response Code, it is characterised in that including:Generation as claimed in claim 6 Device and control device as claimed in claim 7.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor Following steps are realized during row:
    Obtain the original two dimensional code of gate inhibition's server transmission and the current time of mobile terminal;
    It is regular using the current time, the original two dimensional code and pre-arranged code, generate the dynamic two-dimension code of access control system;
    The dynamic two-dimension code is shown on the mobile terminal screen, to carry out dynamic analysis to the dynamic two-dimension code, Determined whether to control the access control system to open the door according to effective original two dimensional code of dynamic analysis.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor Following steps are realized during execution:
    The dynamic two-dimension code for the access control system that scanning mobile terminal screen is shown;
    Dynamic analysis is carried out to the Quick Response Code scanned according to default decoding rule, obtains original two dimensional code and reference time;
    According to sweep time, the original two dimensional code and the reference time, effective original two dimensional code is identified;
    By verifying the effective original two dimensional code, it is determined whether control the access control system to open the door.
CN201810021003.1A 2018-01-08 2018-01-08 Access control system control method based on Quick Response Code, apparatus and system Pending CN108010174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810021003.1A CN108010174A (en) 2018-01-08 2018-01-08 Access control system control method based on Quick Response Code, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810021003.1A CN108010174A (en) 2018-01-08 2018-01-08 Access control system control method based on Quick Response Code, apparatus and system

Publications (1)

Publication Number Publication Date
CN108010174A true CN108010174A (en) 2018-05-08

Family

ID=62050534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810021003.1A Pending CN108010174A (en) 2018-01-08 2018-01-08 Access control system control method based on Quick Response Code, apparatus and system

Country Status (1)

Country Link
CN (1) CN108010174A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109712284A (en) * 2018-12-25 2019-05-03 广州天高软件科技有限公司 A kind of intelligent campus management system and its method
CN116151297A (en) * 2023-04-19 2023-05-23 安徽瑞邦数科科技服务有限公司 Dynamic two-dimensional code system and device based on time transformation mechanism

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955982A (en) * 2014-05-22 2014-07-30 国家电网公司 Method and device for identifying time-varying dynamic two-dimensional code entrance guard
CN104063935A (en) * 2014-06-30 2014-09-24 深圳市同创新佳科技有限公司 Hotel guest room management method and system based on electronic key management server
CN104167041A (en) * 2014-09-11 2014-11-26 祁春富 Access control system based on smart phones and control method of access control system
CN104618334A (en) * 2014-12-29 2015-05-13 通邮(中国)科技有限公司 Method and system for generating and verifying dynamic two-dimensional code
CN105225314A (en) * 2015-09-18 2016-01-06 张福伟 A kind of dynamic two-dimension code door control system based on pseudo-random sequence
CN106250959A (en) * 2016-08-01 2016-12-21 吴龙 Produce the method for dynamic two-dimension code, entrance guard authentication method and related system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955982A (en) * 2014-05-22 2014-07-30 国家电网公司 Method and device for identifying time-varying dynamic two-dimensional code entrance guard
CN104063935A (en) * 2014-06-30 2014-09-24 深圳市同创新佳科技有限公司 Hotel guest room management method and system based on electronic key management server
CN104167041A (en) * 2014-09-11 2014-11-26 祁春富 Access control system based on smart phones and control method of access control system
CN104618334A (en) * 2014-12-29 2015-05-13 通邮(中国)科技有限公司 Method and system for generating and verifying dynamic two-dimensional code
CN105225314A (en) * 2015-09-18 2016-01-06 张福伟 A kind of dynamic two-dimension code door control system based on pseudo-random sequence
CN106250959A (en) * 2016-08-01 2016-12-21 吴龙 Produce the method for dynamic two-dimension code, entrance guard authentication method and related system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109712284A (en) * 2018-12-25 2019-05-03 广州天高软件科技有限公司 A kind of intelligent campus management system and its method
CN116151297A (en) * 2023-04-19 2023-05-23 安徽瑞邦数科科技服务有限公司 Dynamic two-dimensional code system and device based on time transformation mechanism

Similar Documents

Publication Publication Date Title
CN110929886B (en) Model training and predicting method and system
CN108268253B (en) Interface code generation method and terminal equipment
CN117611146A (en) Securely providing undetermined data of undetermined origin into a lock script of a blockchain transaction
CN110944046B (en) Control method of consensus mechanism and related equipment
CN101673374B (en) Bill processing method and device
CN108010174A (en) Access control system control method based on Quick Response Code, apparatus and system
CN107147711A (en) Application service update method and device
CN116129452A (en) Method, application method, device, equipment and medium for generating document understanding model
US20130321435A1 (en) Format and method for representing a dynamic digital image
CN113064562A (en) Man-machine interaction printing method and system based on block chain
CN107643894A (en) code development management method and system
CN111026569B (en) Method for repairing specified block data in alliance chain
CN107798128A (en) Data lead-in method, device, medium and electronic equipment
CN103647650A (en) Rule definition based automatic signature/signature verification device and method
Kulkarni et al. Modelling and enterprises-the past, the present and the future
CN109325221A (en) The merging method and device of form document
CN115423477A (en) Electronic seal issuing method and system based on block chain technology
CN107992463A (en) The method and system that a kind of E-Government is declared
CN113064563A (en) Printing method based on block chain
CN107292138A (en) Method, device and the computer equipment authenticated to user
CN112130779A (en) File management method and device, electronic equipment and storage medium
CN113497735A (en) Open interface management method, electronic device and storage medium
US20130305213A1 (en) Modularized customization of a model in a model driven development environment
CN109885555A (en) A kind of user information management method and device
Zandron et al. A reduced distributed splicing system for RE languages

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: 20180508

RJ01 Rejection of invention patent application after publication