CN109948760B - Information presentation method and device based on two-dimensional code - Google Patents

Information presentation method and device based on two-dimensional code Download PDF

Info

Publication number
CN109948760B
CN109948760B CN201910240630.9A CN201910240630A CN109948760B CN 109948760 B CN109948760 B CN 109948760B CN 201910240630 A CN201910240630 A CN 201910240630A CN 109948760 B CN109948760 B CN 109948760B
Authority
CN
China
Prior art keywords
information
presentation
dimensional code
matching
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910240630.9A
Other languages
Chinese (zh)
Other versions
CN109948760A (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.)
Uni2k Taixing Information Technology Co ltd
Original Assignee
Uni2k Taixing 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 Uni2k Taixing Information Technology Co ltd filed Critical Uni2k Taixing 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

Images

Abstract

The invention relates to the field of data identification, in particular to a two-dimensional code technology. The invention provides an information presentation method based on two-dimensional codes, which comprises the following steps: step 1, identifying a two-dimensional code, and acquiring mark information and encrypted information in the two-dimensional code; step 2, searching matching information corresponding to the marking information on the identification equipment according to the marking information of the two-dimensional code; and step 3, integrating the encrypted information and the matching information to generate presentation information. The invention solves the technical problem of high cost of acquiring the two-dimension code information in the prior art, vividly restores the data information, and realizes data protection, off-line display and cost reduction.

Description

Information presentation method and device based on two-dimensional code
Technical Field
The invention relates to the field of data identification, in particular to a two-dimensional code technology.
Background
The two-dimensional code is widely used in industries needing to quickly mark information on articles, such as high-tech industries, storage and transportation industries, wholesale and retail industries and the like.
In the first prior art, after two-dimensional codes on a text are identified, network addresses stored in the two-dimensional codes are obtained, and related data are obtained according to the network addresses. The related data is returned to the local area and then the information is directly presented, or the obtained data is requested through the network and then the content is presented after the combination with the local data is completed. Finally, the purpose of restoring the text information is achieved. The method of the prior art one depends on the network greatly, and the method needs the support of a terminal server and a database. Once the network is down or the server, database is attacked, the method cannot be implemented. The hidden danger of data leakage in the prior art. When a network request is intercepted or a database is attacked, the privacy of the data is revealed. In addition, the dependence of the prior art on a server, a network and a database causes a great deal of maintenance cost.
In the second prior art, the two-dimensional code on the text is identified in an offline manner, and then the information content is directly presented or presented after simple processing according to the identification data. Generally, the technology can only display contents in a simple text description mode. The second main disadvantage of the prior art is that the data information presentation mode is single, and is only content presentation in a simple text form.
Disclosure of Invention
The invention provides an information presentation method based on two-dimension codes, aiming at solving the technical problems of large dependence on networks and high cost when obtaining two-dimension code information, comprising the following steps:
step 1: identifying the two-dimensional code, and acquiring mark information and encrypted information in the two-dimensional code;
step 2: searching matching information corresponding to the marking information on the identification equipment according to the marking information of the two-dimensional code;
and step 3: and integrating the encrypted information and the matching information to generate presentation information.
Preferably, the information presentation method further includes:
and outputting the presentation information.
Preferably, the information presentation method further includes a preparation process, and the preparation process includes:
preparation step 1: integrating the marking information and the encrypted information to generate a two-dimensional code;
preparation step 2: and storing the matching information into the identification device.
Preferably, the association relationship between the mark information and the encryption information is: one-to-one; the correlation relationship between the marking information and the matching information is as follows: one-to-one, or many-to-one.
Preferably, the output presentation information is consistent with the format and the format of the matching information.
Preferably, the output presentation information is characters, pictures, PDF, and web pages.
Preferably, before outputting the presentation information, judging the validity of the identification device; if the identification equipment is judged to be effective equipment, the presentation information is output, and if not, the warning information is output.
Preferably, the identification device is a product based on Android, IOS, windows, linux, MacOS system.
Preferably, the two-dimensional code encryption information includes first encryption information and second encryption information;
the second encrypted information is not output through a path integrated with the matching information.
Preferably, the step 1 further comprises:
and acquiring asymmetric encryption information in the two-dimensional code, and decrypting the asymmetric encryption information according to the public key in the matching information to acquire the mark information and the encryption information.
An identification device for information presentation based on two-dimensional codes, comprising:
the identification unit is used for identifying the two-dimensional code and acquiring mark information and encrypted information in the two-dimensional code;
a storage unit for storing the matching information;
and the integration unit is used for searching the matching information corresponding to the mark information, integrating the encrypted information and the matching information and generating the presentation information.
Preferably, the presentation apparatus further includes an output unit for outputting the presentation information.
Preferably, the association relationship between the tag information and the encryption information is: one-to-one; the correlation between the marking information and the matching information is as follows: one-to-one, or many-to-one.
Preferably, the identification device further comprises an output unit for outputting the presentation information;
the output presentation information is consistent with the format and the format of the matching information.
Preferably, before the output unit outputs the presentation information, the validity of the identification device is judged; if the equipment is judged to be effective equipment, the presentation information is output, otherwise, the warning information is output.
Preferably, the identification device is a product based on Android, IOS, windows, linux, or MacOS system.
Preferably, the two-dimensional code encryption information includes first encryption information and second encryption information;
the second encrypted information is not output through a path integrated with the matching information.
The two-dimension code-based information presentation identification method and the two-dimension code-based information presentation identification equipment solve the technical problem of high cost of obtaining two-dimension code information in the prior art, restore data information vividly and vividly, and achieve data protection, off-line display and cost reduction.
Drawings
Fig. 1 is a two-dimensional code-based information presentation method according to an embodiment of the present invention
FIG. 2 is a diagram of case information provided in accordance with an embodiment of the present invention
FIG. 3 is a diagram of information presentation effects provided in accordance with an embodiment of the present invention
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the scope of the present invention.
In view of the technical problems of large dependence on a network and high cost when the two-dimension code information is obtained by the conventional method, the invention provides a method and a device for realizing the analysis of the two-dimension code and the presentation of data at low cost in an off-line state.
Example one
The embodiment provides an information presentation method based on two-dimensional codes, as shown in fig. 1 to 3.
The preparation process comprises the following steps:
after the marking information and other information needing to be encrypted are integrated, preferably, part or all of the information is encrypted by an asymmetric private key and is coded into the two-dimensional code; matching information and an asymmetric encryption public key related to the marking information need to be stored in the identification device or identification software.
The encrypted information is private information, namely information specific to individuals or units in the information presentation process; the matching information related to the mark is public information in the information presentation process, namely unified and standardized information, and the mark information corresponds to the matching information one to one.
In order to ensure that the matching information and the marking information can form an error-free composition, the public key in the matching information is required to be used for decrypting the two-dimensional code analysis data, if the decryption is successful, the matching information and the marking information in the analysis data belong to a set of combination, so that the information matching is ensured to be correct, and the data can be presented normally. If the public key is failed to decrypt, the matching information is not accordant with the analysis data, or the matching information is tampered and belongs to illegal matching information. The design can ensure the correspondence between the information matching information and the marking information and strengthen the data security.
The identification device or software is a device or software containing a decoding program. The device and the software can be any products based on Android, IOS, windows, linux, MacOS and other systems.
The presentation process comprises the following steps:
analyzing and identifying the two-dimensional code by using equipment, and obtaining mark information and encryption information in the two-dimensional code; according to the mark information in the two-dimensional code, searching related matching information corresponding to the mark on local equipment; integrating the related matching information and the encrypted information to obtain final presentation information; and displaying the presentation information.
If the two-dimension code marking information and the matching information comprise asymmetric encryption information, decrypting the asymmetric encryption information according to a public key in the matching information on the local equipment to obtain marking information and encryption information; processing the encrypted information by using the marking information and integrating the encrypted information into the matching information to obtain final presentation information; and displaying the presentation information.
The matching information can present a fixed picture, and can guide the encrypted information identified by the two-dimensional code to present specific private information at a specific position of the picture, and the matching of the two information can realize complete data recovery.
If the information is marked as 1001, the matching information of the corresponding mark is marked as 1001; or processing the information mark by using a fixed algorithm and a formula, and searching the corresponding mark information. If the information mark is 23, 24, when searching for the matching information of the mark, N (matching information of the mark) is N (information mark) multiplied by 2-1. The tag information is numbered 45, 46.
The display information may be in pdf format, various picture formats, webview format, or the like. The displayed information is file information corresponding to the two-dimensional code, and the positions of the displayed information on the characters in the form are consistent.
In the process of information presentation, the equipment can also judge the information source and display whether the information source is real and effective. The display type may be in the form of an electronic chapter or other eye-catching indicia to indicate whether the information is valid.
The invention may also present more information, such as private information that is not intended to be directly presented. The effect can be achieved by increasing data information in the two-dimensional code and changing relevant information corresponding to the mark. For example, when the information to be displayed is a license, after the two-dimensional code is identified, a real license electronic file can be presented, and personal information of an originator can also be presented.
Fig. 2 is an information effect diagram with a two-dimensional code, which can be a printed paper file. After the two-dimensional code is recognized by the device, the final information of fig. 3 will be presented. In fig. 3, "unauthorized" is a result of the device identifying the source of the information: the source of the information is illegal, indicated as "unauthorized".
The two-dimensional code drawing method provided by the embodiment of the invention has the following beneficial effects:
the information presentation mode of the invention can more vividly and completely restore the data information.
The information presentation mode of the invention can realize off-line data presentation and save network cost, and can also realize decentralization, namely, a server, a database and the like are not needed, thereby saving the system construction and maintenance cost.
The information presentation mode of the invention can present some encrypted data information which is inconvenient to disclose, thereby better protecting privacy.
Example two
An identification device for information presentation based on two-dimensional codes, comprising:
the identification unit is used for identifying the two-dimensional code and acquiring mark information and encrypted information in the two-dimensional code, wherein the encrypted information of the two-dimensional code comprises first encrypted information and second encrypted information; the second encrypted information is not output through a path integrated with the matching information;
a storage unit for storing the matching information;
and the integration unit is used for searching the matching information corresponding to the mark information, integrating the encrypted information and the matching information and generating the presentation information.
The presentation apparatus further comprises an output unit for outputting the presentation information. The format and the format of the output presentation information are consistent with those of the matching information; the output presentation information is characters, pictures, PDF and web pages. Before the output unit outputs the presentation information, judging the validity of the identification equipment; if the equipment is judged to be effective equipment, the presentation information is output, otherwise, the warning information is output.
The correlation between the mark information and the encryption information is as follows: one-to-one; the correlation between the marking information and the matching information is as follows: one-to-one, or many-to-one.
The identification equipment is a product based on Android, IOS, windows and linux systems.
In summary, the method and device for identifying information presentation of a two-dimensional code provided by the embodiments of the present invention have the following beneficial effects:
(1) the information presentation mode of the invention is vivid and completely restores the data information.
(2) The information presentation mode of the invention can realize off-line data presentation and save network cost; decentralization can be realized, namely, a server, a database and the like are not needed, and the system construction and maintenance cost is saved.
(3) The information presentation mode of the invention can present some encrypted data information which is inconvenient to disclose, thereby better protecting privacy.
(4) The optimized asymmetric key design in the information presentation mode can ensure the correspondence between the information matching information and the marking information and strengthen the data security.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. An information presentation method based on two-dimensional codes is characterized by comprising the following steps:
step 1: identifying the two-dimensional code, and acquiring mark information and encrypted information in the two-dimensional code;
step 2: searching matching information corresponding to the marking information on the identification equipment according to the marking information of the two-dimensional code;
and step 3: integrating the encrypted information and the matching information to generate presentation information;
the information presentation method further comprises a preparation process, wherein the preparation process comprises the following steps: preparation step 1: integrating the marking information and the encrypted information to generate a two-dimensional code; preparation step 2: storing the matching information into the identification device;
the two-dimension code encryption information comprises first encryption information and second encryption information; the second encrypted information is not output through a path integrated with the matching information;
the step 1 further comprises: acquiring asymmetric encryption information in the two-dimensional code, and decrypting the asymmetric encryption information according to a public key in the matching information to obtain mark information and encryption information;
the information presentation method further comprises: outputting the presentation information;
the output presentation information is consistent with the format and the format of the matching information.
2. The two-dimensional code-based information presentation method according to claim 1, wherein the correlation between the tag information and the encryption information is: one-to-one; the correlation between the marking information and the matching information is as follows: one-to-one, or many-to-one.
3. The information presentation method based on the two-dimensional code as claimed in claim 1, wherein the output presentation information is text, picture, PDF, web page.
4. The information presentation method based on two-dimensional codes according to claim 1, wherein before outputting the presentation information, the validity of the identification device is judged; if the equipment is judged to be effective equipment, the presentation information is output, otherwise, the warning information is output.
5. The two-dimensional code-based information presentation method according to claim 1, wherein the identification device is a product based on Android, IOS, windows, linux, MacOS system.
6. An identification device for information presentation based on two-dimensional codes, comprising: the identification unit is used for identifying the two-dimensional code and acquiring mark information and encrypted information in the two-dimensional code; a storage unit for storing the matching information; the integration unit is used for searching matching information corresponding to the mark information, integrating the encryption information and the matching information and generating presentation information;
the identification device further comprises an output unit for outputting presentation information; the format and the format of the output presentation information are consistent with those of the matching information;
before the output unit outputs the presentation information, judging the validity of the identification equipment; if the identification equipment is judged to be effective equipment, the presentation information is output, and if not, the warning information is output.
7. The identification device for information presentation based on two-dimensional code according to claim 6, wherein the correlation between the tag information and the encryption information is: one-to-one; the correlation between the marking information and the matching information is as follows: one-to-one, or many-to-one.
8. The two-dimensional code based identification device for information presentation according to claim 6, wherein the identification device is a product based on Android, IOS, windows, linux, 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 CN109948760A (en) 2019-06-28
CN109948760B true 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)

Families Citing this family (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 (6)

* 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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015228585A (en) * 2014-05-30 2015-12-17 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
CN107016499B (en) * 2017-03-23 2020-12-15 国家电网公司 Transformer substation equipment inspection method based on two-dimensional code encryption identification
CN107862364B (en) * 2017-11-08 2018-09-07 王少龙 A kind of generation method and system of the individual identification mark that plain code is combined with password

Patent Citations (6)

* 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
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

Also Published As

Publication number Publication date
CN109948760A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
US10640273B2 (en) Authentication of packaged products
US9306944B2 (en) Secure information handling system matrix bar code
CN104008351B (en) Window application completeness check system, method and device
US20160323108A1 (en) Accessing Content by Processing Secure Optical Codes
US20160323107A1 (en) Secure Optical Codes for Accessing Content
US20140112551A1 (en) Secondary information for an information handling system matrix bar code function
CN105976005A (en) Two-dimensional code encrypting method, two-dimensional code generating device and two-dimensional code scanning device
CN102663590B (en) Based on commodity counterfeit prevention Verification System and the method for restriction certification number of times
MX2013007923A (en) High value document authentication system & method.
CN104618107A (en) Digital signature method and system
US20130262864A1 (en) Method and system for supporting secure documents
US10911242B2 (en) Authentication in distribution systems
WO2020233047A1 (en) Page test method and apparatus
CN103532960A (en) Text encryption interaction method, encryption method and device, decryption method and device
CN109948760B (en) Information presentation method and device based on two-dimensional code
US20070177823A1 (en) Method, systems, and media for identifying whether a machine readable mark may contain sensitive data
CN111859431A (en) Electronic file signature method and device, electronic equipment and storage medium
CN114626079A (en) File viewing method, device, equipment and storage medium based on user permission
CN104156645A (en) Copy verification system and application method thereof
CN108900472A (en) The transmission method and device of information
CN108830364B (en) Dynamic two-dimensional code generation method and system
CN111339556A (en) Data desensitization method, terminal, device and storage medium
Melgar et al. An alternative proposal of tracking products using digital signatures and QR codes
CN101656707A (en) False proof mark system for website and realizing method thereof
CN103065101A (en) Anti-counterfeiting method for documents

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