CN104424496B - Two-dimensional code generation method, recognition methods, information providing method, device and system - Google Patents

Two-dimensional code generation method, recognition methods, information providing method, device and system Download PDF

Info

Publication number
CN104424496B
CN104424496B CN201310362461.9A CN201310362461A CN104424496B CN 104424496 B CN104424496 B CN 104424496B CN 201310362461 A CN201310362461 A CN 201310362461A CN 104424496 B CN104424496 B CN 104424496B
Authority
CN
China
Prior art keywords
quick response
response code
unique mark
string
information
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.)
Active
Application number
CN201310362461.9A
Other languages
Chinese (zh)
Other versions
CN104424496A (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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of two-dimensional code generation method, recognition methods, information providing method, device and system, belong to internet arena.The two-dimensional code generation method includes:Obtain raw information;Generation unique mark string corresponding with the raw information;The raw information and the unique mark string are bound;Sent to book server and carry the storage of the raw information, the unique mark string and binding relationship between the two and ask;Quick Response Code is generated using the unique mark string as the content information of Quick Response Code.The present invention is encoded to obtain Quick Response Code by mutually binding raw information and the unique mark being made of several a characters string to the unique mark string;Solve the problems, such as that existing two-dimension code pattern is complicated, recognition speed is slow low with recognition success rate;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.

Description

Two-dimensional code generation method, recognition methods, information providing method, device and system
Technical field
The present invention relates to internet arena, more particularly to a kind of two-dimensional code generation method, recognition methods, information providing Method, device and system.
Background technology
With the popularization of smart machine, the use of Quick Response Code is more and more extensive.Quick Response Code is with certain specific geometric graph The chequered with black and white figure that record word numerical information that shape is distributed in the plane according to certain rules.On coding, two Dimension code dexterously using form " 0 " of computer-internal logical foundations, " 1 " bit stream concept, use several and binary system Corresponding geometric figure represents word numerical information.Pass through image input device or photoelectric scanning device, it is possible to achieve The automatic of Quick Response Code reads and identifies, function is automatically processed so as to fulfill information.
Existing two-dimensional code generation method is that then encoded generation is two-dimentional directly using raw information as source data Code.On the contrary, existing two-dimensional code identification method is to read the Quick Response Code by image input device or photoelectric scanning device, Then raw information is obtained by decoding.In the implementation of the present invention, at least there are following for inventor's discovery prior art Problem:
Since existing Quick Response Code is directly using raw information as source data, then encoded generation in generating process Quick Response Code.But if after being encoded to the data source for carrying a large amount of raw informations, obtained Quick Response Code will become suitable It is complicated.This can cause the identification process of Quick Response Code slack-off, or even the problem of None- identified.Meanwhile if Quick Response Code is too complicated, when When one part is damaged, with regard to being easy to occur identifying unsuccessful problem, cause recognition success rate very low.
The content of the invention
In order to solve the problems, such as that existing two-dimension code pattern is complicated, recognition speed is slow and low success rate of, the embodiment of the present invention carries A kind of two-dimensional code generation method, recognition methods, device and system are supplied.The technical solution is as follows:
First aspect, there is provided a kind of two-dimensional code generation method, the described method includes:
Obtain raw information;
Generation unique mark string corresponding with the raw information;
The raw information and the unique mark string are bound;
Sent to book server and carry the raw information, the unique mark string and binding between the two and close The storage request of system, so that the book server stores the raw information, the unique mark according to the storage request String and binding relationship between the two;
Quick Response Code is generated using the unique mark string as the content information of Quick Response Code.
Second aspect, there is provided a kind of two-dimensional code identification method, the method, including:
Identify unique mark string entrained in the content information of Quick Response Code;
Sent to book server and carry the inquiry request of the unique mark string, so as to the book server according to The inquiry request inquires about the raw information with unique mark string binding in the binding relationship prestored, and feeds back institute State raw information;
Receive the raw information of the book server feedback.
The third aspect, there is provided a kind of 2 D code information offer method, the method, including:
Prestore raw information, unique mark string and binding relationship between the two;
Receive the inquiry request that Quick Response Code identification equipment is sent, the inquiry request carries unique mark string, it is described only One identification string is obtained in the content information of the Quick Response Code identification equipment identification Quick Response Code;
The raw information bound with the unique mark string is inquired about in the binding relationship according to the inquiry request;
The raw information is fed back to the Quick Response Code identification equipment.
Fourth aspect, there is provided a kind of Quick Response Code generating means, described device, including:
Data obtaining module, for obtaining raw information;
Identifier generation module, for generating unique mark corresponding with the raw information of described information acquisition module acquisition Know string;
Binding module is identified, the raw information and the mark for described information acquisition module to be obtained generate mould The unique mark string of block generation is bound;
Store sending module, for book server send carry the raw information, the unique mark string with And the storage request of binding relationship between the two, so that the book server is described original according to the storage request storage Information, the unique mark string and binding relationship between the two;
Two-dimensional code generation module, for the unique mark string that generates the identifier generation module as Quick Response Code Content information generates Quick Response Code.
5th aspect, there is provided a kind of two-dimension code recognition device, described device, including:
Identification module is identified, entrained unique mark string in the content information for identifying Quick Response Code;
Request sending module, for book server send carry it is described mark identification module identify described in only The inquiry request of one identification string, so that the book server is looked into according to the inquiry request in the binding relationship prestored The raw information with unique mark string binding is ask, and feeds back the raw information;
Information receiving module, for receiving the raw information of the book server feedback.
6th aspect, there is provided a kind of 2 D code information offer device, described device, including:
Information storage module, for prestoring raw information, unique mark string and binding relationship between the two;
Request receiving module, for receiving the inquiry request of Quick Response Code identification equipment transmission, the inquiry request carries Unique mark string, the unique mark string are obtained in the content information of the Quick Response Code identification equipment identification Quick Response Code;
Information inquiry module, for being closed according to the inquiry request that the request receiving module receives in the binding The raw information of inquiry and unique mark string binding in system;
Information feedback module, described in being inquired to Quick Response Code identification equipment feedback described information enquiry module Raw information.
7th aspect, there is provided a kind of Quick Response Code generates system, the system comprises:Quick Response Code generates equipment and predetermined clothes Business device, the Quick Response Code generation equipment are connected with the book server by cable network or wireless network;
The Quick Response Code generation equipment includes the device as described in fourth aspect;
The book server includes the device as described in terms of the 6th.
Eighth aspect, there is provided a kind of Quick Response Code identifying system, the system comprises:Quick Response Code identification equipment and predetermined clothes Business device, the Quick Response Code identification equipment are connected with the book server by cable network or wireless network;
The Quick Response Code identification equipment includes the device as described in terms of the 5th;
The book server includes the device as described in terms of the 6th.
The beneficial effect that technical solution provided in an embodiment of the present invention is brought is:
By the way that raw information and the unique mark being made of several a characters string are mutually bound, and to the unique mark String is encoded to obtain Quick Response Code, and the binding relationship between raw information and unique mark string is stored by book server, with Just raw information is obtained by the server using the unique mark string identified in identification process;Solves existing two dimension The problem of code figure is complicated, recognition speed is slow low with recognition success rate;Simplified two-dimension code pattern complexity, recognition speed are reached Fast and high recognition success rate effect.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of structure diagram of implementation environment involved by each embodiment of the present invention;
Fig. 2 is the method flow diagram of two-dimensional code generation method provided by one embodiment of the present invention;
Fig. 3 A are the method flow diagrams for the two-dimensional code generation method that another embodiment of the present invention provides;
Fig. 3 B are the present invention and the comparison diagram of the Quick Response Code of prior art generation;
Fig. 4 is the method flow diagram for the two-dimensional code generation method that yet another embodiment of the invention provides;
Fig. 5 is the method flow diagram of two-dimensional code identification method provided by one embodiment of the present invention;
Fig. 6 is the method flow diagram for the two-dimensional code identification method that another embodiment of the present invention provides;
Fig. 7 is the method flow diagram that 2 D code information provided by one embodiment of the present invention provides method;
Fig. 8 A are the block diagrams of Quick Response Code generating means provided by one embodiment of the present invention;
Fig. 8 B are the block diagrams for the Quick Response Code generating means that another embodiment of the present invention provides;
Fig. 9 A are the block diagrams of two-dimension code recognition device provided by one embodiment of the present invention;
Fig. 9 B are the block diagrams for the two-dimension code recognition device that another embodiment of the present invention provides;
Figure 10 is the block diagram that 2 D code information provided by one embodiment of the present invention provides device;
Figure 11 is the block diagram of Quick Response Code generation system provided by one embodiment of the present invention;
Figure 12 is the block diagram of Quick Response Code identifying system provided by one embodiment of the present invention;
Figure 13 is the structure diagram of Quick Response Code generation equipment provided by one embodiment of the present invention;
Figure 14 is the structure diagram of the terminal with image input device involved by the embodiment of the present invention;
Figure 15 is the structure diagram of book server provided by one embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Please refer to Fig.1, two-dimensional code generation method, two-dimensional code identification method it illustrates each embodiment offer of the present invention With a kind of structure diagram of implementation environment involved by 2 D code information offer method.The implementation environment is generated including Quick Response Code Equipment 12, Quick Response Code identification equipment 14 and book server 16.
Quick Response Code generation equipment 12 can be smart mobile phone, tablet computer, E-book reader, MP3 player(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3)、MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4)Broadcast Put device, pocket computer on knee and desktop computer etc.;Can also be a server, or by some server groups Into server cluster, an or cloud computing service center.
Quick Response Code generates can be connected between equipment 12 and book server 16 by wireless network or cable network.
Quick Response Code identification equipment 14 can be smart mobile phone, tablet computer, E-book reader, MP3 player(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3)、MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4)Broadcast Put device, pocket computer on knee and desktop computer etc..
It can be connected between Quick Response Code identification equipment 14 and book server 16 by wireless network or cable network.
Book server 16 can be a server, the server cluster being either made of some servers or It is a cloud computing service center.Book server 16 is stored with raw information, unique mark string and binding between the two Relation.
Raw information can be the information such as network address, business card and mail, be the source data for generating Quick Response Code;Unique mark string by Several characters form, and character includes at least one of letter, numbers and symbols.
Please refer to Fig.2, it illustrates the method flow diagram of two-dimensional code generation method provided by one embodiment of the present invention.This Embodiment is applied in Quick Response Code generation equipment as shown in Figure 1 with the two-dimensional code generation method to illustrate.The Quick Response Code Generation method, including:
Step 202, raw information is obtained;
Step 204, unique mark string corresponding with raw information is generated;
Step 206, raw information and unique mark string are bound;
Step 208, sent to book server and carry raw information, unique mark string and binding between the two and close The storage request of system, so that book server asks storage raw information, unique mark string and between the two according to storage Binding relationship;
Step 210, Quick Response Code is generated using unique mark string as the content information of Quick Response Code.
In conclusion two-dimensional code generation method provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
A is please referred to Fig.3, the method flow diagram of the two-dimensional code generation method provided it illustrates another embodiment of the present invention. The present embodiment is still illustrated with the two-dimensional code generation method applied to the implementation environment shown in Fig. 1.The Quick Response Code generates Method, including:
Step 301, Quick Response Code generation equipment obtains raw information;
Raw information can be the information such as network address, business card and mail.It is more and more extensive with the application field of Quick Response Code, its The raw information that can be represented is also increasingly abundanter.
Step 302, Quick Response Code generation equipment generates unique mark string corresponding with raw information;
Unique mark string is made of several characters, and character includes at least one of letter, numbers and symbols.Such as The unique mark string is 6 " abc123 ";Or the unique mark string is 10 " abc12*de%3 " etc..
The length of unique mark string and the character species included determine the bearer cap of Quick Response Code generation equipment, hold Carry the quantity that capacity refers to the Quick Response Code that Quick Response Code generation equipment can generate.If the two dimension of Quick Response Code generation equipment generation Code forms for 3 bit digitals, then the bearer cap of Quick Response Code generation equipment is equal to 1000, i.e. Quick Response Code generation system for 10^3 Most multipotency generates 1,000 kinds of different Quick Response Codes;If the Quick Response Code of Quick Response Code generation equipment generation is by 4 letter and number lists Solely or mixing composition, then the Quick Response Code generation equipment bearer cap for [(26*2)+ 10] ^4 is equal to 1,476 6336, i.e., should Quick Response Code generation system most multipotency generates more than 1,400 ten thousand kinds of different Quick Response Codes.
That is, the character quantity of composition unique mark string is more, species is more, Quick Response Code generation equipment can generate Quick Response Code species it is also more.In practical applications, in order to reduce the complexity of two-dimension code pattern, and Quick Response Code life is not influenced again Into the bearer cap of system, it is more suitable that general six characters of selection form a unique mark strings.In the present embodiment, with this only Exemplified by one identification string is " abc123 ".
In the first implementation, this step can include following two sub-steps:
First, randomly selected from the default character set being made of at least one of letter, numbers and symbols The character of fixed number;
Second, the character random alignment of fixed number is obtained into unique mark string.
Alternatively,
In second of implementation, this step can include following two sub-steps:
First, n different and length fixation random strings are previously generated, which includes some A character, several characters include at least one of letter, numbers and symbols;
Second, one is randomly selected from n random string and is used as unique mark string.
In the third implementation, this step can include following two sub-steps:
First, raw information is mapped as to the character string of regular length;
The character string of the regular length is that the character string for the regular length that unique, different raw information is mapped to all is Different.For the different raw information of any two, the character string of the regular length corresponding to it is also different.Mapping Method can pass through such as MD5(Message-Digest Algorithm5)The hash algorithms such as algorithm are realized.
Second, using the character string of regular length as unique mark string;
Step 303, Quick Response Code generation equipment is bound raw information and unique mark string;
No matter the information content entrained by the raw information is much, that is to say, that and though it includes number of characters how many, two The raw information and a unique mark string can be bound by tieing up code generation equipment, i.e., the unique mark string represents the original letter Breath.In the present embodiment, any raw information can be bound with the unique mark string of one 6, which can represent For [abc123, raw information].
Step 304, Quick Response Code generates equipment and carries raw information, unique mark string and two to book server transmission The storage request of binding relationship between person;
Accordingly, book server receives the storage request that Quick Response Code generation equipment is sent.
Step 305, book server asks storage raw information, unique mark string and tying up between the two according to storage Determine relation.
Book server is stored with raw information, unique mark string and binding relationship between the two, so as in user After reading certain Quick Response Code, raw information is provided a user.
Step 306, Quick Response Code generates equipment using unique mark string as the content information of Quick Response Code to generate Quick Response Code.
In general, the generating process of Quick Response Code is:Each character in several characters that unique mark string includes is determined first Type;Then several characters are grouped according to the Quick Response Code coding mode of regulation and are converted into a binary system sequence Row, on coding, Quick Response Code application is computer-internal logical foundations " 0 ", the concept of " 1 " bit stream, by uniquely Several characters in identification string are grouped, and convert them to 8 binary sequence units one by one one by one, recently will 8 binary sequence units combine to obtain a binary sequence one by one for this;Secondly, generated according to binary sequence and generation Other data messages construction final data information of Quick Response Code, other data messages include:Error-correction level, designator, detection figure Shape, separator, positions figure and correction graph etc.;Finally final data information is filled into the matrix area of Quick Response Code and is obtained To Quick Response Code.
It should be noted that step 306 is usually carried out at the same time with step 304, namely Quick Response Code generates equipment to predetermined clothes Business device generates Quick Response Code while sending storage request, but in the present embodiment, only with step 306 and step 304 in two steps, And step 304 is come before step 306 for example, being not especially limited to this.
It should also be noted that, two-dimensional code generation method provided in this embodiment also has certain information privacy effect.It is existing Have common Quick Response Code identification equipment read the two-dimensional code generation method generation Quick Response Code after, read be only one only One identification string, it can not inquire about to obtain raw information by the unique mark string.Answered for some specific Quick Response Codes With occasion, two-dimensional code generation method provided in this embodiment has the effect to maintain secrecy to raw information.
For example the Quick Response Code on the express delivery list of certain express company is by Quick Response Code generation side provided in an embodiment of the present invention Method generation, only the said firm sends the part person could to read the two dimension by Quick Response Code identification equipment provided in an embodiment of the present invention Code information and inquire about obtain raw information.The raw information can be the personal information such as phone and the address of addressee.Common Quick Response Code identification equipment is can not to obtain the personal information such as phone and the address of addressee, thus this phone to addressee and The personal information such as address play good secrecy effect.
Please refer to Fig.3 B, it illustrates the Quick Response Code directly encoded to raw information and pair with raw information phase The difference for the Quick Response Code that corresponding unique mark string is encoded.The raw information includes 100 characters;And uniquely mark String is known only comprising six characters of abc123 in the present embodiment.
In conclusion two-dimensional code generation method provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.Meanwhile the present embodiment The two-dimensional code generation method of offer also has the secrecy effect to raw information.
Please refer to Fig.4, the method flow diagram of the two-dimensional code generation method provided it illustrates yet another embodiment of the invention.This Embodiment is still illustrated with the two-dimensional code generation method applied to the implementation environment shown in Fig. 1.The Quick Response Code generation side Method, including:
Step 401, raw information is obtained;
Raw information can be the information such as network address, business card and mail.It is more and more extensive with the application field of Quick Response Code, its The raw information that can be represented is also increasingly abundanter.
Step 402, unique mark string corresponding with raw information is generated;
Unique mark string is made of several characters, and character includes at least one of letter, numbers and symbols.Such as The unique mark string is 6 " abc123 ";Or the unique mark string is 10 " abc12*de%3 " etc..
The length of unique mark string and the character species included determine the bearer cap of Quick Response Code generation equipment, hold Carry the quantity that capacity refers to the Quick Response Code that Quick Response Code generation equipment can generate.If the two dimension of Quick Response Code generation equipment generation Code forms for 3 bit digitals, then the bearer cap of Quick Response Code generation equipment is equal to 1000, i.e. Quick Response Code generation system for 10^3 Most multipotency generates 1,000 kinds of different Quick Response Codes;If the Quick Response Code of Quick Response Code generation equipment generation is by 4 letter and number lists Solely or mixing composition, then the Quick Response Code generation equipment bearer cap for [(26*2)+ 10] ^4 is equal to 1,476 6336, i.e., should Quick Response Code generation system most multipotency generates more than 1,400 ten thousand kinds of different Quick Response Codes.
That is, the character quantity of composition unique mark string is more, species is more, Quick Response Code generation equipment can generate Quick Response Code species it is also more.In practical applications, in order to reduce the complexity of two-dimension code pattern, and Quick Response Code life is not influenced again Into the bearer cap of system, it is more suitable that general six characters of selection form a unique mark strings.In the present embodiment, with this only Exemplified by one identification string is " abc123 ".
Step 403, raw information and unique mark string are bound;
No matter the information content entrained by the raw information is much, that is to say, that and though it includes number of characters how many, two The raw information and a unique mark string can be bound by tieing up code generation equipment, i.e., the unique mark string represents the original letter Breath.In the present embodiment, any raw information can be bound with the unique mark string of one 6, which can represent For [abc123, raw information].
Step 404, sent to book server and carry raw information, unique mark string and binding between the two and close The storage request of system;
Step 405, the identification characteristics of unique mark string are generated;
Identification characteristics be used to identifying carried in the content information of Quick Response Code be not raw information but unique sign string.Should Flag sign can be a brief character string before being added in unique mark string or be added in after unique mark string A brief character string, can also be other ways of realization.Such as identification characteristics S, X or Z etc..
Step 406, the address that the address is inquired about according to the address of book server and predetermined correspondence identifies;
Address mark is used for the address for distinguishing different book servers.For example if the address of book server is http://abc001.cn, then address mark be expressed as 001;If the address of book server is http://abc002.cn, then Address mark is expressed as 002;If the address of book server is http://abc003.cn, then address mark be expressed as 003, with This analogizes.
Correspondence is the one-to-one relationship between the address of different book servers and different address marks.Two Dimension code generation equipment is previously stored with the correspondence between the address of book server and address mark, which can be with It is expressed as:
The address of book server Address identifies
http://abc001.cn 001
http://abc002.cn 002
http://abc003.cn 003
... ... ......
Table -1
Step 407, a part of content information using unique mark string as Quick Response Code, using identification characteristics as Quick Response Code Another part information, address is identified as another part content information of Quick Response Code to generate Quick Response Code;
For example the content information of the Quick Response Code can be expressed as:S001abc123.
The generating process of Quick Response Code has been discussed in detail in the embodiment as shown in fig. 3 a, and which is not described herein again.
It should be noted that the content information of Quick Response Code can only include unique mark string, such as:Abc123 or Def456 etc.;Unique mark string and identification characteristics, such as Sabc123 or Sdef456 etc. can also be included;It can also wrap String containing unique mark and address mark, such as:001abc123,002abc123 or 003def456 etc.;It can also include only One identification string, signature identification and address mark, such as S001abc123 or S003def456 etc..Only with this in the present embodiment The content information of Quick Response Code comes for example, being not especially limited to this comprising unique mark string, signature identification and address mark. Because unique mark string has uniqueness, the uniqueness of the content information of Quick Response Code ensure that.
It should also be noted that, step 405 to step 406 carries out after being placed on step 403 to step 404;Also may be used To be carried out at the same time with step 403 to step 404;Carried out before step 403 to step 404 can also be placed on.In the present embodiment only It is placed on after step 403 to step 404 to be come for example, being not especially limited this with step 405 to step 406.
In conclusion two-dimensional code generation method provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.The present embodiment also passes through Carried in content information for identifying Quick Response Code be not raw information but the identification characteristics of unique sign string;Specifically, The identification characteristics can be that address label is known, and address mark is used for the address for distinguishing different book servers;So that Quick Response Code is known Other equipment can interpolate that carried in the content information of its Quick Response Code read is raw information or unique mark string;Into one The application range of two-dimensional code generation method and equipment is expanded to step, enhances the versatility of two-dimensional code generation method and equipment Effect.
Fig. 5 is refer to, it illustrates the method flow diagram of two-dimensional code identification method provided by one embodiment of the present invention.This Embodiment is applied in implementation environment as shown in Figure 1 with the two-dimensional code identification method to illustrate.The Quick Response Code identification side Method includes:
Step 501, unique mark string entrained in the content information of Quick Response Code identification equipment identification Quick Response Code;
Quick Response Code identification equipment reads the content information of the Quick Response Code by image input element or optoelectronic scanning element Afterwards, the unique mark string entrained by the Quick Response Code can be identified by Quick Response Code decoding program.The unique mark string can be The unique mark string that Fig. 2, Fig. 3 A or embodiment illustrated in fig. 4 are generated.
Step 502, Quick Response Code identification equipment sends the inquiry request for carrying unique mark string to book server;
Inquiry request carries unique mark string, which is the content of Quick Response Code identification equipment identification Quick Response Code Obtained in information.
Accordingly, book server receives the inquiry request that Quick Response Code identification equipment is sent.
Step 503, book server is inquired about in binding relationship original with the binding of unique mark string according to inquiry request Information;
Book server is stored with raw information, unique mark string and binding relationship between the two, according to unique mark Knowing string can inquire about to obtain raw information.
Step 504, book server feeds back raw information to Quick Response Code identification equipment;
Accordingly, Quick Response Code identification equipment receives the raw information of book server feedback.
In conclusion two-dimensional code identification method provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
Fig. 6 is refer to, the method flow diagram of the two-dimensional code identification method provided it illustrates another embodiment of the present invention.This Embodiment is still applied in implementation environment as shown in Figure 1 with the two-dimensional code identification method to illustrate.The Quick Response Code is known Other method includes:
Step 601, the content information of Quick Response Code is read;
Quick Response Code identification equipment by image input element or optoelectronic scanning element, believe by the content for reading the Quick Response Code Breath.Content information entrained by the Quick Response Code can be identified by Quick Response Code decoding program.
Step 602, whether the content information for judging Quick Response Code is unique mark string;
Specifically, whether the content information for judging Quick Response Code is that unique mark string can be believed by judging the content of Quick Response Code Whether identification characteristics are possessed in breath to realize.What the identification characteristics carried in the content information for identifying Quick Response Code is not original Information but unique sign string.The flag sign can be a brief character string before being added in unique mark string, also may be used To be a brief character string being added in after unique mark string, other ways of realization are can also be.Such as identification characteristics For S, X or Z etc..
Step 603, if it is unique mark string that judging result, which is content information, whether included in perform detection content information The step of address identifies;
Step 604, if judging result is is not unique mark string in content information, directly using content information as original Information.
Step 605, whether identified in detection content information comprising address;
Address mark is used for the address for distinguishing different book servers.For example if the address of book server is http://abc001.cn, then address mark be expressed as 001;If the address of book server is http://abc002.cn, then Address mark is expressed as 002;If the address of book server is http://abc003.cn, then address mark be expressed as 003, with This analogizes.
Step 606, if testing result is to be identified in content information comprising address, according to address mark and predetermined correspondence The address of relational query book server;
Correspondence is the one-to-one relationship between the address of different book servers and different address marks.Two Dimension code generation equipment is previously stored with the correspondence between the address of book server and address mark, which can be with It is expressed as:
The address of book server Address identifies
http://abc001.cn 001
http://abc002.cn 002
http://abc003.cn 003
....... ......
Table -1
Step 607, sent according to the address of the book server inquired to book server and carry unique mark string Inquiry request;
Inquiry request carries unique mark string, which is the content of Quick Response Code identification equipment identification Quick Response Code Obtained in information.
Step 608, the raw information of book server feedback is received;
Book server is stored with raw information, unique mark string and binding relationship between the two, according to unique mark Knowing string can inquire about to obtain raw information and feed back to Quick Response Code identification equipment.
It should be noted that if judging result is that content information is unique mark string in step 603, also can directly perform The step of carrying the inquiry request of unique mark string is sent to book server.In the present embodiment, only with the Quick Response Code Hold information to contain address and identify to come for example, being not especially limited this
It should also be noted that, the content information of Quick Response Code can only include unique mark string, such as:Abc123 or Def456 etc.;Unique mark string and identification characteristics, such as Sabc123 or Sdef456 etc. can also be included;It can also wrap String containing unique mark and address mark, such as:001abc123,002abc123 or 003def456 etc.;It can also include only One identification string, signature identification and address mark, such as S001abc123 or S003def456 etc..Only with this in the present embodiment The content information of Quick Response Code comes for example, being not especially limited to this comprising unique mark string, signature identification and address mark. Because unique mark string has uniqueness, the uniqueness of the content information of Quick Response Code ensure that.
It should also be noted that, two-dimensional code identification method provided in this embodiment also has certain information privacy effect.It is existing After thering is common Quick Response Code identification equipment to read the Quick Response Code that the two-dimensional code generation method in the application present invention generates, read An only unique mark string, it can not inquire about to obtain raw information by the unique mark string.Special for some Fixed Quick Response Code application scenario, two-dimensional code identification method provided in this embodiment have the effect to maintain secrecy to raw information.
For example the Quick Response Code on the express delivery list of certain express company is by Quick Response Code generation side provided in an embodiment of the present invention Method generation, only the said firm sends the part person could to read the two dimension by Quick Response Code identification equipment provided in an embodiment of the present invention Code information and inquire about obtain raw information.The raw information can be the personal information such as phone and the address of addressee.Common Quick Response Code identification equipment is can not to obtain the personal information such as phone and the address of addressee, thus this phone to addressee and The personal information such as address play good secrecy effect.
In conclusion two-dimensional code identification method provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.The present embodiment also passes through Carried in content information for identifying Quick Response Code be not raw information but the identification characteristics of unique sign string;Specifically, The identification characteristics can be that address label is known, and address mark is used for the address for distinguishing different book servers;So that Quick Response Code is known Other equipment can interpolate that carried in the content information of its Quick Response Code read is raw information or unique mark string;Into one The recognition capability of two-dimensional code identification method and equipment is improved to step, expands the application model of two-dimensional code identification method and equipment Enclose, enhance the effect of the versatility of two-dimensional code identification method and equipment.Meanwhile two-dimensional code identification method provided in this embodiment Also there is the secrecy effect to raw information.
Fig. 7 is refer to, it illustrates the method flow that 2 D code information provided by one embodiment of the present invention provides method Figure.The present embodiment is applied in implementation environment as shown in Figure 1 in 2 D code information offer method to illustrate.The two dimension Code information providing method includes:
Step 701, Quick Response Code generation equipment obtains raw information;
Raw information can be the information such as network address, business card and mail.It is more and more extensive with the application field of Quick Response Code, its The raw information that can be represented is also increasingly abundanter.
Step 702, Quick Response Code generation equipment generates unique mark string corresponding with raw information;
Unique mark string is made of several characters, and character includes at least one of letter, numbers and symbols.Such as The unique mark string is 6 " abc123 ";Or the unique mark string is 10 " abc12*de%3 " etc..
The length of unique mark string and the character species included determine the bearer cap of Quick Response Code generation equipment, hold Carry the quantity that capacity refers to the Quick Response Code that Quick Response Code generation equipment can generate.If the two dimension of Quick Response Code generation equipment generation Code forms for 3 bit digitals, then the bearer cap of Quick Response Code generation equipment is equal to 1000, i.e. Quick Response Code generation system for 10^3 Most multipotency generates 1,000 kinds of different Quick Response Codes;If the Quick Response Code of Quick Response Code generation equipment generation is by 4 letter and number lists Solely or mixing composition, then the Quick Response Code generation equipment bearer cap for [(26*2)+ 10] ^4 is equal to 1,476 6336, i.e., should Quick Response Code generation system most multipotency generates more than 1,400 ten thousand kinds of different Quick Response Codes.
That is, the character quantity of composition unique mark string is more, species is more, Quick Response Code generation equipment can generate Quick Response Code species it is also more.In practical applications, in order to reduce the complexity of two-dimension code pattern, and Quick Response Code life is not influenced again Into the bearer cap of system, it is more suitable that general six characters of selection form a unique mark strings.In the present embodiment, with this only Exemplified by one identification string is " abc123 ".
Step 703, Quick Response Code generation equipment is bound raw information and unique mark string;
No matter the information content entrained by the raw information is much, that is to say, that and though it includes number of characters how many, two The raw information and a unique mark string can be bound by tieing up code generation equipment, i.e., the unique mark string represents the original letter Breath.In the present embodiment, any raw information can be bound with the unique mark string of one 6, which can represent For [abc123, raw information].Step 504, Quick Response Code, which generates equipment and sent to book server, carries raw information, unique The storage request of identification string and binding relationship between the two;
Accordingly, book server receives the storage request that Quick Response Code generation equipment is sent;
Step 705, book server asks storage raw information, unique mark string and tying up between the two according to storage Determine relation;
Book server is stored with raw information, unique mark string and binding relationship between the two, so as in user After reading certain Quick Response Code, raw information is provided a user.
Step 706, Quick Response Code generates equipment using unique mark string as the content information of Quick Response Code to generate Quick Response Code;
In general, the generating process of Quick Response Code is:Each character in several characters that unique mark string includes is determined first Type;Then several characters are grouped according to the Quick Response Code coding mode of regulation and are converted into a binary system sequence Row, on coding, Quick Response Code application is computer-internal logical foundations " 0 ", the concept of " 1 " bit stream, by uniquely Several characters in identification string are grouped, and convert them to 8 binary sequence units one by one one by one, recently will 8 binary sequence units combine to obtain a binary sequence one by one for this;Secondly, according to binary sequence and generation two dimension Other data messages construction final data information of code, other data messages include:Error-correction level, designator, detects figure, point Every symbol, figure and correction graph etc. are positioned;Finally final data information is filled into the matrix area of Quick Response Code and obtains two Tie up code.
Step 707, unique mark string entrained in the content information of Quick Response Code identification equipment identification Quick Response Code;
Quick Response Code identification equipment reads the content information of the Quick Response Code by image input element or optoelectronic scanning element Afterwards, the unique mark string entrained by the Quick Response Code can be identified by Quick Response Code decoding program.
Step 708, Quick Response Code identification equipment sends the inquiry request for carrying unique mark string to book server;
Accordingly, book server receives the inquiry request that Quick Response Code identification equipment is sent;
Step 709, book server is inquired about in binding relationship original with the binding of unique mark string according to inquiry request Information;
Book server is stored with raw information, unique mark string and binding relationship between the two, according to unique mark Knowing string can inquire about to obtain raw information.
Step 710, book server feeds back raw information to Quick Response Code identification equipment;
Accordingly, Quick Response Code identification equipment receives the raw information of book server feedback.
In conclusion 2 D code information provided in this embodiment provides method, by by raw information with one by some The unique mark string of a character composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, passes through reservation service Device stores the binding relationship between raw information and unique mark string, to utilize the unique mark identified in identification process String to obtain raw information by the server;Solve that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate The problem of low;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
It is below the device of the invention embodiment, the details of not detailed description, may be referred to above-mentioned in device embodiment Corresponding embodiment of the method.
Fig. 8 A are refer to, it illustrates the block diagram of Quick Response Code generating means provided by one embodiment of the present invention. The Quick Response Code generating means can be implemented in combination with the whole as electronic equipment or one by software, hardware or both Divide, all or part of server can also be implemented as.The Quick Response Code generating means, including:Data obtaining module 810th, 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 generating unique mark corresponding with the raw information of the acquisition of data obtaining module 810 String;
Binding module 830 is identified, for raw information and the identifier generation module 820 for obtaining data obtaining module 810 The unique mark string of generation is bound;
Store sending module 840, for book server send carry raw information, unique mark string and both Between binding relationship storage request, so as to book server according to storage ask storage raw information, unique mark string with And binding relationship between the two;
Two-dimensional code generation module 850, for the unique mark string that generates identifier generation module 820 as in Quick Response Code Hold information to generate Quick Response Code.
In conclusion Quick Response Code generating means provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
Fig. 8 B are refer to, the block diagram of the Quick Response Code generating means provided it illustrates another embodiment of the present invention. The Quick Response Code generating means can be implemented in combination with the whole as electronic equipment or one by software, hardware or both Divide, all or part of server can also be implemented as.The Quick Response Code generating means, including:Data obtaining module 810th, identifier generation module 820, mark binding module 830, storage sending module 840, two-dimensional code generation module 850, feature life Into module 842 and mark enquiry module 844.
Data obtaining module 810, for obtaining raw information;
Identifier generation module 820, for generating unique mark corresponding with the raw information of the acquisition of data obtaining module 810 String;
Binding module 830 is identified, for raw information and the identifier generation module 820 for obtaining data obtaining module 810 The unique mark string of generation is bound;
Store sending module 840, for book server send carry raw information, unique mark string and both Between binding relationship storage request, so as to book server according to storage ask storage raw information, unique mark string with And binding relationship between the two;
Feature generation module 842, for generating the identification characteristics of unique mark string, identification characteristics are used to identify Quick Response Code Carried in content information be not raw information but unique sign string;
Enquiry module 844 is identified, for the address according to book server and the ground of predetermined correspondence inquiry address Location identifies, which is the one-to-one relationship between the address of different book servers and different address marks;
Two-dimensional code generation module 850, for the unique mark string that generates identifier generation module 820 as the one of Quick Response Code Partial content information, another part content information using the identification characteristics that feature generation module 842 generates as Quick Response Code, will mark Know the address that enquiry module 844 inquires to identify 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 include unique mark string, such as:Abc123 or Def456 etc.;Unique mark string and identification characteristics, such as Sabc123 or Sdef456 etc. can also be included;It can also wrap String containing unique mark and address mark, such as:001abc123,002abc123 or 003def456 etc.;It can also include only One identification string, signature identification and address mark, such as S001abc123 or S003def456 etc..Only with this in the present embodiment The content information of Quick Response Code comes for example, being not especially limited to this comprising unique mark string, signature identification and address mark.
In conclusion Quick Response Code generating means provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.The present embodiment also passes through Carried in content information for identifying Quick Response Code be not raw information but the identification characteristics of unique sign string;Specifically, The identification characteristics can be that address label is known, and address mark is used for the address for distinguishing different book servers;So that Quick Response Code is known Other equipment can interpolate that carried in the content information of its Quick Response Code read is raw information or unique mark string;Into one The application range of two-dimensional code generation method and equipment is expanded to step, enhances the versatility of two-dimensional code generation method and equipment Effect.Meanwhile Quick Response Code generating means provided in this embodiment also have the secrecy effect to raw information.
Fig. 9 A are refer to, it illustrates the block diagram of two-dimension code recognition device provided by one embodiment of the present invention. The two-dimension code recognition device can be implemented in combination with the whole as electronic equipment or one by software, hardware or both Divide, all or part of server can also be implemented as.The two-dimension code recognition device, including:Identify identification module 910th, request sending module 920 and information receiving module 930.
Identification module 910 is identified, entrained unique mark string in the content information for identifying Quick Response Code;
Request sending module 920, for book server send carry mark identification module 910 identify it is unique The inquiry request of identification string, inquires about in the binding relationship prestored according to inquiry request so as to book server and is marked with unique Know the raw information of string binding, and feed back the raw information;
Information receiving module 930, for receiving the raw information of book server feedback.
In conclusion two-dimension code recognition device provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
Fig. 9 B are refer to, the block diagram of the two-dimension code recognition device provided it illustrates another embodiment of the present invention. The two-dimension code recognition device can be implemented in combination with the whole as electronic equipment or one by software, hardware or both Divide, all or part of server can also be implemented as.The two-dimension code recognition device, including:Identify identification module 910th, request sending module 920, information receiving module 930, label detection module 940 and address lookup module 950.
Identification module 910 is identified, entrained unique mark string in the content information for identifying Quick Response Code;
Specifically, the mark identification module 910, including:Information reading unit 911, information judging unit 912, One information unit 913 and the second information unit 914;
Information reading unit 911, for reading the content information of Quick Response Code;
Information judging unit 912, the content information of the Quick Response Code read for judging Information reading unit 911 whether be Unique mark string;
Specifically, in the present embodiment, whether information judging unit 912 possesses mark in the content information for judging Quick Response Code Know feature, the identification characteristics be used to identifying carried in the content information of Quick Response Code be not raw information but unique sign string.
First information unit 913, if being that content information is unique mark string for judging result, perform detection content is believed The step of in breath whether comprising address mark;
Second information unit 914, if for judging result not to be unique mark string in content information, directly by content Information is as raw information.
Label detection module 940, for whether including address mark in detection content information;
Address lookup module 950, if being to be identified in content information comprising address for testing result, identifies according to address With the address of predetermined correspondence inquiry book server, the correspondence be different book servers address from it is different Address mark between one-to-one relationship;
Request sending module 920, for book server send carry mark identification module 910 identify it is unique The inquiry request of identification string, inquires about in the binding relationship prestored according to inquiry request so as to book server and is marked with unique Know the raw information of string binding, and feed back the 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 include unique mark string, such as:Abc123 or Def456 etc.;Unique mark string and identification characteristics, such as Sabc123 or Sdef456 etc. can also be included;It can also wrap String containing unique mark and address mark, such as:001abc123,002abc123 or 003def456 etc.;It can also include only One identification string, signature identification and address mark, such as S001abc123 or S003def456 etc..Only with this in the present embodiment The content information of Quick Response Code comes for example, being not especially limited to this comprising unique mark string, signature identification and address mark.
In conclusion two-dimension code recognition device provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.The present embodiment also passes through Carried in content information for identifying Quick Response Code be not raw information but the identification characteristics of unique sign string;Specifically, The identification characteristics can be that address label is known, and address mark is used for the address for distinguishing different book servers;So that Quick Response Code is known Other equipment can interpolate that carried in the content information of its Quick Response Code read is raw information or unique mark string;Into one The recognition capability of two-dimensional code identification method and equipment is improved to step, expands the application model of two-dimensional code identification method and equipment Enclose, enhance the effect of the versatility of two-dimensional code identification method and equipment.Meanwhile two-dimension code recognition device provided in this embodiment Also there is the secrecy effect to raw information.
0 is please referred to Fig.1, it illustrates the structure square frame that 2 D code information provided by one embodiment of the present invention provides device Figure.The 2 D code information provides device can be by the whole being implemented in combination with as electronic equipment of software, hardware or both Or it is a part of, all or part of server can also be implemented as.The 2 D code information provides device, including:Letter Cease memory module 1010, request receiving module 1020, information inquiry module 1030 and information feedback module 1040.
Information storage module 1010, is closed for prestoring raw information, unique mark string and binding between the two System;
Request receiving module 1020, for receiving the inquiry request of Quick Response Code identification equipment transmission, inquiry request carries Unique mark string, unique mark string are obtained in the content information of Quick Response Code identification equipment identification Quick Response Code;
Information inquiry module 1030, for the inquiry request that is received according to request receiving module 1020 in binding relationship The raw information of inquiry and the binding of unique mark string;
Information feedback module 1040 is original for being inquired to Quick Response Code identification equipment feedback information enquiry module 1030 Information.
In conclusion 2 D code information provided in this embodiment provides device, by by raw information with one by some The unique mark string of a character composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, passes through reservation service Device stores the binding relationship between raw information and unique mark string, to utilize the unique mark identified in identification process String to obtain raw information by the server;Solve that existing two-dimension code pattern is complicated, recognition speed is slow and recognition success rate The problem of low;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
1 is please referred to Fig.1, it illustrates the block diagram of Quick Response Code provided by one embodiment of the present invention generation system. The Quick Response Code generates system, including:Quick Response Code generates equipment 1120 and book server 1140, Quick Response Code generation 1120 He of equipment Book server 1140 is connected by cable network or wireless network;
Quick Response Code generation equipment 1120 includes the device as described in any illustrated embodiments of Fig. 8 A and Fig. 8 B;
Book server 1140 includes the device described in embodiment as shown in Figure 10.
In conclusion Quick Response Code provided in this embodiment generation system, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
2 are please referred to Fig.1, it illustrates the block diagram of Quick Response Code identifying system provided by one embodiment of the present invention. The Quick Response Code identifying system, including:Quick Response Code identification equipment 1160 and book server 1140,1160 He of Quick Response Code identification equipment Book server 1140 is connected by cable network or wireless network;
Quick Response Code identification equipment 1160 includes the device as described in any illustrated embodiments of Fig. 9 A and Fig. 9 B;
Book server 1140 includes the device described in embodiment as shown in Figure 10.
In conclusion Quick Response Code identifying system provided in this embodiment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
3 are please referred to Fig.1, it illustrates the structure diagram of Quick Response Code provided by one embodiment of the present invention generation equipment. The Quick Response Code generation equipment 1300 can be server, and the Quick Response Code generation equipment 1300 includes central processing unit (CPU)1301st, including random access memory(RAM)1302 and read-only storage(ROM)1303 system storage 1304, with And connection system storage 1304 and the system bus 1305 of central processing unit 1301.The Quick Response Code generation equipment 1300 is also Basic input/output including transmitting information between each device in help computer(I/O systems)1306, and be used for The mass-memory unit 1307 of storage program area 1313, application program 1314 and other program modules 1315.
The basic input/output 1306 includes the display 1308 for showing information and is inputted for user The input equipment 1309 of such as mouse, keyboard etc of information.Wherein described display 1308 and input equipment 1309 all pass through The input and output controller 1310 for being connected to system bus 1305 is connected to central processing unit 1301.The basic input/defeated Going out system 1306 can also touch including input and output controller 1310 for receiving and handling from keyboard, mouse or electronics Control the input of multiple other equipments such as pen.Similarly, input and output controller 1310 also provide output to display screen, printer or Other kinds of output equipment.
The mass-memory unit 1307 is by being connected to the bulk memory controller of system bus 1305(Do not show Go out)It is connected to central processing unit 1301.The mass-memory unit 1307 and its associated computer-readable medium are Client device 1300 provides non-volatile memories.That is, the mass-memory unit 1307 can include it is such as hard The computer-readable medium of disk or CD-ROM drive etc(It is not shown).
Without loss of generality, the computer-readable medium can include computer storage media and communication media.Computer Storage medium is included for information such as storage computer-readable instruction, data structure, program module or other data The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer-readable storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that the computer-readable storage medium It is not limited to above-mentioned several.Above-mentioned system storage 1304 and mass-memory unit 1307 may be collectively referred to as memory.
According to various embodiments of the present invention, the Quick Response Code generation equipment 1300 can also pass through the nets such as internet Network is connected to the remote computer operation on network.Namely Quick Response Code generation equipment 1300 can be total by being connected to the system Network Interface Unit 1311 on line 1305 is connected to network 1312, in other words, can also use Network Interface Unit 1311 It is connected to other kinds of network or remote computer system(It is not shown).
The memory further includes one or more than one program, the one or more programs are stored in In memory, and it is configured to by one or more than one central processing unit 1301 performs.Said one or one with Upper program includes the instruction for being used for being operated below:
Obtain raw information;Generation unique mark string corresponding with the raw information;By the raw information with it is described Unique mark string is bound;To book server send carry the raw information, the unique mark string and both Between binding relationship storage request, so as to the book server according to the storage request store the raw information, The unique mark string and binding relationship between the two;Content information next life using the unique mark string as Quick Response Code Into Quick Response Code.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of Quick Response Code generation equipment, also include and be used to perform following operation Instruction:
Fixed is randomly selected from the default character set being made of at least one of letter, numbers and symbols Several characters;The character random alignment of the fixed number is obtained into the unique mark string;
Alternatively,
N different and length fixation random strings are previously generated, the random string includes several Character, several described characters include at least one of letter, numbers and symbols;It is random from the n random string Extract the conduct unique mark string;
Alternatively,
The raw information is mapped as to the character string of regular length;Using the character string of the regular length as described in only One identification string.
In the third the possible embodiment provided based on second of possible embodiment, the two dimension In the memory of code generation equipment, also comprising instructions for performing the following operations:
The identification characteristics of the unique mark string are generated, the identification characteristics are used for the content information for identifying the Quick Response Code Middle carrying be not the raw information but unique sign string;
It is described to generate Quick Response Code using the unique mark string as the content information of Quick Response Code, including:
A part of content information using the unique mark string as Quick Response Code, using the identification characteristics as the two dimension Another part content information of code generates Quick Response Code.
In the 4th kind of possible embodiment provided based on the third possible embodiment, the two dimension In the memory of code generation equipment, also comprising instructions for performing the following operations:
Identified according to the address of the address of the book server and predetermined correspondence inquiry described address, it is described right It should be related to it is one-to-one relationship between the address of different book servers and different address mark;
It is described to generate Quick Response Code using the unique mark string as the content information of Quick Response Code, including:
A part of content information using the unique mark string as Quick Response Code, described address is identified as the two dimension Another part content information of code generates Quick Response Code.
In conclusion Quick Response Code provided in this embodiment generation equipment, by by raw information with one by several words The unique mark string of symbol composition is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, is deposited by book server Store up the binding relationship between raw information and unique mark string, so as in identification process using the unique mark string identified come Raw information is obtained by the server;It is slow low with recognition success rate to solve existing two-dimension code pattern complexity, recognition speed Problem;Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.The present embodiment also passes through Carried in content information for identifying Quick Response Code be not raw information but the identification characteristics of unique sign string;Specifically, The identification characteristics can be that address label is known, and address mark is used for the address for distinguishing different book servers;So that Quick Response Code is known Other equipment can interpolate that carried in the content information of its Quick Response Code read is raw information or unique mark string;Into one The application range of two-dimensional code generation method and equipment is expanded to step, enhances the versatility of two-dimensional code generation method and equipment Effect.Meanwhile Quick Response Code generation equipment provided in this embodiment also has the secrecy effect to raw information.
4 are please referred to Fig.1, the structure it illustrates the terminal with image input device involved by the embodiment of the present invention is shown It is intended to, which can be used for implementing the two-dimensional code identification method provided in above-described embodiment.Specifically:
Terminal 1400 can include RF(Radio Frequency, radio frequency)Circuit 110, include one or more The memory 120 of computer-readable recording medium, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include one or the processing of more than one processing core The component such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Figure 12 is not formed pair The restriction of terminal, can include than illustrating more or fewer components, either combine some components or different component cloth Put.Wherein:
RF circuits 110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, transfer to one or more than one processor 180 is handled;In addition, will be related to the data sending of uplink to Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module(SIM)Card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 110 can also be communicated by wireless communication with network and other equipment.The wireless communication can make With any communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation Software program and module, so as to perform various functions application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data field, wherein, storing program area can storage program area, the application program needed at least one function(Than Such as sound-playing function, image player function)Deng;Storage data field can be stored uses created number according to terminal 1400 According to(Such as voice data, phone directory etc.)Deng.In addition, memory 120 can include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for the numeral or character information for receiving input, and produce and user setting and function Control related keyboard, mouse, operation lever, optics or the input of trace ball signal.Specifically, input unit 130 may include figure As input equipment 131 and other input equipments 132.Image input device 131 can be camera or optoelectronic scanning Equipment, can also be other any equipment that can read Quick Response Code.Image input device 131 can be read Quick Response Code, and according to Formula set in advance drives corresponding attachment device.Some image input devices 131 can read Quick Response Code, and by the two dimension Code image is sent to processor 180 and carries out the content information that decoding obtains Quick Response Code;Image input device 131 also oneself has There is Quick Response Code decoding function, voluntarily decoding obtains the content information of Quick Response Code after image in 2 D code is read.Except image Input equipment 131, input unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can wrap Include but be not limited to physical keyboard, function key(Such as volume control button, switch key etc.), trace ball, mouse, in operation lever etc. One or more.
Display unit 140 is available for the information and terminal 1400 for showing by information input by user or being supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its any combination. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141。
Terminal 1400 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 1400 is moved in one's ear Panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions(Generally Three axis)The size of acceleration, can detect that size and the direction of gravity when static, the application available for identification mobile phone posture(Than Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;Extremely The other sensors such as the gyroscope that can also configure in terminal 1400, barometer, hygrometer, thermometer, infrared ray sensor, herein Repeat no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 1400.Sound The transformed electric signal of the voice data received can be transferred to loudspeaker 161, is converted to by loudspeaker 161 by frequency circuit 160 Voice signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is received by voicefrequency circuit 160 After be converted to voice data, it is such as another to be sent to through RF circuits 110 then after voice data output processor 180 is handled Terminal, or voice data is exported to memory 120 further to handle.Voicefrequency circuit 160 is also possible that earplug is inserted Hole, 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 receive and dispatch electricity by WiFi module 170 Sub- mail, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 12 shows Go out WiFi module 170, but it is understood that, it is simultaneously not belonging to must be configured into for terminal 1400, completely can be according to need To be omitted in the essential scope for do not change invention.
Processor 180 is the control centre of terminal 1400, utilizes various interfaces and each portion of connection whole mobile phone Point, by running or performing the software program and/or module that are stored in memory 120, and call and be stored in memory 120 Interior data, perform the various functions and processing data of terminal 1400, so as to carry out integral monitoring to mobile phone.Optionally, handle Device 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation /demodulation processing Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located Manage wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 1400 further includes the power supply 190 to all parts power supply(Such as battery), it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 1400 can also be including bluetooth module etc., and details are not described herein.Specifically in the present embodiment In, terminal has further included memory, and either more than one program one of them or more than one program storage In memory, and it is configured to by one or the execution of more than one processor.Said one or more than one program bag Containing the instruction for being operated below:
Identify unique mark string entrained in the content information of Quick Response Code;Sent to book server described in carrying only The inquiry request of one identification string, so that the book server is looked into according to the inquiry request in the binding relationship prestored The raw information with unique mark string binding is ask, and feeds back the raw information;Receive the book server feedback The raw information.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the terminal, also comprising instructions for performing the following operations:
Read the content information of the Quick Response Code;
Whether the content information for judging the Quick Response Code is the unique mark string;
If judging result is the unique mark string for the content information, performs described sent to book server and take The step of inquiry request with the unique mark string;
If judging result be the content information in be not the unique mark string, directly using the content information as The raw information.
In the third the possible embodiment provided based on second of possible embodiment, the terminal Memory in, also comprising instructions for performing the following operations:
Judge whether possess identification characteristics in the content information of the Quick Response Code, the identification characteristics are used to identify described two Tie up carried in the content information of code be not the raw information but unique sign string.
In the 4th kind of possible embodiment provided based on the third possible embodiment, the terminal Memory in, also comprising instructions for performing the following operations:
Detect in the content information and whether identified comprising address;
If testing result is to be identified in the content information comprising address, according to described address mark and predetermined correspondence The address of book server described in relational query, the correspondence are the address of different book servers and different addresses One-to-one relationship between mark;
The inquiry request that the unique mark string is carried to book server transmission, including:
Sent according to the address of the book server inquired to the book server and carry unique mark Know the inquiry request of string.
In conclusion terminal provided in this embodiment, by the way that raw information is made of only with one several characters One identification string is mutually bound, and the unique mark string is encoded to obtain Quick Response Code, and raw information is stored by book server With the binding relationship between unique mark string, so as in identification process using the unique mark string identified come by the service Device obtains raw information;Solve the problems, such as that existing two-dimension code pattern is complicated, recognition speed is slow low with recognition success rate;Reach Simplify two-dimension code pattern complexity, the effect that recognition speed is fast and recognition success rate is high.The present embodiment is also by for identifying two Tie up carried in the content information of code be not raw information but the identification characteristics of unique sign string;Specifically, the identification characteristics Can be that address label is known, address mark is used for the address for distinguishing different book servers;Enable the terminal to judge its reading To Quick Response Code content information in carry is raw information or unique mark string;It further increasing the identification of terminal Ability, expands the application range of terminal, enhances the effect of the versatility of terminal.Meanwhile terminal provided in this embodiment is also With the secrecy effect to raw information.
5 are please referred to Fig.1, it illustrates the structure diagram of book server provided by one embodiment of the present invention.It is described Book server 1500 can be server, and the book server 1500 includes central processing unit(CPU)1501st, including with Machine accesses memory(RAM)1502 and read-only storage(ROM)1503 system storage 1504, and connection system storage 1504 and the system bus 1505 of central processing unit 1501.The book server 1500 further includes each in help computer The basic input/output of information is transmitted between a device(I/O systems)1506, and for storage program area 1513, should With the mass-memory unit 1507 of program 1514 He other program modules 1515.
The basic input/output 1506 includes the display 1508 for showing information and is inputted for user The input equipment 1509 of such as mouse, keyboard etc of information.Wherein described display 1508 and input equipment 1509 all pass through The input and output controller 1510 for being connected to system bus 1505 is connected to central processing unit 1501.The basic input/defeated Going out system 1506 can also touch including input and output controller 1510 for receiving and handling from keyboard, mouse or electronics Control the input of multiple other equipments such as pen.Similarly, input and output controller 1510 also provide output to display screen, printer or Other kinds of output equipment.
The mass-memory unit 1507 is by being connected to the bulk memory controller of system bus 1505(Do not show Go out)It is connected to central processing unit 1501.The mass-memory unit 1507 and its associated computer-readable medium are Client device 1500 provides non-volatile memories.That is, the mass-memory unit 1507 can include it is such as hard The computer-readable medium of disk or CD-ROM drive etc(It is not shown).
Without loss of generality, the computer-readable medium can include computer storage media and communication media.Computer Storage medium is included for information such as storage computer-readable instruction, data structure, program module or other data The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer-readable storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that the computer-readable storage medium It is not limited to above-mentioned several.Above-mentioned system storage 1504 and mass-memory unit 1507 may be collectively referred to as memory.
According to various embodiments of the present invention, the book server 1500 can also be connected by networks such as internets The remote computer operation being connected on network.Namely book server 1500 can be by being connected on the system bus 1505 Network Interface Unit 1511 be connected to network 1512, in other words, it can also be connected to using Network Interface Unit 1511 The network or remote computer system of his type(It is not shown).
The memory further includes one or more than one program, the one or more programs are stored in In memory, and it is configured to by one or more than one central processing unit 1501 performs.Said one or one with Upper program includes the instruction for being used for being operated below:
Prestore raw information, unique mark string and binding relationship between the two;
Receive the inquiry request that Quick Response Code identification equipment is sent, the inquiry request carries unique mark string, it is described only One identification string is obtained in the content information of the Quick Response Code identification equipment identification Quick Response Code;
The raw information bound with the unique mark string is inquired about in the binding relationship according to the inquiry request;
The raw information is fed back to the Quick Response Code identification equipment.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the book server, also include and be used to perform the finger that operates below Order:
The storage request that Quick Response Code generation equipment is sent is received, the storage request carries the raw information, described Unique mark string and binding relationship between the two, the storage request are that the Quick Response Code generation equipment obtains original letter Breath, generates unique mark string corresponding with the raw information, the raw information and the unique mark string is bound Send afterwards;
The raw information, the unique mark string and binding between the two are stored according to the storage request to close System.
In conclusion book server provided in this embodiment, by by raw information with one by several character groups Into unique mark string mutually bind, and the unique mark string is encoded to obtain Quick Response Code, it is former to pass through book server storage Binding relationship between beginning information and unique mark string, to be passed through in identification process using the unique mark string identified The server obtains raw information;Solve the problems, such as that existing two-dimension code pattern is complicated, recognition speed is slow low with recognition success rate; Simplified two-dimension code pattern complexity is reached, the effect that recognition speed is fast and recognition success rate is high.
It should be appreciated that it is used in the present context, unless context clearly supports exception, singulative " one It is a "(“a”、“an”、“the”)It is intended to also include plural form.It is to be further understood that "and/or" used herein is Finger includes one or any and all possible combinations of more than one project listed in association.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.

Claims (16)

  1. A kind of 1. two-dimensional code generation method, it is characterised in that the method, including:
    Obtain raw information;
    Generation unique mark string corresponding with the raw information;
    The raw information and the unique mark string are bound;
    Sent to book server and carry the raw information, the unique mark string and binding relationship between the two Storage request, so as to the book server according to the storage request store the raw information, the unique mark string with And binding relationship between the two;
    Identified according to the address of the address of the book server and predetermined correspondence inquiry described address, the corresponding pass System is the one-to-one relationship between the address of different book servers and different address marks;
    A part of content information using the unique mark string as Quick Response Code, described address is identified as the Quick Response Code Another part content information generates Quick Response Code.
  2. 2. two-dimensional code generation method according to claim 1, it is characterised in that the generation is corresponding with the raw information Unique mark string, including:
    Fixed number is randomly selected from the default character set being made of at least one of letter, numbers and symbols Character;The character random alignment of the fixed number is obtained into the unique mark string;
    Alternatively,
    N different and length fixation random strings are previously generated, the random string includes several characters, Several described characters include at least one of letter, numbers and symbols;One is randomly selected from the n random string It is a to be used as the unique mark string;
    Alternatively,
    The raw information is mapped as to the character string of regular length;Using the character string of the regular length as unique mark Know string.
  3. 3. two-dimensional code generation method according to claim 1, it is characterised in that described using the unique mark string as two A part of content information of code is tieed up, described address is identified as another part content information of the Quick Response Code to generate two dimension Before code, further include:
    The identification characteristics of the unique mark string are generated, the identification characteristics are taken in the content information for identifying the Quick Response Code Band be not the raw information but unique sign string;
    A part of content information using the unique mark string as Quick Response Code, described address is identified as the two dimension Another part content information of code generates Quick Response Code, including:
    A part of content information using the unique mark string as Quick Response Code, described address is identified as the Quick Response Code Another part content information, Quick Response Code is generated using the identification characteristics as another part content information of the Quick Response Code.
  4. A kind of 4. two-dimensional code identification method, it is characterised in that the method, including:
    Read the content information of the Quick Response Code;
    Judge whether the content information of the Quick Response Code includes unique mark string;
    If judging result includes the unique mark string for the content information, whether detect in the content information comprising ground Location identifies;
    If testing result is to be identified in the content information comprising address, according to described address mark and predetermined correspondence The address of book server is inquired about, the correspondence is between the address of different book servers and different address marks One-to-one relationship;
    Sent according to the address of the book server inquired to the book server and carry the unique mark string Inquiry request, so as to the book server inquired about in the binding relationship prestored according to the inquiry request with it is described The raw information of unique mark string binding, and feed back the raw information;
    Receive the raw information of the book server feedback.
  5. 5. two-dimensional code identification method according to claim 4, it is characterised in that the content letter for judging the Quick Response Code After whether breath includes unique mark string, further include:
    If judging result is not include the unique mark string in the content information, directly using the content information as institute State raw information.
  6. 6. two-dimensional code identification method according to claim 4 or 5, it is characterised in that described to judge the interior of the Quick Response Code Hold whether information includes the unique mark string, including:
    Judge whether possess identification characteristics in the content information of the Quick Response Code, the identification characteristics are used to identify the Quick Response Code Content information in carry be not the raw information but unique sign string.
  7. 7. a kind of 2 D code information provides method, it is characterised in that the method, including:
    Receive Quick Response Code generation equipment send storage request, it is described storage request carry raw information, unique mark string with And binding relationship between the two, the storage request are that Quick Response Code generation equipment obtains raw information, generation with it is described The corresponding unique mark string of raw information, sends after the raw information and the unique mark string are bound;
    The raw information, the unique mark string and binding relationship between the two are stored according to the storage request;
    The inquiry request that Quick Response Code identification equipment is sent is received, the inquiry request carries unique mark string, unique mark Know in the content information that string is the Quick Response Code identification equipment identification Quick Response Code and obtain;
    The raw information bound with the unique mark string is inquired about in the binding relationship according to the inquiry request;
    The raw information is fed back to the Quick Response Code identification equipment.
  8. A kind of 8. Quick Response Code generating means, it is characterised in that described device, including:
    Data obtaining module, for obtaining raw information;
    Identifier generation module, for generating unique mark corresponding with the raw information of described information acquisition module acquisition String;
    Binding module is identified, the raw information and the identifier generation module for described information acquisition module to be obtained are given birth to Into the unique mark string bound;
    Sending module is stored, the raw information, the unique mark string and two are carried for being sent to book server The storage request of binding relationship between person, so that the book server stores the original letter according to the storage request Breath, the unique mark string and binding relationship between the two;
    Enquiry module is identified, for the address according to the book server and the ground of predetermined correspondence inquiry described address Location identifies, and the correspondence is that the one-to-one corresponding between the address of different book servers and different address marks closes System;
    Two-dimensional code generation module, for a part of content information using the unique mark string as Quick Response Code, by described address Mark generates Quick Response Code as another part content information of the Quick Response Code.
  9. 9. Quick Response Code generating means according to claim 8, it is characterised in that the identifier generation module, including:
    Character chooses unit and character arrangements unit;
    Alternatively,
    Text string generation unit and character string extracting unit;
    Alternatively,
    Map generation unit and mapping determination unit;
    The character is chosen unit and is used for from the default character set being made of at least one of letter, numbers and symbols In randomly select the character of fixed number;The character arrangements unit is used for the fixation for obtaining character selection unit The character random alignment of number obtains the unique mark string;
    Alternatively,
    The text string generation unit, it is described random for previously generating n different and length fixation random strings Character string includes several characters, several described characters include at least one of letter, numbers and symbols;The character String extracting unit is used as institute for randomly selecting one from the n random string of text string generation unit generation State unique mark string;
    Alternatively,
    The mapping generation unit, for the raw information to be mapped as to the character string of regular length;The mapping determines single Member, for using the character string of the regular length as the unique mark string.
  10. 10. Quick Response Code generating means according to claim 8 or claim 9, it is characterised in that the Quick Response Code generating means, also Including:Feature generation module;
    The feature generation module, for generating the identification characteristics of the unique mark string, the identification characteristics are used to identify institute State carried in the content information of Quick Response Code be not the raw information but unique sign string;
    The two-dimensional code generation module, is additionally operable to a part of content information using the unique mark string as Quick Response Code, by institute Another part content information of the address mark as the Quick Response Code is stated, using the identification characteristics as the another of the Quick Response Code Partial content information generates Quick Response Code.
  11. A kind of 11. two-dimension code recognition device, it is characterised in that described device, including:
    Identification module is identified, for reading the content information of the Quick Response Code;Judge whether the content information of the Quick Response Code wraps String containing unique mark;If judging result includes the unique mark string for the content information, detect in the content information Whether identified comprising address;If testing result be the content information in comprising address identify, according to described address mark and The address of predetermined correspondence inquiry book server, the correspondence be different book servers address from it is different Address mark between one-to-one relationship;
    Request sending module, sends to the book server for the address according to the book server inquired and carries There is the inquiry request of the unique mark string, so as to the book server according to the inquiry request in the binding prestored The raw information of inquiry and unique mark string binding in relation, and feed back the raw information;
    Information receiving module, for receiving the raw information of the book server feedback.
  12. 12. two-dimension code recognition device according to claim 11, it is characterised in that the mark identification module, is additionally operable to If judging result is not include the unique mark string in the content information, directly using the content information as the original Beginning information.
  13. 13. the two-dimension code recognition device according to claim 11 or 12, it is characterised in that described information judging unit, is used Whether possess identification characteristics in the content information for judging the Quick Response Code, the identification characteristics are used to identify the Quick Response Code Carried in content information be not the raw information but unique sign string.
  14. 14. a kind of 2 D code information provides device, it is characterised in that described device, including:
    Information storage module, the storage request sent for receiving Quick Response Code generation equipment, the storage request carries original Information, unique mark string and binding relationship between the two, it is former that the storage request is that the Quick Response Code generation equipment obtains Beginning information, generates unique mark string corresponding with the raw information, and the raw information and the unique mark string are carried out Sent after binding;The raw information, the unique mark string and tying up between the two are stored according to the storage request Determine relation;
    Request receiving module, for receiving the inquiry request of Quick Response Code identification equipment transmission, the inquiry request carries uniquely Identification string, the unique mark string are obtained in the content information of the Quick Response Code identification equipment identification Quick Response Code;
    Information inquiry module, for the inquiry request that is received according to the request receiving module in the binding relationship The raw information of inquiry and unique mark string binding;
    Information feedback module is described original for being inquired to Quick Response Code identification equipment feedback described information enquiry module Information.
  15. 15. a kind of Quick Response Code generates system, it is characterised in that the system comprises:Quick Response Code generates equipment and book server, The Quick Response Code generation equipment is connected with the book server by cable network or wireless network;
    The Quick Response Code generation equipment includes the device as described in claim 8 to 10 is any;
    The book server includes device as claimed in claim 14.
  16. A kind of 16. Quick Response Code identifying system, it is characterised in that the system comprises:Quick Response Code identification equipment and book server, The Quick Response Code identification equipment is connected with the book server by cable network or wireless network;
    The Quick Response Code identification equipment includes the device as described in claim 11 to 13 is any;
    The book server includes device as claimed in claim 14.
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 CN104424496A (en) 2015-03-18
CN104424496B true 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)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468350B (en) * 2014-09-10 2019-03-01 阿里巴巴集团控股有限公司 The processing method and processing device of object tag
JP6613872B2 (en) * 2015-12-22 2019-12-04 富士ゼロックス株式会社 Information processing apparatus, image reading apparatus, code image generating apparatus, and program
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
CN112486673A (en) * 2016-05-20 2021-03-12 创新先进技术有限公司 Resource binding method and device
CN106203228A (en) * 2016-07-06 2016-12-07 北京金山安全软件有限公司 Two-dimensional code information transmission method, device and equipment
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
CN108270764B (en) * 2017-01-04 2020-06-02 腾讯科技(深圳)有限公司 Application login method, server and mobile terminal
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
CN107330811A (en) * 2017-07-04 2017-11-07 黄海量 A kind of building pipeline management method and server
CN107679437B (en) * 2017-09-26 2021-08-03 四川元匠科技有限公司 Bar code image recognition method 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
CN108629391B (en) * 2018-05-10 2021-09-03 品冠物联科技(惠州市)有限公司 Color code encoding and decoding method, system and equipment
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
CN109886375B (en) * 2019-02-17 2022-06-03 北京意锐新创科技有限公司 Method and system for replacing bound two-dimensional code reading devices in batches
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
CN111507447A (en) * 2020-04-03 2020-08-07 北京市天元网络技术股份有限公司 Label identification method and device
CN111582415B (en) * 2020-05-08 2023-04-18 北京思特奇信息技术股份有限公司 Device management method, device, electronic device and storage medium
CN113071225A (en) * 2021-03-23 2021-07-06 日本电产(韶关)有限公司 Method and device for generating serial number
CN113505620B (en) * 2021-07-30 2024-04-16 绿漫科技有限公司 Material reverse energy attaching method based on two-dimensional code information storage
CN113553305A (en) * 2021-07-30 2021-10-26 国网电子商务有限公司 Industrial internet identification processing method and device
CN113935909A (en) * 2021-09-22 2022-01-14 南方电网深圳数字电网研究院有限公司 Two-dimensional code correction identification method and device
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

Also Published As

Publication number Publication date
CN104424496A (en) 2015-03-18
WO2015024485A1 (en) 2015-02-26

Similar Documents

Publication Publication Date Title
CN104424496B (en) Two-dimensional code generation method, recognition methods, information providing method, device and system
CN103458012B (en) A kind of method and equipment that controlled in wireless is carried out to network TV terminal
CN105025043B (en) Information sharing method, apparatus and system
CN104426963B (en) The method and terminal of associated terminal
CN104426962B (en) Method, binding server, terminal and the system of multiple terminals binding
CN103763112B (en) A kind of user identity protection method and apparatus
CN106162316A (en) The data processing method of a kind of video flowing, device and system
CN103854298A (en) Method for integrating pictures with two-dimension codes and terminal
CN107172477A (en) voting method and device
CN103905885A (en) Video live broadcast method and device
CN103327189A (en) Method and device for uploading, browsing and deleting pictures
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN103678502B (en) Information collection method and device
CN104852885A (en) Method, device and system for verifying verification code
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN106371689A (en) Picture splicing method, apparatus and system
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN104967865A (en) Video previewing method and apparatus
CN104967608A (en) Method of playing multimedia file, mobile terminal and fixing terminal
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN107436948A (en) File search method, device and terminal
CN103491245A (en) Method and device for storing short messages and terminal equipment
CN105187692A (en) Video recording method and device
CN105246075B (en) access point connection method and device
CN103179026A (en) Communication method and system in user interactive system, server and client

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