CN104517130A - Code generation method - Google Patents

Code generation method Download PDF

Info

Publication number
CN104517130A
CN104517130A CN201310451135.5A CN201310451135A CN104517130A CN 104517130 A CN104517130 A CN 104517130A CN 201310451135 A CN201310451135 A CN 201310451135A CN 104517130 A CN104517130 A CN 104517130A
Authority
CN
China
Prior art keywords
code
dimension code
dimension
data message
composite signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310451135.5A
Other languages
Chinese (zh)
Inventor
冯军
陈长桉
刘海燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AIGO O2O (BEIJING) NETWORK TECHNOLOGY Co Ltd
Original Assignee
AIGO O2O (BEIJING) NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by AIGO O2O (BEIJING) NETWORK TECHNOLOGY Co Ltd filed Critical AIGO O2O (BEIJING) NETWORK TECHNOLOGY Co Ltd
Priority to CN201310451135.5A priority Critical patent/CN104517130A/en
Publication of CN104517130A publication Critical patent/CN104517130A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention is applied to the field of a computer, and provides a code generation method. The method comprises: an encoding device encoding a first dimension code to obtain data information corresponding to the first dimension code; the encoding device, according to the data information, querying supplement information corresponding to the data information; the encoding device synthesizing the supplement information and the data information into one piece of synthetic information; and the encoding device compiling the synthetic information into a second dimension code. The technical scheme provided by the invention has the advantages of conveniently converting dimension codes and facilitating communication between users through the dimension codes.

Description

A kind of code generating method
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of code generating method.
Background technology
Barcode technology be grow up in computer technology and Information base a kind of melt encode, print, identify, data acquisition and processing (DAP) is in the emerging technology of one.Usual the seen bar code be printed in commodity packaging of people is bar code, and as shown in Figure 1, due to the restriction by information capacity, bar code just identifies trade mark, and is not described trade mark.Therefore, the use of bar code, needs the existence of dependency database.Do not having database and the place of being inconvenient to network, the use of bar code is greatly limited.In addition, bar code may represent Chinese character information hardly, and this seems very inconvenient having the occasion of Chinese character, bar code, and its efficiency is very low.
Along with the development of new and high technology, an urgent demand bar code represents more information in limited geometric space, thus meets the needs of Protean information.Two-dimensional bar code is born to solve the insurmountable problem of bar code just.Two-dimensional bar code as shown in Figure 2, has the feature such as high density, Large Copacity just, so can represent data file (comprising Chinese character file), picture etc. with it.Two-dimensional bar code carries and the optimal method of automatically identifying and reading the Large Copacity such as various certificate and card, highly reliable information.According to the difference realizing principle, structure is formed, Quick Response Code can be divided into capable row's formula and matrix form two class.The coding principle of row row formula two-dimensional bar code is based upon on bar code basis, is piled into the code system of two row or multirow on demand.It inherits feature, its recognizing apparatus bar code printing and the bar code compatibility of bar code in code Design, verification principle, recognition mode etc.But due to the increase of line number, discriminating, the decoding algorithm of row are not exclusively identical with bar code with software.Representational row row formula two-dimensional bar code comprises: PDF417, Code49, Code16K etc.
Matrix two-dimensional barcode forms with a matrix type.On the position of matrix respective element with point (square point, round dot or other formed point) appearance represent binary one, point do not occur represent binary " 0 ", the permutation and combination of point determines the meaning representated by matrix.Square matrix code is based upon a kind of New Graphics symbol automatically identifying and reading process code system on the basis such as computer image processing technology, assembly coding principle.Representative square matrix code comprises: QR Code, Data Matrix, Code one, Maxi Code etc.
In the technical scheme realizing prior art, there are the following problems for discovery prior art "
One-dimensional coding of the prior art and two-dimensional encoded between cannot exchange, so just make cannot transmit between coding, what have impact between user like this is mutual.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of code generating method, efficiently solve in prior art and cannot transmit between coding, affecting the mutual problem between user.
First aspect, provides a kind of code generating method, and described method comprises:
Code device is decoded to first dimension code, obtains the data message of described first dimension code correspondence;
Code device inquires side information corresponding to described data message according to described data message;
Described side information and described data message are synthesized a composite signal by code device;
Described composite signal is compiled into second dimension code by code device.
In conjunction with the technical scheme that first aspect provides, in the first possibility of first aspect, described method also comprises after described composite signal being compiled into second dimension code:
This second dimension code is sent to other equipment use.
The first possibility of the technical scheme provided in conjunction with first aspect or first aspect, in the second possibility of first aspect, described second dimension code is than described first dimension code higher order or multistage dimension code; Described second dimension code is the dimension code tieing up code same order with first.
Second aspect, provides a kind of code device, and described code device specifically comprises:
Decoding unit, for decoding to first dimension code, obtains the data message of described first dimension code correspondence;
Query unit, for inquiring side information corresponding to described data message according to described data message;
Data Synthesis unit, for described side information and described data message are synthesized a composite signal;
Compilation unit, for described composite signal is compiled into second dimension code.
In conjunction with the technical scheme that second aspect provides, in the first possibility of second aspect, described code device also comprises:
Transmitting element, for sending to other equipment use by this second dimension code.
The first possibility of the technical scheme provided in conjunction with second aspect or second aspect, in the second possibility of second aspect, described second dimension code is than described first dimension code higher order or multistage dimension code;
Described second dimension code is the dimension code tieing up code same order with first.
In conjunction with the technical scheme that second aspect provides, in the third possibility of second aspect, described device is specially: computing machine, panel computer or mobile phone.
In embodiments of the present invention, technical scheme provided by the invention provides a kind of code generating method, and first dimension code conversion can become second to tie up code by the method, so it has convenient for dimension code conversion, is convenient to the advantage that user is linked up by dimension code.
Accompanying drawing explanation
The schematic diagram of the one-dimensional coding that Fig. 1 provides for prior art;
The two-dimensional encoded schematic diagram that Fig. 2 provides for prior art;
The process flow diagram of the code generating method that Fig. 3 provides for the specific embodiment of the invention;
The process flow diagram of the code generating method that Fig. 4 provides for the embodiment of the present invention one;
The process flow diagram of the code generating method that Fig. 5 provides for the embodiment of the present invention two;
Fig. 6 is the structural drawing of a kind of code device provided by the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The specific embodiment of the invention provides a kind of generation method of coding, the method is completed by code device, and this code device is specifically as follows, and has the computing machine of coding and decoding function, the intelligent terminal such as equipment such as panel computer or mobile phone, the method as shown in Figure 3, comprises the steps:
301, code device is decoded to first dimension code, obtains the data message of this first dimension code correspondence;
302, code device inquires side information corresponding to this data message according to this data message;
303, side information and data message are synthesized a composite signal by code device;
304, this composite signal is compiled into second dimension code by code device.
Above-mentioned first dimension code can be one-dimension code, Quick Response Code or three-dimension code; Above-mentioned second dimension code is specifically as follows, Quick Response Code, three-dimension code or multidimensional code; In a practical situation, second dimension code is specifically as follows than first dimension code higher order or multistage dimension code, can certainly be that second dimension code is specifically as follows the dimension code tieing up code same order with first, but above-mentioned second dimension code can not be than first dimension low single order of code or multistage dimension code.
Optionally, said method can also comprise after 304:
This second dimension code is sent to other equipment use, and second dimension code can be sent to other client devices by this kind of mode, and other equipment just just can know through synthesis and compilation process the information that second dimension code comprises without the need to having like this.
Above-mentioned data message, the information such as the goods number such as, comprised in one-dimension code.Above-mentioned side information is specifically as follows, the place of production of goods number corresponding product, date of manufacture and memory state etc. information.
Above-mentioned higher order or multistage concrete condition can be, for one-dimension code and Quick Response Code, Quick Response Code is the higher order dimension code of one-dimension code, and one-dimension code is the low order dimension code of Quick Response Code conversely speaking.
The specific embodiment of the invention also provides a kind of code device, and this device as shown in Figure 6 (wherein dotted line represent can the unit of option and installment), comprising:
Decoding unit 601, for decoding to first dimension code, obtains the data message of this first dimension code correspondence;
Query unit 602, for inquiring side information corresponding to this data message according to this data message;
Data Synthesis unit 603, for side information and data message are synthesized a composite signal;
Compilation unit 604, for this composite signal is compiled into second dimension code.
Optionally, above-mentioned code device also comprises:
Transmitting element 605, for sending to other equipment use by this second dimension code.
Embodiment one
The present embodiment provides a kind of generation method of coding, and as shown in Figure 4, wherein first dimension code is one-dimension code to the method, and the data message of one-dimension code can be merchandise news, and this second dimension code is Quick Response Code, and the method specifically comprises:
401, computer scanning one-dimension code, obtains the merchandise news comprised in one-dimension code;
402, the side information that this merchandise news of computer inquery is corresponding, this side information is the place of production, production time, logistics and storage condition etc. such as;
403, side information and merchandise news are generated Quick Response Code.
Above-mentioned Quick Response Code can be; Row row formula two-dimensional bar code or matrix two-dimensional code.
Embodiment two
The present embodiment provides a kind of generation method of coding, the method as shown in Figure 5, wherein first dimension code is Quick Response Code, the data message of Quick Response Code can be subscriber identity information, this second dimension code can be Quick Response Code or three-dimension code, three-dimension code is specifically as follows color code or other forms of three-dimension code, and the method specifically comprises:
501, computer scanning Quick Response Code, obtains the subscriber identity information that Quick Response Code comprises;
502, computing machine obtains authorization code information corresponding to subscriber identity information according to this subscriber identity information;
503, subscriber identity information is become another Quick Response Code or three-dimension code with authorization code encode information by computing machine.
504, this another Quick Response Code or three-dimension code are sent to other equipment use by computing machine.
The method that the present embodiment provides obtains authorization code corresponding to identity information by the subscriber identity information obtained in Quick Response Code, then authorization message and subscriber identity information being sent to other equipment use, so just exchanging by tieing up code with user.
Embodiment three
First dimension code of the present embodiment can be three-dimension code, and described three-dimension code can be color code, obtains color code, decodes to color code, namely finds with the color code information corresponding to described color code on the server, this color code information and data message; Color code information increases new data message, and such as new data message can be the product introduction of company, and other product informations, utilizes new data message and color code information to generate another three-dimension code or multidimensional code.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (7)

1. a code generating method, is characterized in that, described method comprises:
Code device is decoded to first dimension code, obtains the data message of described first dimension code correspondence;
Code device inquires side information corresponding to described data message according to described data message;
Described side information and described data message are synthesized a composite signal by code device;
Described composite signal is compiled into second dimension code by code device.
2. method according to claim 1, is characterized in that, described method also comprises after described composite signal being compiled into second dimension code:
This second dimension code is sent to other equipment use.
3. method according to claim 1 and 2, is characterized in that,
Described second dimension code is than described first dimension code higher order or multistage dimension code;
Described second dimension code is the dimension code tieing up code same order with first.
4. a code device, is characterized in that, described code device specifically comprises:
Decoding unit, for decoding to first dimension code, obtains the data message of described first dimension code correspondence;
Query unit, for inquiring side information corresponding to described data message according to described data message;
Data Synthesis unit, for described side information and described data message are synthesized a composite signal;
Compilation unit, for described composite signal is compiled into second dimension code.
5. device according to claim 4, is characterized in that, described code device also comprises:
Transmitting element, for sending to other equipment use by this second dimension code.
6. the device according to claim 4 or 5, is characterized in that,
Described second dimension code is than described first dimension code higher order or multistage dimension code;
Described second dimension code is the dimension code tieing up code same order with first.
7. device according to claim 4, is characterized in that, described device is specially:
Computing machine, panel computer or mobile phone.
CN201310451135.5A 2013-09-26 2013-09-26 Code generation method Pending CN104517130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310451135.5A CN104517130A (en) 2013-09-26 2013-09-26 Code generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310451135.5A CN104517130A (en) 2013-09-26 2013-09-26 Code generation method

Publications (1)

Publication Number Publication Date
CN104517130A true CN104517130A (en) 2015-04-15

Family

ID=52792396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310451135.5A Pending CN104517130A (en) 2013-09-26 2013-09-26 Code generation method

Country Status (1)

Country Link
CN (1) CN104517130A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096892A (en) * 2016-06-22 2016-11-09 严东军 Supply chain is with manifest coding and coding rule thereof and using method
WO2021175132A1 (en) * 2020-03-06 2021-09-10 赵佳锦 Novel two-dimensional system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054209A (en) * 2009-10-27 2011-05-11 镇江精英软件科技有限公司 Method for transmitting driver pre-entered information data by using two-dimensional bar codes
CN102711057A (en) * 2011-04-18 2012-10-03 徐蔚 Method and device for carrying out communication by adopting barcode image as well as mobile terminal
CN102739397A (en) * 2011-03-31 2012-10-17 汉王科技股份有限公司 Method and device for encrypting and checking electronic worksheet
US20130020393A1 (en) * 2011-07-22 2013-01-24 Electronics And Telecommunications Research Institute Apparatus and method for dynamic multidimensional codes with time and visual recognition information
CN102930192A (en) * 2012-09-19 2013-02-13 腾讯科技(深圳)有限公司 Method for generating and acquiring safety information and relevant devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054209A (en) * 2009-10-27 2011-05-11 镇江精英软件科技有限公司 Method for transmitting driver pre-entered information data by using two-dimensional bar codes
CN102739397A (en) * 2011-03-31 2012-10-17 汉王科技股份有限公司 Method and device for encrypting and checking electronic worksheet
CN102711057A (en) * 2011-04-18 2012-10-03 徐蔚 Method and device for carrying out communication by adopting barcode image as well as mobile terminal
US20130020393A1 (en) * 2011-07-22 2013-01-24 Electronics And Telecommunications Research Institute Apparatus and method for dynamic multidimensional codes with time and visual recognition information
CN102930192A (en) * 2012-09-19 2013-02-13 腾讯科技(深圳)有限公司 Method for generating and acquiring safety information and relevant devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096892A (en) * 2016-06-22 2016-11-09 严东军 Supply chain is with manifest coding and coding rule thereof and using method
WO2021175132A1 (en) * 2020-03-06 2021-09-10 赵佳锦 Novel two-dimensional system

Similar Documents

Publication Publication Date Title
CN111723885B (en) Industrial Internet enterprise identification interaction system and implementation method thereof
CN102867165B (en) 2 D code information provides and storage means and relevant apparatus
KR100726472B1 (en) System for providing multiple contents per a tag and method therefor
CN102609543A (en) Multifunctional two-dimensional code product traceability system and traceability method
CN102436596A (en) Commodity anti-counterfeiting traceability system and method based on active radio frequency identification (RFID) technology
CN103218591A (en) Anti-counterfeiting system based on RFID (radio frequency identification), and working method of same
CN202854882U (en) Merchandise anti-counterfeiting system based on internet of tings technology
CN104598859A (en) Method, device and system for generating and authenticating color bar code
CN101877095A (en) Product anti-counterfeit method based on QR codes, short messages and internet
CN101470795B (en) Communication method and apparatus in wireless radio frequency recognition system
CN104680392A (en) Identity-based product tracing system and method
CN104915698B (en) Chemical producting safety information quick search and complete period tracking digital labelling system
CN102468959A (en) Identity identification method based on QR code, internet and short message
CN104574119A (en) Commodity identifying and tracing method
CN102708184A (en) Method for inquiring anti-fake two-dimension code of coded lock
CN104517130A (en) Code generation method
CN101957929A (en) Method for identifying object on basis of two-dimensional lattice code
CN104766212A (en) Identification device and method
CN203870671U (en) Agricultural product carbon footprint inquiry system based on two-dimension code electronic tags
CN204288294U (en) Based on the seed traceability system of Quick Response Code
CN105389606A (en) Data generation and analysis methods, device and system based on open standards
CN104519085B (en) A kind of register method and system using coding
CN104517088A (en) Method and apparatus for interacting code by use of client
WO2021175132A1 (en) Novel two-dimensional system
He The two-dimensional bar code application in book management

Legal Events

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

Application publication date: 20150415