CN108268921A - Quick Response Code generates and coding/decoding method, device, transaction system and storage medium - Google Patents

Quick Response Code generates and coding/decoding method, device, transaction system and storage medium Download PDF

Info

Publication number
CN108268921A
CN108268921A CN201810035198.5A CN201810035198A CN108268921A CN 108268921 A CN108268921 A CN 108268921A CN 201810035198 A CN201810035198 A CN 201810035198A CN 108268921 A CN108268921 A CN 108268921A
Authority
CN
China
Prior art keywords
quick response
response code
transaction
code
identification number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810035198.5A
Other languages
Chinese (zh)
Inventor
谈剑锋
丁震宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Peoplenet Security Technology Co Ltd
Original Assignee
Shanghai Peoplenet Security Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Peoplenet Security Technology Co Ltd filed Critical Shanghai Peoplenet Security Technology Co Ltd
Priority to CN201810035198.5A priority Critical patent/CN108268921A/en
Publication of CN108268921A publication Critical patent/CN108268921A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3823Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction

Abstract

The embodiment of the invention discloses a kind of generation of Quick Response Code and coding/decoding method, device, transaction system and storage mediums.The two-dimensional code generation method includes:Determine the content information and personal identification number of Quick Response Code to be generated;Based on the content information and personal identification number generation transaction Quick Response Code, Quick Response Code decoding is carried out so that traction equipment is based on the personal identification number.Pass through above-mentioned technical proposal, so that artificial link is added in Quick Response Code process of exchange, so as to fulfill the anti-fake of Quick Response Code, anti-copying and anti-tamper, solve the problems, such as that Quick Response Code is easily copied illegally utilization in the process of exchange based on Quick Response Code, effectively prevent the illegal utilization after Quick Response Code generation so that the transaction based on Quick Response Code is safer.

Description

Quick Response Code generates and coding/decoding method, device, transaction system and storage medium
Technical field
The present embodiments relate to the information processing technology more particularly to a kind of generations of Quick Response Code and coding/decoding method, device, friendship Easy system and storage medium.
Background technology
With the development of Quick Response Code and wireless communication network technology, Quick Response Code has been widely used for payment and electronics under line In the current transactions such as admission ticket.The general process using Quick Response Code transaction is, Quick Response Code is generated by special APP, in the Quick Response Code Containing the information for holding article or right under the corresponding account information of user and account, trade company or confirmation side use traction equipment Two-dimensional code scanning confirmation is carried out, to complete to merchandise.
In order to ensure the safety of user information in above-mentioned Quick Response Code process of exchange, it will usually carry out anti-fake place to Quick Response Code Reason, for example, either the Quick Response Code of service life dynamic change or being carried out using private client to information in Quick Response Code Encryption, it is ensured that service-specific end could decrypt the information that Quick Response Code included or using technological means such as color 2 D codes Confusion processing etc. is carried out to Quick Response Code.But above-mentioned anti-fake processing can not still prevent Quick Response Code in process of exchange well Happening of illegally using afterwards is replicated, it is illegal by the means such as replicate or take pictures for example, within the effective period of Quick Response Code The Quick Response Code of acquisition is still effective, can be identified and merchandised, and then cause damages to user by barcode scanning.
Invention content
The embodiment of the present invention provides a kind of Quick Response Code generation and coding/decoding method, device, transaction system and storage medium, with reality Existing the anti-fake of Quick Response Code, anti-copying and anti-tamper, effectively avoid Quick Response Code generate after illegal utilization so that based on Quick Response Code Transaction is safer.
In a first aspect, an embodiment of the present invention provides two-dimensional code generation method, including:
Determine the content information and personal identification number of Quick Response Code to be generated;
Based on the content information and personal identification number generation transaction Quick Response Code, so that traction equipment is based on described People's identification code carries out Quick Response Code decoding.
Wherein, it is described to be included based on the content information and personal identification number generation transaction Quick Response Code:
The content information is encrypted using the personal identification number, obtains encrypted content information;
Transaction Quick Response Code is generated based on the encrypted content information.
Optionally, the personal identification number is the identification code or the pre-set identification code of user that user inputs in real time.
Further, the personal identification number is to set the number combination of digit.
Optionally, the transaction Quick Response Code is periodically variable dynamic two-dimension code.
Second aspect, the embodiment of the present invention additionally provide a kind of Quick Response Code generating means, which includes:
Information determination module, for determining the content information of Quick Response Code to be generated and personal identification number;
Two-dimensional code generation module, for being based on the content information and personal identification number generation transaction Quick Response Code, with The personal identification number, which is based on, for traction equipment carries out Quick Response Code decoding.
Wherein, the two-dimensional code generation module is specifically used for:
The content information is encrypted using the personal identification number, obtains encrypted content information;
Transaction Quick Response Code is generated based on the encrypted content information.
The third aspect, the embodiment of the present invention additionally provide a kind of Quick Response Code coding/decoding method, including:
Obtain the transaction Quick Response Code of client generation;
Receive personal identification number input by user;
The transaction Quick Response Code is decoded using the personal identification number, it is corresponding interior to obtain the transaction Quick Response Code Hold information.
Wherein, it is described that the transaction Quick Response Code is decoded using the personal identification number, obtain the transaction two dimension The corresponding content information of code includes:
Encrypted content information is obtained according to the transaction Quick Response Code;
The encrypted content information is decrypted using the personal identification number, it is corresponding to obtain the transaction Quick Response Code Content information.
Optionally, the transaction Quick Response Code for obtaining client generation includes:
Scanning obtains the transaction Quick Response Code of client generation.
Fourth aspect, the embodiment of the present invention additionally provide a kind of Quick Response Code decoding apparatus, which includes:
Two-dimensional code acquisition module, for obtaining the transaction Quick Response Code of client generation;
Identification code input module, for receiving personal identification number input by user;
Decoder module is decoded the transaction Quick Response Code using the personal identification number, obtains the transaction two dimension The corresponding content information of code.
Wherein, the decoder module is specifically used for:
Encrypted content information is obtained according to the transaction Quick Response Code;
The encrypted content information is decrypted using the personal identification number, it is corresponding to obtain the transaction Quick Response Code Content information.
Optionally, the two-dimensional code acquisition module is specifically used for:
Scanning obtains the transaction Quick Response Code of client generation.
5th aspect, the embodiment of the present invention additionally provide a kind of two-dimension code anti-counterfeit transaction system, which includes:
Client, traction equipment and server-side,
The client includes information determination module and two-dimensional code generation module,
Described information determining module is used to determine the content information and personal identification number of Quick Response Code to be generated;
The two-dimensional code generation module is used for based on the content information and personal identification number generation transaction Quick Response Code, So that the traction equipment is scanned, and Quick Response Code decoding is carried out based on the personal identification number;
The traction equipment includes two-dimensional code acquisition module, identification code input module, decoder module and information sending module,
The two-dimensional code acquisition module is used to obtain the transaction Quick Response Code of the client generation;
The identification code input module is used to receive personal identification number input by user;
The decoder module is used to be decoded the transaction Quick Response Code using the personal identification number, obtains the friendship The corresponding content information of easy Quick Response Code;
Described information sending module is used to the content information being sent to the server-side;
The server-side verifies analysis result and business datum for parsing the content information received, with Complete transaction.
6th aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes any two-dimensional code generation method in the embodiment of the present invention when program is executed by processor.
7th aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes any Quick Response Code coding/decoding method in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention during generation transaction Quick Response Code by adding in personal identification number so that is handed in Quick Response Code Artificial link is added in during easily, so as to fulfill the anti-fake of Quick Response Code, anti-copying and anti-tamper, solves the friendship based on Quick Response Code The problem of Quick Response Code is easily copied illegally utilization during easily effectively prevents the illegal utilization after Quick Response Code generation so that base It is safer in the transaction of Quick Response Code.
Description of the drawings
Fig. 1 is a kind of flow chart of two-dimensional code generation method in the embodiment of the present invention one;
Fig. 2 is a kind of structure diagram of Quick Response Code generating means provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for Quick Response Code coding/decoding method that the embodiment of the present invention three provides;
Fig. 4 is a kind of structure diagram for Quick Response Code decoding apparatus that the embodiment of the present invention four provides;
Fig. 5 is a kind of structure diagram of two-dimension code anti-counterfeit transaction system in the embodiment of the present invention five.
Specific embodiment
The present invention 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 the present invention rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
Embodiment one
A kind of two-dimensional code generation method provided in this embodiment is applicable to the situation that client generates Quick Response Code for the first time, should Method can be performed by Quick Response Code generating means, which can be realized by the mode of software and/or hardware, which can be with It is integrated in the equipment with Quick Response Code systematic function, such as typically subscriber terminal equipment, such as mobile phone or tablet computer Deng.Referring to Fig. 1, the method for this implementation specifically comprises the following steps:
S110, the content information and personal identification number for determining Quick Response Code to be generated.
Wherein, the content information of Quick Response Code to be generated refers to the substantive transaction content information included in Quick Response Code.This is interior Hold the raw information that information is preferably transaction content information, can hold article under the corresponding account information of user and account Or right information or network booking after obtain electronic ticket link etc..Illustratively, Quick Response Code to be generated is determined Content information includes determining Transaction Information and/or user account information, the content information as the Quick Response Code to be generated.
Personal identification number refers to the recognition code of individual subscriber setting, for being manually situated between in Quick Response Code process of exchange The encoding and decoding entered.The personal identification number can be the combination of letter, number or symbol etc..
Illustratively, the personal identification number is to set the number combination of digit.Wherein, setting digit refers to setting in advance The significant character number of fixed personal identification number can be that software is built-in or user uses set during software for the first time. Specifically, the personal identification number be set digit number composition, such as 4~6 bit digitals combination, in this way it is convenient for the user to operate with Memory.
Illustratively, the personal identification number is the identification code or the pre-set identification of user that user inputs in real time Code.Specifically, personal identification number can be that the personal identification number that user inputs in real time is set in this way when generating Quick Response Code every time Be advantageous in that, personal identification number with set with, without user be identified code long-time remember.Either user sets in advance A fixed identification code is put, when generating Quick Response Code every time, is automatically set as the fixation identification code, the advantages of this arrangement are as follows, User can use one group of Quick Response Code convenient for oneself memory, avoid frequently entering for personal identification number.
Specifically, before Quick Response Code is generated, trigger action is first generated according to Quick Response Code, determines to generate Quick Response Code Content information and personal identification number.By taking electronic entrance ticket as an example, after user carries out network booking, at client (such as user mobile phone) The Quick Response Code generation link of the electronic entrance ticket can be received.User is needed before the electronic entrance ticket is used according to electronic entrance ticket Mobile phone terminal generation Quick Response Code is linked at, to show in admission.User can click, long-press or to some direction sliding chain It connects, that is, carries out the trigger action of Quick Response Code generation, at this moment, it is possible to determine above-mentioned link (i.e. the object of user's trigger action) Content information for Quick Response Code to be generated.After the trigger action of user is received, user can be read automatically and pre-set Personal identification number or pop-up prompting user input personal identification number, with determine personal identification number.
S120, Quick Response Code of being merchandised based on the content information and personal identification number generation, so that traction equipment is based on The personal identification number carries out Quick Response Code decoding.
Specifically, can utilize Quick Response Code generating algorithm, content information and personal identification number to Quick Response Code to be generated into Row Quick Response Code encodes, and generates the transaction Quick Response Code used for transaction.It is appreciated that transaction Quick Response Code here is based on Quick Response Code The image in 2 D code that contained content directly generates.The transaction Quick Response Code can be ordinary QR code, color 2 D code, ciphering two-dimension Code or dynamic two-dimension code.The transaction Quick Response Code can be presented to traction equipment by user, while personal identification number is inputed to friendship Easy equipment, so that traction equipment is decoded confirmation to transaction Quick Response Code, so that being finally completed transaction.
Illustratively, the transaction Quick Response Code is periodically variable dynamic two-dimension code.Wherein, the periodically variable period It could be provided as 1 minute~3 minutes.The advantages of this arrangement are as follows the timeliness of transaction Quick Response Code can be shortened, further protect Demonstrate,prove the safety merchandised based on Quick Response Code.
Optionally, included based on the content information and personal identification number generation transaction Quick Response Code:Utilize described The content information is encrypted in people's identification code, obtains encrypted content information;It is generated and merchandised based on the encrypted content information Quick Response Code.
When it is implemented, the process based on the content information and personal identification number generation transaction Quick Response Code can be with It is, using Encryption Algorithm, the content information of Quick Response Code to be generated to be encrypted with personal identification number, generation encrypted content letter Breath.Then, using Quick Response Code generating algorithm, Quick Response Code coding, generation transaction Quick Response Code are carried out to the encrypted content information.In this way Setting is advantageous in that, by Encryption Algorithm, further transaction Quick Response Code is protected so that process of exchange is safer.
The technical solution of the present embodiment during generation transaction Quick Response Code by adding in personal identification number so that two Artificial link is added in dimension code process of exchange, so as to fulfill the anti-fake of Quick Response Code, anti-copying and anti-tamper, is solved based on two dimension The problem of Quick Response Code is easily copied illegally utilization in the process of exchange of code effectively prevents the illegal utilization after Quick Response Code generation, So that the transaction based on Quick Response Code is safer.
Embodiment two
The present embodiment provides a kind of Quick Response Code generating means, the two-dimensional code generation method categories of the device and above-described embodiment one In the detail content of same inventive concept, in the present embodiment not detailed description, two dimension in above-described embodiment one can be referred to The embodiment of code generating method.
Referring to Fig. 2, which specifically includes:
Information determination module 210, for determining the content information of Quick Response Code to be generated and personal identification number;
Two-dimensional code generation module 220, for being based on the content information and personal identification number generation transaction Quick Response Code, Quick Response Code decoding is carried out so that traction equipment is based on the personal identification number.
Wherein, the two-dimensional code generation module 220 is specifically used for:
The content information is encrypted using the personal identification number, obtains encrypted content information;
Transaction Quick Response Code is generated based on the encrypted content information.
Optionally, the personal identification number is the identification code or the pre-set identification code of user that user inputs in real time.
Correspondingly, information determination module 210 can include and supply input submodule input by user, which can be with It is dummy keyboard or external connection keyboard etc..
Further, the personal identification number is to set the number combination of digit.
Optionally, the transaction Quick Response Code is periodically variable dynamic two-dimension code.
Two a kind of Quick Response Code generating means through the embodiment of the present invention, add in artificial ring in Quick Response Code process of exchange Section realizes the anti-fake of Quick Response Code, anti-copying and anti-tamper, it is easily non-to solve Quick Response Code in the process of exchange based on Quick Response Code Method replicates the problem of utilizing, and effectively prevents the illegal utilization after Quick Response Code generation so that the transaction based on Quick Response Code is more pacified Entirely.
The Quick Response Code generating means that the embodiment of the present invention is provided can perform the two dimension that any embodiment of the present invention is provided Code generating method has the corresponding function module of execution method and advantageous effect.
It is worth noting that, in the embodiment of above-mentioned Quick Response Code generating means, included each unit and module are It is divided according to function logic, but is not limited to above-mentioned division, as long as corresponding function can be realized;Separately Outside, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to restrict the invention.
Embodiment three
A kind of Quick Response Code coding/decoding method provided in this embodiment is applicable to include the situation of personal identification number in Quick Response Code, This method can be performed by Quick Response Code decoding apparatus, which can be realized that the device can by the mode of software and/or hardware To be integrated in the equipment with input function, such as typically Cash collecting equipment, such as integrated cashing machine or integrated barcode scanning Equipment etc..
Referring to Fig. 3, the method for this implementation specifically comprises the following steps:
S310, the transaction Quick Response Code for obtaining client generation.
Specifically, before Quick Response Code decoding is carried out, Quick Response Code is first obtained.Here transaction Quick Response Code is above-mentioned implementation Transaction Quick Response Code in example one, comprising personal identification number.The acquisition modes of the transaction Quick Response Code can be by wired or nothing Line communication device carries out Quick Response Code transmission, preferably scan mode.That is, user actively shows the transaction of client generation Quick Response Code by scanning means, scans above-mentioned transaction Quick Response Code, so as to obtain transaction Quick Response Code.
S320, personal identification number input by user is received.
Specifically, personal identification number input by user is received by input unit.The personal identification number is used for transaction two Dimension code is decoded.It can be by phonetic entry, preferably by input through keyboard, to ensure the privacy of personal identification number.
S330, the transaction Quick Response Code is decoded using the personal identification number, obtains the transaction Quick Response Code pair The content information answered.
Specifically, after the transaction Quick Response Code that user shows is obtained, corresponding Quick Response Code text message is resolved to, Then the Quick Response Code text message is decoded using personal identification number, to obtain, transaction Quick Response Code is corresponding substantially to merchandise Content information.It, also can not be by even if otherwise the transaction Quick Response Code is illegally accessed in this way, except non-user shows personal identification number Scan decoder also can not just be completed to merchandise, and so as to ensure the safety of Quick Response Code transaction, user benefit be avoided to be damaged.
Optionally, the transaction Quick Response Code is decoded using the personal identification number, obtains the transaction Quick Response Code Corresponding content information includes:Encrypted content information is obtained according to the transaction Quick Response Code;Using the personal identification number to institute It states encrypted content information to be decrypted, obtains the corresponding content information of the transaction Quick Response Code.
Specifically, using Quick Response Code decoding algorithm, transaction Quick Response Code is parsed, obtains corresponding encrypted content letter Breath, the encrypted content information are encrypted substantive transaction content information using personal identification number and are obtained.Pass through solution again Close algorithm is decrypted encrypted content information using personal identification number, so as to obtain the corresponding content information of transaction Quick Response Code.
The technical solution of the present embodiment by artificially inputting personal identification number, is decoded transaction Quick Response Code, i.e., two It ties up in code process of exchange, adds in the link of manual confirmation, effectively prevent the illegal transaction after Quick Response Code is illegally accessed, more preferably Ground realizes the anti-fake of Quick Response Code, anti-copying and anti-tamper, improves the safety of Quick Response Code transaction.
Example IV
The present embodiment provides a kind of Quick Response Code decoding apparatus, the Quick Response Code coding/decoding method categories of the device and above-described embodiment three In the detail content of same inventive concept, in the present embodiment not detailed description, two dimension in above-described embodiment three can be referred to The embodiment of code coding/decoding method.
Referring to Fig. 4, which specifically includes:
Two-dimensional code acquisition module 410, for obtaining the transaction Quick Response Code of client generation;
Identification code input module 420, for receiving personal identification number input by user;
Decoder module 430 is decoded the transaction Quick Response Code using the personal identification number, obtains the transaction two Tie up the corresponding content information of code.
Wherein, the decoder module 430 is specifically used for:
Encrypted content information is obtained according to the transaction Quick Response Code;
The encrypted content information is decrypted using the personal identification number, it is corresponding to obtain the transaction Quick Response Code Content information.
Optionally, the two-dimensional code acquisition module 410 is specifically used for:
Scanning obtains the transaction Quick Response Code of client generation.
Correspondingly, two-dimensional code acquisition module 410 can include camera or laser scanner.
Illustratively, identification code input module 420 includes phonetic entry submodule and/or input through keyboard submodule, the key Disk input submodule can be dummy keyboard or integrated physical keyboard, can also be external physical keyboard Deng.
Four a kind of Quick Response Code decoding apparatus through the embodiment of the present invention is effectively prevented after Quick Response Code is illegally accessed The anti-fake of Quick Response Code, anti-copying and anti-tamper has been better achieved in illegal transaction, improves the safety of Quick Response Code transaction.
The Quick Response Code decoding apparatus that the embodiment of the present invention is provided can perform the two dimension that any embodiment of the present invention is provided Code coding/decoding method, has the corresponding function module of execution method and advantageous effect.
It is worth noting that, in the embodiment of above-mentioned Quick Response Code decoding apparatus, included each unit and module are It is divided according to function logic, but is not limited to above-mentioned division, as long as corresponding function can be realized;Separately Outside, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to restrict the invention.
Embodiment five
Referring to Fig. 5, a kind of two-dimension code anti-counterfeit transaction system 500 is present embodiments provided, including:Client 510, transaction Equipment 520 and server-side 530.
The client 510 is used to generate transaction two dimension according to the content information and personal identification number of Quick Response Code to be generated Code, includes at least:
Information determination module, for determining the content information of Quick Response Code to be generated and personal identification number;
Two-dimensional code generation module, for being based on the content information and personal identification number generation transaction Quick Response Code, with It is scanned for the traction equipment, and Quick Response Code decoding is carried out based on the personal identification number.
Certainly, it will be understood by those skilled in the art that client 510 can also be provided including any embodiment of the present invention Quick Response Code generating means.
The traction equipment 520 for being decoded using personal identification number to transaction Quick Response Code, is included at least:
Two-dimensional code acquisition module, for obtaining the transaction Quick Response Code of the client generation;
Identification code input module, for receiving personal identification number input by user;
Decoder module for being decoded using the personal identification number to the transaction Quick Response Code, obtains the transaction The corresponding content information of Quick Response Code;
Information sending module, for the content information to be sent to the server-side.
Certainly, it will be understood by those skilled in the art that traction equipment 520 can also be carried including any embodiment of the present invention The Quick Response Code decoding apparatus of confession.
The server-side 530 verifies analysis result and business datum for parsing the content information received, To complete transaction.
Client 510 can be wireless with traction equipment 520, so that transaction Quick Response Code is transferred to friendship by client 510 Easy equipment 520.Preferably client 510 with traction equipment 520 without connecting, transaction two that user generates client 510 Dimension code is presented to traction equipment 520, so that traction equipment 520 is scanned acquisition transaction Quick Response Code.Server-side 530 is set with transaction Standby 520 can be wired, or wireless connection.
In the embodiment of the present invention, personal identification number is set to Quick Response Code traction equipment to the decoding process for Quick Response Code of merchandising In, and it is not positioned in server-side, it is on the one hand to obtain a kind of light-weighted transaction system;On the other hand, the transaction Personal identification number is not uploaded to server-side in the process, that is, requires no Internet communication, and only user oneself possesses, and reduces individual The risk that identification code is acquired can also ensure transactions velocity.
Embodiment six
The present embodiment provides a kind of storage medium for including computer executable instructions, the computer executable instructions exist For performing a kind of two-dimensional code generation method when being performed by computer processor, this method includes:
Determine the content information and personal identification number of Quick Response Code to be generated;
Based on the content information and personal identification number generation transaction Quick Response Code, so that traction equipment is based on described People's identification code carries out Quick Response Code decoding.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, computer The Quick Response Code life that any embodiment of the present invention is provided can also be performed in the method operation that executable instruction is not limited to the described above Into the relevant operation in method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme of the present invention substantially in other words contributed to the prior art Part can be embodied in the form of software product, which can be stored in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) performs the Quick Response Code life described in each embodiment of the present invention Into method.
The embodiment of the present invention additionally provides another computer readable storage medium, the computer executable instructions by For performing a kind of Quick Response Code coding/decoding method when computer processor performs, this method includes:
Obtain the transaction Quick Response Code of client generation;
Receive personal identification number input by user;
The transaction Quick Response Code is decoded using the personal identification number, it is corresponding interior to obtain the transaction Quick Response Code Hold information.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, computer The method operation that executable instruction is not limited to the described above, can also be performed the Quick Response Code solution that any embodiment of the present invention is provided Relevant operation in code method.The content that can be found in the introduction of storage medium in embodiment six is explained.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiment described here, can carry out for a person skilled in the art various apparent variations, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of two-dimensional code generation method, which is characterized in that including:
Determine the content information and personal identification number of Quick Response Code to be generated;
Based on the content information and personal identification number generation transaction Quick Response Code, so that traction equipment is based on the personal knowledge Other code carries out Quick Response Code decoding.
2. according to the method described in claim 1, it is characterized in that, described be based on the content information and the personal identification number Generation transaction Quick Response Code includes:
The content information is encrypted using the personal identification number, obtains encrypted content information;
Transaction Quick Response Code is generated based on the encrypted content information.
3. according to the method described in claim 1, it is characterized in that, the personal identification number is the identification that user inputs in real time Code or the pre-set identification code of user;And/or
The personal identification number is to set the number combination of digit;And/or
The transaction Quick Response Code is periodically variable dynamic two-dimension code.
4. a kind of Quick Response Code generating means, which is characterized in that including:
Information determination module, for determining the content information of Quick Response Code to be generated and personal identification number;
Two-dimensional code generation module, for being based on the content information and personal identification number generation transaction Quick Response Code, for handing over Easy equipment is based on the personal identification number and carries out Quick Response Code decoding.
5. a kind of Quick Response Code coding/decoding method, which is characterized in that including:
Obtain the transaction Quick Response Code of client generation;
Receive personal identification number input by user;
The transaction Quick Response Code is decoded using the personal identification number, obtains the corresponding content letter of the transaction Quick Response Code Breath.
It is 6. according to the method described in claim 5, it is characterized in that, described two-dimentional to the transaction using the personal identification number Code is decoded, and is obtained the corresponding content information of the transaction Quick Response Code and is included:
Encrypted content information is obtained according to the transaction Quick Response Code;
The encrypted content information is decrypted using the personal identification number, obtains the corresponding content of the transaction Quick Response Code Information.
7. a kind of Quick Response Code decoding apparatus, which is characterized in that including:
Two-dimensional code acquisition module, for obtaining the transaction Quick Response Code of client generation;
Identification code input module, for receiving personal identification number input by user;
Decoder module for being decoded using the personal identification number to the transaction Quick Response Code, obtains the transaction two dimension The corresponding content information of code.
8. a kind of two-dimension code anti-counterfeit transaction system, which is characterized in that including:Client, traction equipment and server-side,
The client includes information determination module and two-dimensional code generation module,
Described information determining module is used to determine the content information and personal identification number of Quick Response Code to be generated;
The two-dimensional code generation module is used for based on the content information and personal identification number generation transaction Quick Response Code, for The traction equipment is scanned, and carries out Quick Response Code decoding based on the personal identification number;
The traction equipment includes two-dimensional code acquisition module, identification code input module, decoder module and information sending module,
The two-dimensional code acquisition module is used to obtain the transaction Quick Response Code of the client generation;
The identification code input module is used to receive personal identification number input by user;
The decoder module is used to be decoded the transaction Quick Response Code using the personal identification number, obtains the transaction two Tie up the corresponding content information of code;
Described information sending module is used to the content information being sent to the server-side;
The server-side verifies analysis result and business datum for parsing the content information received, to complete Transaction.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The two-dimensional code generation method as described in any in claim 1-3 is realized during row.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as Quick Response Code coding/decoding method described in claim 5 or 6 is realized during execution.
CN201810035198.5A 2018-01-15 2018-01-15 Quick Response Code generates and coding/decoding method, device, transaction system and storage medium Pending CN108268921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810035198.5A CN108268921A (en) 2018-01-15 2018-01-15 Quick Response Code generates and coding/decoding method, device, transaction system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810035198.5A CN108268921A (en) 2018-01-15 2018-01-15 Quick Response Code generates and coding/decoding method, device, transaction system and storage medium

Publications (1)

Publication Number Publication Date
CN108268921A true CN108268921A (en) 2018-07-10

Family

ID=62775595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810035198.5A Pending CN108268921A (en) 2018-01-15 2018-01-15 Quick Response Code generates and coding/decoding method, device, transaction system and storage medium

Country Status (1)

Country Link
CN (1) CN108268921A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365501A (en) * 2019-08-20 2019-10-22 广州华多网络科技有限公司 The method and device that processing is added in group is carried out based on graphic code
CN112884102A (en) * 2021-02-03 2021-06-01 胡金钱 Management method and management system for two-dimension code of composite enterprise
CN113032767A (en) * 2021-03-24 2021-06-25 胡金钱 Authentication management method and authentication management terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295141A (en) * 2013-05-24 2013-09-11 深圳市威富多媒体有限公司 Two-dimensional code based associated anti-counterfeiting method and verification method
CN104835046A (en) * 2015-04-20 2015-08-12 信码互通(北京)科技有限公司 Data identification method for two-dimension code safety verification
CN106204029A (en) * 2016-07-28 2016-12-07 北京小米移动软件有限公司 The method and apparatus of Quick Response Code payment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295141A (en) * 2013-05-24 2013-09-11 深圳市威富多媒体有限公司 Two-dimensional code based associated anti-counterfeiting method and verification method
CN104835046A (en) * 2015-04-20 2015-08-12 信码互通(北京)科技有限公司 Data identification method for two-dimension code safety verification
CN106204029A (en) * 2016-07-28 2016-12-07 北京小米移动软件有限公司 The method and apparatus of Quick Response Code payment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365501A (en) * 2019-08-20 2019-10-22 广州华多网络科技有限公司 The method and device that processing is added in group is carried out based on graphic code
CN110365501B (en) * 2019-08-20 2021-06-18 广州华多网络科技有限公司 Method and device for group joining processing based on graphic code
CN112884102A (en) * 2021-02-03 2021-06-01 胡金钱 Management method and management system for two-dimension code of composite enterprise
CN113032767A (en) * 2021-03-24 2021-06-25 胡金钱 Authentication management method and authentication management terminal device

Similar Documents

Publication Publication Date Title
US11216627B2 (en) Method and device for providing and verifying two-dimensional code
CN107453862B (en) Scheme for generating, storing and using private key
CN101897165B (en) Method of authentication of users in data processing systems
CN105825257B (en) Information hiding and hiding information extracting method and system based on two-dimensional bar code
Liao et al. A novel user authentication scheme based on QR-code
US9800408B2 (en) Method of generating secure tokens and transmission based on (TRNG) generated tokens and split into shares and the system thereof
US20070220597A1 (en) Verification system
TWI335546B (en)
CN108090761A (en) Block chain token method of payment based on credible two-dimension code
JP2018513650A (en) Data forgery recognition method for two-dimensional code security check
CN111182169B (en) Image processing method, image processing device, computer readable medium and electronic equipment
CN107992923A (en) A kind of QR Quick Response Codes generation and the method read
JP2010211294A (en) User authentication system and user authentication method
CN108268921A (en) Quick Response Code generates and coding/decoding method, device, transaction system and storage medium
CN104253689A (en) User identity module card generated dynamic password authentication method and system based on QR (quick response) code
CN103559614A (en) Method of bearer payment
Huang et al. Enhanced (n, n)-threshold QR code secret sharing scheme based on error correction mechanism
CN109583872A (en) Method of payment and device
US10552618B2 (en) Method and apparatus for transmission of visually encoded data
KR101242684B1 (en) User certification system and method for 2 dimensional barcode
JPWO2004090804A1 (en) Two-dimensional barcode generation device, two-dimensional barcode decoding device, two-dimensional barcode generation method, two-dimensional barcode decoding method and program
KR20100012567A (en) Transmission and reception system for character message and method thereof
CN111625802A (en) Projector authorization use method
US11088824B2 (en) Method and apparatus for use in information processing
CN108092938B (en) Fingerprint-based authentication method, fingerprint-based first server and terminal

Legal Events

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

Application publication date: 20180710

RJ01 Rejection of invention patent application after publication