CN106330458A - Method and device for processing verification code - Google Patents

Method and device for processing verification code Download PDF

Info

Publication number
CN106330458A
CN106330458A CN201610712027.2A CN201610712027A CN106330458A CN 106330458 A CN106330458 A CN 106330458A CN 201610712027 A CN201610712027 A CN 201610712027A CN 106330458 A CN106330458 A CN 106330458A
Authority
CN
China
Prior art keywords
identifying code
checking
information
timestamp information
mobile terminal
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.)
Granted
Application number
CN201610712027.2A
Other languages
Chinese (zh)
Other versions
CN106330458B (en
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610712027.2A priority Critical patent/CN106330458B/en
Priority to PCT/CN2016/100688 priority patent/WO2018035929A1/en
Publication of CN106330458A publication Critical patent/CN106330458A/en
Application granted granted Critical
Publication of CN106330458B publication Critical patent/CN106330458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0872Generation of secret information including derivation or calculation of cryptographic keys or passwords using geo-location information, e.g. location data, time, relative position or proximity to other entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3228One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key

Abstract

The embodiment of the invention discloses a method and device for processing a verification code. The method comprises the following steps: receiving a verification code generation request of a mobile terminal, wherein the generation request includes timestamp information and is used for requesting to generate a verification code according to the timestamp information; performing calculation on the timestamp information to obtain the verification code by using a preset operation strategy based on the timestamp information sent by the mobile terminal, and sending the obtained verification code to the mobile terminal; when receiving a verification request which is sent by the mobile terminal and includes the verification code and the timestamp information, performing calculation on the timestamp information to obtain verification information which is used for verifying the verification code based on the preset operation strategy; and if the verification code is successfully verified by the calculated verification information, responding to the verification request, and determining that the verification is successful. By adoption of the method and device disclosed by the embodiment of the invention, the security of verification based on the verification code is guaranteed.

Description

A kind of processing method and processing device of identifying code
Technical field
The present invention relates to identifying code field, particularly relate to the processing method and processing device of a kind of identifying code.
Background technology
Along with the fast development of current network, people mostly use various application softwaries in mobile terminal to move and prop up Pay, send the operation of the secret such as mail, Modify password.User is when carrying out secret operation, often on the premise of logon account also Need to input short message verification code to verify, could operate successfully after being verified.
Existing during mobile terminal carries out identifying code operation, identifying code is likely to be trapped thus causes private Confidential information is revealed, and safety is relatively low.
Summary of the invention
Embodiments provide the processing method and processing device of a kind of identifying code, it is ensured that verify based on identifying code Safety.
On the one hand, embodiments provide the processing method of a kind of identifying code, including:
The identifying code receiving mobile terminal generates request, and described generation asks to include timestamp information, and described generation please Ask and generate identifying code for request according to described timestamp information;
The described timestamp information sent based on mobile terminal, utilizes the computing strategy preset to enter described timestamp information Row is calculated identifying code, and obtained identifying code is sent to described mobile terminal;
If receiving the checking request including identifying code and timestamp information that described mobile terminal sends, based on described pre- If computing strategy described timestamp information is calculated the checking information for verifying described identifying code;
If described identifying code is proved to be successful by calculated checking information, then responds described checking request, determine this It is proved to be successful.
Optionally, described identifying code is character string, and described checking information includes character string, when included by checking information When character string is identical with the character string corresponding to identifying code, determines and be proved to be successful.
Optionally, if calculated checking information is unsuccessful to the checking of described identifying code, then send out to described mobile terminal Send information, point out this checking unsuccessful.
On the other hand, embodiments provide the processing method of a kind of identifying code, including:
Send for asking the generation generating identifying code to be asked to server, described generation request includes according to movement The timestamp information acquired terminal time;
If receiving the identifying code that described server sends, generating and including received identifying code and described timestamp letter The checking request of breath, and checking request is sent to described server;
If receiving the message described identifying code being proved to be successful according to described timestamp information that described server returns, Then determine that this is proved to be successful.
Optionally, described transmission, for asking the generation generating identifying code to be asked before server, also includes:
Monitor and be supplied in the user interface of user obtain event about the click of identifying code;
If listening to the acquisition event about described identifying code, then generate the generation request of identifying code.
Optionally, the application identities of the described timestamp information got with the application providing described user interface is carried out Association storage, wherein, described application identities includes the process name of described application.
Correspondingly, the embodiment of the present invention additionally provides the processing means of a kind of identifying code, including:
Receiver module, generates request for receiving the identifying code of mobile terminal, and described generation asks to include that timestamp is believed Breath, described generation asks to generate identifying code for request according to described timestamp information;
First computing module, the described timestamp information sent based on mobile terminal, utilize the computing strategy preset to institute State timestamp information and carry out being calculated identifying code, and obtained identifying code is sent to described mobile terminal;
Second computing module, if including testing of identifying code and timestamp information for receive that described mobile terminal sends Card request, is calculated for carrying out described identifying code described timestamp information based on described default computing strategy The checking information of checking;
Authentication module, if being proved to be successful described identifying code for calculated checking information, then responds described checking Request, determines that this is proved to be successful.
Optionally, described identifying code is character string, and described checking information includes character string, when included by checking information When character string is identical with the character string corresponding to identifying code, determines and be proved to be successful.
Optionally, if calculated checking information is unsuccessful to the checking of described identifying code, then send out to described mobile terminal Send information, point out this checking unsuccessful.
Correspondingly, the embodiment of the present invention additionally provides the processing means of another kind of identifying code, including:
Sending module, for sending for asking the generation generating identifying code to be asked to server, in described generation request Include the timestamp information acquired according to the mobile terminal time;
Submit module to, if for receiving the identifying code that described server sends, generating and include received identifying code Checking with described timestamp information is asked, and sends checking request to described server;
Reminding module, if for receiving testing described identifying code according to described timestamp information of described server return Demonstrate,prove successful message, it is determined that this is proved to be successful.
Optionally, described sending module, it is additionally operable to monitor and is supplied in the user interface of user the click about identifying code Acquisition event;If listening to the acquisition event about described identifying code, then generate the generation request of identifying code.
Optionally, described sending module, it is additionally operable to the described timestamp information got and the described user interface of offer The application identities of application be associated storage, wherein, described application identities includes the process name of described application.
Implement the embodiment of the present invention, have the advantages that
By to the generation of identifying code and the improvement of verification mode and optimization, passing through even if making identifying code be stolen also Checking, it is ensured that carry out the safety verified based on identifying code.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the processing method of a kind of identifying code of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the processing method of the another kind of identifying code of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the processing method of another identifying code of the embodiment of the present invention;
Fig. 4 is the structural representation of the processing means of a kind of identifying code of the embodiment of the present invention;
Fig. 5 is the structural representation of the processing means of the another kind of identifying code of the embodiment of the present invention;
Fig. 6 is the structural representation of the processing means of another identifying code of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the invention discloses the processing method and processing device of a kind of identifying code, it is possible to make identifying code in the feelings being stolen Also cannot be by checking under condition, it is ensured that carry out the safety verified based on identifying code.Describe in detail individually below.
Refer to Fig. 1, be the schematic flow sheet of the processing method of a kind of identifying code that the embodiment of the present invention provides, the present invention The described method of embodiment can be realized by mobile terminal, and described mobile terminal includes that smart mobile phone, panel computer, intelligence can The terminal of the band network functions such as wearable device, concrete, the described method of the embodiment of the present invention may comprise steps of:
S101: the identifying code receiving mobile terminal generates request.
It should be noted that described generation asks to include stabbing information terminal time, described generation request is used for asking rooting Identifying code is generated according to described timestamp information.
S102: the described timestamp information sent based on mobile terminal, utilizes the computing strategy preset to described timestamp Information carries out being calculated identifying code, and obtained identifying code is sent to described mobile terminal.
In specific embodiment, the computing strategy that described utilization is preset is calculated checking to described timestamp information Code, as the seed random number described identifying code of generation or utilizes other to transport including the timestamp information utilizing mobile terminal to produce Calculate identifying code described in strategy generating.
It should be noted that the described timestamp information utilizing mobile terminal to produce is tested as described in seed random number generation Card code, including directly use described timestamp information numeral or wherein certain part as seed random number produce six random Array becomes identifying code;Described utilize identifying code described in other computing strategy generating, including: from the first bit digital of described timestamp Start, take a numeral at interval of one, take six numeral composition identifying codes continuously;Or from the most end figure place of described timestamp Word starts, and removes a numeral at interval of one, takes six numeral composition identifying codes continuously.
S103: if receiving the checking request including identifying code and timestamp information that described mobile terminal sends, based on Described default computing strategy is calculated the checking for verifying described identifying code to described timestamp information Information.
Optionally, described identifying code is character string, and described checking information includes character string, when included by checking information When character string is identical with the character string corresponding to identifying code, determines and be proved to be successful.
S104: if described identifying code is proved to be successful by calculated checking information, then respond described checking request, determine This is proved to be successful.
Optionally, if calculated checking information is unsuccessful to the checking of described identifying code, then send out to described mobile terminal Send information, point out this checking unsuccessful.
In embodiments of the present invention, generating request by receiving the identifying code of mobile terminal, described generation asks to include Timestamp information, described generation request generates identifying code for request according to this timestamp information;Send based on mobile terminal Described timestamp information, utilizes the computing strategy preset that described timestamp information is calculated identifying code, and by gained To identifying code be sent to mobile terminal;If receive that described mobile terminal sends includes testing of identifying code and timestamp information Card request, is calculated for carrying out described identifying code described timestamp information based on described default computing strategy The checking information of checking;If described identifying code is proved to be successful by calculated checking information, then respond described checking request, really Fixed this is proved to be successful, also cannot be by checking even if making identifying code be stolen, it is ensured that carry out the peace verified based on identifying code Quan Xing.
Further, refer to Fig. 2, be the flow process signal of the processing method of the another kind of identifying code that the embodiment of the present invention provides Figure, the described method of the embodiment of the present invention can be realized by mobile terminal, and described mobile terminal includes smart mobile phone, flat board electricity The terminal of the band network functions such as brain, intelligence wearable device, concrete, the described method of the embodiment of the present invention can include following Step:
S201: the identifying code receiving mobile terminal generates request.
It should be noted that described generation asks to include mobile terminal timestamp information, described generation request is for asking Rooting generates identifying code according to described timestamp information.
S202: the described timestamp information sent based on mobile terminal, utilizes the computing strategy preset to described timestamp Information carries out being calculated identifying code, and obtained identifying code is sent to described mobile terminal.
In specific embodiment, the computing strategy that described utilization is preset is calculated checking to described timestamp information Code, as the seed random number described identifying code of generation or utilizes other to transport including the timestamp information utilizing mobile terminal to produce Calculate identifying code described in strategy generating.
It should be noted that the described timestamp information utilizing mobile terminal to produce is tested as described in seed random number generation Card code, including directly use described timestamp information numeral or wherein certain part as seed random number produce six random Array becomes identifying code;Described utilize identifying code described in other computing strategy generating, including: from the first bit digital of described timestamp Start, take a numeral at interval of one, take six numeral composition identifying codes continuously;Or from the most end figure place of described timestamp Word starts, and removes a numeral at interval of one, takes six numeral composition identifying codes continuously.
S203: if receiving the checking request including identifying code and timestamp information that described mobile terminal sends, based on Described default computing strategy is calculated the checking for verifying described identifying code to described timestamp information Information.
Optionally, described identifying code is character string, and described checking information includes character string, when included by checking information When character string is identical with the character string corresponding to identifying code, determines and be proved to be successful.
S204: if calculated checking information is unsuccessful to the checking of described identifying code, then send to described mobile terminal Information, points out this checking unsuccessful.
S205: if described identifying code is proved to be successful by calculated checking information, then respond described checking request, determine This is proved to be successful.
In embodiments of the present invention, generating request by receiving the identifying code of mobile terminal, described generation asks to include Timestamp information, described generation request generates identifying code for request according to this timestamp information;Send based on mobile terminal Described timestamp information, utilizes the computing strategy preset that described timestamp information is calculated identifying code, and by gained To identifying code be sent to mobile terminal;If receive that described mobile terminal sends includes testing of identifying code and timestamp information Card request, is calculated for carrying out described identifying code described timestamp information based on described default computing strategy The checking information of checking;If described identifying code is proved to be successful by calculated checking information, then respond described checking request, really Fixed this is proved to be successful, also cannot be by checking even if making identifying code be stolen, it is ensured that carry out the peace verified based on identifying code Quan Xing.
Further, refer to Fig. 3, be the flow process signal of the processing method of another identifying code that the embodiment of the present invention provides Figure, the described method of the embodiment of the present invention can be realized by mobile terminal, and described mobile terminal includes smart mobile phone, flat board electricity The terminal of the band network functions such as brain, intelligence wearable device, concrete, the described method of the embodiment of the present invention can include following Step:
S301: monitor and be supplied in the user interface of user obtain event about the click of identifying code.
Concrete, if listening to the acquisition event about described identifying code, then generate the generation request of identifying code.
S302: send for asking the generation generating identifying code to be asked to server.
Optionally, the application identities of the described timestamp information got with the application providing described user interface is carried out Association storage, wherein, described application identities includes the process name of described application.
Concrete, described generation in request includes the timestamp information acquired according to the mobile terminal time.
S303: if receive described server send identifying code, generate include received identifying code and described time Between stab the checking request of information, and checking request is sent extremely described server.
S304: if receive that described server returns is proved to be successful described identifying code according to described timestamp information Message, it is determined that this is proved to be successful.
In embodiments of the present invention, generating request by receiving the identifying code of mobile terminal, described generation asks to include Timestamp information, described generation request generates identifying code for request according to this timestamp information;Send based on mobile terminal Described timestamp information, utilizes the computing strategy preset that described timestamp information is calculated identifying code, and by gained To identifying code be sent to mobile terminal;If receive that described mobile terminal sends includes testing of identifying code and timestamp information Card request, is calculated for carrying out described identifying code described timestamp information based on described default computing strategy The checking information of checking;If described identifying code is proved to be successful by calculated checking information, then respond described checking request, really Fixed this is proved to be successful, also cannot be by checking even if making identifying code be stolen, it is ensured that carry out the peace verified based on identifying code Quan Xing.
Refer to Fig. 4, be the structural representation of the processing means of a kind of identifying code that the embodiment of the present invention provides, the present invention The described device of embodiment can be arranged in mobile terminal, and described mobile terminal can be smart mobile phone, panel computer, intelligence The terminal of the band network functions such as wearable device.Concrete, the processing means of the described identifying code of the embodiment of the present invention includes connecing Receive module the 401, first computing module the 402, second computing module 403, authentication module 404.
Described receiver module 401, generates request, when described generation request includes for receiving the identifying code of mobile terminal Between stab information, described generation request for request according to described timestamp information generate identifying code.
Described first computing module 402, for the described timestamp information sent based on mobile terminal, utilizes the fortune preset Calculate strategy and described timestamp information is calculated identifying code, and obtained identifying code is sent to described mobile whole End.
Described second computing module 403, if for receive described mobile terminal send include identifying code and timestamp The checking request of information, is calculated for testing described described timestamp information based on described default computing strategy Card code carries out the checking information verified.
Optionally, described identifying code is character string, and described checking information includes character string, when included by checking information When character string is identical with the character string corresponding to identifying code, determines and be proved to be successful.
Described authentication module 404, if being proved to be successful described identifying code for calculated checking information, then responds institute State checking request, determine that this is proved to be successful.
Optionally, described authentication module, if also including, the checking of described identifying code is not become by calculated checking information Merit, then send information to described mobile terminal, point out this checking unsuccessful.
In embodiments of the present invention, generating request by receiving the identifying code of mobile terminal, described generation asks to include Stabbing information terminal time, described generation request generates identifying code for request according to this timestamp information;Send out based on mobile terminal The described timestamp information sent, utilizes the computing strategy preset that described timestamp information is calculated identifying code, and will Obtained identifying code is sent to mobile terminal;When receive described mobile terminal send include identifying code and timestamp information Checking request, based on described default computing strategy, described timestamp information is calculated for described identifying code Carry out the checking information verified;If described identifying code is proved to be successful by calculated checking information, then responding described checking please Asking, determine that this is proved to be successful, thus realize generation and the proof procedure of identifying code, cannot lead to even if making identifying code be stolen also Cross checking, it is ensured that carry out the safety verified based on identifying code.
Further referring to Fig. 5, it it is the structural representation of the processing means of the another kind of identifying code that the embodiment of the present invention provides Figure, the processing means of the described identifying code of the embodiment of the present invention includes sending module 501, submits module 502, reminding module 503 to.
Sending module 501, for sending for asking the generation generating identifying code to be asked to server, described generation is asked In include the timestamp information acquired according to the mobile terminal time.
Optionally, before described sending module, it is additionally operable to monitor the click about identifying code and obtains event, if listening to close Acquisition event in described identifying code occurs, then generate the generation request of identifying code.
Optionally, described device, the described timestamp information got is added application identities, and by described plus answering Storing with the timestamp of mark, described application identities includes the process name of application.
Submit module 502 to, if for receiving the identifying code that described server sends, generating and include received checking The checking request of code and described timestamp information, and checking request is sent to described server.
Reminding module 503, if for receive described server return according to described timestamp information to described checking The message that code is proved to be successful, it is determined that this is proved to be successful.
In embodiments of the present invention, generating request by receiving the identifying code of mobile terminal, described generation asks to include Timestamp information, described generation request generates identifying code for request according to this timestamp information;Send based on mobile terminal Described timestamp information, utilizes the computing strategy preset that described timestamp information is calculated identifying code, and by gained To identifying code be sent to mobile terminal;If receive that described mobile terminal sends includes testing of identifying code and timestamp information Card request, is calculated for carrying out described identifying code described timestamp information based on described default computing strategy The checking information of checking;If described identifying code is proved to be successful by calculated checking information, then respond described checking request, really Fixed this is proved to be successful, also cannot be by checking even if making identifying code be stolen, it is ensured that carry out the peace verified based on identifying code Quan Xing.
Further, refer to Fig. 6, be the structural representation of the processing means of another identifying code that the embodiment of the present invention provides Figure, the described device of the embodiment of the present invention can be arranged in mobile terminal, and described mobile terminal can be smart mobile phone, flat board The terminal of the band network functions such as computer, intelligence wearable device.Concrete, concrete, identifying code described in the embodiment of the present invention Processing means comprises the steps that at least one input equipment 601, at least one processor 603, at least one memorizer 604, at least one Individual outut device 605 assembly such as grade, wherein these assemblies are communicatively coupled by one or more bus 602.Wherein:
Input equipment 601 is input data and the equipment of information, can include on-screen keyboard, photographic head, scanner, voice Input equipment etc., for being input to the program of initial data and these data of process in terminal unit.
Bus 602 is to be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or EISA (extended industry standard architecture is called for short EISA) Bus etc..Described bus 602 can be divided into address bus, data/address bus, control bus etc..For ease of representing, only with one in Fig. 6 Bar thick line represents, it is not intended that an only bus or a type of bus.
Processor 603 can be central processing unit (central processing unit, CPU).
Memorizer 604 can be the circuit in integrated circuit with storage function, such as RAM, FIFO etc., or has shape in kind The storage device of formula, such as memory bar, TF card etc..Volatile memory (volatile memory) can be included, deposit the most at random Access to memory (random-access memory, RAM);Memorizer can also include nonvolatile memory (non- Volatile memory), such as flash memory (flash memory), hard disk (hard disk drive, HDD) or solid-state Hard disk (solid-state drive, SSD);Memorizer 404 can also include the combination of the memorizer of mentioned kind.Memorizer 604 positions specified according to processor 603 are stored in and take out data, and processor 603, input equipment 604, outut device 605 are adjusted Each function is performed, it is achieved the process of data by the program of memorizer 604.
Alternatively, described memorizer 604 is additionally operable to store programmed instruction.Described processor 603 can call described program Instruction, it is achieved the application Fig. 2 executes the collecting method as shown in example.
Outut device 605 can include that display, printer, drawing apparatus, image output system, voice output system, magnetic are remembered Recording apparatus etc..
Concrete, processor 603 calls the application program in memorizer 604, is used for performing following steps:
The identifying code receiving mobile terminal generates request, and described generation asks to include timestamp information, and described generation please Ask and generate identifying code for request according to described timestamp information;
The described timestamp information sent based on mobile terminal, utilizes the computing strategy preset to enter described timestamp information Row is calculated identifying code, and obtained identifying code is sent to described mobile terminal;
If receiving the checking request including identifying code and timestamp information that described mobile terminal sends, based on described pre- If computing strategy described timestamp information is calculated the checking information for verifying described identifying code;
If described identifying code is proved to be successful by calculated checking information, then responds described checking request, determine this It is proved to be successful.
Optionally, processor 603 calls storage application program in the memory 604, if performing calculated checking Information is unsuccessful to the checking of described identifying code, then send information to described mobile terminal, point out this checking unsuccessful.
Concrete, processor 603 calls the application program in memorizer 604, is additionally operable to perform following steps:
Send for asking the generation generating identifying code to be asked to server, described generation request includes according to movement The timestamp information acquired terminal time;
If receiving the identifying code that described server sends, generating and including received identifying code and described timestamp letter The checking request of breath, and checking request is sent to described server;
If receiving the message described identifying code being proved to be successful according to described timestamp information that described server returns, Then determine that this is proved to be successful.
Optionally, processor 603 calls storage application program in the memory 604, and described transmission is used for asking to generate The generation request of identifying code to before server, is additionally operable to monitor and is supplied in the user interface of user the click about identifying code Acquisition event;If listening to the acquisition event about described identifying code, then generate the generation request of identifying code.
Optionally, processor 603 calls storage application program in the memory 604, perform by get described time Between stab information and be associated storage with the application identities of application providing described user interface, wherein, described application identities includes The process name of described application.
In embodiments of the present invention, generating request by receiving the identifying code of mobile terminal, described generation asks to include Timestamp information, described generation request generates identifying code for request according to this timestamp information;Send based on mobile terminal Described timestamp information, utilizes the computing strategy preset that described timestamp information is calculated identifying code, and by gained To identifying code be sent to mobile terminal;If receive that described mobile terminal sends includes testing of identifying code and timestamp information Card request, is calculated for carrying out described identifying code described timestamp information based on described default computing strategy The checking information of checking;If described identifying code is proved to be successful by calculated checking information, then respond described checking request, really Fixed this is proved to be successful, also cannot be by checking even if making identifying code be stolen, it is ensured that carry out the peace verified based on identifying code Quan Xing.
Above disclosed it is only one preferred embodiment of the present invention, certainly can not limit the power of the present invention with this Profit scope, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and weighs according to the present invention Profit requires the equivalent variations made, and still falls within the scope that invention is contained.

Claims (12)

1. the processing method of an identifying code, it is characterised in that including:
The identifying code receiving mobile terminal generates request, and described generation asks to include timestamp information, and described generation request is used Identifying code is generated according to described timestamp information in request;
The described timestamp information sent based on mobile terminal, utilizes the computing strategy preset to count described timestamp information Calculation is verified code, and obtained identifying code is sent to described mobile terminal;
If receiving the checking request including identifying code and timestamp information that described mobile terminal sends, based on described default Computing strategy is calculated the checking information for verifying described identifying code to described timestamp information;
If described identifying code is proved to be successful by calculated checking information, then responds described checking request, determine that this is verified Success.
2. the method for claim 1, it is characterised in that including:
Described identifying code is character string, and described checking information includes character string, when the character string included by checking information with test When card character string corresponding to code is identical, determines and be proved to be successful.
3. the method for claim 1, it is characterised in that including:
If calculated checking information is unsuccessful to the checking of described identifying code, then send information to described mobile terminal, Point out this checking unsuccessful.
4. the processing method of an identifying code, it is characterised in that including:
Send for asking the generation generating identifying code to be asked to server, described generation request includes according to mobile terminal The timestamp information that time acquires;
If receiving the identifying code that described server sends, generating and including received identifying code and described timestamp information Checking request, and checking request is sent to described server;
If receiving the message described identifying code being proved to be successful according to described timestamp information that described server returns, the most really Fixed this is proved to be successful.
5. method as claimed in claim 4, it is characterised in that described transmission is asked extremely for asking the generation generating identifying code Before server, also include:
Monitor and be supplied in the user interface of user obtain event about the click of identifying code;
If listening to the acquisition event about described identifying code, then generate the generation request of identifying code.
6. the method as described in claim 4-5, it is characterised in that including:
The application identities of the described timestamp information got with the application providing described user interface is associated storage, its In, described application identities includes the process name of described application.
7. the processing means of an identifying code, it is characterised in that including:
Receiver module, generates request for receiving the identifying code of mobile terminal, and described generation asks to include timestamp information, institute State generation request and generate identifying code for request according to described timestamp information;
First computing module, the described timestamp information sent based on mobile terminal, utilize the computing strategy preset to time described Between stab information and carry out being calculated identifying code, and obtained identifying code is sent to described mobile terminal;
Second computing module, if the checking including identifying code and timestamp information sent for receiving described mobile terminal please Ask, based on described default computing strategy, described timestamp information is calculated for verifying described identifying code Checking information;
Authentication module, if being proved to be successful described identifying code for calculated checking information, then responds described checking request, Determine that this is proved to be successful.
8. device as claimed in claim 7, it is characterised in that
Described identifying code is character string, and described checking information includes character string, when the character string included by checking information with test When card character string corresponding to code is identical, determines and be proved to be successful.
9. device as claimed in claim 7, it is characterised in that
If calculated checking information is unsuccessful to the checking of described identifying code, then send information to described mobile terminal, Point out this checking unsuccessful.
10. the processing means of an identifying code, it is characterised in that including:
Sending module, for sending for asking the generation generating identifying code to be asked to server, described generation request includes The timestamp information that acquires according to the mobile terminal time;
Submit module to, if for receiving the identifying code that described server sends, generating and include received identifying code and institute State the checking request of timestamp information, and checking request is sent to described server;
Reminding module, if for receiving verifying into described identifying code according to described timestamp information of described server return The message of merit, it is determined that this is proved to be successful.
11. devices as claimed in claim 10, it is characterised in that
Described sending module, is additionally operable to monitor and is supplied in the user interface of user obtain event about the click of identifying code;If Listen to the acquisition event about described identifying code, then generate the generation request of identifying code.
12. devices as claimed in claim 10, it is characterised in that
Described sending module, is additionally operable to the application of the described timestamp information got and the application providing described user interface Mark is associated storage, and wherein, described application identities includes the process name of described application.
CN201610712027.2A 2016-08-23 2016-08-23 A kind of processing method and processing device of identifying code Active CN106330458B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610712027.2A CN106330458B (en) 2016-08-23 2016-08-23 A kind of processing method and processing device of identifying code
PCT/CN2016/100688 WO2018035929A1 (en) 2016-08-23 2016-09-28 Method and apparatus for processing verification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610712027.2A CN106330458B (en) 2016-08-23 2016-08-23 A kind of processing method and processing device of identifying code

Publications (2)

Publication Number Publication Date
CN106330458A true CN106330458A (en) 2017-01-11
CN106330458B CN106330458B (en) 2019-05-14

Family

ID=57742560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610712027.2A Active CN106330458B (en) 2016-08-23 2016-08-23 A kind of processing method and processing device of identifying code

Country Status (2)

Country Link
CN (1) CN106330458B (en)
WO (1) WO2018035929A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959899A (en) * 2018-07-03 2018-12-07 四川长虹电器股份有限公司 A method of picture validation code generation is realized based on React and is refreshed
CN112149100A (en) * 2020-09-01 2020-12-29 长沙市到家悠享网络科技有限公司 Verification method, verification device, electronic equipment and storage medium
CN114363034A (en) * 2021-12-29 2022-04-15 上海众源网络有限公司 Verification code generation and verification method and device, electronic equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021034307A1 (en) * 2019-08-16 2021-02-25 Focus Universal Payment card security
CN113283264B (en) * 2021-04-16 2022-12-27 维沃移动通信有限公司 Identification code sharing method and device
CN113159784A (en) * 2021-04-29 2021-07-23 北京达佳互联信息技术有限公司 Method and device for sending verification code, computer equipment and storage medium
CN114726595B (en) * 2022-03-24 2023-09-29 中科吉芯(昆山)信息科技有限公司 Method for authenticating identity of man-machine by using space-time information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152172A (en) * 2011-12-07 2013-06-12 中国电信股份有限公司 Method and client side and server and system for mobile token dynamic password generation
CN103685384A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 User authentication method and device for preventing malicious harassment
CN104283689A (en) * 2014-10-20 2015-01-14 优仕达资讯股份有限公司 Wireless verification system and method
CN104579649A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 Identity recognition method and system
US20150286815A1 (en) * 2014-04-03 2015-10-08 Electronics And Telecommunications Research Institute Access control management apparatus and method for open service components
CN105827591A (en) * 2016-02-22 2016-08-03 北京启迪思创科技有限公司 Identity authentication method, client side, server and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152172A (en) * 2011-12-07 2013-06-12 中国电信股份有限公司 Method and client side and server and system for mobile token dynamic password generation
CN103685384A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 User authentication method and device for preventing malicious harassment
CN104579649A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 Identity recognition method and system
US20150286815A1 (en) * 2014-04-03 2015-10-08 Electronics And Telecommunications Research Institute Access control management apparatus and method for open service components
CN104283689A (en) * 2014-10-20 2015-01-14 优仕达资讯股份有限公司 Wireless verification system and method
CN105827591A (en) * 2016-02-22 2016-08-03 北京启迪思创科技有限公司 Identity authentication method, client side, server and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959899A (en) * 2018-07-03 2018-12-07 四川长虹电器股份有限公司 A method of picture validation code generation is realized based on React and is refreshed
CN112149100A (en) * 2020-09-01 2020-12-29 长沙市到家悠享网络科技有限公司 Verification method, verification device, electronic equipment and storage medium
CN114363034A (en) * 2021-12-29 2022-04-15 上海众源网络有限公司 Verification code generation and verification method and device, electronic equipment and storage medium
CN114363034B (en) * 2021-12-29 2024-02-02 上海众源网络有限公司 Verification code generation and verification method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2018035929A1 (en) 2018-03-01
CN106330458B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN106330458A (en) Method and device for processing verification code
CN104796385B (en) Terminal binding method, apparatus and system
CN104348822A (en) Method and device for authentication of Internet account number and server
CN104572263A (en) Page data interaction method, related device and system
CN109039990B (en) Behavior verification method and device based on verification code
CN104917749A (en) Account registration method and device
CN104967597A (en) Third-party application message authentication method and system based on secure channel
CN104618314A (en) Method, device and system for password reset
CN101689994A (en) Multiple user authentications on a communications device
CN104348617A (en) Verification code processing method and device, and terminal and server
CN108765175A (en) Declaration form saves information processing method, device, computer equipment and storage medium from damage
CN111241555A (en) Access method and device for simulating user login, computer equipment and storage medium
CN105574948A (en) Checking-in method and equipment
CN105744517A (en) Information authentication method and network side device
CN110113346B (en) Network verification method, user terminal and server
CN110719252A (en) Methods, systems, and computer readable media for authorizing transactions over a communication channel
CN112260983B (en) Identity authentication method, device, equipment and computer readable storage medium
CN111131208B (en) Third-party service application login method and device, computer equipment and storage medium
CN113158156A (en) Service processing method, system, device, electronic equipment and storage medium
CN110719590A (en) One-key login method, device, equipment and storage medium based on mobile phone number
CN110752933A (en) Verification code input method and device, electronic equipment and storage medium
CN114866247B (en) Communication method, device, system, terminal and server
CN105577621B (en) Business operation verification method, device and system
CN116596097A (en) Ticket booking processing method and device based on block chain and electronic equipment
CN109979051A (en) For veritifying the method, apparatus and computer readable storage medium of user identity

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant