CN105069393A - Two-dimensional code malicious reading-preventing method and device - Google Patents

Two-dimensional code malicious reading-preventing method and device Download PDF

Info

Publication number
CN105069393A
CN105069393A CN201510570661.2A CN201510570661A CN105069393A CN 105069393 A CN105069393 A CN 105069393A CN 201510570661 A CN201510570661 A CN 201510570661A CN 105069393 A CN105069393 A CN 105069393A
Authority
CN
China
Prior art keywords
view finding
quick response
response code
malice
locating area
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
CN201510570661.2A
Other languages
Chinese (zh)
Other versions
CN105069393B (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.)
Hangzhou Zhenbie Network Technology Co Ltd
Original Assignee
Hangzhou Zhenbie Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Zhenbie Network Technology Co Ltd filed Critical Hangzhou Zhenbie Network Technology Co Ltd
Priority to CN201510570661.2A priority Critical patent/CN105069393B/en
Publication of CN105069393A publication Critical patent/CN105069393A/en
Application granted granted Critical
Publication of CN105069393B publication Critical patent/CN105069393B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

The invention provides a two-dimensional code malicious reading-preventing method and device. The two-dimensional code malicious reading-preventing method includes the following steps that: the two-dimensional code malicious reading-preventing device acquires a two-dimensional code to be processed and detects a view finding positioning area of the two-dimensional code to be processed; the two-dimensional code malicious reading-preventing device generates a first coverage image layer; and the two-dimensional code malicious reading-preventing device covers the view finding positioning area with the first coverage image layer. With the method of the invention adopted, when a scanning terminal is to scan the two-dimensional code of which the view finding positioning area is covered with the first coverage image layer, a corresponding method is needed to be adopted to eliminate the first coverage image layer, so that information carried by the two-dimensional code can be obtained, and therefore, the two-dimensional code can be prevented from being maliciously obtained. The two-dimensional code information of an existing two-dimensional code picture is usually displayed, so that any scanning terminals can scan the two-dimensional code picture, and as a result, the problem of malicious reading of the two-dimensional code can be brought about, while, with the two-dimensional code malicious reading-preventing method and device adopted, the previous problem can be solved.

Description

The anti-malice read method of Quick Response Code and device
Technical field
The present invention relates to the anti-malice read method of a kind of Quick Response Code and device.
Background technology
Quick Response Code is the chequered with black and white graphic recording data symbol information distributed in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure; Coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with scale-of-two, to represent word numerical information, is processed to realize information by image input device or photoelectric scanning device automatically identifying and reading: it has some general character of barcode technology automatically: often kind of code system has its specific character set; Each character occupies certain width; There is certain verifying function etc.But existing two-dimension code image normally directly displays 2 D code information, any end of scan all can be scanned, easily cause the malice of Quick Response Code to read.
Summary of the invention
The object of the present invention is to provide the anti-malice read method of a kind of Quick Response Code and device, normally directly 2 D code information is displayed to improve existing two-dimension code image, any end of scan all can be scanned, easily cause the problem that the malice of Quick Response Code reads.
The present invention is achieved in that
First aspect, embodiments provides the anti-malice read method of a kind of Quick Response Code, is applied to the anti-malice reading device of Quick Response Code; The anti-malice read method of described Quick Response Code, comprising:
Described Quick Response Code anti-malice reading device obtains pending Quick Response Code, detects the view finding locating area of described pending Quick Response Code;
The anti-malice reading device of described Quick Response Code generates first and hides layer;
Described Quick Response Code anti-malice reading device hides layer by described first and covers described view finding locating area.
Further, described view finding locating area comprises the first view finding positioning image region, and described Quick Response Code anti-malice reading device hides layer by described first and covers described view finding locating area, comprising:
Described Quick Response Code anti-malice reading device hides described first the described first view finding positioning image region that layer covers described view finding locating area.
Further, described view finding locating area also comprises the second view finding positioning image region, and the anti-malice read method of described Quick Response Code, also comprises:
The anti-malice reading device of described Quick Response Code generates second and hides layer;
Described Quick Response Code anti-malice reading device hides described second the described second view finding positioning image region that layer covers described view finding locating area.
Second aspect, embodiments provides the anti-malice reading device of a kind of Quick Response Code, and the anti-malice reading device of described Quick Response Code, comprising:
View finding locating area detecting unit, for obtaining pending Quick Response Code, detects the view finding locating area of described pending Quick Response Code;
First hides layer generation unit, for generating the first covering layer;
View finding locating area capping unit, covers described view finding locating area for hiding layer by described first.
Further, described view finding locating area comprises the first view finding positioning image region, and described view finding locating area capping unit, comprising:
First view finding positioning image region overlay unit, for hiding described first the described first view finding positioning image region that layer covers described view finding locating area.
Further, described view finding locating area also comprises the second view finding positioning image region, and described view finding locating area capping unit, also comprises:
Second view finding positioning image region overlay unit, for hiding described second the described second view finding positioning image region that layer covers described view finding locating area.
The anti-malice read method of the Quick Response Code that the embodiment of the present invention provides and device, obtain pending Quick Response Code by described Quick Response Code anti-malice reading device, detect the view finding locating area of described pending Quick Response Code; Hide layer by generate described first and cover described view finding locating area, when making end of scan will scan described view finding locating area by the Quick Response Code of described first covering layer covering, need to take corresponding method to hide layer by described first to eliminate, just can get the information that described Quick Response Code carries, and then prevent described Quick Response Code from maliciously being obtained, thus improve existing two-dimension code image and normally directly 2 D code information is displayed, any end of scan all can be scanned, easily cause the problem that the malice of Quick Response Code reads.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, be to be understood that, the following drawings illustrate only some embodiment of the present invention, therefore the restriction to scope should be counted as, for those of ordinary skill in the art, under the prerequisite not paying creative work, other relevant accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 shows the process flow diagram of the anti-malice read method of Quick Response Code that the embodiment of the present invention provides;
Fig. 2 shows the structured flowchart of the anti-malice reading device of Quick Response Code that the embodiment of the present invention provides.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
Refer to Fig. 1, embodiments provide the anti-malice read method of a kind of Quick Response Code, be applied to the anti-malice reading device of Quick Response Code; The anti-malice read method of described Quick Response Code, comprising:
Step S101: described Quick Response Code anti-malice reading device obtains pending Quick Response Code, detects the view finding locating area of described pending Quick Response Code;
Step S102: the anti-malice reading device of described Quick Response Code generates first and hides layer;
Step S103: described Quick Response Code anti-malice reading device hides layer by described first and covers described view finding locating area.
Further, described view finding locating area comprises the first view finding positioning image region, and described Quick Response Code anti-malice reading device hides layer by described first and covers described view finding locating area, comprising:
Described Quick Response Code anti-malice reading device hides described first the described first view finding positioning image region that layer covers described view finding locating area.
Further, described view finding locating area also comprises the second view finding positioning image region, and the anti-malice read method of described Quick Response Code, also comprises:
The anti-malice reading device of described Quick Response Code generates second and hides layer;
Described Quick Response Code anti-malice reading device hides described second the described second view finding positioning image region that layer covers described view finding locating area.
The anti-malice read method of the Quick Response Code that the embodiment of the present invention provides, obtains pending Quick Response Code by described Quick Response Code anti-malice reading device, detects the view finding locating area of described pending Quick Response Code; Hide layer by generate described first and cover described view finding locating area, when making end of scan will scan described view finding locating area by the Quick Response Code of described first covering layer covering, need to take corresponding method to hide layer by described first to eliminate, just can get the information that described Quick Response Code carries, and then prevent described Quick Response Code from maliciously being obtained, thus improve existing two-dimension code image and normally directly 2 D code information is displayed, any end of scan all can be scanned, easily cause the problem that the malice of Quick Response Code reads
Refer to Fig. 2, embodiments provide the anti-malice reading device 200 of a kind of Quick Response Code, the anti-malice reading device 200 of described Quick Response Code, comprising:
View finding locating area detecting unit 201, for obtaining pending Quick Response Code, detects the view finding locating area of described pending Quick Response Code;
First hides layer generation unit 202, for generating the first covering layer;
View finding locating area capping unit 203, covers described view finding locating area for hiding layer by described first.
Further, described view finding locating area comprises the first view finding positioning image region, and described view finding locating area capping unit, comprising:
First view finding positioning image region overlay unit, for hiding described first the described first view finding positioning image region that layer covers described view finding locating area.
Further, described view finding locating area also comprises the second view finding positioning image region, and described view finding locating area capping unit, also comprises:
Second view finding positioning image region overlay unit, for hiding described second the described second view finding positioning image region that layer covers described view finding locating area.
The anti-malice reading device of the Quick Response Code that the embodiment of the present invention provides, obtains pending Quick Response Code by described Quick Response Code anti-malice reading device, detects the view finding locating area of described pending Quick Response Code; Hide layer by generate described first and cover described view finding locating area, when making end of scan will scan described view finding locating area by the Quick Response Code of described first covering layer covering, need to take corresponding method to hide layer by described first to eliminate, just can get the information that described Quick Response Code carries, and then prevent described Quick Response Code from maliciously being obtained, thus improve existing two-dimension code image and normally directly 2 D code information is displayed, any end of scan all can be scanned, easily cause the problem that the malice of Quick Response Code reads.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the anti-malice read method of Quick Response Code, is characterized in that, is applied to the anti-malice reading device of Quick Response Code; The anti-malice read method of described Quick Response Code, comprising:
Described Quick Response Code anti-malice reading device obtains pending Quick Response Code, detects the view finding locating area of described pending Quick Response Code;
The anti-malice reading device of described Quick Response Code generates first and hides layer;
Described Quick Response Code anti-malice reading device hides layer by described first and covers described view finding locating area.
2. the anti-malice read method of Quick Response Code according to claim 1, it is characterized in that, described view finding locating area comprises the first view finding positioning image region, and described Quick Response Code anti-malice reading device hides layer by described first and covers described view finding locating area, comprising:
Described Quick Response Code anti-malice reading device hides described first the described first view finding positioning image region that layer covers described view finding locating area.
3. the anti-malice read method of Quick Response Code according to claim 2, is characterized in that, described view finding locating area also comprises the second view finding positioning image region, and the anti-malice read method of described Quick Response Code, also comprises:
The anti-malice reading device of described Quick Response Code generates second and hides layer;
Described Quick Response Code anti-malice reading device hides described second the described second view finding positioning image region that layer covers described view finding locating area.
4. the anti-malice reading device of Quick Response Code, is characterized in that, the anti-malice reading device of described Quick Response Code, comprising:
View finding locating area detecting unit, for obtaining pending Quick Response Code, detects the view finding locating area of described pending Quick Response Code;
First hides layer generation unit, for generating the first covering layer;
View finding locating area capping unit, covers described view finding locating area for hiding layer by described first.
5. the anti-malice reading device of Quick Response Code according to claim 1, is characterized in that, described view finding locating area comprises the first view finding positioning image region, and described view finding locating area capping unit, comprising:
First view finding positioning image region overlay unit, for hiding described first the described first view finding positioning image region that layer covers described view finding locating area.
6. the anti-malice reading device of Quick Response Code according to claim 2, is characterized in that, described view finding locating area also comprises the second view finding positioning image region, and described view finding locating area capping unit, also comprises:
Second view finding positioning image region overlay unit, for hiding described second the described second view finding positioning image region that layer covers described view finding locating area.
CN201510570661.2A 2015-09-09 2015-09-09 The anti-malice read method of Quick Response Code and device Expired - Fee Related CN105069393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510570661.2A CN105069393B (en) 2015-09-09 2015-09-09 The anti-malice read method of Quick Response Code and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510570661.2A CN105069393B (en) 2015-09-09 2015-09-09 The anti-malice read method of Quick Response Code and device

Publications (2)

Publication Number Publication Date
CN105069393A true CN105069393A (en) 2015-11-18
CN105069393B CN105069393B (en) 2017-10-10

Family

ID=54498755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510570661.2A Expired - Fee Related CN105069393B (en) 2015-09-09 2015-09-09 The anti-malice read method of Quick Response Code and device

Country Status (1)

Country Link
CN (1) CN105069393B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709729A (en) * 2016-12-30 2017-05-24 维沃移动通信有限公司 Payment method and mobile terminal
CN107248071A (en) * 2017-06-06 2017-10-13 深圳正品创想科技有限公司 A kind of method and device for the security for improving Quick Response Code consumption certificate
CN110929296A (en) * 2020-02-17 2020-03-27 尤尼泰克(嘉兴)信息技术有限公司 Nested two-dimensional code encoding method and decoding method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818926A (en) * 2006-03-17 2006-08-16 北京紫光捷通科技有限公司 Two-dimensional code area precisive positioning method for two-dimensional recognition
CN103198345A (en) * 2013-04-01 2013-07-10 深圳市银之杰科技股份有限公司 Method of preventing copy of two-dimension code and two-dimension printer
CN103810514A (en) * 2013-12-02 2014-05-21 黑龙江华夏千博科技有限公司 Art two-dimension code encoding method
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
CN104778489A (en) * 2015-03-24 2015-07-15 立德高科(北京)数码科技有限责任公司 Combined anti-counterfeit label, and generation method and generation device of combined anti-counterfeit label

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818926A (en) * 2006-03-17 2006-08-16 北京紫光捷通科技有限公司 Two-dimensional code area precisive positioning method for two-dimensional recognition
CN103198345A (en) * 2013-04-01 2013-07-10 深圳市银之杰科技股份有限公司 Method of preventing copy of two-dimension code and two-dimension printer
CN103810514A (en) * 2013-12-02 2014-05-21 黑龙江华夏千博科技有限公司 Art two-dimension code encoding method
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
CN104778489A (en) * 2015-03-24 2015-07-15 立德高科(北京)数码科技有限责任公司 Combined anti-counterfeit label, and generation method and generation device of combined anti-counterfeit label

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709729A (en) * 2016-12-30 2017-05-24 维沃移动通信有限公司 Payment method and mobile terminal
CN107248071A (en) * 2017-06-06 2017-10-13 深圳正品创想科技有限公司 A kind of method and device for the security for improving Quick Response Code consumption certificate
CN110929296A (en) * 2020-02-17 2020-03-27 尤尼泰克(嘉兴)信息技术有限公司 Nested two-dimensional code encoding method and decoding method

Also Published As

Publication number Publication date
CN105069393B (en) 2017-10-10

Similar Documents

Publication Publication Date Title
US10122888B2 (en) Information processing system, terminal device and method of controlling display of secure data using augmented reality
US9607199B2 (en) Decoding machine-readable optical codes with aesthetic component
US11861450B2 (en) Multiplexed quick response (“QR”) code experience derivation
JP3996579B2 (en) Form processing system for identifying active areas of machine-readable forms
CN103248555B (en) Method and device for adding friends
CN103761062B (en) A kind of method at the corresponding material of two-dimension code area display and mobile terminal
US20140270349A1 (en) Systems and methods for classifying objects in digital images captured using mobile devices
CN108064395B (en) System and method for embedding two-dimensional code in video image
CN109598162A (en) Identify method, apparatus, terminal device and the storage medium of two dimensional code
CN104820855A (en) Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology
CN106845314B (en) A kind of method for rapidly positioning of two dimensional code
CN105069393A (en) Two-dimensional code malicious reading-preventing method and device
US20100201114A1 (en) Page mark-up using printed dot barcodes
US11670067B2 (en) Information processing apparatus and non-transitory computer readable medium
CN105825258A (en) Non-superposed combination identification based on the same identification device, and generation method and system thereof
KR102490486B1 (en) Method for generating table information based on the image
CN111738901A (en) Storage medium and image processing apparatus
US10936837B1 (en) 2D barcode overlays
CN106951811A (en) A kind of image processing method and terminal
CN110764685A (en) Method and device for identifying two-dimensional code
CN104517259B (en) Embedding algorithm method and apparatus in color text file
CN110659587A (en) Marker, marker identification method, marker identification device, terminal device and storage medium
CA3087069A1 (en) Pixelation density increment for embedding information
CN105025188A (en) Image forming apparatus, image processing apparatus, and image processing method
CN114782955A (en) Buried point processing method, electronic device, and storage medium

Legal Events

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

Granted publication date: 20171010