CN109389195A - A kind of method generating seal two dimensional code and the seal with the two dimensional code - Google Patents
A kind of method generating seal two dimensional code and the seal with the two dimensional code Download PDFInfo
- Publication number
- CN109389195A CN109389195A CN201710661654.2A CN201710661654A CN109389195A CN 109389195 A CN109389195 A CN 109389195A CN 201710661654 A CN201710661654 A CN 201710661654A CN 109389195 A CN109389195 A CN 109389195A
- Authority
- CN
- China
- Prior art keywords
- code
- hollow mold
- dimensional code
- initial position
- seal
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
- G06K19/06103—Constructional details the marking being embedded in a human recognizable image, e.g. a company logo with an embedded two-dimensional code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
Abstract
The present invention provides a kind of method for generating seal two dimensional code and the seal with the two dimensional code, the hollow mold of generated code figure;Initial position is determined on the hollow mold;Since the initial position, two-dimensional code data stream is aligned to the hollow mold as unit of macroblock along default orientation.
Description
Technical field
The present invention relates to image identification technical field more particularly to a kind of method for generating seal two dimensional code and there is this
The seal of two dimensional code.
Background technique
Two-dimensional bar code/two dimensional code (2-dimensional bar code) is also known as quick response codes (Quick Response
Code, QR Code), it is an a kind of popular coding mode in mobile device in recent years.The coding mode is than tradition
Bar code (Bar Code) more information can be stored, can also indicate more data types.Currently, two dimensional code can be printed
In name on piece, to carry out identity validation to personage, company or businessman for knowing otherwise by two dimensional code.
As the continuous evolution of creative seal does not influence two dimensional code on the basis of how being embedded in seal in two dimensional code
Recognition, it has also become urgent problem to be solved at present.
Summary of the invention
In view of the above problems, the embodiment of the present invention provide it is a kind of generate seal two dimensional code method and have the two dimensional code
Seal, to overcome the above problem or at least be partially solved the above problem.
In a first aspect, the embodiment of the present invention provides a kind of method for generating seal two dimensional code, this method comprises:
The hollow mold of generated code figure;
Initial position is determined on the hollow mold;
Since the initial position, two-dimensional code data stream is aligned to institute as unit of macroblock along default orientation
State hollow mold, generated code figure image.
According to an embodiment of the present invention, the orientation is clockwise or counterclockwise.
According to an embodiment of the present invention, the hollow mold is square structure.
According to an embodiment of the present invention, the initial position include it is following any one: the upper left corner, the lower left corner, the right side
Upper angle, the lower right corner.
According to an embodiment of the present invention, the initial position is second macro mould of arm of angle genesis of the hollow mold
Block corresponding position.
According to an embodiment of the present invention, the method also includes: the inner spare area domain of the hollow mold into
Row information filling.
According to an embodiment of the present invention, the information is pictorial information or text information.
According to an embodiment of the present invention, since the initial position, along default orientation with macroblock for singly
Two-dimensional code data stream is aligned to the hollow mold by position, comprising:
Binary data stream is divided into the numeric data code word with specific bit length;
Since the initial position, the numeric data code word is aligned to the hollow mold along default orientation.
According to an embodiment of the present invention, all dark unit modules or all of the frame of the macroblock
The macroblock of light module, described two frames is alternately arranged in code figure, the numeric data code word and number deposit in frame with
Among interior unit module.
According to an embodiment of the present invention, the number of the macroblock of the initial position of the hollow mold of the code figure
For default value, the number of the macroblock is arranged in order by the initial position of the hollow mold of the code figure.
Second aspect, the embodiment of the present invention provide a kind of 2 D-code seal, the code figure image with hollow mold, the code
Figure image includes being arranged as unit of macroblock since the initial position determined on the hollow mold along default orientation
The two-dimensional code data stream of column.
The third aspect, the embodiment of the present invention provide a kind of equipment for generating seal two dimensional code, which includes:
Generating means, the hollow mold for generated code figure;
Determining device, for determining initial position on the hollow mold;
Collating unit, for since the initial position, along default orientation by two dimensional code as unit of macroblock
Data flow is aligned to the hollow mold, generated code figure image.
According to an embodiment of the present invention, the collating unit is also used in the inner spare area of the hollow mold
Domain carries out information filling.
According to an embodiment of the present invention, the collating unit includes:
Divide sub-device, for binary data stream to be divided into the numeric data code word with specific bit length;
Sub-device is arranged, for filling out the numeric data code word along default filling orientation since the initial position
It fills and is aligned to the hollow mold.
Fourth aspect, the embodiment of the present invention provide a kind of terminal for generating seal two dimensional code, comprising:
One or more processor;
Memory;
The program of storage in the memory, when being executed by one or more of processors, described program makes
The processor executes the method for generating seal two dimensional code.
5th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium
Matter is stored with program, when said program is executed by a processor, so that the processor executes the generation seal two dimensional code
Method.
The method of seal two dimensional code and the seal with the two dimensional code are generated described in the embodiment of the present invention, generated code figure
Hollow mold;Initial position is determined on the hollow mold;Since the initial position, along default orientation with macro mould
Two-dimensional code data stream is aligned to the hollow mold, generated code figure image for unit by block.In this way, generating seal two dimensional code code
It is left white when figure in inside, is not used in storing data, it, being capable of not shadow completely in this way when seal is embedded in two dimensional code hollow region
Ring the recognition problem of two dimensional code.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is that GM code omnidirectional distinguishes schematic diagram;
Fig. 2 is the structural schematic diagram of the two dimensional code after hollowing out inside the embodiment of the present invention;
Fig. 3 (a) is the implementation process schematic diagram one for the method that the embodiment of the present invention generates seal two dimensional code;
Fig. 3 (b) is the shape and structure schematic diagram of hollow mold of the embodiment of the present invention;
Fig. 3 (c) is that the application example two-dimensional code data of the embodiment of the present invention one arranges schematic diagram;
Fig. 3 (d) is that the another application example two-dimensional code data of the embodiment of the present invention arranges schematic diagram;
Fig. 3 (e) is that traditional two-dimensional code data arranges schematic diagram;
Fig. 4 (a) is the implementation process schematic diagram two for the method that the embodiment of the present invention generates seal two dimensional code;
Fig. 4 (b) is that the inside of square structure of the embodiment of the present invention is left white the display renderings of two dimensional code;
Fig. 4 (c) is that the display renderings that personage's head portrait is filled in two dimensional code are hollowed out inside the embodiment of the present invention;
Fig. 4 (d) is that the display renderings that " China " printed words are filled in two dimensional code are hollowed out inside the embodiment of the present invention;
Fig. 5 is the composed structure schematic diagram for the equipment that the embodiment of the present invention generates seal two dimensional code;
Fig. 6 is an optional hardware structural diagram of the equipment that the embodiment of the present invention generates seal two dimensional code.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Before the present invention will be described in further detail, noun involved in the embodiment of the present invention and term are said
Bright, noun involved in the embodiment of the present invention and term are suitable for following explanation.
1) two dimensional code, using certain specific geometric figure according to certain rules in the black and white of plane (on two-dimensional directional) distribution
Alternate graphic recording data symbol information;Composition computer-internal logical foundations are dexterously utilized in code compilation
The concept of " 0 ", " 1 " bit stream indicates text numerical information using several geometrical bodies corresponding with binary system, passes through
Image input device or photoelectric scanning device automatically identifying and reading are to realize automatic processing of information.Two dimensional code has some of barcode technology
General character: every kind of code system has its specific character set;Each character occupies certain width;With certain verifying function etc..Together
When also have to the information automatic identification function do not gone together and the processing rotationally-varying point of figure.
2) code figure can be rectangular code figure or ring code figure, and the code figure includes arranging in certain sequence on the surface,
Rectangular unit modules with different optical signatures;Unit module in the code figure is divided into the macroblock of multiple rectangles.
3) macroblock including storing there is the unit module of the numeric data code word of fixed data length and storage to represent the macro mould
The unit module of Position Number of the block in code figure.The macroblock includes Num × Num unit module, wherein Num be greater than
3 natural number.By taking GM code as an example, Num value is 6, i.e., each macroblock is made of 6 × 6 square shaped cells modules.
4) GM code, also referred to as GM grid code (Grid Matrix Code) are a kind of two dimensional code code systems of square.GM code
It can and offer five user optional error-correction levels a certain amount of with code storage.The priority of the GM code is: superpower fouling resistance
Ability and error correcting capability;Superpower ability of anti-deformation;There is no fatal weakness in figure;Storage volume is big, can believe any computer digit
Breath coding.Therefore under the premise of error-correction level allows, any region is defaced not to affect recognition.As shown in Figure 1, GM code can quilt
360 ° of omnidirectional's recognitions, allow 45 ° of inclination maximum.Here, the datail description in relation to GM code may refer to " Patent No.
The patent document of ZL200410022052.5 ".
Fig. 2 show the structural schematic diagram of the two dimensional code after hollowing out inside the embodiment of the present invention, as shown in Fig. 2, pass through by
It is hollowed out inside one two dimensional code for carving name (be equivalent to and be stained), also an available back-shaped code is used for seal.Such as Fig. 2
Shown, area shared by cut-out can only about account for 40% or so inside the two dimensional code, then high, entangling beyond two dimensional code
Wrong ability leads to not distinguish.In addition, cut-out has occupied most of error correcting capability of two dimensional code, remainder is caused
Error correcting capability it is very weak.For example, using the two dimensional code of 5 grades of error correction, it is 50% that theoretical maximum was allowed, which is stained area, it is assumed that
Inside, which hollows out, accounts for the 40% of the gross area, then remainder theoretical maximum can only be stained 10% again, can not distinguish more than 10%, phase
Weaken significantly when in fouling resistance ability.
It can be seen that there are error correcting capabilities is poor for the direct two dimensional code for hollowing out inside as described in Figure 2, fouling resistance ability is big
The problem of weakening greatly and leading to not recognition.
In order to effectively solve the problems, such as the internal two dimensional code hollowed out in the presence of that can not distinguish, the embodiment of the present invention provides a kind of life
At the method for seal two dimensional code, as shown in Fig. 3 (a), the method for generating seal two dimensional code includes:
Step 301: the hollow mold of generated code figure;
Here, the hollow mold can be square structure, as shown in Fig. 3 (b).
Step 302: initial position is determined on the hollow mold;
Here it is possible to which any one of described hollow mold macroblock corresponding position is determined as initial position.Certainly,
It, can be by the start bit for the hollow mold there are corner edge for the ease of the subsequent read operation to two dimensional code
It sets at the corner edge determined in hollow mold.By taking square structure as an example, the initial position may include following any one
Kind: the upper left corner, the lower left corner, the upper right corner or the lower right corner.
Step 303: since the initial position, along default orientation by two-dimensional code data stream as unit of macroblock
It is aligned to the hollow mold.
Wherein, all dark unit modules of the frame of the macroblock or all light modules, described two sides
The macroblock of frame is alternately arranged in code figure, and the numeric data code word and number are deposited among the unit module within frame.
Here, the orientation can be for clockwise, or counterclockwise.The hollow mould of the code figure
The number of the macroblock of the initial position of type is default value, the institute by the initial position of the hollow mold of the code figure
The number for stating macroblock is arranged in order.It should be noted that described be arranged in order can be using arrangement incremental in order
Mode, can also be using the arrangement mode to successively decrease in order.
According to an illustrative embodiment of the invention, the initial position can be square the angle of the hollow mold of structure
Play second macroblock corresponding position in edge.
In one example, as shown in Fig. 3 (c), by taking the hollow mold of square structure as an example, by the upper of the hollow mold
Second macroblock corresponding position is determined as initial position from left to right at edge, can be single with macroblock along preset clockwise direction
Two-dimensional code data stream is aligned to the hollow mold by position.
In another example, as shown in Fig. 3 (d), by taking the hollow mold of square structure as an example, by the hollow mold
The 4th macroblock corresponding position is determined as initial position from right to left for top edge, can be with macroblock along preset counter clockwise direction
Two-dimensional code data stream is aligned to the hollow mold by unit.
It should be noted that theoretically, the initial position can be any macroblock pair in the hollow mold
Answer position.
Shown in the application example two-dimensional code data arrangement mode of the present invention one shown in comparison diagram 3 (c) or Fig. 3 (d) and Fig. 3 (e)
Traditional two-dimensional code data arrangement mode, it can be seen that including the embodiment of the present invention is when generating seal two dimensional code code figure
Portion is left white, and is not used in storing data, can be very good to solve the problems, such as that the internal two dimensional code presence hollowed out can not be distinguished in this way.
According to an illustrative embodiment of the invention, since the initial position, along default orientation with macroblock
Two-dimensional code data stream is aligned to the hollow mold for unit, comprising:
Binary data stream is divided into the numeric data code word with specific bit length;
Since the initial position, the numeric data code word is aligned to the hollow mold along default orientation.
The method that seal two dimensional code is generated described in the embodiment of the present invention, the hollow mold of generated code figure;In the hollow mould
Initial position is determined in type;Since the initial position, along default filling orientation by two dimensional code as unit of macroblock
Data flow filling is aligned to the hollow mold.In this way, being left white when generating seal two dimensional code code figure in inside, it is not used in and deposits
Data are stored up, in this way when seal is embedded in two dimensional code hollow region, the recognition problem of two dimensional code can not influenced completely.
The embodiment of the present invention provides a kind of method for generating seal two dimensional code, as shown in Fig. 4 (a), the generation seal two
Dimension code method include:
Step 401: the hollow mold of generated code figure;
Here, the hollow mold can be square structure, as shown in Fig. 3 (b).
Step 402: initial position is determined on the hollow mold;
Here it is possible to which any one of described hollow mold macroblock corresponding position is determined as initial position.Certainly,
It, can be by the start bit for the hollow mold there are corner edge for the ease of the subsequent read operation to two dimensional code
It sets at the corner edge determined in hollow mold.By taking square structure as an example, the initial position may include following any one
Kind: the upper left corner, the lower left corner, the upper right corner or the lower right corner.
Step 403: since the initial position, along default orientation by two-dimensional code data stream as unit of macroblock
It is aligned to the hollow mold;
Wherein, all dark unit modules of the frame of the macroblock or all light modules, described two sides
The macroblock of frame is alternately arranged in code figure, and the numeric data code word and number are deposited among the unit module within frame.
Here, the orientation can be for clockwise, or counterclockwise.The hollow mould of the code figure
The number of the macroblock of the initial position of type is default value, the institute by the initial position of the hollow mold of the code figure
The number for stating macroblock is arranged in order.It should be noted that described be arranged in order can be using arrangement incremental in order
Mode, can also be using the arrangement mode to successively decrease in order.
According to an illustrative embodiment of the invention, the initial position can be square the angle of the hollow mold of structure
Play second macroblock corresponding position in edge.
In one example, as shown in Fig. 3 (c), by taking the hollow mold of square structure as an example, by the upper of the hollow mold
Second macroblock corresponding position is determined as initial position from left to right at edge, can be single with macroblock along preset clockwise direction
Two-dimensional code data stream is aligned to the hollow mold by position.
In another example, as shown in Fig. 3 (d), by taking the hollow mold of square structure as an example, by the hollow mold
The 4th macroblock corresponding position is determined as initial position from right to left for top edge, can be with macroblock along preset counter clockwise direction
Two-dimensional code data stream is aligned to the hollow mold by unit.
It should be noted that theoretically, the initial position can be any macroblock pair in the hollow mold
Answer position.
Shown in the application example two-dimensional code data arrangement mode of the present invention one shown in comparison diagram 3 (c) or Fig. 3 (d) and Fig. 3 (d)
Traditional two-dimensional code data arrangement mode, it can be seen that including the embodiment of the present invention is when generating seal two dimensional code code figure
Portion is left white, and is not used in storing data, can be very good to solve the problems, such as that the internal two dimensional code presence hollowed out can not be distinguished in this way.
According to an illustrative embodiment of the invention, since the initial position, along default orientation with macroblock
Two-dimensional code data stream is aligned to the hollow mold for unit, comprising:
Binary data stream is divided into the numeric data code word with specific bit length;
Since the initial position, the numeric data code word is aligned to the hollow mold along default filling direction.
Step 404: carrying out information filling in the inner spare area domain of the hollow mold.
Here, the information can be pictorial information, or text information.
It should be noted that the execution of step 404 of the embodiment of the present invention can before step 402~403, between or it
Afterwards, it therefore is not used to limit its here and executes sequence.
In one example, it as shown in Fig. 4 (b) to Fig. 4 (d), is left white in the inside of the square structure as shown in Fig. 4 (b)
In artistry two dimensional code, personage's head portrait can be filled and correspond to pictorial information (such as Fig. 4 (c) shown in), can also fill such as " in
The text information (shown in such as Fig. 4 (d)) of state " printed words, to generate the seal two dimensional code of creative.
The method that seal two dimensional code is generated described in the embodiment of the present invention, the hollow mold of generated code figure;In the hollow mould
Initial position is determined in type;Since the initial position, along default orientation by two-dimensional code data as unit of macroblock
Stream is aligned to the hollow mold;Information filling is carried out in the inner spare area domain of the hollow mold.In this way, generating seal
It is left white when two dimensional code code figure in inside, is not used in storing data, it, can in this way when seal is embedded in two dimensional code hollow region
The recognition problem of two dimensional code is not influenced completely.
The embodiment of the present invention provides a kind of 2 D-code seal, as shown in Fig. 4 (b), the code figure image with hollow mold, and institute
Stating yard figure image includes since the initial position of determination on the hollow mold, along default orientation with macroblock for singly
The two-dimensional code data stream of position arrangement.
Here, the orientation can be clockwise or counterclockwise.
Wherein, the hollow mold is square structure, as shown in Fig. 3 (b).The initial position includes following any one
Kind: the upper left corner, the lower left corner, the upper right corner, the lower right corner.
According to an illustrative embodiment of the invention, the initial position can be the arm of angle genesis the of the hollow mold
Two macroblock corresponding positions.
In one example, as shown in Fig. 3 (c), by taking the hollow mold of square structure as an example, the code figure image include from
Second macroblock corresponding position starts from left to right for the top edge of the hollow mold, is with macroblock along preset clockwise direction
Unit arrangement by two-dimensional code data stream.
In another example, as shown in Fig. 3 (d), by taking the hollow mold of square structure as an example, the code figure image includes
Since the top edge of the hollow mold from right to left the 4th macroblock corresponding position, along preset counter clockwise direction with macroblock
For the two-dimensional code data stream of unit arrangement.
According to an illustrative embodiment of the invention, there is information filling in the inner spare area domain of the hollow mold.
Wherein, the information is pictorial information or text information.
In one example, it as shown in Fig. 4 (b) to Fig. 4 (d), is left white in the inside of the square structure as shown in Fig. 4 (b)
In seal two dimensional code, personage's head portrait can be filled and correspond to pictorial information (shown in such as Fig. 4 (c)), such as " China " can also be filled
The text information (shown in such as Fig. 4 (d)) of printed words, to generate the seal two dimensional code of creative.
The embodiment of the present invention provides a kind of equipment for generating seal two dimensional code, as shown in figure 5, the equipment includes:
Generating means 51, the hollow mold for generated code figure;
Determining device 52, for determining initial position on the hollow mold;
Collating unit 53 will be two-dimentional as unit of macroblock along default orientation for since the initial position
Code data flow is aligned to the hollow mold.
According to an illustrative embodiment of the invention, the collating unit 53, is also used in the inside of the hollow mold
White space carries out information filling.
According to an illustrative embodiment of the invention, the collating unit 53 includes:
Divide sub-device, for binary data stream to be divided into the numeric data code word with specific bit length;
Sub-device is arranged, for being aligned to the numeric data code word along default orientation since the initial position
The hollow mold.
In practical application, above-mentioned generating means 51, determining device 52, the specific structure of collating unit 53 and its sub-device are equal
It can correspond to processor.The specific structure of processor can be central processing unit (CPU, Central Processing
Unit), microprocessor (MCU, Micro Controller Unit), digital signal processor (DSP, Digital Signal
Processing) or programmable logic device (PLC, Programmable Logic Controller) etc. has processing function
Electronic component or electronic component set.Wherein, the processor includes executable code, and the executable code is deposited
In storage medium, the processor can execute tool by being connected in the communication interfaces such as bus and the storage medium for storage
When the corresponding function of each unit of body, is read from the storage medium and run the executable code.The storage medium
Part for storing the executable code is preferably non-moment storage medium.
The equipment that seal two dimensional code is generated described in the present embodiment may be disposed at server side, also can be set in terminal side.
Illustratively, Fig. 6 is shown provided with an optional hardware configuration signal of the equipment 600 for generating seal two dimensional code
Figure, including at least one processor 601, memory 602, at least one network interface 604 and user interface 603.Generate seal
Various components in the equipment 600 of two dimensional code are coupled by bus system 605.It is understood that bus system 605 is for real
Connection communication between these existing components.Bus system 605 further includes power bus, controls always in addition to including data/address bus
Line and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 605 in Fig. 6.
Wherein, user interface 603 may include display, keyboard, mouse, trace ball, click wheel, key, button, sense of touch
Plate or touch screen etc..
It is appreciated that memory 602 can be volatile memory or nonvolatile memory, may also comprise volatibility and
Both nonvolatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory),
Programmable read only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM
(EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory
The storage of (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access
Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited
Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be
Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access
Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as
Static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory
(SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM,
Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous
Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM,
Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random
Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links
Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus
Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited
Reservoir 602 is intended to include but is not limited to the memory of these and any other suitable type.
Memory 602 in the embodiment of the present invention is used to store various types of data to support to generate seal two dimensional code
The operation of equipment 600.The example of these data include: by generate seal two dimensional code equipment 600 on operate it is any based on
Calculation machine program.Wherein, operating system 6021 includes various system programs, such as ccf layer, core library layer, driving layer etc., is used for
Realize various basic businesses and the hardware based task of processing.Application program 6022 may include various application programs, be used for
Realize various applied business.Realize that the program of present invention method may be embodied in application program 6022.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, DSP or other programmable logic device, discrete gate or transistor logic, divide
Vertical hardware component etc..Processor 601 may be implemented or execute disclosed each method, step and logic in the embodiment of the present invention
Block diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with disclosed in the embodiment of the present invention
The step of method, can be embodied directly in hardware decoding processor and execute completion, or with hardware in decoding processor and soft
Part block combiner executes completion.Software module can be located in storage medium, which is located at memory 602, processor
601 read the information in memory 602, in conjunction with the step of its hardware completion preceding method.
Specifically, the processor 601 is read from the memory 602 by the bus system 605 and executes life
At the executable instruction of the method for seal two dimensional code, following steps can be performed:
The hollow mold of generated code figure;
Initial position is determined on the hollow mold;
Since the initial position, two-dimensional code data stream is aligned to institute as unit of macroblock along default orientation
State hollow mold.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.
Claims (10)
1. a kind of method for generating seal two dimensional code, this method comprises:
The hollow mold of generated code figure;
Initial position is determined on the hollow mold;
Since the initial position, two-dimensional code data stream is aligned in described as unit of macroblock along default orientation
Empty model, generated code figure image.
2. according to the method described in claim 1, wherein, the orientation is clockwise or counterclockwise.
3. according to the method described in claim 1, wherein, the hollow mold is square structure.
4. according to the method described in claim 3, wherein, the initial position include it is following any one: the upper left corner, lower-left
Angle, the upper right corner, the lower right corner.
5. a kind of 2 D-code seal, the code figure image with hollow mold, the code figure image includes from the hollow mold
The initial position of upper determination starts, the two-dimensional code data stream arranged as unit of macroblock along default orientation.
6. a kind of equipment for generating seal two dimensional code, the equipment include:
Generating means, the hollow mold for generated code figure;
Determining device, for determining initial position on the hollow mold;
Collating unit, for since the initial position, along default orientation by two-dimensional code data as unit of macroblock
Stream is aligned to the hollow mold, generated code figure image.
7. device according to claim 6, wherein
The collating unit is also used to carry out information filling in the inner spare area domain of the hollow mold.
8. device according to claim 6, wherein the collating unit includes:
Divide sub-device, for binary data stream to be divided into the numeric data code word with specific bit length;
Sub-device is arranged, for filling and arranging by the numeric data code word along default filling orientation since the initial position
Arrange the hollow mold.
9. a kind of terminal for generating seal two dimensional code, comprising:
One or more processor;
Memory;
The program of storage in the memory, when being executed by one or more of processors, described program makes described
Processor executes the method as described in any one of claim 1-4.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has program, when described program is located
When managing device execution, so that the processor executes the method as described in any one of claim 1-4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710661654.2A CN109389195A (en) | 2017-08-04 | 2017-08-04 | A kind of method generating seal two dimensional code and the seal with the two dimensional code |
PCT/CN2018/093251 WO2019024628A1 (en) | 2017-08-04 | 2018-06-28 | Method for generating two-dimensional code of stamp and stamp with two-dimensional code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710661654.2A CN109389195A (en) | 2017-08-04 | 2017-08-04 | A kind of method generating seal two dimensional code and the seal with the two dimensional code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109389195A true CN109389195A (en) | 2019-02-26 |
Family
ID=65232305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710661654.2A Pending CN109389195A (en) | 2017-08-04 | 2017-08-04 | A kind of method generating seal two dimensional code and the seal with the two dimensional code |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109389195A (en) |
WO (1) | WO2019024628A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109720111A (en) * | 2019-03-05 | 2019-05-07 | 华北电力大学(保定) | Security stamp based on two dimensional code |
CN113500863A (en) * | 2021-08-18 | 2021-10-15 | 江苏图码信息科技有限公司 | Seal with built-in information image code and application system thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1670763A (en) * | 2004-03-15 | 2005-09-21 | 深圳矽感科技有限公司 | A two dimensional bar codes and coding-decoding method thereof |
CN202887227U (en) * | 2012-08-21 | 2013-04-17 | 吉林省通程科技有限公司 | Anti-fake pattern code label |
CN105074732A (en) * | 2012-12-19 | 2015-11-18 | 电装波动株式会社 | Information code, information code generation method, information code reader device, and information code usage system |
US20160092760A1 (en) * | 2012-12-19 | 2016-03-31 | Mitsubishi Electric Corporation | Information code, information code producing method, information code reader, and system which uses information code |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5018171A (en) * | 1989-08-09 | 1991-05-21 | National Semiconductor Corp. | Smoothing filter |
CN1294519C (en) * | 2003-05-22 | 2007-01-10 | 武汉矽感科技有限公司 | Two-D bar code encoding and decoding method |
KR20140141594A (en) * | 2012-02-21 | 2014-12-10 | 아이코닛 리미티드 | Readable matrix code |
-
2017
- 2017-08-04 CN CN201710661654.2A patent/CN109389195A/en active Pending
-
2018
- 2018-06-28 WO PCT/CN2018/093251 patent/WO2019024628A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1670763A (en) * | 2004-03-15 | 2005-09-21 | 深圳矽感科技有限公司 | A two dimensional bar codes and coding-decoding method thereof |
CN202887227U (en) * | 2012-08-21 | 2013-04-17 | 吉林省通程科技有限公司 | Anti-fake pattern code label |
CN105074732A (en) * | 2012-12-19 | 2015-11-18 | 电装波动株式会社 | Information code, information code generation method, information code reader device, and information code usage system |
US20160092760A1 (en) * | 2012-12-19 | 2016-03-31 | Mitsubishi Electric Corporation | Information code, information code producing method, information code reader, and system which uses information code |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109720111A (en) * | 2019-03-05 | 2019-05-07 | 华北电力大学(保定) | Security stamp based on two dimensional code |
CN113500863A (en) * | 2021-08-18 | 2021-10-15 | 江苏图码信息科技有限公司 | Seal with built-in information image code and application system thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2019024628A1 (en) | 2019-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Rajaraman et al. | Fundamentals of computers | |
CN102722267B (en) | Dot pattern | |
CN106156820A (en) | two-dimensional code generation method and device | |
CN109389195A (en) | A kind of method generating seal two dimensional code and the seal with the two dimensional code | |
CN108090037A (en) | Automatic composing method and device | |
CN108681759A (en) | Plate processing, image in 2 D code generation method, device, equipment and storage medium | |
CN109389197A (en) | A kind of method for generating annular two dimensional code and its seal using the two dimensional code | |
CN105117723A (en) | Image identification method and device | |
CN100365593C (en) | Internal memory managerial approach for computer system | |
CN108153550A (en) | A kind of Excel data lead-in methods, device and user terminal | |
CN107193815A (en) | A kind of processing method of page code, device and equipment | |
CN107544743B (en) | Method and device for adjusting characters and electronic equipment | |
CN106528946B (en) | A kind of method of batch insertion AutoCAD segment | |
CN110502811A (en) | A kind of PCB design method, equipment and storage medium | |
CN115048637A (en) | Man-machine verification method and system based on Web-end interactive picture rotation | |
CN110287469A (en) | Data processing method, device, electronic equipment and storage medium | |
Benthin et al. | Efficient ray traced soft shadows using multi-frusta tracing | |
CN109388685A (en) | The method and apparatus that will plan that the spatial data that industry uses is put in storage | |
CN108509773A (en) | A kind of source code reinforcement means and device | |
CN114283436A (en) | Table identification method, device, equipment and storage medium | |
CN107247646A (en) | The method and guiding flow of mainboard VR chip FW versions can be accurately positioned | |
CN112347723A (en) | ROM code extraction verification method and device based on layout | |
CN112395657A (en) | Box construction method, device, system and computer readable medium | |
CN104572595A (en) | Word stock check device and word stock check method | |
CN109753637A (en) | A kind of datamation coding control method, device, equipment and storage medium |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200715 Address after: 3bv6-1, building 213, Tairan Science Park, Tianan community, Shatou street, Futian District, Shenzhen City, Guangdong Province Applicant after: Shenzhen guocode Information Technology Co., Ltd Address before: 430040, No. 31, Wuhuan Avenue, Dongxihu District, Hubei, Wuhan Applicant before: Shenzhen Syscan Technology Co.,Ltd. |
|
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190226 |