CN100433053C - Two-dimensional bar code based information transfer method and encoding/decoding device - Google Patents

Two-dimensional bar code based information transfer method and encoding/decoding device Download PDF

Info

Publication number
CN100433053C
CN100433053C CNB2005100605109A CN200510060510A CN100433053C CN 100433053 C CN100433053 C CN 100433053C CN B2005100605109 A CNB2005100605109 A CN B2005100605109A CN 200510060510 A CN200510060510 A CN 200510060510A CN 100433053 C CN100433053 C CN 100433053C
Authority
CN
China
Prior art keywords
information
bar code
numbering
attribute
template
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.)
Expired - Fee Related
Application number
CNB2005100605109A
Other languages
Chinese (zh)
Other versions
CN1920858A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNB2005100605109A priority Critical patent/CN100433053C/en
Publication of CN1920858A publication Critical patent/CN1920858A/en
Application granted granted Critical
Publication of CN100433053C publication Critical patent/CN100433053C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for transmitting information based on two-dimension bar code, wherein said information has type characters; and the inventive method comprises that (1) building the type list between different type character and serial number; (2) decomposing the exchange original information into information blocks, to be separated by separators, while each information block is arranged by their sequence in the original information; (3) numbering the different type characters, and arranging them by the sequence of information blocks in original information, to obtain the character information; (4) forming two-dimension bar code from character information and information blocks via the code method of two-dimension bar code; (5), reading out two-dimension bar code, to obtain the character information and information blocks; (6) reducing the character information into type information, while they are one-to-one relative. The invention can keep original character information, and effectively treat the content after exchange, while the two-dimension bar code has minimum size in same resolution.

Description

Based on two-dimensional bar code method of transmitting information and code device thereof, decoding device
(1) technical field
The present invention relates to a kind of by two-dimensional bar code method of transmitting information and special-purpose code device, decoding device thereof.
(2) background technology
If desired the information on the business card is formed two-dimensional bar code, the Word message on the business card is all write, generate two-dimensional bar code by the two-dimensional bar code coding device.Information for have categorical attribute such as business card etc. directly converts full detail to two-dimensional bar code if adopt, and the shortcoming of existence is: (1), loaded information amount are more, and two-dimensional bar code size under same resolution is bigger; (2), after the exchange message, can not distinguish attribute information and content information, can not carry out follow-up efficient processing to content information.
(3) summary of the invention
In order to overcome can not the keeping primitive attribute information, can not efficiently handle of prior art, the larger-size deficiency of two-dimensional bar code to content information, the invention provides a kind of can keep can efficiently handle content information after primitive attribute information, the exchange, two-dimensional bar code under same resolution the size minimum based on the method for two-dimensional bar code transmission data and code device thereof, decoding device.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method for transmitting information based on two-dimensional bar code, this information waiting for transmission has category attribute, described information is made up of the contents fragment of different classes of attribute, and described method of transmitting information mainly may further comprise the steps: (1), set up different category attributes and the numbering between the classification table; (2), according to category attribute will be to be exchanged raw information resolve into information segment, and separate with separator, each information segment is arranged according to the sequencing in raw information; (3), information segment is classified, category attribute of different nature is numbered respectively, according to the order of information segment in raw information the classification numbering is arranged in order again, form attribute information according to the classification table; (4), described attribute information and each information segment arranged together according to the coding method of two-dimensional bar code encode, form two-dimensional bar code; (5), read described two-dimensional bar code, decode with demoder, obtain described attribute information and each information segment; (6), attribute information is reduced into category attribute of different nature, according to the order of information segment in raw information, each category attribute is corresponding one by one with separately information segment according to the classification table.
Further, in described (1), set up the template table commonly used between different attribute information and the template numbering; In described (3), described attribute information is defined as the template numbering according to template table commonly used; In described (4), described template numbering and each information segment arranged together according to the coding method of two-dimensional bar code encode; In described (5), obtain the template numbering behind the decoder decode, according to template table commonly used the template numbering is reduced into attribute information then.
Further again, for the situation of needs concern order information, in described (3), after the classification numbering is arranged, identical category numbering continuous more than 2 or 2 is merged the multiplicity numeral successively by the front and back order.
Or, for the situation that does not need to pay close attention to order information, in described (3), after the classification numbering is arranged, the numbering of the identical category more than 2 or 2 is merged the multiplicity numeral.
Further, in described (4), described attribute information is placed on the front, information segment is put behind, middle with identical separator separation.
In described (4), described template numbering is put behind, information segment is placed on the front, middle with identical separator separation.
In described (4), described template numbering is placed between the adjacent information segment, middle with identical separator separation.
A kind of code device of realizing described method for transmitting information based on two-dimensional bar code comprises the two-dimensional bar code coding device, and this information waiting for transmission has category attribute, and described information is made up of the contents fragment of different classes of attribute; Described code device also comprises category attribute and corresponding sorted table, the information segment typing module of numbering, be used for attribute information module that the order according to the information segment typing is arranged in order numbering, be used for attribute information and each information segment are formed the information module that prelists of set form character string, the output connection two-dimensional bar code coding device of the described information module that prelists.
Further, described code device also comprises the corresponding template table commonly used of attribute information and template numbering, be used for the attribute information that will set is defined as the template numbering module of template numbering according to template table commonly used, and the described signaling module that prelists is with template numbering and each information segment composition set form character string.
A kind of decoding device of realizing described method for transmitting information based on two-dimensional bar code, comprise the two-dimensional bar code demoder, described decoding device also comprises category attribute and the corresponding sorted table of numbering, be used for according to sorted table with attribute information be reduced to category attribute the attribute information recovery module, be used for category attribute and each information segment information analysis module one to one, the output of described two-dimensional bar code demoder and attribute information recovery module communicate to connect.
Further, described decoding device also comprises the attribute information commonly used template table corresponding with the template numbering, is used for according to template table commonly used the template numbering being reduced to the template numbering recovery module of attribute information, the input of described template numbering recovery module connects the output of two-dimensional bar code demoder, the output connection attribute information reverting module of described template numbering recovery module.
Principle of work of the present invention is: need some information of two-dimensional bar code carrying to have some attribute, this just requires to preserve the attribute information except that content itself when exchange message; Simultaneously, after exchange message, to keep efficient processing power to these information; Also have, need the two-dimensional bar code area of graph as far as possible little under the constant situation of resolution in some occasion, this just requires content of two-dimensional bar code carrying the least possible, removes redundant information.
Raw information is divided into attribute information and information segment, and according to its sequencing in raw information, according to the coding method formation two-dimensional bar code of two-dimensional bar code; After the decoding, obtain attribute information and information segment, attribute information and information segment is corresponding one by one, obtain raw information or carry out other follow-up datas processing.
Beneficial effect of the present invention mainly shows:
(1), kept the attribute information in the raw information;
(2), the exchange after raw information be to preserve in the mode of information segment, make information processing become very flexible, can restore raw information, can efficiently handle information segment again.
(3), make that two-dimensional bar code loaded information amount is the least possible, two-dimensional bar code is the size minimum under same resolution.
(4), reach optimal result aspect minimum three of the raw information, follow-up efficient processing, two-dimensional bar code size keeping.
(5), the exchange before and the exchange after two processes can independently exist, do not need to be present in simultaneously in the device, may only need to use one of them process for specific user, rule just can realize freely exchanging of information as long as the user follows uniform definition.
(4) description of drawings
Fig. 1 is the process flow diagram by the two-dimensional bar code method of transmitting information.
Fig. 2 is the theory diagram of code device.
Fig. 3 is the theory diagram of decoding device.
Fig. 4 is the synoptic diagram of business card 1.
Fig. 5 is the synoptic diagram of business card 2.
(5) embodiment
Below in conjunction with accompanying drawing the present invention is further described.
Embodiment 1
With reference to Fig. 1, a certain raw information, this information waiting for transmission has category attribute, and described information is made up of the contents fragment of different classes of attribute, needs to be reduced into raw information at last or to carry out other efficient processing by two-dimensional bar code intermediary.Whole information exchanging process divides before the exchange and latter two stage of exchange.
At first, set up the classification table between different category attributes and the numbering, the template table commonly used between different attribute information and the template numbering;
The second, we will analyze raw information, be broken down into the appropriate information fragment according to character, and separate with separator; Information segment is classified, concludes these classification again, and classification of different nature is numbered respectively, as A, B, C ... (this just for example, is not particularly limited and only uses these letters, also can use other symbolic representation)
The 3rd, according to the information segment sorting technique, all information segments are included into respective classes, according to the order of information segment in raw information the classification numbering is got up by this series arrangement again, be expressed as a character string, as ABCBBC, again this character string to be simplified, the method for simplification has 2 kinds:
1, pays close attention to order information for needs, the continuous identical category numbering that (comprises 2) more than 2 is merged successively by the front and back order, the multiplicity numeral, ABCBBC → ABC2BC then, the character string after the simplification is exactly classification and the order information (to call attribute information in the following text) that extracts.
2, for not needing to pay close attention to order information, because classification order can free arrangement, the identical category numbering that (comprises 2) more than 2 is merged the multiplicity numeral, ABCBBC → A3B2C then, the character string after the simplification is exactly the classification information (being attribute information) that extracts.
For the attribute information of frequent use, we have better method that above-mentioned attribute information is further simplified again.This attribute information is defined as another simpler character combination (this simpler character combination is to call the template numbering in the following text), as ABC2BC → MB1 (also can use other symbolic representation), and this definition is told the identification link of back, make the identification link of back also can know the implication of template numbering MB1, the result will be more succinct so.
These two little steps are not conflicted, and can only use till the attribute information, can be simplified to the template numbering always yet, perhaps both are combined application, and this must see demand and decide.Because template is concentrating again attribute information, have only identical attribute information just can use same template, so also can lose dirigibility when introducing template, only be that the difference of arranging can not be used same template, this will cause the increase of template number, so different occasion can take different step array modes to reach optimal effectiveness.In the narration of back, the method for template numbering and the method for a use attribute information will be described respectively, but practical application can also be carried out applied in any combination also more than that.
The 4th, the template numbering (or attribute information) that extracts is placed on the front, put behind being separated the raw information that symbol is separated into information segment, middle with identical separator separation, remove the redundant information of describing about classification in the information segment, just constituted a character string, as MB1 with set form; 123; 456; 789; 564; 645; 789 (or ABC2BC; 123; 456; 789; 564; 645; 789) (use here "; " as separator, also can use other symbol, content is represented with 123 here, also can use other character representation).
The 4th, convert above-mentioned character string to two-dimensional bar code by the two-dimensional bar code coding rule with set form.
The 5th, two-dimensional bar code is decoded, extract character string wherein, as MB1; 123; 456; 789; 564; 645; 789 (or ABC2BC; 123; 456; 789; 564; 645; 789).
The 6th, template numbering (or attribute information) and content in the separating character string.
The 7th, explain form and order information from the template that extracts numbering (or attribute information), then form and order information are corresponded to one by one information segment separately, preserve these information, go forward side by side the Xingqi its handle, comprise the raw information state that is reduced into.
Embodiment 2
With reference to Fig. 2, a kind of code device of realizing described method for transmitting information based on two-dimensional bar code comprises two-dimensional bar code coding device 5, and this information waiting for transmission has category attribute, and described information is made up of the contents fragment of different classes of attribute; Described code device also comprises category attribute and corresponding sorted table 1, the information segment typing module 2 of numbering, be used for attribute information module 3 that the order according to the information segment typing is arranged in order numbering, be used for attribute information and each information segment are formed the information module 4 that prelists of set form character string, the output connection two-dimensional bar code coding device 5 of the described information module 4 that prelists.
Described code device also comprises the corresponding template table commonly used 6 of attribute information and template numbering, be used for the attribute information that will set is defined as the template numbering module 7 of template numbering according to template table commonly used, and the described signaling module 4 that prelists is with template numbering and each information segment composition set form character string.
In the enforcement 3
With reference to Fig. 3, a kind of decoding device of realizing described method for transmitting information based on two-dimensional bar code, comprise two-dimensional bar code demoder 8, described decoding device also comprises category attribute and the corresponding sorted table 1 of numbering, be used for according to sorted table with attribute information be reduced to category attribute attribute information recovery module 9, be used for category attribute and each information segment information analysis module 10 one to one, the output of described two-dimensional bar code demoder 8 and attribute information recovery module 9 communicate to connect.
Described decoding device also comprises the attribute information commonly used template table 6 corresponding with the template numbering, is used for according to template table commonly used the template numbering being reduced to the template numbering recovery module 11 of attribute information, the input of described template numbering recovery module 11 connects the output of two-dimensional bar code demoder 8, the output connection attribute information reverting module 9 of described template numbering recovery module 11.
Embodiment 4
Existing mobile phone need be transported to marketing channel from production firm, and production firm and distributor's infosystem is separately independently, and in order to realize the high-efficiency management to the mobile phone logistics, manufacturer and distributor have used the two-dimensional bar code exchange message.
We know that mobile phones design is very compact, can paste the local limited of two-dimensional bar code, and this just requires the area of two-dimensional bar code little, must guarantee the resolution of two-dimensional bar code simultaneously again, and this just needs to adopt method of the present invention.
The mobile phone specifying information is as follows:
Mobile phone model: V628
Production firm: company limited of Motorola (China)
Date of manufacture: on March 20th, 2005
Licence for entry to network number: 02-0010-042968
Mobile phone standard: CDMA
ESN:32E456763
CMII ID:2004CD2234
By being classified and number, the relevant information of mobile phone obtains classification table such as following table 1:
Sequence number Category attribute The classification numbering
1 Model A
2 Production firm B
3 Date of manufacture C
4 Licence for entry to network number D
5 The mobile phone standard E
6 The fuselage sequence number F
7 Electronic Serial Number G
8 ESN H
9 CMII ID I
Table 1
The classification of using in the table is numbered the text description of replacing classification in the cellphone information in order, forms the context string that possesses attribute information to be:
A=V628; Company limited of B=Motorola (China); C=2005 March 20; D=02-0010-042968; E=CDMA; H=32E456763; I=2004CD2234
With classification numbering extract in order into:
ABCDEHI
The continuous identical category numbering that (comprises 2) more than 2 is merged, and it is as follows that multiplicity is reduced to attribute information with numeral:
ABCDEHI → ABCDEHI (not having to find that continuous identical category numbering is arranged) so do not simplify
Because be the form that often uses, it is as follows that we can be defined as above-mentioned attribute information the template numbering:
ABCEDHI→MB 1
Template Information is tabulating as following table 2:
Template table:
Sequence number The template numbering Attribute information
1 MB1 ABCDEHI
Table 2
Template numbering is arranged in order by front and back in proper order with content (removing the text description of attribute) is in the same place, middlely separate with separator, formation set form character string is as follows:
MB1; V628; Company limited of Motorola (China); On March 20th, 2005; 02-0010-042968; CDMA; 32E456763; 2004CD2234
Can convert above-mentioned two character strings to two-dimensional bar code according to the two-dimensional bar code generating mode of standard with that.
The process that receives is exactly an opposite process, and when terminal device scanning two-dimension bar code and recognition, the character string that decodes set form is as follows:
MB1; V628; Company limited of Motorola (China); On March 20th, 2005; 02-0010-042968; CDMA; 32E456763; 2004CD2234
Separate template numbering (MB1) and content in the above-mentioned character string, and learn MB1=ABCDEHI (attribute information) according to the Template Information that defines in the exchange front template table;
After obtaining attribute information, according to the classification that defines in the classification table before the exchange attribute information is corresponded to separately content one by one, it is as follows that generation possesses the context string (corresponded manner of attribute information and content can be various, and this just exemplifies wherein a kind of) of attribute information:
A=V628; Company limited of B=Motorola (China); C=2005 March 20; D=02-0010-042968; E=CDMA; H=32E456763; I=2004CD2234
The above-mentioned context string that possesses attribute information has been arranged, and terminal device just can carry out multiple processing to it, comprises the state that is reduced into raw information and to other processing of data.
Arrive here, the coding method of utilization Template Information just is through with the information of mobile phone by the process that two-dimensional bar code intermediary is distinguished and handles by infosystem.In this process, use method of the present invention to guarantee the efficient processing of cellphone information at subsequent process, the two-dimensional bar code of Sheng Chenging is minimum simultaneously.
In this process because do not need to pay close attention to sequential attribute, so attribute order can free arrangement, with regard to can not be useful template and the problem that causes template number to heighten, so the utilization template is reasonable way in this case.
Embodiment 5
With reference to Fig. 1, Fig. 2, the information on Fig. 3, Fig. 4 business card is distinguished and is handled by terminal device by two-dimensional bar code.
Because two-dimensional bar code will be printed on the business card, for attractive in appearance, require the two-dimensional bar code area as far as possible little, but too little resolution can not reach the requirement of recognition device again, so can not light dwindle the area of two-dimensional bar code, must guarantee the resolution of bar code simultaneously.
In order to allow two-dimensional bar code area minimum under the prerequisite that guarantees resolution, just require the business card content of two-dimensional bar code carrying the least possible.If it is minimum that the business card content is woven together certain content entirely, but has lost attribute information, can't efficiently handle.So just need to adopt method of the present invention, make these three requirements reach best balance.
By the content on the business card is analyzed discovery, have category attribute and sequential attribute in these, as business card 1 is name, position, Business Name, CompanyAddress, postcode, phone, fax, mobile phone, E-mail, company's network address arrangement, clauses and subclauses have to have more to be lacked, what have has a plurality of CompanyAddresses etc., order also differs, and for loyalty embodies incidence relation between former business card style and the content, these attribute informations on the business card all need to keep.
So earlier with the information segmenting on the business card, again these information segments are classified, as name, degree, academic title, Business Name, CompanyAddress, postcode, phone, fax, mobile phone, E-mail, network address etc., then these classifications are numbered as following table 3:
PID (sequence number) Pname (category attribute) Pcode (classification numbering)
1 Name A
2 Degree B
3 The academic title C
4 Business Name D
5 CompanyAddress E
6 Postcode F
7 Phone G
8 Fax H
9 Mobile phone I
10 E-mail J
11 Network address K
Table 3
The classification of using in the table is numbered the text description of replacing classification in the business card in order, forms the context string that possesses attribute information to be:
Business card 1:A=Wang Li; C=chairman of the board; D=Beijing Century communication company limited; No. 30, E=Fuxing Road, Haidian District, Beijing City; F=100036; G=010-51945678; G=010-51912345 changes 801; H=010-51981234; I=13912345678; J= Wangli@cen.comK=www.cen.com
With classification numbering extract in order into:
Business card 1:ACDEFGGHIJK
The continuous identical category numbering that (comprises 2) more than 2 is merged, and it is as follows that multiplicity is reduced to attribute information with numeral:
Business card 1:ACDEFGGHIJK → ACDEF2GHIJK
If business card 1 is the form that often uses, it is as follows that we can be defined as above-mentioned business card 1 attribute information the template numbering:
Business card 1:ACDEF2GHIJK → MB1
All Template Informations are tabulating as following table 4:
Template table:
TID (sequence number) Tname (template numbering) Tsignature (attribute information)
1 MB1 ACDEF2GHIJK
Table 4
With template numbering (or attribute information) and content (removing the attribute text description) in order front and rear row be listed in together, middlely separate with separator, formation set form character string is as follows:
Business card 1:MB1; Wang Li; The chairman of the board; Beijing Century communication company limited; No. 30, Fuxing Road, Haidian District, Beijing City; 100036; 010-51945678; 010-51912345 changes 801; 010-51981234; 13912345678; Wangli@cen.comWww.cen.com
Can convert above-mentioned two character strings to two-dimensional bar code according to the two-dimensional bar code generating mode of standard with that.
The process that receives is exactly an opposite process, and when terminal device scanning two-dimension bar code and recognition, the character string that decodes set form is as follows:
Business card 1:MB1; Wang Li; The chairman of the board; Beijing Century communication company limited; No. 30, Fuxing Road, Haidian District, Beijing City; 100036; 010-51945678; 010-51912345 changes 801; 010-51981234; 13912345678; Wangli@cen.comWww.cen.com
For business card 1, separate template numbering (MB1) and content in the above-mentioned character string, and learn MB1=ACDEF2GHIJK (attribute information) according to the Template Information that defines in the exchange front template table;
After obtaining attribute information, both processing procedures are just the same, according to the criteria for classification that defines in the classification table before the exchange attribute information is corresponded to separately content one by one, it is as follows that generation possesses the context string (corresponded manner of attribute information and content can be various, and this just exemplifies wherein a kind of) of attribute information:
Business card 1:A=Wang Li; C=chairman of the board; D=Beijing Century communication company limited; No. 30, E=Fuxing Road, Haidian District, Beijing City; F=100036; G=010-51945678; G=010-51912345 changes 801; H=010-51981234; I=13912345678; J= Wangli@cen.comK=www.cen.com
The above-mentioned context string that possesses attribute information has been arranged, and terminal device just can carry out multiple processing to it, comprises the state that is reduced into raw information and other the operation to data, as search, arrangement, a display part content etc.
Arrive here, the process that the information on the business card is distinguished and handled by terminal device by two-dimensional bar code just is through with.In this process, use method of the present invention to keep attribute information in the original business card content, guaranteed follow-up efficient processing, the two-dimensional bar code of Sheng Chenging is minimum simultaneously.
Same mode can also be used for the process of other information that possesses attribute by the two-dimensional bar code exchange message, the exchange before and the exchange after two processes can independently exist, do not need to be present in simultaneously in the device, may only need to use one of them process for specific user, as long as the user follows uniform definition rule (as classification table, template table) and just can realize freely exchanging of information.
Embodiment 6
With reference to Fig. 1, Fig. 2, Fig. 3, Fig. 5, by the content on the business card is analyzed discovery, have category attribute and sequential attribute in these, business card 2 is Business Name, name, CompanyAddress, phone, fax, postcode, mobile phone, E-mail arrangement, clauses and subclauses have to be had fewly more, and what have has a plurality of CompanyAddresses etc., and order also differs, and for loyalty embodies incidence relation between former business card style and the content, these attribute informations on the business card all need to keep.
So earlier with the information segmenting on the business card, again these information segments are classified, as name, degree, academic title, Business Name, CompanyAddress, postcode, phone, fax, mobile phone, E-mail, network address etc., then these classifications are numbered as following table 5:
PID (sequence number) Pname (category attribute) Pcode (classification numbering)
1 Name A
2 Degree B
3 The academic title C
4 Business Name D
5 CompanyAddress E
6 Postcode F
7 Phone G
8 Fax H
9 Mobile phone I
10 E-mail J
11 Network address K
Table 5
The classification of using in the table is numbered the text description of replacing classification in the business card in order, forms the context string that possesses attribute information to be:
Business card 2:D=Hangzhou triumphant return trade Co., Ltd; A=what greatly just; No. 30, the Shanxi road in the E=Hangzhou; No. 123, Shi Xiang road, E=Hangzhou; No. 588, E=Tianmushan Road, Hangzhou; G=0571-123456788765432188123456; H=0571-88881234; F=310014; I=13312345678; J=abc@def.com
With classification numbering extract in order into:
Business card 2:DAEEEGHFIJ
The continuous identical category numbering that (comprises 2) more than 2 is merged, and it is as follows that multiplicity is reduced to attribute information with numeral:
Business card 2:DAEEEGHFIJ → DA3EGHFIJ
Business card 2:DA3EGHFIJ; Hangzhou triumphant return trade Co., Ltd; He Dagang; No. 30, the Shanxi road in the Hangzhou; No. 123, Shi Xiang road, Hangzhou; No. 588, Tianmushan Road, Hangzhou; 0571-123456788765432188123456; 0571-88881234; 310014; 13312345678; Abc@def.com
Can convert above-mentioned two character strings to two-dimensional bar code according to the two-dimensional bar code generating mode of standard with that.
The process that receives is exactly an opposite process, and when terminal device scanning two-dimension bar code and recognition, the character string that decodes set form is as follows:
Business card 2:DA3EGHFIJ; Hangzhou triumphant return trade Co., Ltd; He Dagang; No. 30, the Shanxi road in the Hangzhou; No. 123, Shi Xiang road, Hangzhou; No. 588, Tianmushan Road, Hangzhou; 0571-123456788765432188123456; 0571-88881234; 310014; 13312345678; Abc@def.com
For business card 2, separate attribute information (DA3EGHFIJ) and content in the above-mentioned character string, just obtained attribute information DA3EGHFIJ once;
After obtaining attribute information, both processing procedures are just the same, according to the criteria for classification that defines in the classification table before the exchange attribute information is corresponded to separately content one by one, it is as follows that generation possesses the context string (corresponded manner of attribute information and content can be various, and this just exemplifies wherein a kind of) of attribute information:
Business card 2:D=Hangzhou triumphant return trade Co., Ltd; A=what greatly just; No. 30, the Shanxi road in the E=Hangzhou; No. 123, Shi Xiang road, E=Hangzhou; No. 588, E=Tianmushan Road, Hangzhou; G=0571-123456788765432188123456; H=0571-88881234; F=310014; I=13312345678; J=abc@def.com
The above-mentioned context string that possesses attribute information has been arranged, and terminal device just can carry out multiple processing to it, comprises the state that is reduced into raw information and other the operation to data, as search, arrangement, a display part content etc.

Claims (10)

1, a kind of method for transmitting information based on two-dimensional bar code, it is characterized in that: information waiting for transmission has category attribute, and described information waiting for transmission is made up of the contents fragment of different classes of attribute, and described method for transmitting information mainly may further comprise the steps:
(1), set up different category attributes and the numbering between the classification table;
(2), according to category attribute will be to be exchanged raw information resolve into information segment, and separate with separator, each information segment is arranged according to the sequencing in raw information;
(3), information segment is classified, category attribute of different nature is numbered respectively, according to the order of information segment in raw information the classification numbering is arranged in order again, form attribute information according to the classification table;
(4), described attribute information and each information segment arranged together according to the coding method of two-dimensional bar code encode, form two-dimensional bar code;
(5), read described two-dimensional bar code, decode with demoder, obtain described attribute information and each information segment;
(6), attribute information is reduced into category attribute of different nature, according to the order of information segment in raw information, each category attribute is corresponding one by one with separately information segment according to the classification table.
2, the method for transmitting information based on two-dimensional bar code as claimed in claim 1 is characterized in that: in described (1), set up the template table commonly used between different attribute information and the template numbering; In described (3), described attribute information is defined as the template numbering according to template table commonly used; In described (4), described template numbering and each information segment arranged together according to the coding method of two-dimensional bar code encode; In described (5), obtain the template numbering behind the decoder decode, according to template table commonly used the template numbering is reduced into attribute information then.
3, the method for transmitting information based on two-dimensional bar code as claimed in claim 1, it is characterized in that: in described (3), after the classification numbering is arranged, identical category numbering continuous more than 2 or 2 is merged the multiplicity numeral successively by the front and back order.
4, the method for transmitting information based on two-dimensional bar code as claimed in claim 1 is characterized in that: in described (3), after the classification numbering is arranged, the numbering of the identical category more than 2 or 2 is merged the multiplicity numeral.
5, the method for transmitting information based on two-dimensional bar code as claimed in claim 1 is characterized in that: in described (4), described attribute information is placed on the front, information segment put behind, and middle with identical separator separation.
6, the method for transmitting information based on two-dimensional bar code as claimed in claim 2 is characterized in that: in described (4), described template numbering put behind, information segment is placed on the front, and middle with identical separator separation.
7, a kind of code device of realizing the method for transmitting information based on two-dimensional bar code as claimed in claim 1, comprise the two-dimensional bar code coding device, it is characterized in that: described code device also comprises category attribute and corresponding sorted table, the information segment typing module of numbering, be used for attribute information module that the order according to the information segment typing is arranged in order numbering, be used for attribute information and each information segment are formed the information module that prelists of set form character string, the output connection two-dimensional bar code coding device of the described information module that prelists.
8, a kind of code device as claimed in claim 7, it is characterized in that: described code device also comprises the corresponding template table commonly used of attribute information and template numbering, be used for the attribute information that will set is defined as the template numbering module of template numbering according to template table commonly used, and the described information module that prelists is with template numbering and each information segment composition set form character string.
9, a kind of decoding device of realizing the method for transmitting information based on two-dimensional bar code as claimed in claim 1, comprise the two-dimensional bar code demoder, it is characterized in that: described decoding device also comprises category attribute and the corresponding sorted table of numbering, be used for according to sorted table with attribute information be reduced to category attribute the attribute information recovery module, be used for category attribute and each information segment information analysis module one to one, the output of described two-dimensional bar code demoder and attribute information recovery module communicate to connect.
10, a kind of decoding device as claimed in claim 9, it is characterized in that: described decoding device also comprises the attribute information commonly used template table corresponding with the template numbering, is used for according to template table commonly used the template numbering being reduced to the template numbering recovery module of attribute information, the input of described template numbering recovery module connects the output of two-dimensional bar code demoder, the output connection attribute information reverting module of described template numbering recovery module.
CNB2005100605109A 2005-08-26 2005-08-26 Two-dimensional bar code based information transfer method and encoding/decoding device Expired - Fee Related CN100433053C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100605109A CN100433053C (en) 2005-08-26 2005-08-26 Two-dimensional bar code based information transfer method and encoding/decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100605109A CN100433053C (en) 2005-08-26 2005-08-26 Two-dimensional bar code based information transfer method and encoding/decoding device

Publications (2)

Publication Number Publication Date
CN1920858A CN1920858A (en) 2007-02-28
CN100433053C true CN100433053C (en) 2008-11-12

Family

ID=37778578

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100605109A Expired - Fee Related CN100433053C (en) 2005-08-26 2005-08-26 Two-dimensional bar code based information transfer method and encoding/decoding device

Country Status (1)

Country Link
CN (1) CN100433053C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4924468B2 (en) * 2007-05-29 2012-04-25 株式会社デンソーウェーブ Two-dimensional code generation method and reader
CN101645140B (en) * 2008-08-06 2016-10-05 华为技术有限公司 Two-dimensional code generation method, coding/decoding method and device
CN103532564B (en) * 2013-05-27 2017-05-10 Tcl集团股份有限公司 Two-dimensional code data encoding method, decoding method, system and intelligent device
CN104050570B (en) * 2013-07-04 2018-08-07 徐晓彬 A kind of information identification system traced to the source based on cyclotron resonance and electronics and method
CN104463296B (en) * 2014-11-10 2018-04-10 吴涛军 A kind of generation, acquisition and the processing method and system of two-dimension code structure information
CN106682716B (en) * 2016-12-02 2020-04-24 杭州荣旗科技有限公司 Two-dimensional code encoding method and decoding method adopting hierarchical structure
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
CN109657516B (en) * 2018-12-19 2022-04-15 珠海港联科技有限公司 Configurable self-adaptive multi-bar code format identification method
CN110263082B (en) * 2019-05-27 2022-04-29 东软集团股份有限公司 Data distribution analysis method and device of database, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668353A (en) * 1992-08-24 1994-03-11 Nonomura Denshi Giken:Kk Article order accepting device
JP2001216464A (en) * 2000-01-31 2001-08-10 Nobutaka Kuwabara Bar code
CN2565087Y (en) * 2001-08-24 2003-08-06 全家便利商店股份有限公司 Bar code sign and goods mark
CN1452117A (en) * 2003-05-22 2003-10-29 深圳矽感科技有限公司 Two-D bar code encoding and decoding method
CN1564226A (en) * 2004-04-07 2005-01-12 武汉天罡医药软件有限公司 Two generation coding method of goods
CN1598860A (en) * 2004-08-18 2005-03-23 开效军 Label conversion generating method and used system
CN1645403A (en) * 2004-04-07 2005-07-27 武汉天罡医药软件有限公司 G2 encoding method for commodity

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668353A (en) * 1992-08-24 1994-03-11 Nonomura Denshi Giken:Kk Article order accepting device
JP2001216464A (en) * 2000-01-31 2001-08-10 Nobutaka Kuwabara Bar code
CN2565087Y (en) * 2001-08-24 2003-08-06 全家便利商店股份有限公司 Bar code sign and goods mark
CN1452117A (en) * 2003-05-22 2003-10-29 深圳矽感科技有限公司 Two-D bar code encoding and decoding method
CN1564226A (en) * 2004-04-07 2005-01-12 武汉天罡医药软件有限公司 Two generation coding method of goods
CN1645403A (en) * 2004-04-07 2005-07-27 武汉天罡医药软件有限公司 G2 encoding method for commodity
CN1598860A (en) * 2004-08-18 2005-03-23 开效军 Label conversion generating method and used system

Also Published As

Publication number Publication date
CN1920858A (en) 2007-02-28

Similar Documents

Publication Publication Date Title
CN100433053C (en) Two-dimensional bar code based information transfer method and encoding/decoding device
CN102592160B (en) Character two-dimension code encoding and decoding method for short message
CN101645140B (en) Two-dimensional code generation method, coding/decoding method and device
CN203057193U (en) Data processing apparatus
CN107423376A (en) One kind has the quick picture retrieval method of supervision depth Hash and system
CN101630323B (en) Method for compressing space of deterministic automaton
CN101438283A (en) Demographic based classification for local word wheeling/WEB search
CN103400173A (en) Generating method and reading method of two-dimensional code containing private information
CN102254278A (en) Shopping quality maintenance system based on two-dimension code
CN110865970B (en) Compression flow pattern matching engine and pattern matching method based on FPGA platform
CN101796573A (en) Electronic apparatus, character sequence display method, multiple character sequence sorting method and character sequence display/sort program
CN107748745A (en) A kind of enterprise name keyword extraction method
CN101241499B (en) Patricia tree rapid lookup method in high memory access wide
CN101158953A (en) Network document information processing method and device
CN105630755A (en) Source encoding and decoding methods and devices for expanding information quantity transmission of Beidou-satellite short message
CN101534414A (en) Method and terminal for playing streaming media
CN103839028B (en) A kind of paper media method and system interactive with reader
CN201004228Y (en) Electronic business card device
CN110674291A (en) Chinese patent text effect category classification method based on multivariate neural network fusion
CN101261645B (en) Method and apparatus for obtaining multiple layer information
CN106599963A (en) Method and system for forming quick response (QR) code with plaintext
CN107463679A (en) A kind of information recommendation method and device
Zhang et al. Leco: Improving early exiting via learned exits and comparison-based exiting mechanism
Li et al. Deep music retrieval for fine-grained videos by exploiting cross-modal-encoded voice-overs
CN102567887A (en) Shopping system based on two-dimensional codes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081112

Termination date: 20140826

EXPY Termination of patent right or utility model