CN104424496A - Two-dimension code generation, identification and information providing method, device and system - Google Patents

Two-dimension code generation, identification and information providing method, device and system Download PDF

Info

Publication number
CN104424496A
CN104424496A CN201310362461.9A CN201310362461A CN104424496A CN 104424496 A CN104424496 A CN 104424496A CN 201310362461 A CN201310362461 A CN 201310362461A CN 104424496 A CN104424496 A CN 104424496A
Authority
CN
China
Prior art keywords
quick response
response code
unique identification
information
string
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
CN201310362461.9A
Other languages
Chinese (zh)
Other versions
CN104424496B (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems 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 Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201310362461.9A priority Critical patent/CN104424496B/en
Priority to PCT/CN2014/084584 priority patent/WO2015024485A1/en
Publication of CN104424496A publication Critical patent/CN104424496A/en
Application granted granted Critical
Publication of CN104424496B publication Critical patent/CN104424496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • 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

Abstract

The invention discloses a two-dimension code generation, identification and information providing method, device and system and belongs to the internet field. The two-dimension code generation method comprises the following steps: obtaining original information; generating a unique identification string corresponding to the original information; binding the original information with the unique identification string; sending to a predetermined server a storage request carrying the original information, the unique identification string and the binding relation between the two; and generating a two-dimension code with the unique identification string being served as content information of the two-dimension code. Through binding the original information with the unique identification string formed by a plurality of characters and carrying out coding on the unique identification string to obtain the two-dimension code, the problems of complex two-dimension code graphs, slow identification speed and low identification success rate are solved, and the effects of simplifying complexity of the two-dimension code graphs, fast identification speed and high identification success rate are achieved.

Description

Two-dimensional code generation method, recognition methods, information providing method, device and system
Technical field
The present invention relates to internet arena, particularly a kind of two-dimensional code generation method, recognition methods, information providing method, device and system.
Background technology
Along with popularizing of smart machine, the use of Quick Response Code is more and more extensive.Quick Response Code is the chequered with black and white figure that record word numerical information distributed in the plane according to certain rules with certain specific geometric figure.On coding, Quick Response Code utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, and the geometric figure using several corresponding with scale-of-two is to represent word numerical information.By image input device or photoelectric scanning device, automatic reading and the identification of Quick Response Code can be realized, thus the automatic processing capacity of the information that realizes.
Existing two-dimensional code generation method be directly using raw information as source data, then generate Quick Response Code through coding.On the contrary, existing two-dimensional code identification method reads this Quick Response Code by image input device or photoelectric scanning device, then obtains raw information by decoding.Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Due to existing Quick Response Code in generative process be directly using raw information as source data, then generate Quick Response Code through coding.If but after encoding to the data source carrying a large amount of raw information, the Quick Response Code obtained will become quite complicated.This can cause the identifying of Quick Response Code slack-off, even the problem of None-identified.Meanwhile, if Quick Response Code is too complicated, when one is partially damaged, occurs identifying unsuccessful problem with regard to being easy to, causing recognition success rate very low.
Summary of the invention
In order to solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and success ratio is low, embodiments provide a kind of two-dimensional code generation method, recognition methods, device and system.Described technical scheme is as follows:
First aspect, provides a kind of two-dimensional code generation method, and described method comprises:
Obtain raw information;
Generate the unique identification string corresponding with described raw information;
Described raw information and described unique identification string are bound;
The storage resource request carrying described raw information, described unique identification string and binding relationship is between the two sent, so that described book server stores described raw information, described unique identification string and binding relationship between the two according to described storage resource request to book server;
Described unique identification string is generated Quick Response Code as the content information of Quick Response Code.
Second aspect, provides a kind of two-dimensional code identification method, and described method, comprising:
Identify unique identification string entrained in the content information of Quick Response Code;
Send the inquiry request carrying described unique identification string to book server, so that described book server inquires about the raw information of binding with described unique identification string in the binding relationship prestored according to described inquiry request, and feed back described raw information;
Receive the described raw information of described book server feedback.
The third aspect, provide a kind of 2 D code information supplying method, described method, comprising:
Prestore raw information, unique identification string and binding relationship between the two;
Receive the inquiry request that Quick Response Code identification equipment sends, described inquiry request carries unique identification string, and described unique identification string obtains in the content information of described Quick Response Code identification equipment identification Quick Response Code;
In described binding relationship, the raw information of binding with described unique identification string is inquired about according to described inquiry request;
Described raw information is fed back to described Quick Response Code identification equipment.
Fourth aspect, provide a kind of Quick Response Code generating apparatus, described device, comprising:
Data obtaining module, for obtaining raw information;
Identifier generation module, for generating the unique identification string corresponding with the described raw information that described data obtaining module obtains;
Mark binding module, the described unique identification string generated for the described raw information that obtained by described data obtaining module and described identifier generation module is bound;
Store sending module, for sending the storage resource request carrying described raw information, described unique identification string and binding relationship between the two to book server, so that described book server stores described raw information, described unique identification string and binding relationship between the two according to described storage resource request;
Two-dimensional code generation module, for the described unique identification string that described identifier generation module generated as the content information of Quick Response Code to generate Quick Response Code.
5th aspect, provides a kind of two-dimension code recognition device, and described device, comprising:
Mark identification module, for identifying unique identification string entrained in the content information of Quick Response Code;
Request sending module, for sending the inquiry request carrying the described unique identification string that described mark identification module identifies to book server, so that described book server inquires about the raw information of binding with described unique identification string in the binding relationship prestored according to described inquiry request, and feeds back described raw information;
Information receiving module, for receiving the described raw information of described book server feedback.
6th aspect, provide a kind of 2 D code information generator, described device, comprising:
Information storage module, for prestoring raw information, unique identification string and binding relationship between the two;
Request receiving module, for receiving the inquiry request that Quick Response Code identification equipment sends, described inquiry request carries unique identification string, and described unique identification string obtains in the content information of described Quick Response Code identification equipment identification Quick Response Code;
Information inquiry module, the described inquiry request for receiving according to described request receiver module inquires about the raw information of binding with described unique identification string in described binding relationship;
Information feedback module, for feeding back the described raw information that described information inquiry module inquires to described Quick Response Code identification equipment.
7th aspect, provide a kind of Quick Response Code generation system, described system comprises: Quick Response Code generates equipment and book server, and described Quick Response Code is generated equipment and is connected by cable network or wireless network with described book server;
Described Quick Response Code generation equipment comprises the device as described in fourth aspect;
Described book server comprises the device as described in the 6th aspect.
Eighth aspect, provide a kind of Quick Response Code recognition system, described system comprises: Quick Response Code identification equipment and book server, and described Quick Response Code identification equipment is connected by cable network or wireless network with described book server;
Described Quick Response Code identification equipment comprises the device as described in the 5th aspect;
Described book server comprises the device as described in the 6th aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of implementation environment involved by each embodiment of the present invention;
Fig. 2 is the method flow diagram of the two-dimensional code generation method that one embodiment of the invention provides;
Fig. 3 A is the method flow diagram of the two-dimensional code generation method that another embodiment of the present invention provides;
Fig. 3 B is the comparison diagram of the Quick Response Code that the present invention and prior art generate;
Fig. 4 is the method flow diagram of the two-dimensional code generation method that yet another embodiment of the invention provides;
Fig. 5 is the method flow diagram of the two-dimensional code identification method that one embodiment of the invention provides;
Fig. 6 is the method flow diagram of the two-dimensional code identification method that another embodiment of the present invention provides;
Fig. 7 is the method flow diagram of the 2 D code information supplying method that one embodiment of the invention provides;
Fig. 8 A is the block diagram of the Quick Response Code generating apparatus that one embodiment of the invention provides;
Fig. 8 B is the block diagram of the Quick Response Code generating apparatus that another embodiment of the present invention provides;
Fig. 9 A is the block diagram of the two-dimension code recognition device that one embodiment of the invention provides;
Fig. 9 B is the block diagram of the two-dimension code recognition device that another embodiment of the present invention provides;
Figure 10 is the block diagram of the 2 D code information generator that one embodiment of the invention provides;
Figure 11 is the block diagram of the Quick Response Code generation system that one embodiment of the invention provides;
Figure 12 is the block diagram of the Quick Response Code recognition system that one embodiment of the invention provides;
Figure 13 is the structural representation of the Quick Response Code generation equipment that one embodiment of the invention provides;
Figure 14 is the structural representation with the terminal of image input device involved by the embodiment of the present invention;
Figure 15 is the structural representation of the book server that one embodiment of the invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it illustrates the structural representation of a kind of implementation environment involved by two-dimensional code generation method, two-dimensional code identification method and 2 D code information supplying method that each embodiment of the present invention provides.This implementation environment comprises Quick Response Code and generates equipment 12, Quick Response Code identification equipment 14 and book server 16.
It can be smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III that Quick Response Code generates equipment 12, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.; Also can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.
Quick Response Code is generated equipment 12 and can be connected by wireless network or cable network with between book server 16.
Quick Response Code identification equipment 14 can be smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.
Can be connected by wireless network or cable network between Quick Response Code identification equipment 14 with book server 16.
Book server 16 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.Book server 16 stores raw information, unique identification string and binding relationship between the two.
Raw information can be the information such as network address, business card and mail, is the source data generating Quick Response Code; Unique identification string is made up of several characters, and character comprises at least one in letter, numbers and symbols.
Please refer to Fig. 2, it illustrates the method flow diagram of the two-dimensional code generation method that one embodiment of the invention provides.The present embodiment is applied in Quick Response Code generation equipment as shown in Figure 1 with this two-dimensional code generation method and illustrates.This two-dimensional code generation method, comprising:
Step 202, obtains raw information;
Step 204, generates the unique identification string corresponding with raw information;
Step 206, binds raw information and unique identification string;
Step 208, sends the storage resource request carrying raw information, unique identification string and binding relationship between the two, so that book server stores raw information, unique identification string and binding relationship between the two according to storage resource request to book server;
Step 210, generates Quick Response Code using unique identification string as the content information of Quick Response Code.
In sum, the two-dimensional code generation method that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Please refer to Fig. 3 A, it illustrates the method flow diagram of the two-dimensional code generation method that another embodiment of the present invention provides.The present embodiment is still applied to the implementation environment shown in Fig. 1 to illustrate with this two-dimensional code generation method.This two-dimensional code generation method, comprising:
Step 301, Quick Response Code generates equipment and obtains raw information;
Raw information can be the information such as network address, business card and mail.Along with the application of Quick Response Code is more and more extensive, its raw information that can represent is also more and more abundanter.
Step 302, Quick Response Code generates equipment and generates the unique identification string corresponding with raw information;
Unique identification string is made up of several characters, and character comprises at least one in letter, numbers and symbols.Such as, this unique identification string is 6 " abc123 "; Or this unique identification string is 10 " abc12*de%3 " etc.
Length and the character kind comprised of unique identification string determine the bearer cap that this Quick Response Code generates equipment, and bearer cap refers to that this Quick Response Code generates the quantity of the Quick Response Code that equipment can generate.If it is 3 bit digital compositions that this Quick Response Code generates the Quick Response Code that equipment generates, then this Quick Response Code generates the bearer cap of equipment is that 10^3 equals 1000, and namely the most multipotency of this Quick Response Code generation system generates 1,000 kinds of different Quick Response Codes; If this Quick Response Code generate Quick Response Code that equipment generates by 4 letter and numbers separately or mixing form, then this Quick Response Code generates the bearer cap of equipment and equals 1,476 6336 for [(26*2)+10] ^4, i.e. most multipotency generation more than the 1400 ten thousand kinds of different Quick Response Codes of this Quick Response Code generation system.
That is, the character quantity of composition unique identification string is more, kind is more, and the Quick Response Code kind that Quick Response Code generation equipment can generate is also more.In actual applications, in order to reduce the complexity of two-dimension code pattern, and do not affect the bearer cap of Quick Response Code generation system again, generally choosing six characters, to form a unique identification string comparatively suitable.In the present embodiment, be " abc123 " for this unique identification string.
In the first implementation, this step can comprise following two sub-steps:
The first, the character of random selecting fixed number from the character set be made up of at least one letter, numbers and symbols preset;
The second, the character random alignment of fixed number is obtained unique identification string.
Or,
In the second implementation, this step can comprise following two sub-steps:
The first, generate the different and random string that length is fixing of n in advance, this random string comprises several characters, and several characters comprise at least one in letter, numbers and symbols;
The second, from n random string, randomly draw one as unique identification string.
In the third implementation, this step can comprise following two sub-steps:
The first, raw information is mapped as the character string of regular length;
The character string of this regular length is unique, and the character string of the regular length that different raw information is mapped to is all different.For any two different raw informations, the character string of the regular length corresponding to it is also not identical.Mapping method can by such as MD5(Message-Digest Algorithm5) hash algorithm such as algorithm realizes.
The second, using the character string of regular length as unique identification string;
Step 303, Quick Response Code generates equipment and raw information and unique identification string is bound;
No matter the quantity of information entrained by this raw information is much, no matter that is its number of characters comprised has how many, Quick Response Code generates equipment and this raw information and a unique identification string can be bound, and namely this unique identification string represents this raw information.In the present embodiment, any raw information can be bound with the unique identification string of 6, and this binding relationship can be expressed as [abc123, raw information].
Step 304, Quick Response Code generates equipment and sends the storage resource request carrying raw information, unique identification string and binding relationship between the two to book server;
Accordingly, book server receives the storage resource request that Quick Response Code generates equipment transmission.
Step 305, book server stores raw information, unique identification string and binding relationship between the two according to storage resource request.
Book server stores raw information, unique identification string and binding relationship between the two, after user is by certain Quick Response Code of reading, to provide raw information to user.
Step 306, Quick Response Code generates equipment and unique identification string is generated Quick Response Code as the content information of Quick Response Code.
Usually, the generative process of Quick Response Code is: the type first determining each character in several characters that unique identification string comprises; Then the Quick Response Code coding mode of these several characters according to regulation is carried out dividing into groups and convert a binary sequence to, on coding, Quick Response Code application be the concept of computer-internal logical foundations " 0 ", " 1 " bit stream, several characters in unique identification string are divided into groups, and one by one they are converted to 8 binary sequence unit one by one, recently by this one by one 8 binary sequence unit combination obtain a binary sequence; Secondly, according to binary sequence and other data messages structure final data information generating Quick Response Code, other data messages comprise: error-correction level, designator, detection figure, separator, positioning pattern and correction graph etc.; Finally final data information is filled in the matrix area of Quick Response Code and obtains Quick Response Code.
It should be noted that, step 306 usually and step 304 carry out simultaneously, also namely Quick Response Code generates equipment and generate Quick Response Code while book server sends storage resource request, but in the present embodiment, only with step 306 and step 304 in two steps, and step 304 carried out illustrating before step 306, did not do concrete restriction to this.
Also it should be noted that, the two-dimensional code generation method that the present embodiment provides also has certain information privacy effect.After existing common Quick Response Code identification equipment reads the Quick Response Code of this two-dimensional code generation method generation, what read is only a unique identification string, and it can not obtain raw information by the inquiry of this unique identification string.For some specific Quick Response Code application scenarios, the two-dimensional code generation method that the present embodiment provides has the effect of maintaining secrecy to raw information.
Such as, Quick Response Code on the express delivery list of certain express company is that the two-dimensional code generation method provided by the embodiment of the present invention is generated, and only has the Quick Response Code identification equipment of sending part person just to provide by the embodiment of the present invention of the said firm to read this 2 D code information and inquire about and obtains raw information.This raw information can be the personal information such as phone and address of addressee.Common Quick Response Code identification equipment is the personal information such as phone and address that cannot obtain addressee, and therefore this serves good secret effect to personal information such as the phone of addressee and addresses.
Please refer to Fig. 3 B, it illustrates the difference of directly raw information the is encoded Quick Response Code obtained and the Quick Response Code obtained that the unique identification string corresponding with raw information is encoded.This raw information includes 100 characters; And unique identification string only comprises abc123 six characters in the present embodiment.
In sum, the two-dimensional code generation method that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.Meanwhile, the two-dimensional code generation method that the present embodiment provides also has the secret effect to raw information.
Please refer to Fig. 4, it illustrates the method flow diagram of the two-dimensional code generation method that yet another embodiment of the invention provides.The present embodiment is still applied to the implementation environment shown in Fig. 1 to illustrate with this two-dimensional code generation method.This two-dimensional code generation method, comprising:
Step 401, obtains raw information;
Raw information can be the information such as network address, business card and mail.Along with the application of Quick Response Code is more and more extensive, its raw information that can represent is also more and more abundanter.
Step 402, generates the unique identification string corresponding with raw information;
Unique identification string is made up of several characters, and character comprises at least one in letter, numbers and symbols.Such as, this unique identification string is 6 " abc123 "; Or this unique identification string is 10 " abc12*de%3 " etc.
Length and the character kind comprised of unique identification string determine the bearer cap that this Quick Response Code generates equipment, and bearer cap refers to that this Quick Response Code generates the quantity of the Quick Response Code that equipment can generate.If it is 3 bit digital compositions that this Quick Response Code generates the Quick Response Code that equipment generates, then this Quick Response Code generates the bearer cap of equipment is that 10^3 equals 1000, and namely the most multipotency of this Quick Response Code generation system generates 1,000 kinds of different Quick Response Codes; If this Quick Response Code generate Quick Response Code that equipment generates by 4 letter and numbers separately or mixing form, then this Quick Response Code generates the bearer cap of equipment and equals 1,476 6336 for [(26*2)+10] ^4, i.e. most multipotency generation more than the 1400 ten thousand kinds of different Quick Response Codes of this Quick Response Code generation system.
That is, the character quantity of composition unique identification string is more, kind is more, and the Quick Response Code kind that Quick Response Code generation equipment can generate is also more.In actual applications, in order to reduce the complexity of two-dimension code pattern, and do not affect the bearer cap of Quick Response Code generation system again, generally choosing six characters, to form a unique identification string comparatively suitable.In the present embodiment, be " abc123 " for this unique identification string.
Step 403, binds raw information and unique identification string;
No matter the quantity of information entrained by this raw information is much, no matter that is its number of characters comprised has how many, Quick Response Code generates equipment and this raw information and a unique identification string can be bound, and namely this unique identification string represents this raw information.In the present embodiment, any raw information can be bound with the unique identification string of 6, and this binding relationship can be expressed as [abc123, raw information].
Step 404, sends the storage resource request carrying raw information, unique identification string and binding relationship between the two to book server;
Step 405, generates the identification characteristics of unique identification string;
Identification characteristics for identify Quick Response Code content information in carry be not raw information but uniquely indicate string.This flag sign can be added in the brief character string of before unique identification string one, also can be to be added in the brief character string of after unique identification string one, can also be other way of realization.Such as, identification characteristics is S, X or Z etc.
Step 406, inquires about the address designation of this address according to the address of book server and predetermined corresponding relation;
Address designation is for distinguishing the address of different book servers.Such as, if the address of book server is http://abc001.cn, then address designation is expressed as 001; If the address of book server is http://abc002.cn, then address designation is expressed as 002; If the address of book server is http://abc003.cn, then address designation is expressed as 003, by that analogy.
Corresponding relation is the one-to-one relationship between the address of different book servers and different address designations.Quick Response Code generation equipment is previously stored with the corresponding relation between the address of book server and address designation, and this corresponding relation can be expressed as:
The address of book server Address designation
http://abc001.cn 001
http://abc002.cn 002
http://abc003.cn 003
... ... ......
Table-1
Step 407, using a part of content information of unique identification string as Quick Response Code, using another part information of identification characteristics as Quick Response Code, generates Quick Response Code using address designation as another part content information of Quick Response Code;
Such as, the content information of this Quick Response Code can be expressed as: S001abc123.
The generative process of Quick Response Code is introduced in the embodiment as shown in fig. 3 a in detail, repeats no more here.
It should be noted that, the content information of Quick Response Code can only comprise unique identification string, such as: abc123 or def456 etc.; Also unique identification string and identification characteristics can be comprised, such as Sabc123 or Sdef456 etc.; Also unique identification string and address designation can be comprised, such as: 001abc123,002abc123 or 003def456 etc.; Unique identification string, signature identification and address designation can also be comprised, such as S001abc123 or S003def456 etc.Only comprise unique identification string, signature identification and address designation to illustrate with the content information of this Quick Response Code in the present embodiment, concrete restriction is not done to this.Because unique identification string has uniqueness, so ensure that the uniqueness of the content information of Quick Response Code.
Also it should be noted that, step 405 is carried out after step 406 can be placed on step 403 to step 404; Also can carry out to step 404 with step 403 simultaneously; Carry out before can also being placed on step 403 to step 404.Carry out illustrating after being only placed on step 403 to step 404 with step 405 to step 406 in the present embodiment, concrete restriction is not done to this.
In sum, the two-dimensional code generation method that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.The present embodiment is also not raw information but unique identification characteristics indicating string by what carry in the content information for identifying Quick Response Code; Particularly, this identification characteristics can be address designation, and address designation is for distinguishing the address of different book servers; What make Quick Response Code identification equipment can judge to carry in the content information of its Quick Response Code read is raw information or unique identification string; Expand the range of application of two-dimensional code generation method and equipment further, enhance the effect of the versatility of two-dimensional code generation method and equipment.
Please refer to Fig. 5, it illustrates the method flow diagram of the two-dimensional code identification method that one embodiment of the invention provides.The present embodiment is applied in implementation environment as shown in Figure 1 with this two-dimensional code identification method and illustrates.This two-dimensional code identification method comprises:
Step 501, unique identification string entrained in the content information of Quick Response Code identification equipment identification Quick Response Code;
Quick Response Code identification equipment, by image input element or optoelectronic scanning element, after reading the content information of this Quick Response Code, can identify the unique identification string entrained by this Quick Response Code by Quick Response Code decoding program.This unique identification string can be Fig. 2, Fig. 3 A or generated unique identification string embodiment illustrated in fig. 4.
Step 502, Quick Response Code identification equipment sends the inquiry request carrying unique identification string to book server;
Inquiry request carries unique identification string, and this unique identification string obtains in the content information of Quick Response Code identification equipment identification Quick Response Code.
Accordingly, book server receives the inquiry request that Quick Response Code identification equipment sends.
Step 503, book server inquires about the raw information of binding with unique identification string in binding relationship according to inquiry request;
Book server stores raw information, unique identification string and binding relationship between the two, can inquire about obtaining raw information according to unique identification string.
Step 504, book server is to Quick Response Code identification equipment feedback raw information;
Accordingly, Quick Response Code identification equipment receives the raw information of book server feedback.
In sum, the two-dimensional code identification method that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Please refer to Fig. 6, it illustrates the method flow diagram of the two-dimensional code identification method that another embodiment of the present invention provides.The present embodiment illustrates in being still applied in as shown in Figure 1 implementation environment with this two-dimensional code identification method.This two-dimensional code identification method comprises:
Step 601, reads the content information of Quick Response Code;
Quick Response Code identification equipment, by image input element or optoelectronic scanning element, reads the content information of this Quick Response Code.The content information entrained by this Quick Response Code can be identified by Quick Response Code decoding program.
Step 602, judges whether the content information of Quick Response Code is unique identification string;
Particularly, judge whether the content information of Quick Response Code is whether unique identification string can possess identification characteristics to realize by the content information that judges Quick Response Code.This identification characteristics for identify Quick Response Code content information in carry be not raw information but uniquely indicate string.This flag sign can be added in the brief character string of before unique identification string one, also can be to be added in the brief character string of after unique identification string one, can also be other way of realization.Such as, identification characteristics is S, X or Z etc.
Step 603, if judged result is content information is unique identification string, then performs the step whether comprising address designation in Detection of content information;
Step 604, if judged result is be not unique identification string in content information, then direct using content information as raw information.
Whether step 605, comprise address designation in Detection of content information;
Address designation is for distinguishing the address of different book servers.Such as, if the address of book server is http://abc001.cn, then address designation is expressed as 001; If the address of book server is http://abc002.cn, then address designation is expressed as 002; If the address of book server is http://abc003.cn, then address designation is expressed as 003, by that analogy.
Step 606, if testing result is comprise address designation in content information, then inquires about the address of book server according to address designation and predetermined corresponding relation;
Corresponding relation is the one-to-one relationship between the address of different book servers and different address designations.Quick Response Code generation equipment is previously stored with the corresponding relation between the address of book server and address designation, and this corresponding relation can be expressed as:
The address of book server Address designation
http://abc001.cn 001
http://abc002.cn 002
http://abc003.cn 003
....... ......
Table-1
Step 607, the address according to the book server inquired sends the inquiry request carrying unique identification string to book server;
Inquiry request carries unique identification string, and this unique identification string obtains in the content information of Quick Response Code identification equipment identification Quick Response Code.
Step 608, receives the raw information of book server feedback;
Book server stores raw information, unique identification string and binding relationship between the two, can inquire about obtaining raw information and feeding back to Quick Response Code identification equipment according to unique identification string.
It should be noted that, if in step 603, judged result is content information is unique identification string, then also directly can performs and send to book server the step carrying the inquiry request of unique identification string.In the present embodiment, only contain address designation to illustrate with the content information of this Quick Response Code, concrete restriction is not done to this
Also it should be noted that, the content information of Quick Response Code can only comprise unique identification string, such as: abc123 or def456 etc.; Also unique identification string and identification characteristics can be comprised, such as Sabc123 or Sdef456 etc.; Also unique identification string and address designation can be comprised, such as: 001abc123,002abc123 or 003def456 etc.; Unique identification string, signature identification and address designation can also be comprised, such as S001abc123 or S003def456 etc.Only comprise unique identification string, signature identification and address designation to illustrate with the content information of this Quick Response Code in the present embodiment, concrete restriction is not done to this.Because unique identification string has uniqueness, so ensure that the uniqueness of the content information of Quick Response Code.
Also it should be noted that, the two-dimensional code identification method that the present embodiment provides also has certain information privacy effect.After existing common Quick Response Code identification equipment reads the Quick Response Code of the two-dimensional code generation method generation in application the present invention, what read is only a unique identification string, and it can not obtain raw information by the inquiry of this unique identification string.For some specific Quick Response Code application scenarios, the two-dimensional code identification method that the present embodiment provides has the effect of maintaining secrecy to raw information.
Such as, Quick Response Code on the express delivery list of certain express company is that the two-dimensional code generation method provided by the embodiment of the present invention is generated, and only has the Quick Response Code identification equipment of sending part person just to provide by the embodiment of the present invention of the said firm to read this 2 D code information and inquire about and obtains raw information.This raw information can be the personal information such as phone and address of addressee.Common Quick Response Code identification equipment is the personal information such as phone and address that cannot obtain addressee, and therefore this serves good secret effect to personal information such as the phone of addressee and addresses.
In sum, the two-dimensional code identification method that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.The present embodiment is also not raw information but unique identification characteristics indicating string by what carry in the content information for identifying Quick Response Code; Particularly, this identification characteristics can be address designation, and address designation is for distinguishing the address of different book servers; What make Quick Response Code identification equipment can judge to carry in the content information of its Quick Response Code read is raw information or unique identification string; Further increasing the recognition capability of two-dimensional code identification method and equipment, expand the range of application of two-dimensional code identification method and equipment, enhance the effect of the versatility of two-dimensional code identification method and equipment.Meanwhile, the two-dimensional code identification method that the present embodiment provides also has the secret effect to raw information.
Please refer to Fig. 7, it illustrates the method flow diagram of the 2 D code information supplying method that one embodiment of the invention provides.The present embodiment is applied in implementation environment as shown in Figure 1 with this 2 D code information supplying method and illustrates.This 2 D code information supplying method comprises:
Step 701, Quick Response Code generates equipment and obtains raw information;
Raw information can be the information such as network address, business card and mail.Along with the application of Quick Response Code is more and more extensive, its raw information that can represent is also more and more abundanter.
Step 702, Quick Response Code generates equipment and generates the unique identification string corresponding with raw information;
Unique identification string is made up of several characters, and character comprises at least one in letter, numbers and symbols.Such as, this unique identification string is 6 " abc123 "; Or this unique identification string is 10 " abc12*de%3 " etc.
Length and the character kind comprised of unique identification string determine the bearer cap that this Quick Response Code generates equipment, and bearer cap refers to that this Quick Response Code generates the quantity of the Quick Response Code that equipment can generate.If it is 3 bit digital compositions that this Quick Response Code generates the Quick Response Code that equipment generates, then this Quick Response Code generates the bearer cap of equipment is that 10^3 equals 1000, and namely the most multipotency of this Quick Response Code generation system generates 1,000 kinds of different Quick Response Codes; If this Quick Response Code generate Quick Response Code that equipment generates by 4 letter and numbers separately or mixing form, then this Quick Response Code generates the bearer cap of equipment and equals 1,476 6336 for [(26*2)+10] ^4, i.e. most multipotency generation more than the 1400 ten thousand kinds of different Quick Response Codes of this Quick Response Code generation system.
That is, the character quantity of composition unique identification string is more, kind is more, and the Quick Response Code kind that Quick Response Code generation equipment can generate is also more.In actual applications, in order to reduce the complexity of two-dimension code pattern, and do not affect the bearer cap of Quick Response Code generation system again, generally choosing six characters, to form a unique identification string comparatively suitable.In the present embodiment, be " abc123 " for this unique identification string.
Step 703, Quick Response Code generates equipment and raw information and unique identification string is bound;
No matter the quantity of information entrained by this raw information is much, no matter that is its number of characters comprised has how many, Quick Response Code generates equipment and this raw information and a unique identification string can be bound, and namely this unique identification string represents this raw information.In the present embodiment, any raw information can be bound with the unique identification string of 6, and this binding relationship can be expressed as [abc123, raw information].Step 504, Quick Response Code generates equipment and sends the storage resource request carrying raw information, unique identification string and binding relationship between the two to book server;
Accordingly, book server receives the storage resource request that Quick Response Code generates equipment transmission;
Step 705, book server stores raw information, unique identification string and binding relationship between the two according to storage resource request;
Book server stores raw information, unique identification string and binding relationship between the two, after user is by certain Quick Response Code of reading, to provide raw information to user.
Step 706, Quick Response Code generates equipment and unique identification string is generated Quick Response Code as the content information of Quick Response Code;
Usually, the generative process of Quick Response Code is: the type first determining each character in several characters that unique identification string comprises; Then the Quick Response Code coding mode of these several characters according to regulation is carried out dividing into groups and convert a binary sequence to, on coding, Quick Response Code application be the concept of computer-internal logical foundations " 0 ", " 1 " bit stream, several characters in unique identification string are divided into groups, and one by one they are converted to 8 binary sequence unit one by one, recently by this one by one 8 binary sequence unit combination obtain a binary sequence; Secondly, according to binary sequence and other data messages structure final data information generating Quick Response Code, other data messages comprise: error-correction level, designator, detection figure, separator, positioning pattern and correction graph etc.; Finally final data information is filled in the matrix area of Quick Response Code and obtains Quick Response Code.
Step 707, unique identification string entrained in the content information of Quick Response Code identification equipment identification Quick Response Code;
Quick Response Code identification equipment, by image input element or optoelectronic scanning element, after reading the content information of this Quick Response Code, can identify the unique identification string entrained by this Quick Response Code by Quick Response Code decoding program.
Step 708, Quick Response Code identification equipment sends the inquiry request carrying unique identification string to book server;
Accordingly, book server receives the inquiry request that Quick Response Code identification equipment sends;
Step 709, book server inquires about the raw information of binding with unique identification string in binding relationship according to inquiry request;
Book server stores raw information, unique identification string and binding relationship between the two, can inquire about obtaining raw information according to unique identification string.
Step 710, book server is to Quick Response Code identification equipment feedback raw information;
Accordingly, Quick Response Code identification equipment receives the raw information of book server feedback.
In sum, the 2 D code information supplying method that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Be below device embodiment of the present invention, the details of not detailed description in device embodiment, can with reference to the embodiment of the method for above-mentioned correspondence.
Please refer to Fig. 8 A, it illustrates the block diagram of the Quick Response Code generating apparatus that one embodiment of the invention provides.This Quick Response Code generating apparatus can realize becoming the whole or a part of of electronic equipment by software, hardware or both combinations, also can realize becoming the whole or a part of of server.This Quick Response Code generating apparatus, comprising: data obtaining module 810, identifier generation module 820, mark binding module 830, storage sending module 840 and two-dimensional code generation module 850.
Data obtaining module 810, for obtaining raw information;
Identifier generation module 820, for the unique identification string that the raw information generated with data obtaining module 810 obtains is corresponding;
Mark binding module 830, the unique identification string generated for the raw information that obtained by data obtaining module 810 and identifier generation module 820 is bound;
Store sending module 840, for sending the storage resource request carrying raw information, unique identification string and binding relationship between the two to book server, so that book server stores raw information, unique identification string and binding relationship between the two according to storage resource request;
Two-dimensional code generation module 850, for the unique identification string that identifier generation module 820 generated as the content information of Quick Response Code to generate Quick Response Code.
In sum, the Quick Response Code generating apparatus that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Please refer to Fig. 8 B, it illustrates the block diagram of the Quick Response Code generating apparatus that another embodiment of the present invention provides.This Quick Response Code generating apparatus can realize becoming the whole or a part of of electronic equipment by software, hardware or both combinations, also can realize becoming the whole or a part of of server.This Quick Response Code generating apparatus, comprising: data obtaining module 810, identifier generation module 820, mark binding module 830, storage sending module 840, two-dimensional code generation module 850, feature generation module 842 and identified query module 844.
Data obtaining module 810, for obtaining raw information;
Identifier generation module 820, for the unique identification string that the raw information generated with data obtaining module 810 obtains is corresponding;
Mark binding module 830, the unique identification string generated for the raw information that obtained by data obtaining module 810 and identifier generation module 820 is bound;
Store sending module 840, for sending the storage resource request carrying raw information, unique identification string and binding relationship between the two to book server, so that book server stores raw information, unique identification string and binding relationship between the two according to storage resource request;
Feature generation module 842, for generating the identification characteristics of unique identification string, identification characteristics for identify Quick Response Code content information in carry be not raw information but uniquely indicate string;
Identified query module 844, for according to the address of book server and the address designation of predetermined corresponding relation inquire address, this corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
Two-dimensional code generation module 850, for unique identification string that identifier generation module 820 the is generated a part of content information as Quick Response Code, the identification characteristics generated by feature generation module 842 is as another part content information of Quick Response Code, and address designation identified query module 844 inquired is as another part content information of Quick Response Code to generate Quick Response Code;
It should be noted that, the content information of Quick Response Code can only comprise unique identification string, such as: abc123 or def456 etc.; Also unique identification string and identification characteristics can be comprised, such as Sabc123 or Sdef456 etc.; Also unique identification string and address designation can be comprised, such as: 001abc123,002abc123 or 003def456 etc.; Unique identification string, signature identification and address designation can also be comprised, such as S001abc123 or S003def456 etc.Only comprise unique identification string, signature identification and address designation to illustrate with the content information of this Quick Response Code in the present embodiment, concrete restriction is not done to this.
In sum, the Quick Response Code generating apparatus that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.The present embodiment is also not raw information but unique identification characteristics indicating string by what carry in the content information for identifying Quick Response Code; Particularly, this identification characteristics can be address designation, and address designation is for distinguishing the address of different book servers; What make Quick Response Code identification equipment can judge to carry in the content information of its Quick Response Code read is raw information or unique identification string; Expand the range of application of two-dimensional code generation method and equipment further, enhance the effect of the versatility of two-dimensional code generation method and equipment.Meanwhile, the Quick Response Code generating apparatus that the present embodiment provides also has the secret effect to raw information.
Please refer to Fig. 9 A, it illustrates the block diagram of the two-dimension code recognition device that one embodiment of the invention provides.This two-dimension code recognition device can realize becoming the whole or a part of of electronic equipment by software, hardware or both combinations, also can realize becoming the whole or a part of of server.This two-dimension code recognition device, comprising: mark identification module 910, request sending module 920 and information receiving module 930.
Mark identification module 910, for identifying unique identification string entrained in the content information of Quick Response Code;
Request sending module 920, for sending the inquiry request carrying the unique identification string that mark identification module 910 identifies to book server, so that book server inquires about the raw information of binding with unique identification string in the binding relationship prestored according to inquiry request, and feeds back this raw information;
Information receiving module 930, for receiving the raw information of book server feedback.
In sum, the two-dimension code recognition device that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Please refer to Fig. 9 B, it illustrates the block diagram of the two-dimension code recognition device that another embodiment of the present invention provides.This two-dimension code recognition device can realize becoming the whole or a part of of electronic equipment by software, hardware or both combinations, also can realize becoming the whole or a part of of server.This two-dimension code recognition device, comprising: mark identification module 910, request sending module 920, information receiving module 930, label detection module 940 and address lookup module 950.
Mark identification module 910, for identifying unique identification string entrained in the content information of Quick Response Code;
Specifically, described mark identification module 910, comprising: Information reading unit 911, information judging unit 912, first information unit 913 and the second message unit 914;
Information reading unit 911, for reading the content information of Quick Response Code;
Information judging unit 912, for judging whether the content information of the Quick Response Code that Information reading unit 911 reads is unique identification string;
Particularly, in the present embodiment, information judging unit 912 for judge Quick Response Code content information in whether possess identification characteristics, this identification characteristics for identify Quick Response Code content information in carry be not raw information but uniquely indicate string.
First information unit 913, if being content information for judged result is unique identification string, then performs the step whether comprising address designation in Detection of content information;
Second message unit 914, if be not unique identification string in content information for judged result, then direct using content information as raw information.
Whether label detection module 940, for comprising address designation in Detection of content information;
Address lookup module 950, if be comprise address designation in content information for testing result, then inquire about the address of book server according to address designation and predetermined corresponding relation, this corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
Request sending module 920, for sending the inquiry request carrying the unique identification string that mark identification module 910 identifies to book server, so that book server inquires about the raw information of binding with unique identification string in the binding relationship prestored according to inquiry request, and feeds back this raw information;
Information receiving module 930, for receiving the raw information of book server feedback.
It should be noted that, the content information of Quick Response Code can only comprise unique identification string, such as: abc123 or def456 etc.; Also unique identification string and identification characteristics can be comprised, such as Sabc123 or Sdef456 etc.; Also unique identification string and address designation can be comprised, such as: 001abc123,002abc123 or 003def456 etc.; Unique identification string, signature identification and address designation can also be comprised, such as S001abc123 or S003def456 etc.Only comprise unique identification string, signature identification and address designation to illustrate with the content information of this Quick Response Code in the present embodiment, concrete restriction is not done to this.
In sum, the two-dimension code recognition device that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.The present embodiment is also not raw information but unique identification characteristics indicating string by what carry in the content information for identifying Quick Response Code; Particularly, this identification characteristics can be address designation, and address designation is for distinguishing the address of different book servers; What make Quick Response Code identification equipment can judge to carry in the content information of its Quick Response Code read is raw information or unique identification string; Further increasing the recognition capability of two-dimensional code identification method and equipment, expand the range of application of two-dimensional code identification method and equipment, enhance the effect of the versatility of two-dimensional code identification method and equipment.Meanwhile, the two-dimension code recognition device that the present embodiment provides also has the secret effect to raw information.
Please refer to Figure 10, it illustrates the block diagram of the 2 D code information generator that one embodiment of the invention provides.This 2 D code information generator can realize becoming the whole or a part of of electronic equipment by software, hardware or both combinations, also can realize becoming the whole or a part of of server.This 2 D code information generator, comprising: information storage module 1010, request receiving module 1020, information inquiry module 1030 and information feedback module 1040.
Information storage module 1010, for prestoring raw information, unique identification string and binding relationship between the two;
Request receiving module 1020, for receiving the inquiry request that Quick Response Code identification equipment sends, inquiry request carries unique identification string, and unique identification string obtains in the content information of Quick Response Code identification equipment identification Quick Response Code;
Information inquiry module 1030, the inquiry request for receiving according to request receiving module 1020 inquires about the raw information of binding with unique identification string in binding relationship;
Information feedback module 1040, for the raw information inquired to Quick Response Code identification equipment feedback information enquiry module 1030.
In sum, the 2 D code information generator that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Please refer to Figure 11, it illustrates the block diagram of the Quick Response Code generation system that one embodiment of the invention provides.This Quick Response Code generation system, comprising: Quick Response Code generates equipment 1120 and book server 1140, and Quick Response Code is generated equipment 1120 and is connected by cable network or wireless network with book server 1140;
Quick Response Code generation equipment 1120 comprises the device as described in Fig. 8 A and the arbitrary illustrated embodiment of Fig. 8 B;
Book server 1140 comprises the device as shown in Figure 10 described in embodiment.
In sum, the Quick Response Code generation system that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Please refer to Figure 12, it illustrates the block diagram of the Quick Response Code recognition system that one embodiment of the invention provides.This Quick Response Code recognition system, comprising: Quick Response Code identification equipment 1160 and book server 1140, and Quick Response Code identification equipment 1160 is connected by cable network or wireless network with book server 1140;
Quick Response Code identification equipment 1160 comprises the device as described in Fig. 9 A and the arbitrary illustrated embodiment of Fig. 9 B;
Book server 1140 comprises the device as shown in Figure 10 described in embodiment.
In sum, the Quick Response Code recognition system that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Please refer to Figure 13, the Quick Response Code that it illustrates one embodiment of the invention provides generates the structural representation of equipment.It can be server that described Quick Response Code generates equipment 1300, described Quick Response Code generates equipment 1300 and comprises CPU (central processing unit) (CPU) 1301, comprises the system storage 1304 of random-access memory (ram) 1302 and ROM (read-only memory) (ROM) 1303 and the system bus 1305 of connected system storer 1304 and CPU (central processing unit) 1301.Described Quick Response Code generation equipment 1300 also comprises the basic input/output (I/O system) 1306 of transmission information between each device in help computing machine, and for storing the mass-memory unit 1307 of operating system 1313, application program 1314 and other program modules 1315.
Described basic input/output 1306 includes the input equipment 1309 of the display 1308 for showing information and the such as mouse, keyboard and so on for user's input information.Wherein said display 1308 and input equipment 1309 are all connected to CPU (central processing unit) 1301 by the input/output control unit 1310 being connected to system bus 1305.Described basic input/output 1306 can also comprise input/output control unit 1310 for receiving and processing the input from other equipment multiple such as keyboard, mouse or electronic touch pens.Similarly, input/output control unit 1310 also provides the output device outputting to display screen, printer or other types.
Described mass-memory unit 1307 is connected to CPU (central processing unit) 1301 by the bulk memory controller (not shown) being connected to system bus 1305.Described mass-memory unit 1307 and the computer-readable medium that is associated thereof provide non-volatile memories for client device 1300.That is, described mass-memory unit 1307 can comprise the computer-readable medium (not shown) of such as hard disk or CD-ROM drive and so on.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises the volatibility and non-volatile, removable and irremovable medium that realize for any method or technology that store the information such as such as computer-readable instruction, data structure, program module or other data.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical memory, tape cassete, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 1304 and mass-memory unit 1307 can be referred to as storer.
According to various embodiments of the present invention, the remote computer that described Quick Response Code generation equipment 1300 can also be connected on network by networks such as such as the Internets runs.Also namely Quick Response Code generates equipment 1300 and can be connected to network 1312 by the network interface unit 1311 be connected on described system bus 1305, in other words, network interface unit 1311 also can be used to be connected to network or the remote computer system (not shown) of other types.
Described storer also comprises one or more than one program, and described more than one or one program is stored in storer, and is configured to be performed by more than one or one CPU (central processing unit) 1301.Above-mentioned more than one or one routine package is containing the instruction for carrying out following operation:
Obtain raw information; Generate the unique identification string corresponding with described raw information; Described raw information and described unique identification string are bound; The storage resource request carrying described raw information, described unique identification string and binding relationship is between the two sent, so that described book server stores described raw information, described unique identification string and binding relationship between the two according to described storage resource request to book server; Described unique identification string is generated Quick Response Code as the content information of Quick Response Code.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, described Quick Response Code generates in the storer of equipment, also comprises the instruction for performing following operation:
The character of random selecting fixed number from the character set be made up of at least one letter, numbers and symbols preset; The character random alignment of described fixed number is obtained described unique identification string;
Or,
Generate the different and random string that length is fixing of n in advance, described random string comprises several characters, and several characters described comprise at least one in letter, numbers and symbols; One is randomly drawed as described unique identification string from a described n random string;
Or,
Described raw information is mapped as the character string of regular length; Using the character string of described regular length as described unique identification string.
In the third the possible embodiment provided based on the embodiment that the second is possible, described Quick Response Code generates in the storer of equipment, also comprises the instruction for performing following operation:
Generate the identification characteristics of described unique identification string, described identification characteristics for identify described Quick Response Code content information in carry be not described raw information but described unique sign string;
Described described unique identification string is generated Quick Response Code as the content information of Quick Response Code, comprising:
Using a part of content information of described unique identification string as Quick Response Code, described identification characteristics is generated Quick Response Code as another part content information of described Quick Response Code.
In the 4th kind of possible embodiment provided based on the embodiment that the third is possible, described Quick Response Code generates in the storer of equipment, also comprises the instruction for performing following operation:
Inquire about the address designation of described address according to the address of described book server and predetermined corresponding relation, described corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
Described described unique identification string is generated Quick Response Code as the content information of Quick Response Code, comprising:
Using a part of content information of described unique identification string as Quick Response Code, described address designation is generated Quick Response Code as another part content information of described Quick Response Code.
In sum, the Quick Response Code that the present embodiment provides generates equipment, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.The present embodiment is also not raw information but unique identification characteristics indicating string by what carry in the content information for identifying Quick Response Code; Particularly, this identification characteristics can be address designation, and address designation is for distinguishing the address of different book servers; What make Quick Response Code identification equipment can judge to carry in the content information of its Quick Response Code read is raw information or unique identification string; Expand the range of application of two-dimensional code generation method and equipment further, enhance the effect of the versatility of two-dimensional code generation method and equipment.Meanwhile, the Quick Response Code generation equipment that the present embodiment provides also has the secret effect to raw information.
Please refer to Figure 14, it illustrates the structural representation with the terminal of image input device involved by the embodiment of the present invention, this terminal may be used for the two-dimensional code identification method implementing to provide in above-described embodiment.Specifically:
Terminal 1400 can comprise RF(Radio Frequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Figure 12, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 1400.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise image input device 131 and other input equipments 132.Image input device 131 can be camera, also can be photoelectric scanning device, can also be other any equipment that can read Quick Response Code.Image input device 131 can read Quick Response Code, and drives corresponding coupling arrangement according to the formula preset.Some image input devices 131 can read Quick Response Code, and are sent to by this image in 2 D code processor 180 to carry out the content information of decoding acquisition Quick Response Code; The image input device 131 also had oneself has Quick Response Code decoding function, and after reading image in 2 D code, decoding obtains the content information of Quick Response Code voluntarily.Except image input device 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 1400 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 141.
Terminal 1400 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 1400 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 1400 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 1400.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 1400.
WiFi belongs to short range wireless transmission technology, and terminal 1400 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 12 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 1400, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of terminal 1400, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 1400, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 1400 also comprises the power supply 190(such as battery of powering to all parts), preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 1400 can also comprise bluetooth module etc., does not repeat them here.Concrete terminal also includes storer, and one or more than one program, and one of them or more than one program are stored in storer in the present embodiment, and is configured to be performed by more than one or one processor.Above-mentioned more than one or one routine package is containing the instruction for carrying out following operation:
Identify unique identification string entrained in the content information of Quick Response Code; Send the inquiry request carrying described unique identification string to book server, so that described book server inquires about the raw information of binding with described unique identification string in the binding relationship prestored according to described inquiry request, and feed back described raw information; Receive the described raw information of described book server feedback.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of described terminal, also comprise the instruction for performing following operation:
Read the content information of described Quick Response Code;
Whether the content information judging described Quick Response Code is described unique identification string;
If judged result is described content information is described unique identification string, then perform the described step carrying the inquiry request of described unique identification string to book server transmission;
If judged result is be not described unique identification string in described content information, then direct using described content information as described raw information.
In the third the possible embodiment provided based on the embodiment that the second is possible, in the storer of described terminal, also comprise the instruction for performing following operation:
Judge whether possess identification characteristics in the content information of described Quick Response Code, described identification characteristics for identify described Quick Response Code content information in carry be not described raw information but described unique sign string.
In the 4th kind of possible embodiment provided based on the embodiment that the third is possible, in the storer of described terminal, also comprise the instruction for performing following operation:
Detect in described content information and whether comprise address designation;
If testing result is comprise address designation in described content information, then inquire about the address of described book server according to described address designation and predetermined corresponding relation, described corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
The described inquiry request carrying described unique identification string to book server transmission, comprising:
Address according to the described book server inquired sends the inquiry request carrying described unique identification string to described book server.
In sum, the terminal that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.The present embodiment is also not raw information but unique identification characteristics indicating string by what carry in the content information for identifying Quick Response Code; Particularly, this identification characteristics can be address designation, and address designation is for distinguishing the address of different book servers; What make terminal can judge to carry in the content information of its Quick Response Code read is raw information or unique identification string; Further increasing the recognition capability of terminal, expand the range of application of terminal, enhance the effect of the versatility of terminal.Meanwhile, the terminal that the present embodiment provides also has the secret effect to raw information.
Please refer to Figure 15, it illustrates the structural representation of the book server that one embodiment of the invention provides.Described book server 1500 can be server, described book server 1500 comprises CPU (central processing unit) (CPU) 1501, comprises the system storage 1504 of random-access memory (ram) 1502 and ROM (read-only memory) (ROM) 1503, and the system bus 1505 of connected system storer 1504 and CPU (central processing unit) 1501.Described book server 1500 also comprises the basic input/output (I/O system) 1506 of transmission information between each device in help computing machine, and for storing the mass-memory unit 1507 of operating system 1513, application program 1514 and other program modules 1515.
Described basic input/output 1506 includes the input equipment 1509 of the display 1508 for showing information and the such as mouse, keyboard and so on for user's input information.Wherein said display 1508 and input equipment 1509 are all connected to CPU (central processing unit) 1501 by the input/output control unit 1510 being connected to system bus 1505.Described basic input/output 1506 can also comprise input/output control unit 1510 for receiving and processing the input from other equipment multiple such as keyboard, mouse or electronic touch pens.Similarly, input/output control unit 1510 also provides the output device outputting to display screen, printer or other types.
Described mass-memory unit 1507 is connected to CPU (central processing unit) 1501 by the bulk memory controller (not shown) being connected to system bus 1505.Described mass-memory unit 1507 and the computer-readable medium that is associated thereof provide non-volatile memories for client device 1500.That is, described mass-memory unit 1507 can comprise the computer-readable medium (not shown) of such as hard disk or CD-ROM drive and so on.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises the volatibility and non-volatile, removable and irremovable medium that realize for any method or technology that store the information such as such as computer-readable instruction, data structure, program module or other data.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical memory, tape cassete, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 1504 and mass-memory unit 1507 can be referred to as storer.
According to various embodiments of the present invention, the remote computer that described book server 1500 can also be connected on network by networks such as such as the Internets runs.Also namely book server 1500 can be connected to network 1512 by the network interface unit 1511 be connected on described system bus 1505, in other words, network interface unit 1511 also can be used to be connected to network or the remote computer system (not shown) of other types.
Described storer also comprises one or more than one program, and described more than one or one program is stored in storer, and is configured to be performed by more than one or one CPU (central processing unit) 1501.Above-mentioned more than one or one routine package is containing the instruction for carrying out following operation:
Prestore raw information, unique identification string and binding relationship between the two;
Receive the inquiry request that Quick Response Code identification equipment sends, described inquiry request carries unique identification string, and described unique identification string obtains in the content information of described Quick Response Code identification equipment identification Quick Response Code;
In described binding relationship, the raw information of binding with described unique identification string is inquired about according to described inquiry request;
Described raw information is fed back to described Quick Response Code identification equipment.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of described book server, also comprise the instruction for performing following operation:
Receive the storage resource request that Quick Response Code generates equipment transmission, described storage resource request carries described raw information, described unique identification string and binding relationship between the two, described storage resource request is that described Quick Response Code generates equipment acquisition raw information, generate the unique identification string corresponding with described raw information, carry out described raw information and described unique identification string binding rear transmission;
Described raw information, described unique identification string and binding relationship is between the two stored according to described storage resource request.
In sum, the book server that the present embodiment provides, by raw information and a unique identification string be made up of several characters are bound mutually, and coding is carried out to this unique identification string obtain Quick Response Code, the binding relationship between raw information and unique identification string is stored, to utilize the unique identification string identified to obtain raw information by this server in identifying by book server; Solve the problem that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate is low; Reach and simplify two-dimension code pattern complexity, recognition speed is fast and recognition success rate is high effect.
Should be understood that, use in this article, unless context clearly supports exception, singulative " " (" a ", " an ", " the ") is intended to also comprise plural form.It is to be further understood that the "and/or" used in this article refers to comprise any of more than one or one project listed explicitly and likely combine.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (22)

1. a two-dimensional code generation method, is characterized in that, described method, comprising:
Obtain raw information;
Generate the unique identification string corresponding with described raw information;
Described raw information and described unique identification string are bound;
The storage resource request carrying described raw information, described unique identification string and binding relationship is between the two sent, so that described book server stores described raw information, described unique identification string and binding relationship between the two according to described storage resource request to book server;
Described unique identification string is generated Quick Response Code as the content information of Quick Response Code.
2. two-dimensional code generation method according to claim 1, is characterized in that, the unique identification string that described generation is corresponding with described raw information, comprising:
The character of random selecting fixed number from the character set be made up of at least one letter, numbers and symbols preset; The character random alignment of described fixed number is obtained described unique identification string;
Or,
Generate the different and random string that length is fixing of n in advance, described random string comprises several characters, and several characters described comprise at least one in letter, numbers and symbols; One is randomly drawed as described unique identification string from a described n random string;
Or,
Described raw information is mapped as the character string of regular length; Using the character string of described regular length as described unique identification string.
3. two-dimensional code generation method according to claim 1, is characterized in that, described using described unique identification string as before the content information of Quick Response Code generates Quick Response Code, also comprise:
Generate the identification characteristics of described unique identification string, described identification characteristics for identify described Quick Response Code content information in carry be not described raw information but described unique sign string;
Described described unique identification string is generated Quick Response Code as the content information of Quick Response Code, comprising:
Using a part of content information of described unique identification string as Quick Response Code, described identification characteristics is generated Quick Response Code as another part content information of described Quick Response Code.
4., according to the arbitrary described two-dimensional code generation method of claims 1 to 3, it is characterized in that, described using described unique identification string as before the content information of Quick Response Code generates Quick Response Code, also comprise:
Inquire about the address designation of described address according to the address of described book server and predetermined corresponding relation, described corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
Described described unique identification string is generated Quick Response Code as the content information of Quick Response Code, comprising:
Using a part of content information of described unique identification string as Quick Response Code, described address designation is generated Quick Response Code as another part content information of described Quick Response Code.
5. a two-dimensional code identification method, is characterized in that, described method, comprising:
Identify unique identification string entrained in the content information of Quick Response Code;
Send the inquiry request carrying described unique identification string to book server, so that described book server inquires about the raw information of binding with described unique identification string in the binding relationship prestored according to described inquiry request, and feed back described raw information;
Receive the described raw information of described book server feedback.
6. two-dimensional code identification method according to claim 5, is characterized in that, unique identification string entrained in the content information of described identification Quick Response Code, comprising:
Read the content information of described Quick Response Code;
Whether the content information judging described Quick Response Code is described unique identification string;
If judged result is described content information is described unique identification string, then perform the described step carrying the inquiry request of described unique identification string to book server transmission;
If judged result is be not described unique identification string in described content information, then direct using described content information as described raw information.
7. two-dimensional code identification method according to claim 6, is characterized in that, whether the described content information judging described Quick Response Code is described unique identification string, comprising:
Judge whether possess identification characteristics in the content information of described Quick Response Code, described identification characteristics for identify described Quick Response Code content information in carry be not described raw information but described unique sign string.
8. two-dimensional code identification method according to claim 5, is characterized in that, described to book server send carry the inquiry request of described unique identification string before, also comprise:
Detect in described content information and whether comprise address designation;
If testing result is comprise address designation in described content information, then inquire about the address of described book server according to described address designation and predetermined corresponding relation, described corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
The described inquiry request carrying described unique identification string to book server transmission, comprising:
Address according to the described book server inquired sends the inquiry request carrying described unique identification string to described book server.
9. a 2 D code information supplying method, is characterized in that, described method, comprising:
Prestore raw information, unique identification string and binding relationship between the two;
Receive the inquiry request that Quick Response Code identification equipment sends, described inquiry request carries unique identification string, and described unique identification string obtains in the content information of described Quick Response Code identification equipment identification Quick Response Code;
In described binding relationship, the raw information of binding with described unique identification string is inquired about according to described inquiry request;
Described raw information is fed back to described Quick Response Code identification equipment.
10. 2 D code information supplying method according to claim 9, is characterized in that, described in prestore raw information, unique identification string and binding relationship between the two, comprising:
Receive the storage resource request that Quick Response Code generates equipment transmission, described storage resource request carries described raw information, described unique identification string and binding relationship between the two, described storage resource request is that described Quick Response Code generates equipment acquisition raw information, generate the unique identification string corresponding with described raw information, carry out described raw information and described unique identification string binding rear transmission;
Described raw information, described unique identification string and binding relationship is between the two stored according to described storage resource request.
11. 1 kinds of Quick Response Code generating apparatus, is characterized in that, described device, comprising:
Data obtaining module, for obtaining raw information;
Identifier generation module, for generating the unique identification string corresponding with the described raw information that described data obtaining module obtains;
Mark binding module, the described unique identification string generated for the described raw information that obtained by described data obtaining module and described identifier generation module is bound;
Store sending module, for sending the storage resource request carrying described raw information, described unique identification string and binding relationship between the two to book server, so that described book server stores described raw information, described unique identification string and binding relationship between the two according to described storage resource request;
Two-dimensional code generation module, for the described unique identification string that described identifier generation module generated as the content information of Quick Response Code to generate Quick Response Code.
12. Quick Response Code generating apparatus according to claim 10, it is characterized in that, described identifier generation module, comprising:
Unit and character arrangements unit chosen in character;
Or,
Text string generation unit and character string extracting unit;
Or,
Map generation unit and map determining unit;
The character of unit for random selecting fixed number from the character set be made up of at least one in letter, numbers and symbols preset chosen in described character; The character random alignment that described character arrangements unit is used for described character to choose the described fixed number that unit obtains obtains described unique identification string;
Or,
Described text string generation unit, for generating the different and random string that length is fixing of n in advance, described random string comprises several characters, and several characters described comprise at least one in letter, numbers and symbols; Described character string extracting unit is used for randomly drawing one as described unique identification string described n the random string generated from described text string generation unit;
Or,
Described mapping generation unit, for being mapped as the character string of regular length by described raw information; Described mapping determining unit, for using the character string of described regular length as described unique identification string.
13. Quick Response Code generating apparatus according to claim 11, is characterized in that, described Quick Response Code generating apparatus, also comprises: feature generation module;
Described feature generation module, for generating the identification characteristics of described unique identification string, described identification characteristics for identify described Quick Response Code content information in carry be not described raw information but described unique sign string;
Described two-dimensional code generation module, for using a part of content information of described unique identification string as Quick Response Code, generates Quick Response Code using described identification characteristics as another part content information of described Quick Response Code.
14. according to claim 11 to 13 arbitrary described Quick Response Code generating apparatus, and it is characterized in that, described Quick Response Code generating apparatus, also comprises: identified query module;
Described identified query module, for inquiring about the address designation of described address according to the address of described book server and predetermined corresponding relation, described corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
Described two-dimensional code generation module, for using a part of content information of described unique identification string as Quick Response Code, generates Quick Response Code using described address designation as another part content information of described Quick Response Code.
15. 1 kinds of two-dimension code recognition devices, is characterized in that, described device, comprising:
Mark identification module, for identifying unique identification string entrained in the content information of Quick Response Code;
Request sending module, for sending the inquiry request carrying the described unique identification string that described mark identification module identifies to book server, so that described book server inquires about the raw information of binding with described unique identification string in the binding relationship prestored according to described inquiry request, and feeds back described raw information;
Information receiving module, for receiving the described raw information of described book server feedback.
16. two-dimension code recognition devices according to claim 15, is characterized in that, described mark identification module, comprising: Information reading unit, information judging unit, first information unit and the second message unit;
Described Information reading unit, for reading the content information of described Quick Response Code;
Described information judging unit, for judging whether the content information of the described Quick Response Code that described Information reading unit reads is described unique identification string;
Described first information unit, if being described content information for judged result is described unique identification string, then performs the described step carrying the inquiry request of described unique identification string to book server transmission;
Described second message unit, if be not described unique identification string in described content information for judged result, then direct using described content information as described raw information.
17. two-dimension code recognition devices according to claim 16, it is characterized in that, described information judging unit, for judge described Quick Response Code content information in whether possess identification characteristics, described identification characteristics for identify described Quick Response Code content information in carry be not described raw information but described unique sign string.
18. two-dimension code recognition devices according to claim 15, is characterized in that, described two-dimension code recognition device, also comprises: label detection module and address lookup module;
Described label detection module, for detecting in described content information whether comprise address designation;
Described address lookup module, if be comprise address designation in described content information for testing result, then inquire about the address of described book server according to described address designation and predetermined corresponding relation, described corresponding relation is the one-to-one relationship between the address of different book servers and different address designations;
Described request sending module, sends for the address according to the described book server inquired the inquiry request carrying described unique identification string to described book server.
19. 1 kinds of 2 D code information generators, is characterized in that, described device, comprising:
Information storage module, for prestoring raw information, unique identification string and binding relationship between the two;
Request receiving module, for receiving the inquiry request that Quick Response Code identification equipment sends, described inquiry request carries unique identification string, and described unique identification string obtains in the content information of described Quick Response Code identification equipment identification Quick Response Code;
Information inquiry module, the described inquiry request for receiving according to described request receiver module inquires about the raw information of binding with described unique identification string in described binding relationship;
Information feedback module, for feeding back the described raw information that described information inquiry module inquires to described Quick Response Code identification equipment.
20. 2 D code information generators according to claim 19, it is characterized in that, described information storage module, comprising: storage receiving element and storage realize unit;
Described storage receiving element, the storage resource request of equipment transmission is generated for receiving Quick Response Code, described storage resource request carries described raw information, described unique identification string and binding relationship between the two, described storage resource request is that described Quick Response Code generates equipment acquisition raw information, generate the unique identification string corresponding with described raw information, carry out described raw information and described unique identification string binding rear transmission;
Described storage realizes unit, and the described storage resource request for receiving according to described storage receiving element stores described raw information, described unique identification string and binding relationship between the two.
21. 1 kinds of Quick Response Code generation systems, is characterized in that, described system comprises: Quick Response Code generates equipment and book server, and described Quick Response Code is generated equipment and is connected by cable network or wireless network with described book server;
Described Quick Response Code generate equipment comprise as arbitrary in claim 11 to 14 as described in device;
Described book server comprise as arbitrary in claim 19 to 20 as described in device.
22. 1 kinds of Quick Response Code recognition systems, is characterized in that, described system comprises: Quick Response Code identification equipment and book server, and described Quick Response Code identification equipment is connected by cable network or wireless network with described book server;
Described Quick Response Code identification equipment comprise as arbitrary in claim 15 to 18 as described in device;
Described book server comprise as arbitrary in claim 19 to 20 as described in device.
CN201310362461.9A 2013-08-19 2013-08-19 Two-dimensional code generation method, recognition methods, information providing method, device and system Active CN104424496B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310362461.9A CN104424496B (en) 2013-08-19 2013-08-19 Two-dimensional code generation method, recognition methods, information providing method, device and system
PCT/CN2014/084584 WO2015024485A1 (en) 2013-08-19 2014-08-18 Two-dimensional code generation method, recognition method, and information provision method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310362461.9A CN104424496B (en) 2013-08-19 2013-08-19 Two-dimensional code generation method, recognition methods, information providing method, device and system

Publications (2)

Publication Number Publication Date
CN104424496A true CN104424496A (en) 2015-03-18
CN104424496B CN104424496B (en) 2018-05-01

Family

ID=52483074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310362461.9A Active CN104424496B (en) 2013-08-19 2013-08-19 Two-dimensional code generation method, recognition methods, information providing method, device and system

Country Status (2)

Country Link
CN (1) CN104424496B (en)
WO (1) WO2015024485A1 (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468350A (en) * 2014-09-10 2016-04-06 阿里巴巴集团控股有限公司 Object tag processing method and apparatus
CN106022399A (en) * 2016-05-06 2016-10-12 庞震伟 Two-dimensional code, two-dimensional code label, two-dimensional code application system formation method and two-dimensional code use method
CN106101368A (en) * 2016-07-07 2016-11-09 立德高科(昆山)数码科技有限责任公司 The method and system of Quick Response Code have been generated based on telephonograph
CN106203228A (en) * 2016-07-06 2016-12-07 北京金山安全软件有限公司 Two-dimensional code information transmission method, device and equipment
CN106250941A (en) * 2016-07-20 2016-12-21 奥瑞金包装股份有限公司 Quick Response Code processing method, Apparatus and system
CN106845595A (en) * 2017-02-13 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of coding method of Quick Response Code, coding/decoding method, code device and decoding apparatus
CN106911874A (en) * 2015-12-22 2017-06-30 富士施乐株式会社 Information processor, image read-out, coded image generating means and method
CN107402811A (en) * 2016-05-20 2017-11-28 阿里巴巴集团控股有限公司 A kind of resource binding method and device
CN107679437A (en) * 2017-09-26 2018-02-09 四川元匠科技有限公司 Bar code image recognizer based on Zbar
CN108599931A (en) * 2018-04-12 2018-09-28 深圳市易迈数据技术有限公司 Safe code generating method based on big data and its method of calibration
CN108629391A (en) * 2018-05-10 2018-10-09 佛山市博知盾识科技有限公司 Color code decoding method, system and equipment
CN108681766A (en) * 2018-04-12 2018-10-19 深圳市易迈数据技术有限公司 Idle bit assignment method and its identification code based on user data statistics
CN109214950A (en) * 2017-07-04 2019-01-15 黄海量 Build concealed structure management method, building pipeline management method and server
CN109886375A (en) * 2019-02-17 2019-06-14 北京意锐新创科技有限公司 The method and system of batch replacement binding two dimension code reading device
CN111274508A (en) * 2020-02-12 2020-06-12 上海东普信息科技有限公司 Service recommendation method, device, equipment and storage medium based on two-dimension code
CN111582415A (en) * 2020-05-08 2020-08-25 北京思特奇信息技术股份有限公司 Device management method, device, electronic device and storage medium
CN111581535A (en) * 2020-03-21 2020-08-25 长沙迪迈数码科技股份有限公司 Mine sampling registration method and device based on unique identification code and storage medium
CN113071225A (en) * 2021-03-23 2021-07-06 日本电产(韶关)有限公司 Method and device for generating serial number

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270764B (en) * 2017-01-04 2020-06-02 腾讯科技(深圳)有限公司 Application login method, server and mobile terminal
CN109409832A (en) * 2018-10-19 2019-03-01 西安瑜乐文化科技股份有限公司 A kind of user bound information recommendation method based on two dimensional code
CN109685423A (en) * 2018-12-25 2019-04-26 山东浪潮通软信息科技有限公司 A kind of method and device checked goods yard and currently store grain business contact information
CN111507447A (en) * 2020-04-03 2020-08-07 北京市天元网络技术股份有限公司 Label identification method and device
CN113553305A (en) * 2021-07-30 2021-10-26 国网电子商务有限公司 Industrial internet identification processing method and device
CN113505620B (en) * 2021-07-30 2024-04-16 绿漫科技有限公司 Material reverse energy attaching method based on two-dimensional code information storage
CN114978572A (en) * 2022-03-29 2022-08-30 山东山科智控数字化科技有限公司 Identity recognition method of Internet of things equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1770604A1 (en) * 2004-07-22 2007-04-04 Matsushita Electric Industrial Co., Ltd. Multicolored two-dimensional barcode, image display apparatus thereof, information terminal apparatus, display method, decoding method, information communication system, and information communication method
CN101894113A (en) * 2009-05-18 2010-11-24 吕杰聪 Two-dimensional code-based mobile yellow page system
CN102750612A (en) * 2012-05-31 2012-10-24 华为技术有限公司 Optical cable distinguishing method and server
CN102855323A (en) * 2012-09-11 2013-01-02 北京蜂侠飞科技有限公司 Information sharing method based on two-dimension codes and system implementing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289651A (en) * 2011-08-10 2011-12-21 深圳市通产丽星股份有限公司 Label checking method and system
CN102497331A (en) * 2011-12-16 2012-06-13 王博 Information providing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1770604A1 (en) * 2004-07-22 2007-04-04 Matsushita Electric Industrial Co., Ltd. Multicolored two-dimensional barcode, image display apparatus thereof, information terminal apparatus, display method, decoding method, information communication system, and information communication method
CN101894113A (en) * 2009-05-18 2010-11-24 吕杰聪 Two-dimensional code-based mobile yellow page system
CN102750612A (en) * 2012-05-31 2012-10-24 华为技术有限公司 Optical cable distinguishing method and server
CN102855323A (en) * 2012-09-11 2013-01-02 北京蜂侠飞科技有限公司 Information sharing method based on two-dimension codes and system implementing method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468350A (en) * 2014-09-10 2016-04-06 阿里巴巴集团控股有限公司 Object tag processing method and apparatus
CN106911874A (en) * 2015-12-22 2017-06-30 富士施乐株式会社 Information processor, image read-out, coded image generating means and method
CN106022399A (en) * 2016-05-06 2016-10-12 庞震伟 Two-dimensional code, two-dimensional code label, two-dimensional code application system formation method and two-dimensional code use method
CN107402811A (en) * 2016-05-20 2017-11-28 阿里巴巴集团控股有限公司 A kind of resource binding method and device
CN106203228A (en) * 2016-07-06 2016-12-07 北京金山安全软件有限公司 Two-dimensional code information transmission method, device and equipment
WO2018006841A1 (en) * 2016-07-06 2018-01-11 北京金山安全软件有限公司 Qr code information transmission method, device and apparatus
CN106101368A (en) * 2016-07-07 2016-11-09 立德高科(昆山)数码科技有限责任公司 The method and system of Quick Response Code have been generated based on telephonograph
CN106250941A (en) * 2016-07-20 2016-12-21 奥瑞金包装股份有限公司 Quick Response Code processing method, Apparatus and system
CN106845595A (en) * 2017-02-13 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of coding method of Quick Response Code, coding/decoding method, code device and decoding apparatus
CN109214950A (en) * 2017-07-04 2019-01-15 黄海量 Build concealed structure management method, building pipeline management method and server
CN109214951A (en) * 2017-07-04 2019-01-15 黄海量 Build concealed structure management method, building pipeline management method and server
CN107679437A (en) * 2017-09-26 2018-02-09 四川元匠科技有限公司 Bar code image recognizer based on Zbar
CN108599931A (en) * 2018-04-12 2018-09-28 深圳市易迈数据技术有限公司 Safe code generating method based on big data and its method of calibration
CN108681766A (en) * 2018-04-12 2018-10-19 深圳市易迈数据技术有限公司 Idle bit assignment method and its identification code based on user data statistics
CN108629391A (en) * 2018-05-10 2018-10-09 佛山市博知盾识科技有限公司 Color code decoding method, system and equipment
CN108629391B (en) * 2018-05-10 2021-09-03 品冠物联科技(惠州市)有限公司 Color code encoding and decoding method, system and equipment
CN109886375A (en) * 2019-02-17 2019-06-14 北京意锐新创科技有限公司 The method and system of batch replacement binding two dimension code reading device
CN109886375B (en) * 2019-02-17 2022-06-03 北京意锐新创科技有限公司 Method and system for replacing bound two-dimensional code reading devices in batches
CN111274508A (en) * 2020-02-12 2020-06-12 上海东普信息科技有限公司 Service recommendation method, device, equipment and storage medium based on two-dimension code
CN111274508B (en) * 2020-02-12 2023-04-07 上海东普信息科技有限公司 Service recommendation method, device, equipment and storage medium based on two-dimension code
CN111581535A (en) * 2020-03-21 2020-08-25 长沙迪迈数码科技股份有限公司 Mine sampling registration method and device based on unique identification code and storage medium
CN111582415A (en) * 2020-05-08 2020-08-25 北京思特奇信息技术股份有限公司 Device management method, device, electronic device and storage medium
CN113071225A (en) * 2021-03-23 2021-07-06 日本电产(韶关)有限公司 Method and device for generating serial number

Also Published As

Publication number Publication date
WO2015024485A1 (en) 2015-02-26
CN104424496B (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN104424496A (en) Two-dimension code generation, identification and information providing method, device and system
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN103973769A (en) Virtual item transmitting method, receiving method, device and system
CN105337843A (en) Interaction system and method, client, and background server
CN104618217A (en) Method, terminal, server and system for sharing resource
CN104426963A (en) Terminal associating method and terminal
CN105025043A (en) Information sharing method, information sharing device and information sharing system
CN104519485A (en) Communication method between terminals, devices and system
CN104142868A (en) Connection establishment method and device
CN104967865A (en) Video previewing method and apparatus
CN103345602A (en) Client-side code integrality detection method, device and system
CN104852885A (en) Method, device and system for verifying verification code
CN106371689A (en) Picture splicing method, apparatus and system
CN104378755A (en) Terminal interaction method and device
CN104683456A (en) Service processing method, server and terminal
CN104298558A (en) Information processing method and device
CN103607377B (en) Information sharing method, Apparatus and system
CN104954233A (en) Information push method, device and system
CN104679381A (en) Method and device for switching chat box
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN105007543A (en) Intercommunication method, apparatus, device and system
CN104580177A (en) Resource supplying method, device and system
CN104967608A (en) Method of playing multimedia file, mobile terminal and fixing terminal
CN103179026A (en) Communication method and system in user interactive system, server and client
CN104539571A (en) Information interaction method, identity authentication method, server and terminal

Legal Events

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