Invention content
The purpose of the application is to propose a kind of improved mthods, systems and devices for defining the competence, come solve with
The technical issues of upper background technology part is mentioned.
In a first aspect, the embodiment of the present application provides a kind of method for defining the competence, this method includes:Obtain first
Confidential information to be added, wherein the first information to be encrypted includes the name on account and the selected self-carry cabinet of target user of target user
The identification information of terminal;First confidential information to be added is encrypted, the first ciphertext is generated;Based on name on account and the first ciphertext,
Generate log in Quick Response Code, for self-carry cabinet terminal by scanning log in Quick Response Code parse log in Quick Response Code in name on account and
First ciphertext, and to including parsing name on account and the second confidential information to be added of identification information to be encrypted for getting into
Row encryption determines whether the first ciphertext matches with the second ciphertext to generate the second ciphertext, if matching, it is determined that have to account
The logon rights of the account of names associate.
In some embodiments, the first confidential information to be added further includes current date;And the first confidential information to be added is carried out
Encryption generates the first ciphertext, including:Name on account, identification information and current date are encrypted, the first ciphertext is generated.
In some embodiments, this method further includes:Order information list is obtained from destination server;Believed based on order
The order information in list is ceased, order Quick Response Code is generated, so that self-carry cabinet terminal parses order by scanning order Quick Response Code
Order information in Quick Response Code, and set the state of the associated order of the order information parsed to preset state.
In some embodiments, this method further includes:It is that preset state is ordered to state in response to detecting target user
The selection operation of single order information sends selected order information to destination server, so that destination server will be selected
The order information taken preserve and sends message to the associated terminal of the order information of preservation.
In some embodiments, selected order information includes the order information of first kind order, first kind order
Order information includes the ciphertext character string being generated in advance;And message includes the plaintext string corresponding to ciphertext character string.
Second aspect, the embodiment of the present application provide a kind of method for defining the competence, and this method includes:Scan user
The login Quick Response Code that terminal generates, wherein it is name on account of the user terminal based on the target user got to log in Quick Response Code
It is generated with the first ciphertext, the first ciphertext is that the first confidential information to be added got is encrypted to be generated, and first waits for
Encryption information includes the identification information of name on account and the selected self-carry cabinet terminal of target user;Parsing logs in Quick Response Code
Name on account and the first ciphertext, and obtain identification information to be encrypted;To including parsing name on account and the mark that gets
The second confidential information to be added for knowing information is encrypted, and generates the second ciphertext;Determine the first ciphertext parsed is with the second ciphertext
No matching;If matching, it is determined that have the logon rights to the associated account of name on account.
In some embodiments, the second confidential information to be added further includes current date;And to the account name including parsing
Second confidential information to be added of the identification information for claiming and getting is encrypted, and generates the second ciphertext, including:To the account parsed
Title, the identification information got and current date are encrypted, and generate the second ciphertext.
In some embodiments, this method further includes:Scan the order Quick Response Code that user terminal generates, wherein order two
Dimension code is user terminal based on being generated from the order information in the order information list obtained in destination server;Parsing is ordered
Order information in single Quick Response Code, and set the state of the associated order of the order information parsed to preset state.
In some embodiments, the order information parsed includes the order information of first kind order, first kind order
Order information includes the ciphertext character string being generated in advance;And this method further includes:In response to receiving plaintext input by user
Plaintext string is encrypted in character string, generates encrypted characters string;Determine the ciphertext of the ciphertext character string and generation that parse
Whether character string matches;If matching, executes predetermined registration operation.
The third aspect, the embodiment of the present application provide a kind of system for defining the competence, which includes:User is whole
End, for obtaining the first confidential information to be added, wherein the first information to be encrypted includes name on account and the target user of target user
The identification information of selected self-carry cabinet terminal, and the first confidential information to be added is encrypted, the first ciphertext is generated, and be based on account
Name in an account book claims to log in Quick Response Code with the first ciphertext, generation;Cabinet terminal is picked up by oneself, the login Quick Response Code for scanning user terminal generation,
Parsing logs in the name on account and the first ciphertext in Quick Response Code, and obtains identification information to be encrypted, to the account including parsing
Second confidential information to be added of the identification information that name in an account book claims and gets is encrypted, and generates the second ciphertext, and determine the first ciphertext
Whether matched with the second ciphertext, if matching, it is determined that have the logon rights to the associated account of name on account.
In some embodiments, the first confidential information to be added further includes current date;And user terminal is additionally operable to account
Title, identification information and current date are encrypted, and generate the first ciphertext.
In some embodiments, user terminal is additionally operable to obtain order information list from destination server, and is based on ordering
Order information in single information list generates order Quick Response Code, so that self-carry cabinet terminal is parsed by scanning order Quick Response Code
Order information in order Quick Response Code, and set the state of the associated order of the order information parsed to preset state.
In some embodiments, user terminal is additionally operable in response to detecting target user be that preset state is ordered to state
The selection operation of single order information sends selected order information to destination server, so that destination server will be selected
The order information taken preserve and sends message to the associated terminal of the order information of preservation.
In some embodiments, selected order information includes the order information of first kind order, first kind order
Order information includes the ciphertext character string being generated in advance;And message includes the plaintext string corresponding to ciphertext character string.
In some embodiments, the second confidential information to be added further includes current date;And self-carry cabinet terminal is additionally operable to solution
The name on account of precipitation, the identification information got and current date are encrypted, and generate the second ciphertext.
In some embodiments, self-carry cabinet terminal is additionally operable to the order Quick Response Code that scanning user terminal generates, wherein order
Quick Response Code is user terminal based on being generated from the order information in the order information list obtained in destination server, is parsed
Order information in order Quick Response Code, and set the state of the associated order of the order information parsed to preset state.
In some embodiments, the order information parsed includes the order information of first kind order, first kind order
Order information includes the ciphertext character string being generated in advance;And self-carry cabinet terminal be additionally operable to it is input by user bright in response to receiving
Text character string, and plaintext string is encrypted, encrypted characters string is generated, and determine the ciphertext character string parsed and generate
Ciphertext character string whether match, if matching, execute predetermined registration operation.
Fourth aspect, the embodiment of the present application provide a kind of device for defining the competence, which includes:First obtains
Unit is configured to obtain the first confidential information to be added, wherein the first information to be encrypted includes the name on account and mesh of target user
Mark the identification information of the selected self-carry cabinet terminal of user;First generation unit is configured to carry out the first confidential information to be added
Encryption generates the first ciphertext;Second generation unit is configured to be based on name on account and the first ciphertext, generates and log in Quick Response Code,
The name on account and the first ciphertext that log in Quick Response Code are parsed so that self-carry cabinet terminal logs in Quick Response Code by scanning, and to packet
It includes the name on account parsed and the second confidential information to be added of identification information to be encrypted for getting is encrypted to generate the
Two ciphertexts, and determine whether the first ciphertext matches with the second ciphertext, if matching, it is determined that have to the associated account of name on account
Logon rights.
In some embodiments, the first confidential information to be added further includes current date;And first generation unit further match
It sets and is used for:Name on account, identification information and current date are encrypted, the first ciphertext is generated.
In some embodiments, which further includes:Second acquisition unit is configured to obtain from destination server and order
Single information list;Third generation unit is configured to, based on the order information in order information list, generate order Quick Response Code,
So that self-carry cabinet terminal parses the order information in order Quick Response Code, and the order that will be parsed by scanning order Quick Response Code
The state of the order of information association is set as preset state.
In some embodiments, which further includes:Transmission unit is configured in response to detecting target user to shape
State is the selection operation of the order information of the order of preset state, and selected order information is sent to destination server, for
Selected order information preserve and sends message to the associated terminal of the order information of preservation by destination server.
In some embodiments, selected order information includes the order information of first kind order, first kind order
Order information includes the ciphertext character string being generated in advance;And message includes the plaintext string corresponding to ciphertext character string.
5th aspect, the embodiment of the present application provide a kind of device for defining the competence, which includes:First scanning
Unit is configured to the login Quick Response Code that scanning user terminal generates, wherein it is that user terminal is based on getting to log in Quick Response Code
Target user name on account and the first ciphertext generated, first ciphertext is carried out to the first confidential information to be added got
What encryption was generated, the first information to be encrypted includes the mark letter of name on account and the selected self-carry cabinet terminal of target user
Breath;First resolution unit, the name on account and the first ciphertext being configured in parsing login Quick Response Code, and obtain mark to be encrypted
Know information;First generation unit is configured to wait for the name on account including parsing with the second of the identification information got
Encryption information is encrypted, and generates the second ciphertext;First determination unit is configured to determine the first ciphertext and second parsed
Whether ciphertext matches;Second determination unit, if the first ciphertext for being configured to parse is matched with the second ciphertext, it is determined that have
To the logon rights of the associated account of name on account.
In some embodiments, the second confidential information to be added further includes current date;And first generation unit further match
It sets and is used for:The name on account parsed, the identification information got and current date are encrypted, the second ciphertext is generated.
In some embodiments, which further includes:Second scanning element is configured to ordering for scanning user terminal generation
Single Quick Response Code, wherein order Quick Response Code is user terminal based on from ordering in the order information list obtained in destination server
What single information was generated;Second resolution unit, the order information being configured in parsing order Quick Response Code, and ordered what is parsed
The state of the order of single information association is set as preset state.
In some embodiments, the order information parsed includes the order information of first kind order, first kind order
Order information includes the ciphertext character string being generated in advance;And the device further includes:Second generation unit, be configured in response to
Plaintext string input by user is received, plaintext string is encrypted, generates encrypted characters string;Third determination unit,
It is configured to determine whether the ciphertext character string parsed matches with the ciphertext character string of generation;Execution unit, if being configured to
The ciphertext string matching of the ciphertext character string and generation that parse, then execute predetermined registration operation.
6th aspect, the embodiment of the present application also provides a kind of terminals, including:One or more processors;Storage device,
For storing one or more programs, when said one or multiple programs are executed by said one or multiple processors so that on
It states one or more processors and realizes the method provided by the present application for defining the competence.
7th aspect, the embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer
Program, the program realize the method provided by the present application for defining the competence when being executed by processor.
Eighth aspect, the embodiment of the present application also provides a kind of terminals, including:One or more processors;Storage device,
For storing one or more programs, when said one or multiple programs are executed by said one or multiple processors so that on
It states one or more processors and realizes the method provided by the present application for defining the competence.
9th aspect, the embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer
Program, the program realize the method provided by the present application for defining the competence when being executed by processor.
Mthods, systems and devices provided by the embodiments of the present application for defining the competence, by including target user's
First confidential information to be added of the identification information of name on account and the selected self-carry cabinet terminal of target user is encrypted to generate
First ciphertext, then generated based on above-mentioned first ciphertext and above-mentioned name on account and log in Quick Response Code, for picking up by oneself cabinet terminal-pair user
The login Quick Response Code that terminal generates is scanned and parses the name on account and the first ciphertext that log in Quick Response Code, and to including
Second confidential information to be added of the name on account parsed and the identification information got, which is encrypted, generates the second ciphertext, and determines
Whether the first ciphertext matches with the second ciphertext, if matching, it is determined that has the logon rights to above-mentioned target user, to have
The Quick Response Code that effect ground is generated by means of user terminal so that it works in the state that self-carry cabinet terminal is in no net or offline,
To reduce the requirement that self-carry cabinet places place, the network security of self-carry cabinet system is improved.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the sequence diagram of an embodiment of the system for defining the competence according to the application.
The system for defining the competence of the present embodiment includes:User terminal and self-carry cabinet terminal;Wherein, user terminal,
For obtaining the first confidential information to be added, wherein the first information to be encrypted includes name on account and the target user institute of target user
The identification information of the self-carry cabinet terminal of selection, and the first confidential information to be added is encrypted, the first ciphertext is generated, and be based on account
Title and the first ciphertext generate and log in Quick Response Code;Cabinet terminal is picked up by oneself, the login Quick Response Code for scanning user terminal generation, solution
Analysis logs in the name on account and the first ciphertext in Quick Response Code, and obtains identification information to be encrypted, to the account including parsing
Title and the second confidential information to be added of identification information got are encrypted, and generate the second ciphertext, and determine the first ciphertext with
Whether the second ciphertext matches, if matching, it is determined that have the logon rights to the associated account of name on account.
In some optional realization methods of the present embodiment, the above-mentioned system for defining the competence further includes destination service
Device, wherein destination server is used to provide order information list for above-mentioned user terminal, will be ordered using above-mentioned user terminal
The selected order information taken out of user that single information is chosen preserves and disappears to the associated terminal transmission of the order information of preservation
Breath.
In some optional realization methods of the present embodiment, the above-mentioned system for defining the competence further includes that association is whole
End, wherein associated terminal is used to receive the message of destination server transmission.
As shown in Figure 1, in a step 101, user terminal obtains the first confidential information to be added.
Herein, user terminal can obtain the first confidential information to be added, wherein above-mentioned first confidential information to be added may include
The identification information of the name on account of target user and the selected self-carry cabinet terminal of above-mentioned target user.Above-mentioned user terminal can be with
It is the terminal device of dispatching person or courier used in delivery process, above-mentioned user terminal usually requires to have following several
Kind characteristic:With operating system;With memory, video card and CPU (Central Processing Unit, central processing unit) etc.;
With screen and/or keyboard;With certain data-handling capacity and support wireless telecommunications;Itself there is battery or chargeable, it can
It is used with mobile;Support RFID (Radio Frequency Identification, radio frequency identification) read-writes and bar code scanning.
For example, handheld terminal, mobile phone etc..Above-mentioned target user can be the dispatching person or courier for carrying out express delivery dispatching, name on account
It can be the title for the logon account that above-mentioned target user needs application to be used in delivery process.Will be corresponding to order
Cargo is delivered to before the self-carry cabinet corresponding to self-carry cabinet terminal, what above-mentioned target user can be presented in above-mentioned user terminal
Identification information is chosen in the identification information of each self-carry cabinet terminal, above-mentioned identification information can be oneself corresponding to self-carry cabinet terminal
Put forward the number of cabinet;Or the geographical location information of the self-carry cabinet corresponding to self-carry cabinet terminal;It can also be self-carry cabinet terminal
The title of corresponding self-carry cabinet.
In a step 102, the first confidential information to be added of user terminal pair is encrypted, and generates the first ciphertext.
Herein, user terminal can be encrypted the first confidential information to be added got in step 101 to generate
One ciphertext, when the above-mentioned first confidential information to be added is encrypted, used Encryption Algorithm can be:DES(Data
Encryption Standard, data encryption standards) Encryption Algorithm, RSA cryptographic algorithms and MD5 (Message Digest
Algorithm 5, message digest algorithm the 5th edition) Encryption Algorithm etc..Des encryption algorithm is a kind of symmetric encipherment algorithm, is
Refer to the Encryption Algorithm of encryption and decryption using same key.RSA cryptographic algorithms are one can be used for encrypted and digitally signed simultaneously
Algorithm.Md5 encryption algorithm is Hash hashing algorithm, and there are two types of characteristics for tool:Value of the clear data after hash is fixed
Long;For any one section of clear data after hash, result must be forever constant.
Herein, the above-mentioned first confidential information to be added can also include that some above-mentioned user terminals and above-mentioned self-carry cabinet terminal are equal
The additional information that can be got, for example, the week etc. corresponding to current time, current date.
In some optional realization methods of the present embodiment, above-mentioned first confidential information to be added can also include working as the day before yesterday
Phase, for example, on January 1st, 2017.User terminal can add above-mentioned name on account, above-mentioned identification information and current date
It is close, to generate the first ciphertext.
In step 103, user terminal is based on name on account and the first ciphertext, generates and logs in Quick Response Code.
Herein, it gets name on account in step 101 and after step 102 generates the first ciphertext, user terminal can
Using by above-mentioned name on account and above-mentioned first ciphertext as generating the defeated of Quick Response Code (Quick Response Code, QR Code)
Enter information, and is generated using Quick Response Code generating algorithm and log in Quick Response Code.
Quick Response Code is also referred to as two-dimensional bar code (2-dimensional bar code), is a kind of certain specific geometry
Figure records the bar shaped of data symbol information in the chequered with black and white figure that plane (on two-dimensional directional) is distributed according to certain rules
Code;Dexterously using " 0 " of computer-internal logical foundations, the concept of " 1 " bit stream is constituted in code compilation, use is several
A geometrical body corresponding with binary system indicates word numerical information, by image input device or photoelectric scanning device from
Dynamic recognition is to realize automatic processing of information.It has some general character of barcode technology:Each code system has its specific character set;Often
A character occupies certain width;With certain verifying function etc..Also there is the information automatic identification work(to not going together simultaneously
It can and handle the features such as figure is rotationally-varying.
At step 104, the login Quick Response Code that self-carry cabinet terminal scanning user terminal generates.
Herein, after user terminal generates login Quick Response Code in step 103, target user (dispatching person) can will use
What is presented in the terminal of family logs in bar code scan window of the Quick Response Code on the self-carry cabinet corresponding to self-carry cabinet terminal so that self-carry
The login Quick Response Code that cabinet terminal-pair user terminal generates is scanned.
Herein, above-mentioned self-carry cabinet terminal can realize to the terminal device of article (express mail) self-service handing-over, it is above-mentioned from
It puies forward cabinet terminal and usually requires that there is following several characteristics:With operating system;With memory, video card and CPU etc.;With screen
And/or keyboard;With certain data-handling capacity;Itself there is battery or chargeable;Support RFID read-write and bar code scanning.
In step 105, the parsing of self-carry cabinet terminal logs in name on account and the first ciphertext in Quick Response Code, and obtains to be added
Close identification information.
Herein, after scanning logs in Quick Response Code at step 104, self-carry cabinet terminal can use common Quick Response Code solution
Analysis algorithm or Quick Response Code recognizer parse name on account and the first ciphertext in above-mentioned login Quick Response Code, and can obtain and wait for
Encrypted identification information, above-mentioned identification information to be encrypted can be the identification information of self-carry cabinet itself, and above-mentioned identification information can
Think the number of the self-carry cabinet corresponding to self-carry cabinet terminal;Or the geographical location of the self-carry cabinet corresponding to self-carry cabinet terminal
Information;It can also be the title of the self-carry cabinet corresponding to self-carry cabinet terminal.Above-mentioned user terminal and above-mentioned self-carry cabinet terminal need
Pre-set the identification information being encrypted.
In step 106, self-carry cabinet terminal-pair includes the second of the name on account parsed and the identification information got
Confidential information to be added is encrypted, and generates the second ciphertext.
Herein, self-carry cabinet terminal can believe the name on account including being parsed in step 105 with the mark got
Second confidential information to be added of breath is encrypted, to generate the second ciphertext.When institute is being encrypted to the above-mentioned second confidential information to be added
The Encryption Algorithm used can be:Des encryption algorithm, RSA cryptographic algorithms and md5 encryption algorithm etc..Above-mentioned user terminal and
Above-mentioned self-carry cabinet terminal needs pre-set used Encryption Algorithm when being encrypted.
In some optional realization methods of the present embodiment, above-mentioned second confidential information to be added can also include working as the day before yesterday
Phase.The name on account parsed, the identification information got and current date can be encrypted in self-carry cabinet terminal, to generate
Second ciphertext.
In step 107, self-carry cabinet terminal determines whether the first ciphertext parsed matches with the second ciphertext.
Herein, self-carry cabinet terminal can determine the generated in the first ciphertext parsed in step 105 and step 106
Whether two ciphertexts match, for example, it may be determined that whether above-mentioned first ciphertext is identical as above-mentioned second ciphertext;It, can be with if matching
Execute step 108.
In step 108, self-carry cabinet terminal determines the logon rights having to the associated account of name on account.
Herein, if determining in step 107, above-mentioned first ciphertext is matched with above-mentioned second ciphertext, picks up by oneself cabinet terminal
It can determine that self-carry cabinet terminal itself has the logon rights to the account associated by above-mentioned name on account.
Herein, when above-mentioned user terminal needs to obtain order information list from destination server, and above-mentioned target
When server needs to send message to the associated associated terminal of the order information of preservation, as illustrative system architecture diagram as schemed
Shown in 2.In Fig. 2, system architecture 200 may include user terminal 2011,2012, and Quick Response Code 202 picks up by oneself cabinet terminal device 203,
Network 2041,2042, destination server 205 and associated terminal 2061,2062,2063.Wherein, Quick Response Code 202 can be in user
Information exchange medium is provided between terminal 2011,2012 and self-carry cabinet terminal device 203;Network 2041 can be in user terminal
2011, the medium of communication link is provided between 2012 and destination server 205;Network 2042 can be in 205 He of destination server
The medium of communication link is provided between associated terminal 2061,2062,2063.Network 2021,2022,2023 may include various companies
Connect type, such as wired, wireless communication link or fiber optic cables etc..
Dispatching person or courier can use user terminal 2011,2012 to pass through Quick Response Code 202 and self-carry cabinet terminal device
203 interactions, to be obtained the logon rights on self-carry cabinet terminal device 203 by means of user terminal 2011,2012, and to self-carry
Cabinet terminal device 203 sends order information etc.;User can also pass through network 2041 and target using user terminal 2011,2012
Server 205 interacts, and to obtain order information from destination server 205, or to destination server 205 sends order status
Information etc.;Destination server 205 can be interacted by network 2042 with associated terminal 2061,2062,2063, with to associated terminal
2061,2062,2063 message etc. is sent.Various telecommunication customer end applications can be installed on user terminal 2011,2012, such as
Pick up by oneself the application of cabinet class, the application of express delivery information processing class etc.;Various communications can be installed on associated terminal 2061,2062,2063
Client application, such as the application of shopping class, the application of financial payment class, instant communication software, logistics information inquiry class application etc..
User terminal 2011,2012 can be with display screen, support information processing, support wireless telecommunications and can move
The dynamic various electronic equipments used, including but not limited to smart mobile phone, handheld terminal etc..Associated terminal 2061,2062,2063
Can be the various electronic equipments that there is display screen and information processing, message is supported to send and receive, including but not limited to intelligence
Energy mobile phone, tablet computer, smartwatch, pocket computer on knee and desktop computer etc..
Self-carry cabinet terminal device 203 can be with display screen, data processing, support RFID read-write and bar code is supported to sweep
The terminal device for the self-service handing-over of article retouched.
User terminal 2011,2012 can be first to the name on account got and the selected mark for picking up by oneself cabinet terminal
Information is encrypted to generate the first ciphertext, later the first ciphertext based on generation and above-mentioned name on account, generates and logs in two dimension
Code, so that self-carry cabinet terminal device 203 determines whether have by scanning the login Quick Response Code that user terminal 2011,2012 generates
To the logon rights of the associated account of above-mentioned name on account.
Destination server 205 can be to provide the server of various services, such as be ordered to the offer of user terminal 2011,2012
The backstage EDrop order server of single information.Backstage EDrop order server can receive selected order from user terminal 2011,2012
Information is preserved, and can send message to the selected associated associated terminal 2061,2062,2063 of order information later.
It should be understood that the user terminal, Quick Response Code, self-carry cabinet terminal device, network, destination server in Fig. 2 and association
The number of terminal is only schematical.According to needs are realized, can have any number of user terminal, Quick Response Code, self-carry
Cabinet terminal device, network, destination server and associated terminal.
With further reference to Fig. 3, it illustrates according to the another embodiment of the system for defining the competence of the application when
Sequence figure.
As shown in figure 3, in step 301, user terminal obtains the first confidential information to be added.
In step 302, the first confidential information to be added of user terminal pair is encrypted, and generates the first ciphertext.
In step 303, user terminal is based on name on account and the first ciphertext, generates and logs in Quick Response Code.
In step 304, the login Quick Response Code that self-carry cabinet terminal scanning user terminal generates.
In step 305, the parsing of self-carry cabinet terminal logs in name on account and the first ciphertext in Quick Response Code, and obtains to be added
Close identification information.
Within step 306, self-carry cabinet terminal-pair includes the second of the name on account parsed and the identification information got
Confidential information to be added is encrypted, and generates the second ciphertext.
In step 307, self-carry cabinet terminal determines whether the first ciphertext parsed matches with the second ciphertext.
In step 308, self-carry cabinet terminal determines the logon rights having to the associated account of name on account.
Herein, the operation of step 301-308 and the operation of step 101-108 are essentially identical, and details are not described herein.
In a step 309, user terminal obtains order information list from destination server.
Herein, determine that self-carry cabinet terminal has the login to the associated account of above-mentioned name on account in step 308
After permission, the above-mentioned system for defining the competence can start execution of order processing operation.User terminal can take from target
It is engaged in obtaining order information list in device, the order information in the above order information list can be divided into the order letter of first kind order
The order information of breath and the second class order, above-mentioned first kind order can be the order for waiting for restocking, wait for the order of restocking can
The order that the corresponding article of order is put into the corresponding self-carry cabinet of self-carry cabinet terminal by member to be dispensed such as think;Above-mentioned second class is ordered
List can be the order for waiting for recycling, wait order to be recycled that can be put into self-carry cabinet terminal for the corresponding article of order corresponding
The order that time span in self-carry cabinet is not taken out by order addressee more than predetermined time period.
In some optional realization methods of the present embodiment, the order information of above-mentioned first kind order may include advance
The ciphertext character string of generation, ciphertext character string can be to treat to be sent to the plaintext string of the presetting digit capacity of user and be encrypted
Ciphertext character string, above-mentioned plaintext string is referred to as delivery of cargo code or pickup code.
In the step 310, user terminal generates order Quick Response Code based on the order information in order information list.
Herein, user terminal can be using the order information in the order information list got in step 309 as life
Order Quick Response Code is generated at the input information of Quick Response Code, and using Quick Response Code generating algorithm.User terminal can order the first kind
The order information of single (order for waiting for restocking) generates order Quick Response Code;Second class order (can also be waited to be recycled order
It is single);The order information of first kind order and the second class order can also be combined and generate order Quick Response Code.
In step 311, the order Quick Response Code that self-carry cabinet terminal scanning user terminal generates.
Herein, after user terminal generates order Quick Response Code in the step 310, target user can will be on user terminal
Bar code scan window of the order Quick Response Code of presentation on the self-carry cabinet corresponding to self-carry cabinet terminal so that self-carry cabinet terminal-pair
The order Quick Response Code that user terminal generates is scanned.
In step 312, the order information in self-carry cabinet terminal parsing order Quick Response Code, and the order information that will be parsed
The state of associated order is set as preset state.
Herein, after scanning order Quick Response Code in step 311, self-carry cabinet terminal can use common Quick Response Code solution
Analysis algorithm or Quick Response Code recognizer parse the order information in the above order Quick Response Code, the order that can will be parsed later
The state of the order of information association is set as preset state.
In some optional realization methods of the present embodiment, the above-mentioned order information parsed may include that the first kind is ordered
The order information of single order information and the second class order, the order information of above-mentioned first kind order may include being generated in advance
Ciphertext character string.After self-carry cabinet terminal receives plaintext string input by user, self-carry cabinet terminal can be first to upper
It states text character string clearly to be encrypted, to generate encrypted characters string, cipher mode used herein above usually requires and server pair
The mode that plaintext string is encrypted is identical;Later, it may be determined that the ciphertext character string parsed whether the ciphertext with generation
Character string matches, for example, it may be determined that whether the ciphertext character string parsed is identical as the ciphertext character string of generation;If
Match, then can execute predetermined registration operation, above-mentioned predetermined registration operation can be that self-carry cabinet final drive is opposite with the ciphertext character string of generation
The unlocking operation that the cabinet door answered carries out.
Herein, if the above order is when waiting for the order of restocking, above-mentioned preset state can be restocking state;On if
When to state order the order to be recycled such as be, above-mentioned preset state can be to have recycled state.Picking up by oneself cabinet terminal can be in display screen
Upper dispaly state is the order information of the order of preset state.
In step 313, whether user terminal detection target user is the order information of the order of preset state to state
Execute selection operation.
Herein, when the state that target user views the display screen display of the corresponding self-carry cabinet of self-carry cabinet terminal is pre-
If after the order information of the order of state, it is default that above-mentioned target user can choose above-mentioned state manually on the subscriber terminal
The order information of the order of state.Whether user terminal can detect above-mentioned target user to the display screen display of user terminal
State be that the order information of order of preset state performs selection operation, for example, to the clicking operation of order information, to ordering
The clicking operation of icon to be chosen before single information, to the clicking operation etc. for confirming the upload icon uploaded, if so,
Step 314 can then be executed.
In a step 314, user terminal sends selected order information to destination server.
Herein, when user terminal detects that above-mentioned target user is pre- to the state of the display screen display of user terminal
If the order information of the order of state performs selection operation, user terminal can send above-mentioned target user to destination server
The order information selected.
In step 315, destination server preserves selected order information, and is closed to the order information of preservation
The terminal of connection sends message.
Herein, when destination server receives the selected order information of user terminal transmission, destination server can
The state of above-mentioned selected order information and order information to be preserved, and can be associated by the order information to preservation
Terminal send message.Destination server can identify the telephone number of the addressee in the above order information, and to phone number
Terminal associated by code sends message.If as an example, the state of order be restocking state when, destination server can be to
Terminal associated by addressee's telephone number in the order information of the order of restocking state sends message, which can be used for
It notifies user to take out article corresponding to order from self-carry cabinet, may include for taking out taking for article from self-carry cabinet in message
Part code (delivery of cargo code);If the state of order is when having recycled state, destination server can ordering to the order for the state that recycled
Terminal associated by addressee's telephone number in single information sends message, the message can be used for notifying user due to it is long when
Between not by the article corresponding to order from self-carry cabinet in take out, which is fetched by dispatching person.Destination server can also unite
The quantity of the selected order information of meter, and the corresponding bin quantity for picking up by oneself cabinet of self-carry cabinet terminal is changed based on quantity.
Fig. 4 shows the flow 400 of one embodiment of the method for defining the competence according to the application.This is used for really
The method for determining permission, includes the following steps:
Step 401, the first confidential information to be added is obtained.
In the present embodiment, electronic equipment (such as the user shown in Fig. 2 of the method operation for defining the competence thereon
2012) terminal 2011 can obtain the first confidential information to be added, wherein may include that target is used in above-mentioned first confidential information to be added
The identification information of the name on account at family and the selected self-carry cabinet terminal of above-mentioned target user.Above-mentioned electronic equipment can be dispatching
The terminal device of member or courier used in delivery process, for example, handheld terminal, mobile phone etc..Above-mentioned target user can
Think that the dispatching person or courier for carrying out express delivery dispatching, name on account can be that above-mentioned target user needs to make in delivery process
The title of the logon account of application.By the cargo corresponding to order be delivered to self-carry cabinet terminal corresponding to self-carry cabinet it
Before, above-mentioned target user can choose mark letter in the identification information for each self-carry cabinet terminal that above-mentioned electronic equipment is presented
Breath, above-mentioned identification information can be the number of the self-carry cabinet corresponding to self-carry cabinet terminal;Or corresponding to self-carry cabinet terminal
Self-carry cabinet geographical location information;It can also be the title of the self-carry cabinet corresponding to self-carry cabinet terminal.
Step 402, the first confidential information to be added is encrypted, generates the first ciphertext.
In the present embodiment, above-mentioned electronic equipment can add the first confidential information to be added got in step 401
It is close to generate the first ciphertext, when the above-mentioned first confidential information to be added is encrypted, used Encryption Algorithm can be:DES adds
Close algorithm, RSA cryptographic algorithms and md5 encryption algorithm etc..
In the present embodiment, the above-mentioned first confidential information to be added can also include some above-mentioned electronic equipments and self-carry cabinet terminal
The additional information that can get, for example, the week etc. corresponding to current time, current date.
In some optional realization methods of the present embodiment, above-mentioned first confidential information to be added can also include working as the day before yesterday
Phase, for example, on March 1st, 2017.Above-mentioned electronic equipment can to above-mentioned name on account, above-mentioned identification information and current date into
Row encryption, to generate the first ciphertext.
Step 403, it is based on name on account and the first ciphertext, generates and logs in Quick Response Code, so that self-carry cabinet terminal passes through scanning
Log in Quick Response Code parse log in Quick Response Code in name on account and the first ciphertext, and to including parsing name on account and obtain
Second confidential information to be added of the identification information to be encrypted got is encrypted to generate the second ciphertext, and determine the first ciphertext with
Whether the second ciphertext matches, if matching, it is determined that have the logon rights to the associated account of name on account.
In the present embodiment, step 401 get name on account and step 402 generate the first ciphertext after, it is above-mentioned
Electronic equipment can be using above-mentioned name on account and above-mentioned first ciphertext as the input information for generating Quick Response Code, and utilizes Quick Response Code
Generating algorithm, which generates, logs in Quick Response Code;Later, dispatching person or courier can be by the login presented on above-mentioned electronic equipment two dimensions
Bar code scan window of the code on the self-carry cabinet corresponding to self-carry cabinet terminal so that the above-mentioned electronic equipment life of self-carry cabinet terminal-pair
At login Quick Response Code be scanned;Then, self-carry cabinet terminal can use common Quick Response Code analytical algorithm or Quick Response Code to know
Other arithmetic analysis goes out name on account and the first ciphertext in above-mentioned login Quick Response Code, and can obtain identification information to be encrypted;
Later, self-carry cabinet terminal can add the second confidential information to be added of the name on account parsed and the identification information got
It is close, to generate the second ciphertext, then determine whether the first ciphertext parsed matches with the second ciphertext generated, it, can if matching
To determine that self-carry cabinet terminal has the logon rights to the account associated by above-mentioned name on account.
In some optional realization methods of the present embodiment, above-mentioned electronic equipment can be obtained from destination server and be ordered
Single information list, later can using the order information in the above order information list as generate Quick Response Code input information, and
Order Quick Response Code is generated using Quick Response Code generating algorithm;Later, above-mentioned target user can will be presented on above-mentioned electronic equipment
Bar code scan window of the order Quick Response Code on the self-carry cabinet corresponding to self-carry cabinet terminal so that the self-carry above-mentioned electricity of cabinet terminal-pair
The order Quick Response Code that sub- equipment generates is scanned;Then, self-carry cabinet terminal can use common Quick Response Code analytical algorithm or
Quick Response Code recognizer parses the order information in the above order Quick Response Code, later can be associated with the order information parsed
The state of order be set as preset state.If as an example, the above order be wait for restocking order when, above-mentioned preset state
Can be restocking state;If the above order such as is at the order to be recycled, above-mentioned preset state can be to have recycled state.From
Carry cabinet terminal can on a display screen dispaly state be preset state order order information.
In some optional realization methods of the present embodiment, when dispatching person views the corresponding self-carry cabinet of self-carry cabinet terminal
Display screen display state be preset state order order information after, above-mentioned target user can be in above-mentioned electronics
The order information for the order that above-mentioned state is preset state is chosen in equipment manually.Above-mentioned electronic equipment can detect above-mentioned target
Whether user is to showing that the state of screen display is that the order information of the order of preset state performs selection operation;If so,
The order information that above-mentioned target user selects can be sent to destination server, so that above-mentioned destination server will be above-mentioned selected
The state of the order information and order information that take is preserved, and terminal transmission from the order information to preservation that can be associated by disappears
Breath.Destination server can identify the telephone number of the addressee in the above order information, and to the end associated by telephone number
End sends message.If as an example, the state of order be restocking state when, destination server can ordering to restocking state
The terminal associated by addressee's telephone number in single order information sends message, which can be used for notifying user from certainly
It carries and takes out article corresponding to order in cabinet, may include the pickup code for taking out article from self-carry cabinet in message;If order
State be when having recycled state, destination server can be to addressee's phone in the order information of the order for the state that recycled
Terminal associated by number sends message, which can be used for notifying user due to crossing for a long time not by the object corresponding to order
Product take out from self-carry cabinet, which is fetched by dispatching person.Destination server can also count selected order information
Quantity, and the corresponding bin quantity for picking up by oneself cabinet of self-carry cabinet terminal is changed based on quantity.
In some optional realization methods of the present embodiment, the order information selected by above-mentioned target user may include
The order information of the order information of first kind order and the second class order, above-mentioned first kind order can be to wait for ordering for restocking
It is single;Above-mentioned second class order can be the order for waiting for recycling.May include being generated in advance in the order information of first kind order
Ciphertext character string, ciphertext character string can be treat be sent to the presetting digit capacity of user plaintext string be encrypted it is close
Text character string, above-mentioned plaintext string are referred to as delivery of cargo code or pickup code.It is above-mentioned to be associated with to selected first kind order
The message that sends of terminal in may include plaintext string corresponding to above-mentioned ciphertext character string.
The method that above-described embodiment of the application provides by including target user name on account and target user institute
First confidential information to be added of the identification information of the self-carry cabinet terminal of selection is encrypted to generate the first ciphertext, then based on above-mentioned the
One ciphertext and above-mentioned name on account, which generate, logs in Quick Response Code, so that the self-carry above-mentioned login Quick Response Code of cabinet terminal-pair is scanned with true
It is fixed that there are logon rights to above-mentioned name on account, to the Quick Response Code effectively generated by means of user terminal so that self-carry cabinet
It works in the state that terminal is in no net or offline, to reduce the requirement that self-carry cabinet places place, improves self-carry
The network security of cabinet system.
With further reference to Fig. 5, it illustrates the flows 500 of another embodiment of the method for defining the competence.The use
In the flow 500 of the method to define the competence, include the following steps:
Step 501, the login Quick Response Code that scanning user terminal generates.
In the present embodiment, electronic equipment (such as the self-carry shown in Fig. 2 of the method operation for defining the competence thereon
Cabinet terminal device 203) the login Quick Response Code of user terminal generation can be scanned.Above-mentioned login Quick Response Code is above-mentioned user
Terminal utilizes two dimension using the name on account of the target user got and the first ciphertext as the input information for generating Quick Response Code
Code generating algorithm is generated.Above-mentioned first ciphertext is that the first confidential information to be added got is encrypted in above-mentioned user terminal
It is generated.Above-mentioned first confidential information to be added may include target user name on account and above-mentioned target user it is selected from
Carry the identification information of cabinet terminal.
In the present embodiment, after above-mentioned user terminal generates and logs in Quick Response Code, dispatching person or courier can incite somebody to action
What is presented on user terminal logs in bar code scan window of the Quick Response Code on the self-carry cabinet corresponding to above-mentioned electronic equipment so that
Above-mentioned electronic equipment is scanned the login Quick Response Code that user terminal generates.
Step 502, parsing logs in the name on account and the first ciphertext in Quick Response Code, and obtains identification information to be encrypted.
In the present embodiment, after scanning logs in Quick Response Code in step 501, above-mentioned electronic equipment can use common
Quick Response Code analytical algorithm or Quick Response Code recognizer parse name on account and the first ciphertext in above-mentioned login Quick Response Code, and can
To obtain identification information to be encrypted, above-mentioned identification information to be encrypted can be the identification information of self-carry cabinet itself.Above-mentioned use
Family terminal and above-mentioned electronic equipment needs pre-set the identification information being encrypted.
Step 503, the second confidential information to be added of name on account and the identification information got including parsing is carried out
Encryption generates the second ciphertext.
In the present embodiment, above-mentioned electronic equipment can to including being parsed in step 502 name on account and get
The second confidential information to be added of identification information be encrypted, to generate the second ciphertext.It is carried out to the above-mentioned second confidential information to be added
Used Encryption Algorithm can be when encryption:Des encryption algorithm, RSA cryptographic algorithms and md5 encryption algorithm etc..Above-mentioned use
Family terminal and above-mentioned electronic equipment needs pre-set used Encryption Algorithm when being encrypted.
In some optional realization methods of the present embodiment, above-mentioned second confidential information to be added can also include working as the day before yesterday
Phase.The name on account parsed, the identification information got and current date can be encrypted in above-mentioned electronic equipment, with life
At the second ciphertext.
Step 504, determine whether the first ciphertext parsed matches with the second ciphertext.
In the present embodiment, above-mentioned electronic equipment can determine in the first ciphertext and step 503 parsed in step 502
Whether the second ciphertext generated matches, for example, it may be determined that whether above-mentioned first ciphertext is identical as above-mentioned second ciphertext;If
Match, then can execute step 505.
Step 505, the logon rights having to the associated account of name on account are determined.
In the present embodiment, if determining in step 504, above-mentioned first ciphertext is matched with above-mentioned second ciphertext, above-mentioned
Electronic equipment can determine that above-mentioned electronic equipment itself has the logon rights to the account associated by above-mentioned name on account.
In some optional realization methods of the present embodiment, after user terminal generates order Quick Response Code, target is used
It family can be by the order Quick Response Code presented on user terminal close to the bar code scan picked up by oneself on cabinet corresponding to above-mentioned electronic equipment
Window so that above-mentioned electronic equipment is scanned the order Quick Response Code that user terminal generates;Later, above-mentioned electronic equipment can be with
The order information in the above order Quick Response Code is parsed using common Quick Response Code analytical algorithm or Quick Response Code recognizer, and can
To set the state of the associated order of the order information parsed to preset state.The above order Quick Response Code can be above-mentioned use
Family terminal utilizes Quick Response Code using the order information in the order information list got as the input information for generating Quick Response Code
What generating algorithm was generated.
In some optional realization methods of the present embodiment, the above-mentioned order information parsed may include that the first kind is ordered
The order information of single order information and the second class order, above-mentioned first kind order can be the order for waiting for restocking;Above-mentioned
Two class orders can be the order for waiting for recycling.The order information of above-mentioned first kind order may include the ciphertext word being generated in advance
Symbol string.After above-mentioned electronic equipment receives plaintext string input by user, above-mentioned electronic equipment can be first to above-mentioned
Plaintext string is encrypted, and to generate encrypted characters string, cipher mode used herein above is usually required with server to bright
The mode that text character string is encrypted is identical;Later, it may be determined that the ciphertext character string parsed whether the ciphertext word with generation
Symbol string matches, for example, it may be determined that whether the ciphertext character string parsed is identical as the ciphertext character string of generation;If matching,
Predetermined registration operation can be then executed, above-mentioned predetermined registration operation can be that self-carry cabinet final drive is corresponding with the ciphertext character string of generation
The unlocking operation that cabinet door carries out.
The method that above-described embodiment of the application provides is scanned simultaneously by the login Quick Response Code generated to user terminal
Parse the name on account and the first ciphertext logged in Quick Response Code, and to including parsing name on account and the mark that gets
Second confidential information to be added of information, which is encrypted, generates the second ciphertext, determines whether the first ciphertext matches with the second ciphertext later,
If matching, it is determined that there are the logon rights to above-mentioned target user, to the two dimension effectively generated by means of user terminal
Code so that work in the state that self-carry cabinet terminal is in no net or offline, wanting for place is placed to reduce self-carry cabinet
It asks, improves the network security of self-carry cabinet system.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides one kind for determining power
One embodiment of the device of limit, device embodiment embodiment of the method as shown in fig. 4 is corresponding, which can specifically answer
For in various electronic equipments.
As shown in fig. 6, the device 600 for defining the competence of the present embodiment includes:First acquisition unit 601, first is given birth to
At unit 602 and the second generation unit 603.Wherein, first acquisition unit 601 is configured to obtain the first confidential information to be added,
In, the first information to be encrypted includes the mark letter of the name on account and the selected self-carry cabinet terminal of target user of target user
Breath;First generation unit 602 is configured to that the first confidential information to be added is encrypted, and generates the first ciphertext;Second generation unit
603 are configured to be based on name on account and the first ciphertext, generate and log in Quick Response Code, so that self-carry cabinet terminal logs in two by scanning
Dimension code parses the name on account and the first ciphertext logged in Quick Response Code, and to including parsing name on account and get
Second confidential information to be added of identification information to be encrypted is encrypted to generate the second ciphertext, and determines the first ciphertext and second close
Whether text matches, if matching, it is determined that have the logon rights to the associated account of name on account.
In the present embodiment, the first acquisition unit 601 of the device 600 for defining the competence, 602 and of the first generation unit
The specific processing of second generation unit 603 can be with step 401, step 402 and the step 403 in 4 corresponding embodiment of reference chart.
In some optional realization methods of the present embodiment, above-mentioned first confidential information to be added can also include working as the day before yesterday
Phase, for example, on March 1st, 2017.Above-mentioned first generation unit 602 can be to above-mentioned name on account, above-mentioned identification information and current
Date is encrypted, to generate the first ciphertext.
In some optional realization methods of the present embodiment, the device 600 for defining the competence can also include second
Acquiring unit (not shown) and third generation unit (not shown).Above-mentioned second acquisition unit can be from destination service
Order information list is obtained in device, above-mentioned third generation unit can make the order information in the above order information list later
To generate the input information of Quick Response Code, and order Quick Response Code is generated using Quick Response Code generating algorithm.
In some optional realization methods of the present embodiment, the device 600 for defining the competence can also include sending
Unit (not shown).Whether above-mentioned transmission unit can detect above-mentioned target user to showing that the state of screen display is pre-
If the order information of the order of state performs selection operation;If so, above-mentioned transmission unit can be sent to destination server
The order information that above-mentioned target user selects, so that above-mentioned destination server believes above-mentioned selected order information and order
The state of breath is preserved, and terminal from the order information to preservation that can be associated by sends message.
In some optional realization methods of the present embodiment, the order information selected by above-mentioned target user may include
The order information of the order information of first kind order and the second class order, above-mentioned first kind order can be to wait for ordering for restocking
It is single;Above-mentioned second class order can be the order for waiting for recycling.May include being generated in advance in the order information of first kind order
Ciphertext character string, ciphertext character string can be treat be sent to the presetting digit capacity of user plaintext string be encrypted it is close
Text character string, above-mentioned plaintext string are referred to as delivery of cargo code or pickup code.It is above-mentioned to be associated with to selected first kind order
The message that sends of terminal in may include plaintext string corresponding to above-mentioned ciphertext character string.
With further reference to Fig. 7, as the realization to method shown in above-mentioned each figure, this application provides one kind for determining power
One embodiment of the device of limit, the device embodiment is corresponding with embodiment of the method shown in fig. 5, which can specifically answer
For in various electronic equipments.
As shown in fig. 7, the device 700 for defining the competence of the present embodiment includes:First scanning element 701, first solves
Analyse unit 702, the first generation unit 703, the first determination unit 704 and the second determination unit 705.Wherein, the first scanning element
701 are configured to the login Quick Response Code that scanning user terminal generates, wherein it is user terminal based on getting to log in Quick Response Code
What the name on account of target user and the first ciphertext were generated, the first ciphertext is added to the first confidential information to be added got
Close generated, the first information to be encrypted includes the identification information of name on account and the selected self-carry cabinet terminal of target user;
First resolution unit 702 is configured to name on account and the first ciphertext in parsing login Quick Response Code, and obtains mark to be encrypted
Know information;First generation unit 703 is configured to the name on account and the second of the identification information got including parsing
Confidential information to be added is encrypted, and generates the second ciphertext;First determination unit 704 be configured to determine the first ciphertext for parsing with
Whether the second ciphertext matches;If the first ciphertext that the second determination unit 705 is configured to parse is matched with the second ciphertext, really
The fixed logon rights with to the associated account of name on account.
In the present embodiment, the first scanning element 701, the first resolution unit 702 of the device 700 for defining the competence,
The specific processing of first generation unit 703, the first determination unit 704 and the second determination unit 705 can be corresponded to reference chart 5 to be implemented
Step 501, step 501, step 503, step 504 and step 505 in example.
In some optional realization methods of the present embodiment, above-mentioned second confidential information to be added can also include working as the day before yesterday
Phase.Above-mentioned first generation unit 703 can add the name on account parsed, the identification information got and current date
It is close, to generate the second ciphertext.
In some optional realization methods of the present embodiment, the above-mentioned device 700 for defining the competence can also include
Second scanning element (not shown) and the second resolution unit (not shown).User terminal generate order Quick Response Code it
Afterwards, the bar code scan window that target user can be by the order Quick Response Code presented on user terminal on self-carry cabinet so that on
The second scanning element is stated to be scanned the order Quick Response Code that user terminal generates;Later, above-mentioned second resolution unit can make
The order information in the above order Quick Response Code is parsed with common Quick Response Code analytical algorithm or Quick Response Code recognizer, and can be with
Set the state of the associated order of the order information parsed to preset state.
In some optional realization methods of the present embodiment, the above-mentioned order information parsed may include that the first kind is ordered
The order information of single order information and the second class order, above-mentioned first kind order can be the order for waiting for restocking;Above-mentioned
Two class orders can be the order for waiting for recycling.The order information of above-mentioned first kind order may include the ciphertext word being generated in advance
Symbol string.The above-mentioned device 700 for defining the competence can also include the second generation unit (not shown), third determination unit
(not shown) and execution unit (not shown).
After receiving plaintext string input by user, above-mentioned second generation unit can be first to above-mentioned plaintext word
Symbol string is encrypted, and to generate encrypted characters string, cipher mode used herein above is usually required with server to plaintext character
The mode being encrypted of going here and there is identical;Later, above-mentioned third determination unit can determine the ciphertext character string that parses whether with life
At ciphertext character string match, for example, it may be determined that the ciphertext character string parsed whether the ciphertext character string phase with generation
Together;If matching, above-mentioned execution unit can execute predetermined registration operation, and above-mentioned predetermined registration operation can be self-carry cabinet final drive and life
At the unlocking operation that carries out of the corresponding cabinet door of ciphertext character string.
Below with reference to Fig. 8, it illustrates the computer systems 800 suitable for the terminal device for realizing the embodiment of the present application
Structural schematic diagram.Terminal device shown in Fig. 8 is only an example, to the function of the embodiment of the present application and should not use model
Shroud carrys out any restrictions.
As shown in figure 8, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in
Program in memory (ROM) 802 or be loaded into the program in random access storage device (RAM) 803 from storage section 808 and
Execute various actions appropriate and processing.In RAM 803, also it is stored with system 800 and operates required various programs and data.
CPU801, ROM 802 and RAM803 is connected with each other by bus 804.Input/output (I/O) interface 805 is also connected to bus
804。
It is connected to I/O interfaces 805 with lower component:Importation 806 including keyboard, button etc.;Including such as liquid crystal
Show the output par, c 807 of device (LCD) and loud speaker etc.;Storage section 808 including hard disk etc.;And including such as LAN card,
The communications portion 809 of the network interface card of modem etc..Communications portion 809 executes communication via the network of such as internet
Processing.Driver 810 is also according to needing to be connected to I/O interfaces 805.Detachable media 811, such as disk, CD, magneto-optic disk,
Semiconductor memory etc., as needed be mounted on driver 810 on, in order to from the computer program read thereon according to need
It is mounted into storage section 808.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed by communications portion 809 from network, and/or from detachable media
811 are mounted.When the computer program is executed by central processing unit (CPU) 801, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer readable storage medium either the two arbitrarily combines.Computer readable storage medium for example can be --- but
Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination.
The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires,
Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.In this application, computer readable storage medium can any be included or store
The tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.And
In the application, computer-readable signal media may include the data letter propagated in a base band or as a carrier wave part
Number, wherein carrying computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not
It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer
Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use
In by instruction execution system, device either device use or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang
Any appropriate combination stated.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more uses
The executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to note
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet
Include first acquisition unit, the first generation unit and the second generation unit.Wherein, the title of these units is not under certain conditions
The restriction to the unit itself is constituted, for example, first acquisition unit is also described as " obtaining the list of the first confidential information to be added
Member ".
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet
Include the first scanning element, the first resolution unit, the first generation unit, the first determination unit and the second determination unit.Wherein, these
The title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the first scanning element can also be retouched
It states as " unit for the login Quick Response Code that scanning user terminal generates ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can be
Included in terminal described in above-described embodiment;Can also be individualism, and without be incorporated the terminal in.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the terminal so that should
Terminal:Obtain the first confidential information to be added, wherein the first information to be encrypted includes name on account and the target user institute of target user
The identification information of the self-carry cabinet terminal of selection;First confidential information to be added is encrypted, the first ciphertext is generated;Based on name on account
It with the first ciphertext, generates and logs in Quick Response Code, logged in Quick Response Code so that self-carry cabinet terminal is parsed by scanning login Quick Response Code
Name on account and the first ciphertext, and to including parsing name on account and get the second of identification information to be encrypted
Confidential information to be added is encrypted to generate the second ciphertext, and determines whether the first ciphertext matches with the second ciphertext, if matching, really
The fixed logon rights with to the associated account of name on account.Alternatively, above-mentioned nonvolatile computer storage media is stored with one
A or multiple programs, when one or more program is executed by an equipment so that equipment:Scan what user terminal generated
Log in Quick Response Code, wherein it is name on account and first ciphertext of the user terminal based on the target user got to log in Quick Response Code
It is generated, the first ciphertext is that the first confidential information to be added got is encrypted to be generated, the first packet to be encrypted
Include the identification information of name on account and the selected self-carry cabinet terminal of target user;Parsing log in Quick Response Code in name on account and
First ciphertext, and obtain identification information to be encrypted;To the of name on account and the identification information that gets including parsing
Two confidential informations to be added are encrypted, and generate the second ciphertext;Determine whether the first ciphertext parsed matches with the second ciphertext;If
Match, it is determined that there are the logon rights to the associated account of name on account.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.