CN112528700A - Big data-based two-dimensional code recognition and analysis system - Google Patents

Big data-based two-dimensional code recognition and analysis system Download PDF

Info

Publication number
CN112528700A
CN112528700A CN202011463068.5A CN202011463068A CN112528700A CN 112528700 A CN112528700 A CN 112528700A CN 202011463068 A CN202011463068 A CN 202011463068A CN 112528700 A CN112528700 A CN 112528700A
Authority
CN
China
Prior art keywords
dimensional code
tail
head
coordinate point
identification
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
CN202011463068.5A
Other languages
Chinese (zh)
Other versions
CN112528700B (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.)
Maanshan Nbwave Heat Energy Science Co ltd
Original Assignee
Maanshan Nbwave Heat Energy Science 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 Maanshan Nbwave Heat Energy Science Co ltd filed Critical Maanshan Nbwave Heat Energy Science Co ltd
Priority to CN202011463068.5A priority Critical patent/CN112528700B/en
Publication of CN112528700A publication Critical patent/CN112528700A/en
Application granted granted Critical
Publication of CN112528700B publication Critical patent/CN112528700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1491Methods for optical code recognition the method including quality enhancement steps the method including a reconstruction step, e.g. stitching two pieces of bar code together to derive the full bar code

Abstract

The invention discloses a big data-based two-dimensional code identification and analysis system, which comprises a two-dimensional code processing unit, a two-dimensional code identification unit, a two-dimensional code analysis unit and a data transmission unit, wherein a scanned two-dimensional code is preprocessed by the two-dimensional code processing unit to obtain a sample two-dimensional code, and the sample two-dimensional code is sent to the two-dimensional code identification unit, and comprises a first coordinate point, a first division area, a second coordinate point, a second division area, a third coordinate point, a third division area and a fourth division area; identifying the received sample two-dimensional code through a two-dimensional code identification unit to obtain identification information, sending the identification information to a two-dimensional code analysis unit, and analyzing the identification information by using the two-dimensional code analysis unit; the invention discloses various aspects for solving the problems that the information contained in the scanned two-dimensional code cannot be rapidly displayed and the two-dimensional code with abnormal scanning cannot be positioned in the existing scheme.

Description

Big data-based two-dimensional code recognition and analysis system
Technical Field
The invention relates to the technical field of two-dimensional codes, in particular to a two-dimensional code identification and analysis system based on big data.
Background
The two-dimensional bar code is a pattern which is distributed on a plane according to a certain rule by using a certain specific geometric figure, is black and white and is used for recording data symbol information; the concept of '0' and '1' bit stream which forms the internal logic base of computer is skillfully utilized in coding, a plurality of geometric shapes corresponding to binary system are used for representing literal numerical information, and the information is automatically read by an image input device or an optoelectronic scanning device so as to realize the automatic processing of the information: it has some commonality of barcode technology: each code system has its specific character set; each character occupies a certain width; has certain checking function and the like. Meanwhile, the method also has the function of automatically identifying information of different rows and processing the graph rotation change points.
In the patent "CN 109977715A a two-dimensional code identification method based on outline identification", the positioning mark is identified by the topological structure of the outline of the positioning mark. The invention also provides a two-dimensional code based on the outline recognition. The beneficial effects of the invention are: the improved positioning mark does not use the original explicit identification characteristic any more, but uses the more implicit characteristic of the topological structure of the outline of the positioning mark to identify the positioning mark, and finds out the topological structure which meets the requirements and identifies the topological structure as the positioning mark by analyzing the topological structure of the graph during code scanning, thereby liberating the specific shape of the positioning mark, customizing the positioning mark according to the requirements, further enabling the form of the two-dimensional code to be more personalized, and being beneficial to keeping the integral fault-tolerant capability of the two-dimensional code.
The existing two-dimensional code identification and analysis system has the defects that: the problem that information contained in the scanned two-dimensional code cannot be rapidly displayed and the problem that the two-dimensional code with abnormal scanning cannot be positioned.
Disclosure of Invention
The invention aims to provide a two-dimensional code identification and analysis system based on big data, and the technical problems to be solved by the invention are as follows:
how to solve the problem that the information that two-dimensional code contains after the scanning can't carry out quick demonstration among the current scheme to and can't advance line location to the two-dimensional code that the scanning appears unusually.
The purpose of the invention can be realized by the following technical scheme: a big data-based two-dimension code identification and analysis system comprises a two-dimension code processing unit, a two-dimension code identification unit, a two-dimension code analysis unit and a data transmission unit;
the two-dimensional code processing unit is used for preprocessing the scanned two-dimensional code to obtain a sample two-dimensional code, and sending the sample two-dimensional code to the two-dimensional code identification unit, wherein the sample two-dimensional code comprises a first coordinate point and a first division area, a second coordinate point and a second division area, a third coordinate point and a third division area, and a fourth division area;
the two-dimensional code identification unit is used for identifying the received sample two-dimensional code to obtain identification information, and sending the identification information to the two-dimensional code analysis unit, and the specific identification steps comprise:
the method comprises the following steps: acquiring a first coordinate point, a second coordinate point and a third coordinate point in a sample two-dimensional code;
step two: positioning the sample two-dimensional code by using the first coordinate point, the second coordinate point and the third coordinate point, and arranging a plurality of first mark head rows, a plurality of first mark tail rows, a plurality of second mark head rows and a plurality of second mark tail rows according to a preset arrangement rule to obtain an arranged two-dimensional code;
step three: respectively identifying a first divided area, a second divided area, a third divided area and a fourth divided area in the arranged two-dimensional code to obtain first identification data, second identification data, third identification data and fourth identification data;
step four: combining the first identification data, the second identification data, the third identification data and the fourth identification data to obtain identification information;
the two-dimensional code analysis unit is used for analyzing the identification information to obtain a scanning result;
the data transmission unit is used for transmitting data among the units.
Preferably, the two-dimensional code processing unit is configured to pre-process the scanned two-dimensional code to obtain a sample two-dimensional code, and the specific steps include:
s21: acquiring two upper vertexes at the upper end in a scanned two-dimensional code, respectively setting the two upper vertexes as a first coordinate point Z1 and a second coordinate point Z2, taking two lower vertexes at the lower end in the two-dimensional code, setting any one of the two lower vertexes as a third coordinate point Z3, and setting a middle area of the two-dimensional code as packaging data, wherein the packaging data comprises a plurality of black blocks and white blocks;
s22: acquiring a plurality of rows of the packaging data and the central point of the two-dimensional code, and marking the rows from top to bottom to obtain marked packaging data;
s23: the two-dimensional code is divided at equal intervals according to the distance between the central point and the two-dimensional code frame to obtain a first divided area, a second divided area, a third divided area and a fourth divided area;
the first divided area comprises a first coordinate point and a plurality of first mark head rows, the second divided area comprises a second coordinate point and a plurality of first mark tail rows, the third divided area comprises a third coordinate point and a plurality of second mark head rows, and the fourth divided area comprises a plurality of second mark tail rows;
s24: respectively adding a first head line splicing head field and a first head line splicing tail field to the head and the tail of a plurality of first marking head lines, and labeling the first head line splicing head field and the first head line splicing tail field according to the arrangement sequence of the plurality of first marking head lines;
respectively adding a first tail line splicing head field and a first tail line splicing tail field to the head and the tail of a plurality of first mark tail lines, and labeling the first tail line splicing head field and the first tail line splicing tail field according to the arrangement sequence of the plurality of first mark tail lines;
respectively adding a second head line splicing head field and a second head line splicing tail field to the head and the tail of a plurality of second marking head lines, and labeling the second head line splicing head field and the second head line splicing tail field according to the arrangement sequence of the plurality of second marking head lines;
adding a second tail line splicing head field and a second tail line splicing tail field to the head and the tail of the second marker tail lines respectively, and labeling the second tail line splicing head field and the second tail line splicing tail field according to the arrangement sequence of the second marker tail lines;
s25: and combining the first division area, the second division area, the third division area and the fourth division area according to the positions of the first coordinate point, the second coordinate point and the third coordinate point to obtain the sample two-dimensional code.
Preferably, the first divided area, the second divided area, the third divided area and the fourth divided area in the two-dimensional code array are respectively identified to obtain first identification data, second identification data, third identification data and fourth identification data, and the specific steps include:
s31: acquiring a plurality of first marking head rows in a first divided area, coding and converting a plurality of black blocks and white blocks in the first marking head rows by using a conversion algorithm to obtain a first row of character strings, and combining the first row of character strings with a first coordinate point to obtain first identification data;
s32: acquiring a plurality of first marking tail lines in a second divided area, coding and converting a plurality of black blocks and white blocks in the first marking tail lines by using a conversion algorithm to obtain a second line character string, and combining the second line character string with a second coordinate point to obtain second identification data;
s33: acquiring a plurality of second marking head rows in a third divided area, performing coding conversion on a plurality of black blocks and white blocks in the second marking head rows by using a conversion algorithm to obtain a third row of character strings, and combining the third row of character strings with a third coordinate point to obtain third identification data;
s34: and acquiring a plurality of second marking tail lines in a fourth divided area, coding and converting a plurality of black blocks and white blocks in the second marking tail lines by using a conversion algorithm to obtain a fourth line character string, and combining the fourth line character string and a fourth coordinate point to obtain fourth identification data.
Preferably, the two-dimensional code analyzing unit is configured to analyze the identification information to obtain a scanning result, and the specific steps include:
s41: acquiring first identification data, second identification data, third identification data and fourth identification data in the identification information, and splicing a first line of character strings and a second line of character strings according to a first head line splicing head field and a first head line splicing tail field of a plurality of labels and a first tail line splicing head field and a first tail line splicing tail field of a plurality of labels according to a first coordinate point in the first identification data and a second coordinate point in the second identification data to obtain a first character combination set;
s42: according to a third coordinate point in the third identification data and a fourth coordinate point in the fourth identification data, splicing a third row of character strings and a fourth row of character strings according to a second head row splicing head field and a second head row splicing tail field of a plurality of labels and a second tail row splicing head field and a second tail row splicing tail field to obtain a second character combination set;
s43: respectively carrying out character conversion on the first character combination set and the second character combination set to obtain first character decoding information and second character decoding information;
s44: and splicing the first character decoding information and the second character decoding information according to the first coordinate point, the second coordinate point and the third coordinate point to obtain a scanning result.
The invention has the beneficial effects that:
in various aspects disclosed by the invention, a two-dimensional code processing unit is used for preprocessing a scanned two-dimensional code to obtain a sample two-dimensional code, and the sample two-dimensional code is sent to a two-dimensional code identification unit, wherein the sample two-dimensional code comprises a first coordinate point and a first division area, a second coordinate point and a second division area, a third coordinate point and a third division area and a fourth division area; the method comprises the steps that two upper vertexes at the upper end in a scanned two-dimensional code are respectively set as a first coordinate point and a second coordinate point, two lower vertexes at the lower end in the two-dimensional code are taken, any one of the two lower vertexes is set as a third coordinate point, an area in the middle of the two-dimensional code is set as packaging data, a plurality of lines of the packaging data and a central point of the two-dimensional code are obtained, and the lines are marked from top to bottom to obtain marked packaging data; the two-dimensional code is divided at equal intervals according to the distance between the central point and the two-dimensional code frame to obtain a first divided area, a second divided area, a third divided area and a fourth divided area; the scanned two-dimensional codes are divided equally, so that the defect that the identification efficiency is low because the two-dimensional codes can only be identified integrally in the conventional scheme is overcome;
identifying the received sample two-dimensional code through a two-dimensional code identification unit to obtain identification information, sending the identification information to a two-dimensional code analysis unit, and analyzing the identification information by using the two-dimensional code analysis unit to obtain a scanning result; through identifying and splicing the equally divided two-dimensional codes at the same time, the identification efficiency can be effectively improved, the purpose of rapidly displaying the information contained in the scanned two-dimensional codes is achieved, the field positions with abnormal identification can be obtained, the two-dimensional codes are processed, and the purpose of positioning the two-dimensional codes with abnormal scanning can be achieved.
Drawings
The invention will be further described with reference to the accompanying drawings.
Fig. 1 is a schematic block diagram of a big data-based two-dimensional code identification and analysis system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be 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 protection scope of the present invention.
Referring to fig. 1, the present invention is a big data-based two-dimensional code identification and analysis system, which includes a two-dimensional code processing unit, a two-dimensional code identification unit, a two-dimensional code analysis unit, and a data transmission unit;
the two-dimensional code processing unit is used for preprocessing the scanned two-dimensional code to obtain a sample two-dimensional code, and sending the sample two-dimensional code to the two-dimensional code identification unit, wherein the sample two-dimensional code comprises a first coordinate point and a first division area, a second coordinate point and a second division area, a third coordinate point and a third division area, and a fourth division area; in the embodiment of the invention, the scanned two-dimensional code comprises introduction information of company A;
the method comprises the following specific steps:
acquiring two upper vertexes at the upper end in a scanned two-dimensional code, respectively setting the two upper vertexes as a first coordinate point Z1 and a second coordinate point Z2, taking two lower vertexes at the lower end in the two-dimensional code, setting any one of the two lower vertexes as a third coordinate point Z3, and setting a middle area of the two-dimensional code as packaging data, wherein the packaging data comprises a plurality of black blocks and white blocks;
acquiring a plurality of rows of the packaging data and the central point of the two-dimensional code, and marking the rows from top to bottom to obtain marked packaging data;
the two-dimensional code is divided at equal intervals according to the distance between the central point and the two-dimensional code frame to obtain a first divided area, a second divided area, a third divided area and a fourth divided area;
the first divided area comprises a first coordinate point and a plurality of first mark head rows, the second divided area comprises a second coordinate point and a plurality of first mark tail rows, the third divided area comprises a third coordinate point and a plurality of second mark head rows, and the fourth divided area comprises a plurality of second mark tail rows;
respectively adding a first head line splicing head field and a first head line splicing tail field to the head and the tail of a plurality of first marking head lines, and labeling the first head line splicing head field and the first head line splicing tail field according to the arrangement sequence of the plurality of first marking head lines;
respectively adding a first tail line splicing head field and a first tail line splicing tail field to the head and the tail of a plurality of first mark tail lines, and labeling the first tail line splicing head field and the first tail line splicing tail field according to the arrangement sequence of the plurality of first mark tail lines;
respectively adding a second head line splicing head field and a second head line splicing tail field to the head and the tail of a plurality of second marking head lines, and labeling the second head line splicing head field and the second head line splicing tail field according to the arrangement sequence of the plurality of second marking head lines;
adding a second tail line splicing head field and a second tail line splicing tail field to the head and the tail of the second marker tail lines respectively, and labeling the second tail line splicing head field and the second tail line splicing tail field according to the arrangement sequence of the second marker tail lines;
combining the first division area, the second division area, the third division area and the fourth division area according to the positions of the first coordinate point, the second coordinate point and the third coordinate point to obtain a sample two-dimensional code;
in the embodiment of the present invention, the upper left end of the scanned two-dimensional code may be set as a first coordinate point, the upper right end of the scanned two-dimensional code may be set as a second coordinate point, the lower left end of the scanned two-dimensional code may be set as a third coordinate point, and the two-dimensional code may be equally divided into four regions according to the center point of the two-dimensional code, wherein the first divided region includes a first coordinate point and a plurality of first mark head lines, the plurality of first mark head lines are regions including a plurality of black blocks and white blocks after equally dividing the mark encapsulation data, the second divided region includes a second coordinate point and a plurality of first mark tail lines, the plurality of first mark tail lines are regions including a plurality of black blocks and white blocks after equally dividing the mark encapsulation data, the third divided region includes a third coordinate point and a plurality of second mark head lines, the plurality of second mark head lines are regions including a plurality of black blocks and white blocks after equally dividing the mark encapsulation data, the fourth division area comprises a plurality of second marking tail lines, and the second marking tail lines are areas which are obtained by equally dividing the marking packaging data and comprise a plurality of black blocks and white blocks;
for example, the marked packed data is divided equally according to the intersection point of 11 th row and 11 th column by a matrix of 21 rows and 21 columns containing a plurality of black and white block combinations, the first divided region is 1 st row to 10 th row and 1 st column to 10 th column, the second divided region is 1 st row to 10 th row and 12 th column to 21 st column, the third divided region is 11 th row to 21 st row and 1 st column to 10 th column, and the fourth divided region is 11 th row to 21 st row and 11 th row to 21 st column;
adding splicing fields and labels at the head and the tail of each row respectively, for example, adding 110 fields at the head of the first row of the first partition area, adding 101 fields at the tail of the first row, adding 120 fields at the head of the second row, and adding 102 fields at the tail of the first row; a field is added 210 at the head of the first row of the second divided region, a field is added 201 at the end of the first row, a field is added 220 at the head of the first row, and a field is added 202 at the end of the first row.
The two-dimensional code identification unit is used for identifying the received sample two-dimensional code to obtain identification information, and sending the identification information to the two-dimensional code analysis unit, and the specific identification steps comprise:
the method comprises the following steps: acquiring a first coordinate point, a second coordinate point and a third coordinate point in a sample two-dimensional code;
step two: positioning the sample two-dimensional code by using the first coordinate point, the second coordinate point and the third coordinate point, and arranging a plurality of first mark head rows, a plurality of first mark tail rows, a plurality of second mark head rows and a plurality of second mark tail rows according to a preset arrangement rule to obtain an arranged two-dimensional code;
for example, the preset arrangement rule may be that a 101 field of a first divided area can only be spliced with a 210 field of a second divided area of the same row, and a 110 field of the first divided area can only be spliced with a 220 field of a second divided area of a different row;
step three: respectively identifying a first divided area, a second divided area, a third divided area and a fourth divided area in the arranged two-dimensional code to obtain first identification data, second identification data, third identification data and fourth identification data; the method comprises the following specific steps:
acquiring a plurality of first marking head rows in a first divided area, coding and converting a plurality of black blocks and white blocks in the first marking head rows by using a conversion algorithm to obtain a first row of character strings, and combining the first row of character strings with a first coordinate point to obtain first identification data; wherein, the conversion algorithm can be a binary algorithm;
acquiring a plurality of first marking tail lines in a second divided area, coding and converting a plurality of black blocks and white blocks in the first marking tail lines by using a conversion algorithm to obtain a second line character string, and combining the second line character string with a second coordinate point to obtain second identification data;
acquiring a plurality of second marking head rows in a third divided area, performing coding conversion on a plurality of black blocks and white blocks in the second marking head rows by using a conversion algorithm to obtain a third row of character strings, and combining the third row of character strings with a third coordinate point to obtain third identification data;
acquiring a plurality of second marking tail lines in a fourth divided area, coding and converting a plurality of black blocks and white blocks in the second marking tail lines by using a conversion algorithm to obtain a fourth line character string, and combining the fourth line character string with a fourth coordinate point to obtain fourth identification data;
step four: combining the first identification data, the second identification data, the third identification data and the fourth identification data to obtain identification information;
the two-dimensional code analysis unit is used for analyzing the identification information to obtain a scanning result;
the two-dimensional code analysis unit is used for analyzing the identification information to obtain a scanning result, and the specific steps comprise:
acquiring first identification data, second identification data, third identification data and fourth identification data in the identification information, and splicing a first line of character strings and a second line of character strings according to a first head line splicing head field and a first head line splicing tail field of a plurality of labels and a first tail line splicing head field and a first tail line splicing tail field of a plurality of labels according to a first coordinate point in the first identification data and a second coordinate point in the second identification data to obtain a first character combination set;
according to a third coordinate point in the third identification data and a fourth coordinate point in the fourth identification data, splicing a third row of character strings and a fourth row of character strings according to a second head row splicing head field and a second head row splicing tail field of a plurality of labels and a second tail row splicing head field and a second tail row splicing tail field to obtain a second character combination set;
respectively carrying out character conversion on the first character combination set and the second character combination set to obtain first character decoding information and second character decoding information;
splicing the first character decoding information and the second character decoding information according to the first coordinate point, the second coordinate point and the third coordinate point to obtain a scanning result;
the data transmission unit is used for transmitting data among the units.
In the embodiment of the present invention, the scan result may be a page description of company a, which may include, but is not limited to, the business scope, business address, and contact number of company a.
The operation principle of the invention is as follows: compared with the prior art, in each aspect disclosed by the invention, the two-dimensional code processing unit is used for preprocessing the scanned two-dimensional code to obtain a sample two-dimensional code, and the sample two-dimensional code is sent to the two-dimensional code identification unit, wherein the sample two-dimensional code comprises a first coordinate point, a first division area, a second coordinate point, a second division area, a third coordinate point, a third division area and a fourth division area; the method comprises the steps that two upper vertexes at the upper end in a scanned two-dimensional code are respectively set as a first coordinate point and a second coordinate point, two lower vertexes at the lower end in the two-dimensional code are taken, any one of the two lower vertexes is set as a third coordinate point, an area in the middle of the two-dimensional code is set as packaging data, a plurality of lines of the packaging data and a central point of the two-dimensional code are obtained, and the lines are marked from top to bottom to obtain marked packaging data; the two-dimensional code is divided at equal intervals according to the distance between the central point and the two-dimensional code frame to obtain a first divided area, a second divided area, a third divided area and a fourth divided area; the scanned two-dimensional codes are divided equally, so that the defect that the identification efficiency is low because the two-dimensional codes can only be identified integrally in the conventional scheme is overcome;
identifying the received sample two-dimensional code through a two-dimensional code identification unit to obtain identification information, sending the identification information to a two-dimensional code analysis unit, and analyzing the identification information by using the two-dimensional code analysis unit to obtain a scanning result; through identifying and splicing the equally divided two-dimensional codes at the same time, the identification efficiency can be effectively improved, the purpose of rapidly displaying the information contained in the scanned two-dimensional codes is achieved, the field positions with abnormal identification can be obtained, the two-dimensional codes are processed, and the purpose of positioning the two-dimensional codes with abnormal scanning can be achieved.
In the embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the method of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above examples are only intended to illustrate the technical process of the present invention and not to limit the same, and although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical process of the present invention without departing from the spirit and scope of the technical process of the present invention.

Claims (4)

1. A big data-based two-dimension code identification and analysis system is characterized by comprising a two-dimension code processing unit, a two-dimension code identification unit, a two-dimension code analysis unit and a data transmission unit;
the two-dimensional code processing unit is used for preprocessing the scanned two-dimensional code to obtain a sample two-dimensional code, and sending the sample two-dimensional code to the two-dimensional code identification unit, wherein the sample two-dimensional code comprises a first coordinate point and a first division area, a second coordinate point and a second division area, a third coordinate point and a third division area, and a fourth division area;
the two-dimensional code identification unit is used for identifying the received sample two-dimensional code to obtain identification information, and sending the identification information to the two-dimensional code analysis unit, and the specific identification steps comprise:
the method comprises the following steps: acquiring a first coordinate point, a second coordinate point and a third coordinate point in a sample two-dimensional code;
step two: positioning the sample two-dimensional code by using the first coordinate point, the second coordinate point and the third coordinate point, and arranging a plurality of first mark head rows, a plurality of first mark tail rows, a plurality of second mark head rows and a plurality of second mark tail rows according to a preset arrangement rule to obtain an arranged two-dimensional code;
step three: respectively identifying a first divided area, a second divided area, a third divided area and a fourth divided area in the arranged two-dimensional code to obtain first identification data, second identification data, third identification data and fourth identification data;
step four: combining the first identification data, the second identification data, the third identification data and the fourth identification data to obtain identification information;
the two-dimensional code analysis unit is used for analyzing the identification information to obtain a scanning result;
the data transmission unit is used for transmitting data among the units.
2. The big-data-based two-dimensional code identification and analysis system according to claim 1, wherein the two-dimensional code processing unit is configured to preprocess the scanned two-dimensional code to obtain a sample two-dimensional code, and the specific steps include:
s21: acquiring two upper vertexes at the upper end in a scanned two-dimensional code, respectively setting the two upper vertexes as a first coordinate point Z1 and a second coordinate point Z2, taking two lower vertexes at the lower end in the two-dimensional code, setting any one of the two lower vertexes as a third coordinate point Z3, and setting a middle area of the two-dimensional code as packaging data, wherein the packaging data comprises a plurality of black blocks and white blocks;
s22: acquiring a plurality of rows of the packaging data and the central point of the two-dimensional code, and marking the rows from top to bottom to obtain marked packaging data;
s23: the two-dimensional code is divided at equal intervals according to the distance between the central point and the two-dimensional code frame to obtain a first divided area, a second divided area, a third divided area and a fourth divided area;
the first divided area comprises a first coordinate point and a plurality of first mark head rows, the second divided area comprises a second coordinate point and a plurality of first mark tail rows, the third divided area comprises a third coordinate point and a plurality of second mark head rows, and the fourth divided area comprises a plurality of second mark tail rows;
s24: respectively adding a first head line splicing head field and a first head line splicing tail field to the head and the tail of a plurality of first marking head lines, and labeling the first head line splicing head field and the first head line splicing tail field according to the arrangement sequence of the plurality of first marking head lines;
respectively adding a first tail line splicing head field and a first tail line splicing tail field to the head and the tail of a plurality of first mark tail lines, and labeling the first tail line splicing head field and the first tail line splicing tail field according to the arrangement sequence of the plurality of first mark tail lines;
respectively adding a second head line splicing head field and a second head line splicing tail field to the head and the tail of a plurality of second marking head lines, and labeling the second head line splicing head field and the second head line splicing tail field according to the arrangement sequence of the plurality of second marking head lines;
adding a second tail line splicing head field and a second tail line splicing tail field to the head and the tail of the second marker tail lines respectively, and labeling the second tail line splicing head field and the second tail line splicing tail field according to the arrangement sequence of the second marker tail lines;
s25: and combining the first division area, the second division area, the third division area and the fourth division area according to the positions of the first coordinate point, the second coordinate point and the third coordinate point to obtain the sample two-dimensional code.
3. The big data-based two-dimensional code identification and analysis system according to claim 1, wherein the first divided area, the second divided area, the third divided area and the fourth divided area in the arranged two-dimensional code are respectively identified to obtain the first identification data, the second identification data, the third identification data and the fourth identification data, and the specific steps include:
s31: acquiring a plurality of first marking head rows in a first divided area, coding and converting a plurality of black blocks and white blocks in the first marking head rows by using a conversion algorithm to obtain a first row of character strings, and combining the first row of character strings with a first coordinate point to obtain first identification data;
s32: acquiring a plurality of first marking tail lines in a second divided area, coding and converting a plurality of black blocks and white blocks in the first marking tail lines by using a conversion algorithm to obtain a second line character string, and combining the second line character string with a second coordinate point to obtain second identification data;
s33: acquiring a plurality of second marking head rows in a third divided area, performing coding conversion on a plurality of black blocks and white blocks in the second marking head rows by using a conversion algorithm to obtain a third row of character strings, and combining the third row of character strings with a third coordinate point to obtain third identification data;
s34: and acquiring a plurality of second marking tail lines in a fourth divided area, coding and converting a plurality of black blocks and white blocks in the second marking tail lines by using a conversion algorithm to obtain a fourth line character string, and combining the fourth line character string and a fourth coordinate point to obtain fourth identification data.
4. The big-data-based two-dimensional code identification and analysis system according to claim 1, wherein the two-dimensional code analysis unit is configured to analyze the identification information to obtain a scanning result, and the specific steps include:
s41: acquiring first identification data, second identification data, third identification data and fourth identification data in the identification information, and splicing a first line of character strings and a second line of character strings according to a first head line splicing head field and a first head line splicing tail field of a plurality of labels and a first tail line splicing head field and a first tail line splicing tail field of a plurality of labels according to a first coordinate point in the first identification data and a second coordinate point in the second identification data to obtain a first character combination set;
s42: according to a third coordinate point in the third identification data and a fourth coordinate point in the fourth identification data, splicing a third row of character strings and a fourth row of character strings according to a second head row splicing head field and a second head row splicing tail field of a plurality of labels and a second tail row splicing head field and a second tail row splicing tail field to obtain a second character combination set;
s43: respectively carrying out character conversion on the first character combination set and the second character combination set to obtain first character decoding information and second character decoding information;
s44: and splicing the first character decoding information and the second character decoding information according to the first coordinate point, the second coordinate point and the third coordinate point to obtain a scanning result.
CN202011463068.5A 2020-12-11 2020-12-11 Two-dimensional code recognition analysis system based on big data Active CN112528700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011463068.5A CN112528700B (en) 2020-12-11 2020-12-11 Two-dimensional code recognition analysis system based on big data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011463068.5A CN112528700B (en) 2020-12-11 2020-12-11 Two-dimensional code recognition analysis system based on big data

Publications (2)

Publication Number Publication Date
CN112528700A true CN112528700A (en) 2021-03-19
CN112528700B CN112528700B (en) 2024-04-16

Family

ID=74999349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011463068.5A Active CN112528700B (en) 2020-12-11 2020-12-11 Two-dimensional code recognition analysis system based on big data

Country Status (1)

Country Link
CN (1) CN112528700B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761961A (en) * 2021-09-07 2021-12-07 杭州海康威视数字技术股份有限公司 Two-dimensional code identification method and device
CN113890904A (en) * 2021-09-27 2022-01-04 新华三信息安全技术有限公司 Message parsing method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914675A (en) * 2014-03-17 2014-07-09 东华大学 Garment QD code recognition method
CN109977715A (en) * 2019-03-05 2019-07-05 哈尔滨工业大学(深圳) Two-dimensional code identification method and two dimensional code based on outline identification
CN110222800A (en) * 2019-04-30 2019-09-10 浙江大学 A kind of two-dimension code anti-counterfeit mark image and its recognition methods based on dot matrix

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914675A (en) * 2014-03-17 2014-07-09 东华大学 Garment QD code recognition method
CN109977715A (en) * 2019-03-05 2019-07-05 哈尔滨工业大学(深圳) Two-dimensional code identification method and two dimensional code based on outline identification
CN110222800A (en) * 2019-04-30 2019-09-10 浙江大学 A kind of two-dimension code anti-counterfeit mark image and its recognition methods based on dot matrix

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761961A (en) * 2021-09-07 2021-12-07 杭州海康威视数字技术股份有限公司 Two-dimensional code identification method and device
CN113761961B (en) * 2021-09-07 2023-08-04 杭州海康威视数字技术股份有限公司 Two-dimensional code identification method and device
CN113890904A (en) * 2021-09-27 2022-01-04 新华三信息安全技术有限公司 Message parsing method and device, computer equipment and storage medium
CN113890904B (en) * 2021-09-27 2023-10-27 新华三信息安全技术有限公司 Method, device, computer equipment and storage medium for message analysis

Also Published As

Publication number Publication date
CN112528700B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN102129585B (en) Method and system for transmitting information, device for displaying bar code and device for reading bar code
CN112528700A (en) Big data-based two-dimensional code recognition and analysis system
KR101612700B1 (en) Method for decoding matrix-type two-dimensional code
CN109059922B (en) Mobile robot positioning method, device and system
CN101645140B (en) Two-dimensional code generation method, coding/decoding method and device
JPH021087A (en) Multi-track bar code and association type decoding
CN101645081A (en) Method and system for tracing farm product information through two-dimension code
US20120031973A1 (en) Two-dimensional array code
CN1612154A (en) File searching and reading method and apparatus
CN110647956B (en) Invoice information extraction method combining two-dimension code recognition
CN114005123A (en) System and method for digitally reconstructing layout of print form text
CN103632182A (en) Three-dimensional (3D) image code generating and analyzing methods and device thereof
SG175103A1 (en) Two-dimensional array code
CN105095937A (en) Visual identification method based on linear clustering circular array graphic code
CN102081748A (en) Bar code pattern and bar code group pattern formed by node matrix and node line, and generation and identification method thereof
CN111767889A (en) Formula recognition method, electronic device and computer readable medium
CN107944525A (en) A kind of method and system of the expansion Quick Response Code capacity based on data segmentation
CN105894070A (en) Two-dimensional code encoding method and device
CN107491884A (en) Bar code management system and method
CN113343815B (en) Method for identifying form in PDF (Portable document Format) and other format documents
CN107742089B (en) Method for automatically identifying two-dimensional code by using spreadsheet
CN201518129U (en) Two-dimensional code information tracing system for agricultural product
CN113420580A (en) Method and device for positioning auxiliary locator for two-dimensional code, two-dimensional code scanning equipment and storage medium
CN109977715B (en) Two-dimensional code identification method based on contour identification and two-dimensional code
US7377449B2 (en) Synchronous two-dimensional barcode system with all-around information, and reading method thereof

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