CN109948760A - A kind of information demonstrating method and device based on two dimensional code - Google Patents

A kind of information demonstrating method and device based on two dimensional code Download PDF

Info

Publication number
CN109948760A
CN109948760A CN201910240630.9A CN201910240630A CN109948760A CN 109948760 A CN109948760 A CN 109948760A CN 201910240630 A CN201910240630 A CN 201910240630A CN 109948760 A CN109948760 A CN 109948760A
Authority
CN
China
Prior art keywords
information
dimensional code
presented
encryption
match
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910240630.9A
Other languages
Chinese (zh)
Other versions
CN109948760B (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.)
Unitec (jiaxing) Information Technology Co Ltd
Original Assignee
Unitec (jiaxing) Information 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 Unitec (jiaxing) Information Technology Co Ltd filed Critical Unitec (jiaxing) Information Technology Co Ltd
Priority to CN201910240630.9A priority Critical patent/CN109948760B/en
Publication of CN109948760A publication Critical patent/CN109948760A/en
Application granted granted Critical
Publication of CN109948760B publication Critical patent/CN109948760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention relates to field of data recognition, especially planar bar code technology.The present invention provides a kind of information demonstrating method based on two dimensional code, comprising: step 1, identifies two dimensional code, obtains two dimensional code internal labeling information and encryption information;Step 2, according to two dimensional code mark information, the match information of correspondence markings information is searched in identification equipment;Step 3, the encryption information and match information are integrated, generates and information is presented.The present invention solves acquisition two-dimensional barcode information technical problem at high cost of the existing technology, and vivid restoring data information realizes data protection, offline display and the reduction of cost.

Description

A kind of information demonstrating method and device based on two dimensional code
Technical field
The present invention relates to field of data recognition, especially planar bar code technology.
Background technique
Two dimensional code especially needs to carry out efficiently article in hi-tech industry, storage transport service, wholesale and retail industry etc. The industry of beacon information is widely used.
The prior art one obtains the network address being stored in its two dimensional code after the two dimensional code identification on text, And according to network address, related data is obtained.Information is directly presented back to local in related data later, or is asked by network Seek data obtained, then combined with local data complete after presentation content.It is finally reached the purpose of reduction text information.It is existing Have that the method for technology one is very big for the dependence of network, and this method needs terminal server, the support of database.Once network Paralysis or server, database are attacked, and this method just will be unable to realize.One leaking data hidden danger of the prior art.Work as network Request is intercepted or database is attacked, and will all will cause the leakage of data-privacy.Further, since the prior art is for clothes Business device, network, the dependence of database cause a large amount of maintenance cost.
The prior art two, off-line manner identify text on two dimensional code, further according to identification data directly present or The information content is presented after simple process.The general technology can only show content by way of simple verbal description.It is existing The major defect of technology two is that data information presentation mode is relatively simple, and only the content of simple written form is presented.
Summary of the invention
The present invention is to rely on network big, at high cost technical problem when solving to obtain two-dimensional barcode information, proposes a kind of base In the information demonstrating method of two dimensional code, comprising:
Step 1: identification two dimensional code obtains two dimensional code internal labeling information and encryption information;
Step 2: according to two dimensional code mark information, the match information of correspondence markings information is searched in identification equipment;
Step 3: integrating the encryption information and match information, generate and information is presented.
Preferably, the information demonstrating method further include:
Information is presented in output.
Preferably, the information demonstrating method further includes preparing process, and the preparation process includes:
Preparation process 1: mark information and encryption information are integrated, and generate two dimensional code;
Preparation process 2: match information is stored in identification equipment.
Preferably, the incidence relation of the mark information and the encryption information are as follows: one-to-one;The mark information and institute State the incidence relation of match information are as follows: it is one-to-one, or, many-one.
Preferably, the presentation information of the output is consistent with the format of match information and format.
Preferably, the presentation information of the output is text, picture, PDF, webpage.
Preferably, before exporting the presentation information, judge to identify equipment validity;If judging to identify equipment effectively to set Standby, information is presented in output, otherwise, exports information warning.
Preferably, identification equipment is based on Android, IOS, windows, linux, the product of MacOS system.
Preferably, the two dimensional code encryption information includes the first encryption information and the second encryption information;
Second encryption information is not exported by the path integrated with match information.
Preferably, shown step 1 further include:
The asymmetric encryption information in two dimensional code is obtained, asymmetric encryption information is carried out according to the public key in match information Decryption obtains mark information and encryption information.
A kind of identification equipment that the information based on two dimensional code is presented, comprising:
Recognition unit, two dimensional code, obtains two dimensional code internal labeling information and encryption information for identification;
Storage unit, for storing match information;
Integral unit integrates encryption information and match information, generation is in for searching the match information of correspondence markings information Existing information.
Preferably, the presentation device further includes output unit, and information is presented for exporting.
Preferably, the incidence relation of the mark information and the encryption information are as follows: one-to-one;The mark information and institute State the incidence relation of match information are as follows: it is one-to-one, or, many-one.
Preferably, the identification equipment further includes output unit, and information is presented for exporting;
The presentation information of the output is consistent with the format of match information and format.
Preferably, before output unit exports the presentation information, judge to identify equipment validity;If judgement identification equipment is Information is presented in effective equipment, output, otherwise, exports information warning.
Preferably, the identification equipment is based on Android, IOS, windows, linux, the product of MacOS system.
Preferably, the two dimensional code encryption information includes the first encryption information and the second encryption information;
Second encryption information is not exported by the path integrated with match information.
The recognition methods and equipment that information provided by the invention based on two dimensional code is presented, solve of the existing technology Two-dimensional barcode information technical problem at high cost is obtained, vivid restoring data information realizes data protection, offline to show And the reduction of cost.
Detailed description of the invention
Fig. 1 is a kind of information demonstrating method based on two dimensional code that the embodiment of the present invention one provides
Fig. 2 is the case information that the embodiment of the present invention one provides
Fig. 3 is that effect picture is presented in the information that the embodiment of the present invention one provides
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, belongs to the scope of the present invention.
Big, at high cost technical problem is relied on network when obtaining two-dimensional barcode information in view of existing method, and the present invention mentions It can be under off-line state, to be realized with a low cost the method and device of the parsing of two dimensional code and the presentation of data for one kind.
Embodiment one
The present embodiment provides a kind of information demonstrating methods based on two dimensional code, as shown in Figs. 1-3.
Preparation process:
After the information integration for needing to encrypt mark information and other needs, it is preferred that some or all of to pass through Asymmetric privacy keys encryption, is coded into two dimensional code;It needs to deposit the relevant match information of mark information and asymmetric encryption public key Enter to identify among equipment or identification software.
Above-mentioned encryption information is personal information, i.e., information is directed to personal or having for unit individual during presenting Information;The relevant match information of above-mentioned label is the public information during information is presented, and is unified standardized information, Mark information and match information correspond.
In order to ensure match information and mark information can form error free composition, need in use first with match information In public key two dimensional code parsing data are decrypted, such as successful decryption, then illustrate the match information and parse the mark in data Note information belongs to a set of combination, guarantees that information matches are errorless, data can be normally presented.If public key decryptions fail, illustrate this Match information is not met with parsing data, and the match information is tampered in other words, belongs to illegal match information.The design, can be with Ensure the correspondence of information matches information and mark information, and reinforces Information Security.
Above-mentioned identification equipment or software are equipment or software containing decoding program.Equipment and software, which can be, to be based on Any products of the systems such as Android, IOS, windows, linux, MacOS.
Presentation process:
Identification two dimensional code is parsed using equipment, and obtains the mark information in two dimensional code and encryption information;According to two dimensional code Interior mark information is found mark corresponding relevant match information on the local device;Relevant match information and encryption are believed Integration processing is ceased, final presentation information is obtained;It shows and information is presented.
If two dimensional code mark information and match information include asymmetric encryption information, believed according to the matching on local device Asymmetric encryption information is decrypted in public key in breath, obtains mark information and encryption information;It will be encrypted using mark information Information is handled and is integrated into match information, and final presentation information is obtained;It shows and information is presented.
A fixed image, and the encryption information that two dimensional code can be guided to identify can be presented in above-mentioned match information Specific personal information is presented in the specific position of picture, complete data convert may be implemented in the two cooperation.
If information flag is 1001, then the match information of corresponding label is labeled as 1001;Or the algorithm with fixation, Formula processes information flag, then finds its correspondence markings information.If information flag is 23,24, the matching letter of label is found When breath, N (match information of label)=n (information flag) * 2-1.So mark information number is 45,46.
It shows the mode that information is presented, can be pdf format, the form of all kinds of pictures, the form etc. of webview.Display Information be two dimensional code corresponding to the file information, be all consistent on position on text in form.
During information is presented, equipment can also judge whether information source, display information source are authentic and valid.Display Type can indicate whether information is effective with the form of electronics chapter or other eye-catching labels.
More information can also be presented in the present invention, such as some to be not intended to directly show in upper personal information.The effect can By increasing data information in two dimensional code, and the corresponding relevant information of change label.For example, the information when required display is Business license can show true business license electronics shelves, the individual of founder can also be presented after identifying two dimensional code Information.
Fig. 2 is the information effect figure with two dimensional code, can be the paper document of printing.By equipment identify two dimensional code it Afterwards, the final information of Fig. 3 will be presented." unauthorized " is a kind of result after device identifying information source in Fig. 3: information is come Source be it is illegal, be shown as " unauthorized ".
The two dimensional code method for drafting that the embodiment of the present invention provides, has the advantages that
Information organization form of the invention, can be more lively, more complete restoring data information.
Information organization form of the invention may be implemented the presentation of offlineization data, save network cost, also may be implemented Centralization does not need server and database etc., saved system Construction and maintenance cost.
Data information disclosed in the inconvenience of some encryptions can be presented in information organization form of the invention, preferably protect Privacy.
Embodiment two
A kind of identification equipment that the information based on two dimensional code is presented, comprising:
Recognition unit, two dimensional code, obtains two dimensional code internal labeling information and encryption information, the two dimension code encryption for identification Information includes the first encryption information and the second encryption information;The second encryption information not path by being integrated with match information Output;
Storage unit, for storing match information;
Integral unit integrates encryption information and match information, generation is in for searching the match information of correspondence markings information Existing information.
The presentation device further includes output unit, and information is presented for exporting.The presentation information of the output with match The format and format of information are consistent;The presentation information of the output is text, picture, PDF, webpage.The output unit output Before the presentation information, judge to identify equipment validity;If judging to identify equipment for effective equipment, information is presented in output, otherwise, Export information warning.
The incidence relation of the mark information and the encryption information are as follows: one-to-one;The mark information and the matching The incidence relation of information are as follows: it is one-to-one, or, many-one.
The identification equipment is based on Android, IOS, windows, the product of Linux system.
In conclusion the embodiment of the present invention provide two dimensional code information present recognition methods and equipment, have with It is lower the utility model has the advantages that
(1) information organization form of the invention, vividly, complete restoring data information.
(2) information organization form of the invention may be implemented the presentation of offlineization data, save network cost;It can also be real Existing decentralization, that is, do not need server and database etc., saved system Construction and maintenance cost.
(3) data information disclosed in the inconvenience of some encryptions can also be presented, more preferably in information organization form of the invention Protection privacy.
(4) preferred unsymmetrical key design in information organization form of the invention, it can be ensured that information matches information with The correspondence of mark information, and reinforce Information Security.
Particular embodiments described above, to the purpose of the present invention, technical scheme and beneficial effects have been carried out further in detail Describe in detail it is bright, it should be understood that above is only a specific embodiment of the present invention, the protection model being not intended to limit the present invention It encloses, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in the present invention Protection scope within.

Claims (15)

1. a kind of information demonstrating method based on two dimensional code characterized by comprising
Step 1: identification two dimensional code obtains two dimensional code internal labeling information and encryption information;
Step 2: according to two dimensional code mark information, the match information of correspondence markings information is searched in identification equipment;
Step 3: integrating the encryption information and match information, generate and information is presented.
2. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that the information demonstrating method is also Include:
Information is presented in output.
3. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that the information demonstrating method is also Including preparing process, the preparation process includes:
Preparation process 1: mark information and encryption information are integrated, and generate two dimensional code;
Preparation process 2: match information is stored in identification equipment.
4. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that the mark information with it is described The incidence relation of encryption information are as follows: one-to-one;The incidence relation of the mark information and the match information are as follows: it is one-to-one, or, Many-one.
5. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that the presentation information of the output It is consistent with the format of match information and format.
6. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that the presentation information of the output For text, picture, PDF, webpage.
7. as claimed in claim 2 based on the information demonstrating method of two dimensional code, which is characterized in that export the presentation information Before, judge to identify equipment validity;If judging to identify equipment for effective equipment, information is presented in output, otherwise, output warning letter Breath.
8. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that identification equipment be based on The product of Android, IOS, windows, linux, MacOS system.
9. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that the two dimensional code encryption information Including the first encryption information and the second encryption information;
Second encryption information is not exported by the path integrated with match information.
10. as described in claim 1 based on the information demonstrating method of two dimensional code, which is characterized in that shown step 1 further include:
The asymmetric encryption information in two dimensional code is obtained, asymmetric encryption information is solved according to the public key in match information It is close, obtain mark information and encryption information.
11. a kind of identification equipment that the information based on two dimensional code is presented characterized by comprising
Recognition unit, two dimensional code, obtains two dimensional code internal labeling information and encryption information for identification;
Storage unit, for storing match information;
Integral unit integrates encryption information and match information, generates and letter is presented for searching the match information of correspondence markings information Breath.
12. the identification equipment that the information based on two dimensional code is presented as claimed in claim 11, which is characterized in that the label letter The incidence relation of breath and the encryption information are as follows: one-to-one;The incidence relation of the mark information and the match information are as follows: one To one, or, many-one.
13. the identification equipment that the information based on two dimensional code is presented as claimed in claim 11, which is characterized in that the identification is set Standby further includes output unit, and information is presented for exporting;
The presentation information of the output is consistent with the format of match information and format.
14. the identification equipment that the information based on two dimensional code is presented as claimed in claim 13, which is characterized in that output unit is defeated Out before the presentation information, judge to identify equipment validity;If judging to identify equipment for effective equipment, information is presented in output, no Then, information warning is exported.
15. the identification equipment that the information based on two dimensional code is presented as claimed in claim 11, which is characterized in that the identification is set Standby is based on Android, IOS, windows, linux, the product of MacOS system.
CN201910240630.9A 2019-03-28 2019-03-28 Information presentation method and device based on two-dimensional code Active CN109948760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910240630.9A CN109948760B (en) 2019-03-28 2019-03-28 Information presentation method and device based on two-dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910240630.9A CN109948760B (en) 2019-03-28 2019-03-28 Information presentation method and device based on two-dimensional code

Publications (2)

Publication Number Publication Date
CN109948760A true CN109948760A (en) 2019-06-28
CN109948760B CN109948760B (en) 2022-05-17

Family

ID=67012087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910240630.9A Active CN109948760B (en) 2019-03-28 2019-03-28 Information presentation method and device based on two-dimensional code

Country Status (1)

Country Link
CN (1) CN109948760B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263598A (en) * 2019-07-02 2019-09-20 北京慧眼智行科技有限公司 A kind of recognition methods of non-public algorithm coding, apparatus and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164662A (en) * 2011-12-08 2013-06-19 北大方正集团有限公司 Method and equipment of information storage and information read
CN103714742A (en) * 2014-01-06 2014-04-09 立德高科(北京)数码科技有限责任公司 Anti-counterfeit label and method, device and system for identifying authenticity with anti-counterfeit label
CN103793990A (en) * 2012-11-02 2014-05-14 航天信息股份有限公司 Invoice verification method and system
CN104616046A (en) * 2015-02-28 2015-05-13 立德高科(北京)数码科技有限责任公司 Two-dimension code and generation method and identification method thereof
JP2015228585A (en) * 2014-05-30 2015-12-17 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
CN105577376A (en) * 2014-10-13 2016-05-11 航天信息股份有限公司 Two-dimensional code coding-and-decoding and authentication method and two-dimensional code coding-and-decoding and authentication device
CN106709319A (en) * 2016-12-14 2017-05-24 北京龙贝世纪科技股份有限公司 Two-dimension code encoding and decoding application permission control system and hierarchical authorization method
CN107016499A (en) * 2017-03-23 2017-08-04 国家电网公司 A kind of substation equipment patrol method recognized based on two-dimentional code encryption
CN107862364A (en) * 2017-11-08 2018-03-30 王少龙 The generation method and system for the individual identification mark that a kind of plain code is combined with password

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164662A (en) * 2011-12-08 2013-06-19 北大方正集团有限公司 Method and equipment of information storage and information read
CN103793990A (en) * 2012-11-02 2014-05-14 航天信息股份有限公司 Invoice verification method and system
CN103714742A (en) * 2014-01-06 2014-04-09 立德高科(北京)数码科技有限责任公司 Anti-counterfeit label and method, device and system for identifying authenticity with anti-counterfeit label
JP2015228585A (en) * 2014-05-30 2015-12-17 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
CN105577376A (en) * 2014-10-13 2016-05-11 航天信息股份有限公司 Two-dimensional code coding-and-decoding and authentication method and two-dimensional code coding-and-decoding and authentication device
CN104616046A (en) * 2015-02-28 2015-05-13 立德高科(北京)数码科技有限责任公司 Two-dimension code and generation method and identification method thereof
CN106709319A (en) * 2016-12-14 2017-05-24 北京龙贝世纪科技股份有限公司 Two-dimension code encoding and decoding application permission control system and hierarchical authorization method
CN107016499A (en) * 2017-03-23 2017-08-04 国家电网公司 A kind of substation equipment patrol method recognized based on two-dimentional code encryption
CN107862364A (en) * 2017-11-08 2018-03-30 王少龙 The generation method and system for the individual identification mark that a kind of plain code is combined with password

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263598A (en) * 2019-07-02 2019-09-20 北京慧眼智行科技有限公司 A kind of recognition methods of non-public algorithm coding, apparatus and system

Also Published As

Publication number Publication date
CN109948760B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN102663592B (en) Article identity dicode identification method based on Quick Response Code
CN102831529B (en) A kind of commodity information identification method based on radio frequency and system
CN102663590B (en) Based on commodity counterfeit prevention Verification System and the method for restriction certification number of times
CN109951427B (en) Product tracing method and system and cloud tracing platform
WO2019229554A1 (en) Authentication of packaged products
CN102930307A (en) Anti-counterfeiting authentication method for famous wine
CN102855574A (en) Method and system for identifying commodity information based on NFC (Near Field Communication)
CN105930892A (en) Variable logo two-dimensional code anti-counterfeiting method and system
AU2020211640B2 (en) Beverage producer authenticity verification method and system
CN106355418A (en) Anti-counterfeiting authentication method based on NFC tag
CN202870900U (en) NFC (Near Field Communication)-based commodity information identification system
CN108082723B (en) Anti-counterfeiting bottle cap based on CPU (Central processing Unit) password chip and working method thereof
CN102622624A (en) Commodity anti-counterfeiting identification system and commodity anti-counterfeiting identification method
CN202870898U (en) Radio frequency-based commodity information identification system
CN109948760A (en) A kind of information demonstrating method and device based on two dimensional code
CN204833343U (en) Commodity anti -fake system that traces to source based on various sign indicating number of optics
CN110020540A (en) A kind of certificate recognition methods and equipment based on two dimensional code
CN106504007A (en) A kind of commodity counterfeit prevention management system based on NFC electronic tags
CN110570204A (en) anti-fake method and system for packed article
CN109992984B (en) File identification method and equipment based on two-dimensional code
CN102867260A (en) Bluetooth-based commodity information identification method and system
CN110111461A (en) A kind of pass identified off-line method and apparatus based on two dimensional code
Chen et al. Improve the performance of traceability system by using a digital certificate enabled anti-counterfeit QR-code mechanism
CN109978094A (en) A kind of information graduation rendering method and device based on two dimensional code
CN108875866A (en) A kind of two dimensional code article identity dicode identification method

Legal Events

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