CN108229626A - A kind of two-dimensional code generation method and device - Google Patents

A kind of two-dimensional code generation method and device Download PDF

Info

Publication number
CN108229626A
CN108229626A CN201711308310.XA CN201711308310A CN108229626A CN 108229626 A CN108229626 A CN 108229626A CN 201711308310 A CN201711308310 A CN 201711308310A CN 108229626 A CN108229626 A CN 108229626A
Authority
CN
China
Prior art keywords
code
quick response
self
dimentional data
response code
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
Application number
CN201711308310.XA
Other languages
Chinese (zh)
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.)
China Minsheng Banking Corp Ltd
Original Assignee
China Minsheng Banking Corp 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 China Minsheng Banking Corp Ltd filed Critical China Minsheng Banking Corp Ltd
Priority to CN201711308310.XA priority Critical patent/CN108229626A/en
Publication of CN108229626A publication Critical patent/CN108229626A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06037Record 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 multi-dimensional coding

Abstract

The embodiment of the invention discloses a kind of two-dimensional code generation method and devices.The two-dimensional code generation method includes:Obtain original two dimensional code and multiple self-defined two-dimentional data codes;Original two dimensional code includes multiple two-dimentional data codes;Self-defined two dimension data code has first shape feature;Identify the Quick Response Code element combinations in original two dimensional code;Quick Response Code element combinations include at least two two-dimentional data codes with syntople;Quick Response Code element combinations have the second shape feature;The first shape feature of multiple self-defined two-dimentional data codes is matched with the second shape feature of Quick Response Code element combinations;If there are the self-defined two-dimentional data code of the matched target of shape feature, the self-defined two-dimentional data code of target is replaced to the Quick Response Code element combinations in original two dimensional code, obtains target Quick Response Code.According to embodiments of the present invention, the Information Security of Quick Response Code is improved.

Description

A kind of two-dimensional code generation method and device
Technical field
The present embodiments relate to field of information processing more particularly to a kind of two-dimensional code generation method and, a kind of two dimension Code generating means.
Background technology
At present, more and more users transmit information by Quick Response Code.It is specified in general, user uploads to Quick Response Code generation website Character string information, Quick Response Code website then generates Quick Response Code for the character string information, and returns to user, and thus user obtains For the Quick Response Code that designated character is concatenated, and by modes such as instant message applications, Website pages, which is shared To other users.Other users can then obtain corresponding character string information by identifying the Quick Response Code.For example, some user A Quick Response Code is issued in wechat group or a Quick Response Code is issued in forum, scans the Quick Response Code for other users to obtain Specific information is taken, alternatively, businessman provides a Quick Response Code, for customer scans Quick Response Code, obtains payment information to be paid to businessman.
It is made of however, current Quick Response Code is unified black elements and the two-dimentional data code of two kinds of white elements, different two dimensions External appearance characteristic between code is all more similar, and identification is not high.User possibly can not differentiate the Quick Response Code when scanning the two-dimensional code Whether it is that oneself currently needs the target Quick Response Code scanned, it is therefore desirable to and other users confirm, increase and transmit between user Information the time it takes, reduces information transfer efficiency.Moreover, part malicious user may forge the two dimension of other users Code, but since original two dimensional code identification is relatively low, user is in scanning, it is difficult to and it is to belong to normal users publication to differentiate the Quick Response Code The Quick Response Code still illegally forged of Quick Response Code, if Quick Response Code of the user based on forgery is scanned and operates, can exist Security risk, in some instances it may even be possible to the property loss of user can be caused.
Therefore, there is the problem of information transfer efficiency is relatively low and anti-counterfeit capability is poor for existing two-dimensional code generation method.
Invention content
The present invention provides a kind of two-dimensional code generation method and, a kind of Quick Response Code generating means, to solve existing two Tieing up code generating method, there is the problem of information transfer efficiency is relatively low and anti-counterfeit capability is poor.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of two-dimensional code generation method, the method packets It includes:
Obtain original two dimensional code and multiple self-defined two-dimentional data codes;The original two dimensional code includes multiple two-dimentional symbols Element;The self-defined two-dimentional data code has first shape feature;
Identify the Quick Response Code element combinations in the original two dimensional code;The Quick Response Code element combinations include having adjacent close The two-dimentional data code of at least two of system;The Quick Response Code element combinations have the second shape feature;
By the second shape of the first shape feature and the Quick Response Code element combinations of the multiple self-defined two-dimentional data code Shape feature is matched;
If there are the self-defined two-dimentional data code of the matched target of shape feature, the self-defined two-dimentional data code of the target is replaced The Quick Response Code element combinations in the original two dimensional code are changed, obtain target Quick Response Code.
Optionally, the step of Quick Response Code element combinations in the identification original two dimensional code, including:
Choose at least one two-dimentional data code;
Search and abutted directly against with the two-dimentional data code chosen and multiple two-dimentional data codes of indirect abutment, as with selection Two-dimentional data code there are multiple adjacent two-dimentional data codes of syntople;
By the two-dimentional data code of selection and the multiple adjacent two-dimentional data code, as the Quick Response Code element combinations.
Optionally, the first shape feature by the multiple self-defined two-dimentional data code and the two-dimentional data code group The step of the second shape feature closed is matched, including:
At least one self-defined two-dimentional data code is chosen, as candidate self-defined two-dimentional data code;
Judge that first shape feature and the second shape of the Quick Response Code element combinations of the self-defined element of candidate are special Whether sign matches;
If so, the self-defined two-dimentional data code of the extraction candidate, as the self-defined two-dimentional data code of the target;
If it is not, at least one self-defined two-dimentional data code of the selection is then returned to, as candidate self-defined two-dimentional data code The step of.
Optionally, the first shape feature includes pixels tall M1 and pixel wide N1, the second shape feature packet Include pixels tall M2 and pixel wide N2, the first shape feature for judging the self-defined element of candidate and the Quick Response Code The step of whether the second shape feature of element combinations matches, including:
The pixels tall M1 and the pixels tall M2 of the Quick Response Code element combinations for judging the self-defined element of candidate be It is no consistent and, judge the pixel wide N1 of the self-defined element of candidate and the pixel wide of the Quick Response Code element combinations Whether N2 is consistent.
Optionally, the method further includes:
Receive the character string to be converted that user submits;
The character string to be converted is converted into Quick Response Code array;
The step of acquisition original two dimensional code, including:
For the Quick Response Code array, the original two dimensional code is generated.
Optionally, before the step of acquisition original two dimensional code and multiple self-defined two-dimentional data codes, the method It further includes:
Multiple two-dimentional data codes that user submits are received, as the multiple self-defined two-dimentional data code.
Optionally, the multiple two-dimentional data code has coordinate, and the method further includes:
Obtain multiple custom colors input by user and corresponding multiple coordinate classifications;
The gray value of each two-dimentional data code in the original two dimensional code is compared with preset gray value threshold value;
The two-dimentional data code that gray value is less than the gray value threshold value is obtained, as waiting two-dimentional data code of mixing colours;
For the coordinate that multiple two-dimentional data codes of waiting to mix colours have, to the multiple Quick Response Code rubidium marking coordinate to be mixed colours Classification;
For the coordinate classification that the multiple two-dimentional data code of waiting to mix colours is marked, two-dimentional symbol of mixing colours is waited to the multiple Element adds corresponding custom colors respectively, obtains colorful Quick Response Code.
Optionally, the method further includes:
Obtain the matched specific watermark picture of shape feature of shape feature and the multiple two-dimentional data code of waiting to mix colours;
Two-dimentional data code of mixing colours is waited using specific watermark picture replacement is the multiple.
Optionally, the method further includes:
Obtain particular picture mark;
Determine the center of the original two dimensional code, and described specific in the addition of the center of the original two dimensional code Picture identification obtains picture identification Quick Response Code.
In order to solve the above-mentioned technical problem, the embodiment of the present invention additionally provides a kind of Quick Response Code generating means, described device Including:
Original two dimensional code acquisition module, for obtaining original two dimensional code and multiple self-defined two-dimentional data codes;It is described original Quick Response Code includes multiple two-dimentional data codes;The self-defined two-dimentional data code has first shape feature;
Quick Response Code element combinations identification module, for identifying the Quick Response Code element combinations in the original two dimensional code;It is described Quick Response Code element combinations include at least two two-dimentional data codes with syntople;The Quick Response Code element combinations have second Shape feature;
Matching module, for by the first shape feature of the multiple self-defined two-dimentional data code and the two-dimentional data code Second shape feature of combination is matched;
Target two-dimensional code generation module, if for there are the self-defined two-dimentional data code of the matched target of shape feature, by institute The Quick Response Code element combinations in the target self-defined two-dimentional data code replacement original two dimensional code are stated, obtain target Quick Response Code.
According to embodiments of the present invention, by identifying the Quick Response Code element combinations in original two dimensional code, using shape feature with The matched self-defined two-dimentional data code of shape feature of Quick Response Code element combinations, replaces Quick Response Code element combinations, obtained mesh Mark Quick Response Code is provided with higher identification, while ensures the integrality of the character string information recorded in original two dimensional code again, Target Quick Response Code is identified by mobile terminal.So as to which user is keeping target two dimension when sharing target Quick Response Code While the discrimination of code, the identification of Quick Response Code is enhanced, user need not additionally carry out the confirmation process of Quick Response Code, save again Information the time it takes is transmitted between user, improves the efficiency of information transmission.Moreover, two by using individual subscriber Data code is tieed up as self-defined two-dimentional data code, includes the mesh of the self-defined two-dimentional data code since malicious user can not generate Quick Response Code is marked, therefore, malicious user can not forge the Quick Response Code of other users, improve the Information Security of Quick Response Code.
Description of the drawings
Fig. 1 is a kind of flow chart for two-dimensional code generation method that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic diagram of original two dimensional code of the embodiment of the present invention;
Fig. 3 is the schematic diagram of multiple self-defined two-dimentional data codes of the embodiment of the present invention;
Fig. 4 is the schematic diagram of the Quick Response Code element combinations of the embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of target Quick Response Code of the embodiment of the present invention;
Fig. 6 is a kind of flow chart of two-dimensional code generation method provided by Embodiment 2 of the present invention;
Fig. 7 is a kind of structure diagram for Quick Response Code generating means that the embodiment of the present invention three provides;
Fig. 8 is a kind of structure diagram for Quick Response Code generating means that the embodiment of the present invention four provides.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown 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 Completely it is communicated to those skilled in the art.
Embodiment one
Fig. 1 is a kind of flow chart for two-dimensional code generation method that the embodiment of the present invention one provides, and this method can specifically wrap Include following steps:
Step 101, original two dimensional code and multiple self-defined two-dimentional data codes are obtained;The original two dimensional code includes multiple two Tie up data code;The self-defined two-dimentional data code has first shape feature.
It should be noted that the two-dimensional code generation method of the embodiment of the present invention can be applied to the shiftings such as mobile phone, tablet computer Dynamic terminal can also be applied on server.
The implementation of mobile terminal is directed to, it can be with sdk (Software Development Kit, software development work Tool packet), the forms of JS files (javascript, JAVA language script), installation on mobile terminals, gives birth to as a Quick Response Code Into application.User can start Quick Response Code generation application, submit a self-defining character string, and Quick Response Code generation application then may be used To be directed to the self-defining character string, a Quick Response Code array is generated, and according to the Quick Response Code array, generation one is by black elements With the original two dimensional code of white elements composition.
The implementation of server is directed to, web (World Wide Web, WWW) interface can be provided a user, User uploads self-defining character string to server by the interface, and server can be directed to the self-defining character string, generate one Quick Response Code array, and mobile terminal is back to, mobile terminal can be directed to the Quick Response Code array received, and generation one is by black The original two dimensional code of two-dimentional data code and the two-dimentional data code composition of white.
Black two dimension data code and the two-dimentional data code of white can be for the images comprising multiple black picture elements and comprising multiple The image of white pixel.
In one original two dimensional code, by specific assembled arrangement between two-dimentional data code, specific character string is mapped, from And generated original two dimensional code is caused to have recorded the self-defining character string of user's submission.
In embodiments of the present invention, it will replaced with for black two dimension data code or the two-dimentional data code of white self-defined Two-dimentional data code, therefore, two-dimentional data code in the embodiment of the present invention can be black two dimension data code in Quick Response Code or Person, white two dimension data code.
It should be added that during generation original two dimensional code, one can be created first and does not include Quick Response Code The Quick Response Code frame of element, the Quick Response Code frame include multiple Quick Response Code cell cell, and Quick Response Code cell cell is One most basic component units of Quick Response Code, usually square.The Quick Response Code cell of the square can define its pixel Height and pixel wide, such as its pixels tall is defined as 50 pixels, pixel wide is 50 pixels.It can be according to self-defined word Symbol string fills black two dimension data code or the two-dimentional data code of white, thus obtained black two in each Quick Response Code cell Tie up data code and the two-dimentional data code of white, pixels tall and pixel wide, as the pixels tall of the Quick Response Code cell and Pixel wide.
Fig. 2 is the schematic diagram of the original two dimensional code of the embodiment of the present invention.It can be seen that original two dimensional code is by multiple black Color two dimension data code or the two-dimentional data code composition of white.Wherein, each two-dimentional data code accordingly have certain pixels tall and Pixel wide.For example, the pixels tall and pixel wide of each two dimension data code are 50 pixels.
Above-mentioned self-defined two-dimentional data code can be provided by user, and user can submit a series of two-dimentional data code It generates and applies to Quick Response Code, alternatively, server is uploaded to, as self-defined two-dimentional data code.
Self-defined two dimension data code can be the image for including multiple and different colored pixels.It is made by oneself by what multiple pixels were formed Adopted two dimension data code, then, can be high by the pixel of the self-defined two-dimentional data code with corresponding pixels tall and pixel wide Degree and pixel wide, the shape feature as self-defined two-dimentional data code.
For example, the pixels tall of some self-defined two-dimentional data code is 100 pixels, pixel wide is 50 pixels, can be incited somebody to action Shape feature of 100 pixel *, 50 pixels as the self-defined two-dimentional data code.
For the ease of statement, shape feature possessed by self-defined two-dimentional data code can be defined as first shape spy Sign.Different self-defined two-dimentional data codes, can have different first shape features.
In practical application, the shape feature of self-defined two-dimentional data code from pixels tall and pixel wide, can also be turned The shape feature of Quick Response Code cell cell is changed to, for example, an original two dimensional code being made of 10*10 cell, pixel Height and pixel wide are 500 pixel *, 500 pixels, and the pixels tall and pixel of each Quick Response Code cell cell is calculated Width is 50 pixel *, 50 pixels, it is assumed that the pixels tall and pixel wide of self-defined two dimension data code are 200 pixel *, 100 pictures Element, thus, it is possible to which the shape feature that the self-defined two-dimentional data code is calculated is 4*2 Quick Response Code cell cell.
Fig. 3 is the schematic diagram of multiple self-defined two-dimentional data codes of the embodiment of the present invention.It is it can be seen that multiple self-defined In two-dimentional data code, self-defined two-dimentional data code of the shape feature for 1*1 Quick Response Code cell cell, 2*1 can be included The self-defined two-dimentional data code of a Quick Response Code cell cell, the self-defined two-dimentional data code of 2*2 Quick Response Code cell cell, The self-defined two-dimentional data code of 3*2 Quick Response Code cell cell and, self-defined the two of 4*2 Quick Response Code cell cell Tie up data code.
Step 102, the Quick Response Code element combinations in the original two dimensional code are identified;The Quick Response Code element combinations include tool There are at least two two-dimentional data codes of syntople;The Quick Response Code element combinations have the second shape feature.
Above-mentioned Quick Response Code element combinations can be two or more two-dimentional data codes with syntople.It is adjacent to close System includes two kinds of the relationship of abutting directly against and indirect abutment relationship.It is so-called to abut directly against relationship, can be two two-dimentional data codes Between adjacent, and indirect abutment relationship, can be by adjacent between other two-dimentional data codes between two two-dimentional data codes.When Not direct neighbor between two two-dimentional data codes, it is also not adjacent by other two-dimentional data codes, then between do not have syntople.
It can be by multiple two-dimentional data codes with syntople, as a Quick Response Code element combinations.
In practical applications, those skilled in the art can determine two-dimentional data code group by a variety of specific embodiments It closes.For example, create reference axis, each two-dimentional data code therein, according to residing coordinate shaft position mark for original two dimensional code Remember element coordinate (x1, y1), (x2, y2)…(xn, yn), then by coupling element coordinate, determine multiple with syntople Two-dimentional data code, as Quick Response Code element combinations.
Quick Response Code element combinations have shape feature, and shape feature is by forming multiple two dimensions of the Quick Response Code element combinations The quantity and distributing position of data code determine.For example, 4 black two dimension data code groups of the Quick Response Code element combinations by longitudinal direction Into the shape feature of each black two dimension data code is 50 pixel *, 50 pixels, then the shape feature of the Quick Response Code element combinations is 200 pixel *, 50 pixels, alternatively, after the Quick Response Code element combinations are converted into the linear module of Quick Response Code cell cell, as 4*1 Quick Response Code cell cell.
For the ease of statement, shape feature possessed by Quick Response Code element combinations can be defined as the second shape feature. Different Quick Response Code element combinations can have the second different shape features.
Fig. 4 is the schematic diagram of the Quick Response Code element combinations of the embodiment of the present invention.It can be seen that it is in the circle of mark A One Quick Response Code element combinations A, the Quick Response Code element combinations A are made of the 3*3 black two dimension data code with syntople, It is black by the 2*1 with syntople for another Quick Response Code element combinations B, the Quick Response Code element combinations B in the circle of mark B Color two dimension data code forms.Assuming that each black two dimension data code is 50 pixel *, 50 pixels, the second of Quick Response Code element combinations A Shape feature is 150 pixel *, 150 pixels, that is, 3*3 Quick Response Code cell cell;The second shape of Quick Response Code element combinations B It is characterized as 100 pixel *, 50 pixels, that is, 2*1 Quick Response Code cell cell.
Step 103, by the first shape feature of the multiple self-defined two-dimentional data code and the Quick Response Code element combinations The second shape feature matched.
In the specific implementation, a Quick Response Code element combinations can be chosen first, its second shape feature is determined, then more In a self-defined two-dimentional data code, the second shape feature for searching Quick Response Code element combinations of the first shape feature with choosing matches Self-defined two-dimentional data code.
By being directed at least one Quick Response Code element combinations, all self-defined two-dimentional data codes of traversal can match more A self-defined two-dimentional data code, as the self-defined two-dimentional data code of target.
For example, for Quick Response Code element combinations B shown in Fig. 4, the second shape feature is 2*1 Quick Response Code cell Cell, in multiple self-defined two-dimentional data codes shown in Fig. 3, it is all 2*1 Quick Response Code cell to search first shape feature The self-defined two-dimentional data code of cell.
Step 104, if there are the self-defined two-dimentional data code of the matched target of shape feature, by the self-defined two dimension of the target Data code replaces the Quick Response Code element combinations in the original two dimensional code, obtains target Quick Response Code.
If the in the specific implementation, first shape feature and the second of Quick Response Code element combinations of some self-defined two-dimentional data code Shape feature matches, and can extract the self-defined two-dimentional data code, as the self-defined two-dimentional data code of target, and using target certainly The two-dimentional data code of definition, in original two dimensional code, replaces Quick Response Code element combinations.By multiple two-dimentional symbols in original two dimensional code After element replaces with the self-defined two-dimentional data code of the matched target of shape feature, target Quick Response Code has been obtained.
In practical applications, the size of the self-defined Quick Response Code of target can be scaled, with the two dimension being adapted in original two dimensional code The size of code cell cell.
Fig. 5 is a kind of schematic diagram of target Quick Response Code of the embodiment of the present invention.It can be seen that the black of original two dimensional code Two-dimentional data code is replaced by self-defined two-dimentional data code.Self-defined two dimension data code has higher identification, moreover, Since the self-defined two-dimentional shape feature of data code is matched with each Quick Response Code element combinations in original two dimensional code, not There is the character string information for changing that two-dimentional data code is recorded in original two dimensional code, ensure that character string recorded in original two dimensional code The integrality of information.
According to embodiments of the present invention, by identifying the Quick Response Code element combinations in original two dimensional code, using shape feature with The matched self-defined two-dimentional data code of shape feature of Quick Response Code element combinations, replaces Quick Response Code element combinations, obtained mesh Mark Quick Response Code is provided with higher identification, while ensures the integrality of the character string information recorded in original two dimensional code again, Target Quick Response Code is identified by mobile terminal.So as to which user is keeping target two dimension when sharing target Quick Response Code While the discrimination of code, the identification of Quick Response Code is enhanced, user need not additionally carry out the confirmation process of Quick Response Code, save again Information the time it takes is transmitted between user, improves the efficiency of information transmission.Moreover, two by using individual subscriber Data code is tieed up as self-defined two-dimentional data code, includes the mesh of the self-defined two-dimentional data code since malicious user can not generate Quick Response Code is marked, therefore, malicious user can not forge the Quick Response Code of other users, improve the Information Security of Quick Response Code.
Embodiment two
Fig. 6 is a kind of flow chart of two-dimensional code generation method provided by Embodiment 2 of the present invention, and this method can specifically wrap Include following steps:
Step 201, the character string to be converted that user submits is received.
Step 202, the character string to be converted is converted into Quick Response Code array.
In the concrete realization, Quick Response Code generation interface can be provided a user, user can submit one by the interface Character string to be converted, for example, some payment information, web site url, wechat account etc..User can also be set by the interface The parameters such as self-defined two dimension data code, the back gauge for generating Quick Response Code, version.It, can be with needle after character string to be converted is received To the character string to be converted, a Quick Response Code array is generated, to be based on Quick Response Code array generation original two dimensional code.
Step 203, original two dimensional code and multiple self-defined two-dimentional data codes are obtained;The original two dimensional code includes multiple two Tie up data code;The self-defined two-dimentional data code has first shape feature.
Optionally, the step of acquisition original two dimensional code, can specifically include:
For the Quick Response Code array, the original two dimensional code is generated.
In the specific implementation, the Quick Response Code array received can be directed to, the original two dimensional code of black and white is generated.
Optionally, before the step 203, the method can further include:
Multiple two-dimentional data codes that user submits are received, as the multiple self-defined two-dimentional data code.
In the specific implementation, user can submit the multiple two-dimentional data codes specified, as self-defined two-dimentional data code.It obtains After the self-defined two-dimentional data code that user submits, multiple self-defined two-dimentional data code can belong to individual subscriber, other use Family can not use multiple self-defined Quick Response Code Element generation target Quick Response Code.
In practical application, part malicious user may forge the Quick Response Code of other users, but due to original two dimensional Code identification is relatively low, and user is in scanning, it is difficult to differentiate the Quick Response Code and belong to the Quick Response Code of normal users publication or illegal The Quick Response Code of forgery.By using the two-dimentional data code of individual subscriber as self-defined two-dimentional data code, due to malicious user without Method generation includes the target Quick Response Code of the self-defined two-dimentional data code, and therefore, malicious user can not forge the two of other users Code is tieed up, improves the Information Security of Quick Response Code.
In addition, in practical applications, since the height of the target Quick Response Code ultimately generated is wide usually in 500 pixels to 1000 pictures In the range of element, correspondingly, the height of self-defined two dimension data code is wide to be may be limited in the range of 25 pixels to 100 pixels, with Avoiding self-defined two-dimentional data code, there is a situation where image fault, None- identifieds in target Quick Response Code.Moreover, self-defined two dimension Data code has more than 80% gross area that coloured area can account for individual element, self-defined in target Quick Response Code to ensure Two-dimentional data code is correctly validated.Further, self-defined two-dimentional data code is suitable for using dead color system design element pattern so that There is enough aberration between self-defined two dimension data code and the two-dimentional data code of the white not being replaced, ensure target Quick Response Code It is correctly validated.
Step 204, the Quick Response Code element combinations in the original two dimensional code are identified;The Quick Response Code element combinations include tool There are at least two two-dimentional data codes of syntople;The Quick Response Code element combinations have the second shape feature.
Optionally, the step 204 can specifically include following sub-step:
Sub-step S11 chooses at least one two-dimentional data code;
Sub-step S12, the two-dimentional data code searched and chosen abuts directly against and multiple two-dimentional data codes of indirect abutment, As multiple adjacent two-dimentional data codes with the two-dimentional data code of selection with syntople;
Sub-step S13, by the two-dimentional data code of selection and the multiple adjacent two-dimentional data code, as the two-dimentional symbol Element combination.
In the specific implementation, for some Quick Response Code element combinations in original two dimensional code, can choose one of those two Data code is tieed up, then whether there is in the search of the relative position of the two-dimentional data code of selection has other two-dimentional data codes, if in the presence of There is the two-dimentional data code of adjacent one or more, as the adjacent two-dimentional data code with syntople, then proceed to needle Two-dimentional data code adjacent to the one or more searched, searches for other adjoinings two in addition to the two-dimentional data code chosen before Data code is tieed up, and so on, until limit all of its neighbor two dimension data code, multiple adjacent two-dimentional data codes are finally marked, as One Quick Response Code element combinations.
Step 205, by the first shape feature of the multiple self-defined two-dimentional data code and the Quick Response Code element combinations The second shape feature matched.
Optionally, the step 205 can specifically include following sub-step:
Sub-step S21 chooses at least one self-defined two-dimentional data code, as candidate self-defined two-dimentional data code;
Sub-step S22 judges the first shape feature of the self-defined element of candidate and the Quick Response Code element combinations Whether the second shape feature matches;If so, sub-step S23 is performed, if it is not, then performing sub-step S24;
Sub-step S23 extracts the self-defined two-dimentional data code of the candidate, as the self-defined two-dimentional data code of the target;
Sub-step S24 returns at least one self-defined two-dimentional data code of the selection, as candidate self-defined two-dimentional symbol The step of element.
In the specific implementation, can be directed to some Quick Response Code element combinations, determine its second shape feature, then it is multiple from In the two-dimentional data code of definition, the self-defined two-dimentional data code of a candidate is chosen, for candidate self-defined two-dimentional data code and two dimension Shape feature between data code combination is compared, if shape feature is consistent, extracts the self-defined two-dimentional data code of the candidate, As the self-defined two-dimentional data code of target, if inconsistent, choose next self-defined two-dimentional data code and continue to compare.It is logical It crosses at least one Quick Response Code element combinations, all self-defined two-dimentional data codes of traversal can match multiple self-defined two Data code is tieed up, as the self-defined two-dimentional data code of target.
Optionally, the first shape feature includes pixels tall M1 and pixel wide N1, the second shape feature packet Including pixels tall M2 and pixel wide N2, the sub-step S22 can be specially:
The pixels tall M1 and the pixels tall M2 of the Quick Response Code element combinations for judging the self-defined element of candidate be It is no consistent and, judge the pixel wide N1 of the self-defined element of candidate and the pixel wide of the Quick Response Code element combinations Whether N2 is consistent.
Step 206, if there are the self-defined two-dimentional data code of the matched target of shape feature, by the self-defined two dimension of the target Data code replaces the Quick Response Code element combinations in the original two dimensional code, obtains target Quick Response Code.
If the second shape feature of the first shape feature and Quick Response Code element combinations of some self-defined two-dimentional data code Match, the self-defined two-dimentional data code can be extracted, as the self-defined two-dimentional data code of target, and use the self-defined Quick Response Code of target Element in original two dimensional code, replaces Quick Response Code element combinations.Multiple two-dimentional data codes in original two dimensional code are replaced with After the self-defined two-dimentional data code of the matched target of shape feature, target Quick Response Code has been obtained.
In practical applications, user can also provide a self-defined background picture, and target Quick Response Code is added to should be certainly Define in background picture, so as to when scanning the two-dimensional code, the ownership of the readily discernible Quick Response Code of user, meanwhile, malicious user without Method produces the Quick Response Code for including self-defined background picture, improves the Information Security of Quick Response Code.
According to embodiments of the present invention, by using the two-dimentional data code of individual subscriber as self-defined two-dimentional data code, by The target Quick Response Code for including the self-defined two-dimentional data code can not be generated in malicious user, therefore, malicious user can not be forged The Quick Response Code of other users improves the Information Security of Quick Response Code.
Optionally, the multiple two-dimentional data code has coordinate, and the method further includes:
Obtain multiple custom colors input by user and corresponding multiple coordinate classifications;
The gray value of each two-dimentional data code in the original two dimensional code is compared with preset gray value threshold value;
The two-dimentional data code that gray value is less than the gray value threshold value is obtained, as waiting two-dimentional data code of mixing colours;
For the coordinate that multiple two-dimentional data codes of waiting to mix colours have, to the multiple Quick Response Code rubidium marking coordinate to be mixed colours Classification;
For the coordinate classification that the multiple two-dimentional data code of waiting to mix colours is marked, two-dimentional symbol of mixing colours is waited to the multiple Element adds corresponding custom colors respectively, obtains colorful Quick Response Code.
In the specific implementation, the Quick Response Code for having multicolour can also be obtained by the custom colors that user provides.Example Such as, by specific image processing method, user-defined ruler can be zoomed to first against the original two dimensional code of black and white It is very little, obtain the original two dimensional code of custom size.Thus, it is possible to the picture format of more Color Channels is converted to single pass black White Quick Response Code.It is then possible to a self-defined gray value threshold value, it, will when the pixel in Quick Response Code is less than gray value threshold value It is used as and waits two-dimentional data code of mixing colours.
Further, it is also possible to the coordinate for needing the two-dimentional data code for carrying out color adjustment is specified by user.For example, user is allowed to use The classification of the method input (x, y) of mathematic(al) representation:First quartile x>width/2,y>Height/2 point sets, the second quadrant x< width/2,y>Height/2, and so on, and set corresponding custom colors for different quadrants.
Finally, when the coordinate of some two-dimentional data code of waiting to mix colours belongs in some quadrant, then using the quadrant it is corresponding from It defines color to be rendered, thus obtains colorful Quick Response Code.In practical application, each pixel can be by user specified color Assignment.
By adding in multicolour in Quick Response Code, malicious user can not produce similar Quick Response Code, improve two dimension The Information Security of code
Optionally, the method further includes:
Obtain the matched specific watermark picture of shape feature of shape feature and the multiple two-dimentional data code of waiting to mix colours;
Two-dimentional data code of mixing colours is waited using specific watermark picture replacement is the multiple.
In the specific implementation, the shape feature for two-dimentional data code of waiting to mix colours can also be directed to, the matched spy of shape feature is obtained Determine watermark picture, specific watermark picture in original two dimensional code is replaced and waits two-dimentional data code of mixing colours.
Optionally, the method further includes:
Obtain particular picture mark;
Determine the center of the original two dimensional code, and described specific in the addition of the center of the original two dimensional code Picture identification obtains picture identification Quick Response Code.
In the specific implementation, a particular picture mark can also be obtained, such as user-defined LOGO.By the specific pattern Piece mark is placed on the center of Quick Response Code, has obtained the picture identification Quick Response Code for including particular picture mark.So as to, Convenient for the ownership of user discrimination Quick Response Code, moreover, malicious user can not produce the Quick Response Code for including particular picture mark, carry The Information Security of Quick Response Code is risen.
Embodiment three
Fig. 7 is a kind of structure diagram for Quick Response Code generating means that the embodiment of the present invention three provides, the Quick Response Code generation Device 300 can specifically include following module:
Original two dimensional code acquisition module 301, for obtaining original two dimensional code and multiple self-defined two-dimentional data codes;The original Beginning Quick Response Code includes multiple two-dimentional data codes;The self-defined two-dimentional data code has first shape feature;
Quick Response Code element combinations identification module 302, for identifying the Quick Response Code element combinations in the original two dimensional code;Institute It states Quick Response Code element combinations and includes at least two two-dimentional data codes with syntople;The Quick Response Code element combinations have the Two shape features;
Matching module 303, for by the first shape feature of the multiple self-defined two-dimentional data code and the Quick Response Code Second shape feature of element combinations is matched;
Target two-dimensional code generation module 304, if for there are the self-defined two-dimentional data code of the matched target of shape feature, it will The self-defined two-dimentional data code of the target replaces the Quick Response Code element combinations in the original two dimensional code, obtains target Quick Response Code.
According to embodiments of the present invention, by identifying the Quick Response Code element combinations in original two dimensional code, using shape feature with The matched self-defined two-dimentional data code of shape feature of Quick Response Code element combinations, replaces Quick Response Code element combinations, obtained mesh Mark Quick Response Code is provided with higher identification, while ensures the integrality of the character string information recorded in original two dimensional code again, Target Quick Response Code is identified by mobile terminal.So as to which user is keeping target two dimension when sharing target Quick Response Code While the discrimination of code, the identification of Quick Response Code is enhanced, user need not additionally carry out the confirmation process of Quick Response Code, save again Information the time it takes is transmitted between user, improves the efficiency of information transmission.Moreover, two by using individual subscriber Data code is tieed up as self-defined two-dimentional data code, includes the mesh of the self-defined two-dimentional data code since malicious user can not generate Quick Response Code is marked, therefore, malicious user can not forge the Quick Response Code of other users, improve the Information Security of Quick Response Code.
Example IV
Fig. 8 is a kind of structure diagram for Quick Response Code generating means that the embodiment of the present invention four provides, the Quick Response Code generation Device 400 can specifically include following module:
Character string receiving module 401, for receiving the character string to be converted of user's submission.
Quick Response Code array modular converter 402, for the character string to be converted to be converted into Quick Response Code array.
Original two dimensional code acquisition module 403, for obtaining original two dimensional code and multiple self-defined two-dimentional data codes;The original Beginning Quick Response Code includes multiple two-dimentional data codes;The self-defined two-dimentional data code has first shape feature;
Quick Response Code element combinations identification module 404, for identifying the Quick Response Code element combinations in the original two dimensional code;Institute It states Quick Response Code element combinations and includes at least two two-dimentional data codes with syntople;The Quick Response Code element combinations have the Two shape features;
Matching module 405, for by the first shape feature of the multiple self-defined two-dimentional data code and the Quick Response Code Second shape feature of element combinations is matched;
Target two-dimensional code generation module 406, if for there are the self-defined two-dimentional data code of the matched target of shape feature, it will The self-defined two-dimentional data code of the target replaces the Quick Response Code element combinations in the original two dimensional code, obtains target Quick Response Code.
Optionally, the original two dimensional code acquisition module 403, including:
Original two dimensional code generates submodule, for being directed to the Quick Response Code array, generates the original two dimensional code.
Optionally, described device can further include:
Self-defined two dimension data code receiving module, for receiving multiple two-dimentional data codes of user's submission, as described more A self-defined two-dimentional data code.
Optionally, the Quick Response Code element combinations identification module 404, can specifically include:
Two-dimentional data code chooses submodule, for choosing at least one two-dimentional data code;
Adjacent two dimension data code determination sub-module, the two-dimentional data code for searching and choosing abut directly against and adjoining The multiple two-dimentional data codes connect, as multiple adjacent two-dimentional data codes with the two-dimentional data code of selection with syntople;
Quick Response Code element combinations determination sub-module, for by the two-dimentional data code chosen and the multiple adjacent two-dimentional symbol Element, as the Quick Response Code element combinations.
Optionally, the matching module 405, can specifically include:
Candidate self-defined two-dimentional data code chooses submodule, for choosing at least one self-defined two-dimentional data code, as Candidate self-defined two-dimentional data code;
Shape feature judging submodule, for judging the first shape feature of the self-defined element of candidate and the two dimension Whether the second shape feature of data code combination matches;
The self-defined Quick Response Code element extraction submodule of target, for extracting the self-defined two-dimentional data code of the candidate, as The self-defined two-dimentional data code of the target;
Submodule is returned to, for returning at least one self-defined two-dimentional data code of the selection, as candidate self-defined two The step of tieing up data code.
Optionally, the first shape feature includes pixels tall M1 and pixel wide N1, the second shape feature packet Pixels tall M2 and pixel wide N2 are included, the shape feature judging submodule is specifically used for:
The pixels tall M1 and the pixels tall M2 of the Quick Response Code element combinations for judging the self-defined element of candidate be It is no consistent and, judge the pixel wide N1 of the self-defined element of candidate and the pixel wide of the Quick Response Code element combinations Whether N2 is consistent.
Optionally, described device can further include:
Custom colors acquisition module, for obtaining multiple custom colors input by user and corresponding multiple Coordinate classification;
Gray scale comparison module, for by the gray value of each two-dimentional data code in the original two dimensional code and preset ash Angle value threshold value is compared;
Two-dimentional data code acquisition module of mixing colours is waited, for obtaining the two-dimentional symbol that gray value is less than the gray value threshold value Element, as waiting two-dimentional data code of mixing colours;
Coordinate category label module for being directed to the coordinate that multiple two-dimentional data codes of waiting to mix colours have, is treated to the multiple Toning Quick Response Code rubidium marking coordinate classification;
Colorful two-dimensional code generation module, for being directed to the coordinate classification that the multiple two-dimentional data code of waiting to mix colours is marked, Corresponding custom colors is added respectively to the multiple two-dimentional data code of waiting to mix colours, obtains colorful Quick Response Code.
Optionally, described device can further include:
Watermark picture acquisition module, for obtaining the shape feature of shape feature and the multiple two-dimentional data code of waiting to mix colours Matched specific watermark picture;
Watermark picture replacement module, for waiting two-dimentional symbol of mixing colours using specific watermark picture replacement is the multiple Element.
Optionally, described device can further include:
Picture identification acquisition module, for obtaining particular picture mark;
Picture identification two-dimensional code generation module, for determining the center of the original two dimensional code, and described original The particular picture mark is added in the center of Quick Response Code, obtains picture identification Quick Response Code.
According to embodiments of the present invention, by using the two-dimentional data code of individual subscriber as self-defined two-dimentional data code, by The target Quick Response Code for including the self-defined two-dimentional data code can not be generated in malicious user, therefore, malicious user can not be forged The Quick Response Code of other users improves the Information Security of Quick Response Code.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output Interface, network interface and memory.Memory may include the volatile memory in computer-readable medium, random access memory The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate The example of machine readable medium.Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be with Realize that information stores by any method or technique.Information can be computer-readable instruction, data structure, the module of program or Other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic rigid disk storage or Other magnetic storage apparatus or any other non-transmission medium, available for storing the information that can be accessed by a computing device.According to Herein defines, and computer-readable medium does not include the computer readable media (transitory media) of non-standing, such as The data-signal and carrier wave of modulation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates packet The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps are performed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flows And/or specified in one box of block diagram or multiple boxes function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, those skilled in the art once know base This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
Above to a kind of two-dimensional code generation method provided by the present invention and a kind of Quick Response Code generating means, carry out in detail Thin to introduce, specific case used herein is expounded the principle of the present invention and embodiment, and above example is said The bright method and its core concept for being merely used to help understand the present invention;Meanwhile for those of ordinary skill in the art, foundation The thought of the present invention, there will be changes in specific embodiments and applications, in conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of two-dimensional code generation method, which is characterized in that the method includes:
Obtain original two dimensional code and multiple self-defined two-dimentional data codes;The original two dimensional code includes multiple two-dimentional data codes;Institute Stating self-defined two-dimentional data code has first shape feature;
Identify the Quick Response Code element combinations in the original two dimensional code;The Quick Response Code element combinations are included with syntople At least two two-dimentional data codes;The Quick Response Code element combinations have the second shape feature;
The first shape feature of the multiple self-defined two-dimentional data code and the second shape of the Quick Response Code element combinations is special Sign is matched;
If there are the self-defined two-dimentional data code of the matched target of shape feature, the self-defined two-dimentional data code of the target is replaced into institute The Quick Response Code element combinations in original two dimensional code are stated, obtain target Quick Response Code.
2. the according to the method described in claim 1, it is characterized in that, two-dimentional data code identified in the original two dimensional code The step of combination, including:
Choose at least one two-dimentional data code;
The two-dimentional data code searched and chosen abuts directly against and multiple two-dimentional data codes of indirect abutment, as two with selection Tieing up data code has multiple adjacent two-dimentional data codes of syntople;
By the two-dimentional data code of selection and the multiple adjacent two-dimentional data code, as the Quick Response Code element combinations.
It is 3. according to the method described in claim 1, it is characterized in that, described by the first of the multiple self-defined two-dimentional data code The step of shape feature is matched with the second shape feature of the Quick Response Code element combinations, including:
At least one self-defined two-dimentional data code is chosen, as candidate self-defined two-dimentional data code;
The first shape feature and the second shape feature of the Quick Response Code element combinations for judging the self-defined element of candidate be No matching;
If so, the self-defined two-dimentional data code of the extraction candidate, as the self-defined two-dimentional data code of the target;
If it is not, then return at least one self-defined two-dimentional data code of the selection, the step as candidate self-defined two-dimentional data code Suddenly.
4. according to the method described in claim 3, it is characterized in that, the first shape feature includes pixels tall M1 and pixel Width N1, second shape feature include pixels tall M2 and pixel wide N2, the judgement self-defined element of candidate First shape feature the step of whether being matched with the second shape feature of the Quick Response Code element combinations, including:
Judge the pixels tall M1 of the self-defined element of candidate and the Quick Response Code element combinations pixels tall M2 whether one Cause and, the pixel wide N1 and the pixel wide N2 of the Quick Response Code element combinations for judging the self-defined element of candidate are It is no consistent.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
Receive the character string to be converted that user submits;
The character string to be converted is converted into Quick Response Code array;
The step of acquisition original two dimensional code, including:
For the Quick Response Code array, the original two dimensional code is generated.
6. according to the method described in claim 1, it is characterized in that, in the acquisition original two dimensional code and multiple self-defined two dimensions Before the step of data code, the method further includes:
Multiple two-dimentional data codes that user submits are received, as the multiple self-defined two-dimentional data code.
7. according to the method described in claim 1, it is characterized in that, the multiple two dimension data code has coordinate, the method It further includes:
Obtain multiple custom colors input by user and corresponding multiple coordinate classifications;
The gray value of each two-dimentional data code in the original two dimensional code is compared with preset gray value threshold value;
The two-dimentional data code that gray value is less than the gray value threshold value is obtained, as waiting two-dimentional data code of mixing colours;
For the coordinate that multiple two-dimentional data codes of waiting to mix colours have, to the multiple Quick Response Code rubidium marking coordinate class to be mixed colours Not;
For the coordinate classification that the multiple two-dimentional data code of waiting to mix colours is marked, two-dimentional data code point of mixing colours is waited to the multiple Corresponding custom colors is not added, obtains colorful Quick Response Code.
8. the method according to the description of claim 7 is characterized in that the method further includes:
Obtain the matched specific watermark picture of shape feature of shape feature and the multiple two-dimentional data code of waiting to mix colours;
Two-dimentional data code of mixing colours is waited using specific watermark picture replacement is the multiple.
9. according to the method described in claim 8, it is characterized in that, the method further includes:
Obtain particular picture mark;
It determines the center of the original two dimensional code, and the particular picture is added in the center of the original two dimensional code Mark, obtains picture identification Quick Response Code.
10. a kind of Quick Response Code generating means, which is characterized in that described device includes:
Original two dimensional code acquisition module, for obtaining original two dimensional code and multiple self-defined two-dimentional data codes;The original two dimensional Code includes multiple two-dimentional data codes;The self-defined two-dimentional data code has first shape feature;
Quick Response Code element combinations identification module, for identifying the Quick Response Code element combinations in the original two dimensional code;The two dimension Data code combination includes at least two two-dimentional data codes with syntople;The Quick Response Code element combinations have the second shape Feature;
Matching module, for by the first shape feature of the multiple self-defined two-dimentional data code and the Quick Response Code element combinations The second shape feature matched;
Target two-dimensional code generation module, if for there are the self-defined two-dimentional data code of the matched target of shape feature, by the mesh The Quick Response Code element combinations in the self-defined two-dimentional data code replacement original two dimensional code are marked, obtain target Quick Response Code.
CN201711308310.XA 2017-12-11 2017-12-11 A kind of two-dimensional code generation method and device Pending CN108229626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711308310.XA CN108229626A (en) 2017-12-11 2017-12-11 A kind of two-dimensional code generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711308310.XA CN108229626A (en) 2017-12-11 2017-12-11 A kind of two-dimensional code generation method and device

Publications (1)

Publication Number Publication Date
CN108229626A true CN108229626A (en) 2018-06-29

Family

ID=62653445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711308310.XA Pending CN108229626A (en) 2017-12-11 2017-12-11 A kind of two-dimensional code generation method and device

Country Status (1)

Country Link
CN (1) CN108229626A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558927A (en) * 2018-12-26 2019-04-02 上海钦轩网络科技有限公司 A kind of art two-dimensional code generation method and device
CN109885711A (en) * 2019-01-17 2019-06-14 深圳市盈频家佳修信息技术有限责任公司 A kind of method and apparatus of customization of two-dimension code
CN110084349A (en) * 2019-04-30 2019-08-02 尤尼泰克(嘉兴)信息技术有限公司 A kind of method for drafting and geometry pixel two dimensional code of two dimensional code pixel
CN113033745A (en) * 2021-03-25 2021-06-25 深圳市快印客电子商务有限公司 Method for generating character two-dimensional code

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968654A (en) * 2012-10-26 2013-03-13 吴东杰 Method and system for producing information recognizable by naked eyes in plane of two-dimensional (2D) code and 2D code
CN104504429A (en) * 2014-12-17 2015-04-08 百度在线网络技术(北京)有限公司 Two-dimensional code generation method and device
CN104850814A (en) * 2015-05-14 2015-08-19 上海交通大学 Image optimization processing method with fusion of two-dimensional code
CN105760913A (en) * 2016-01-05 2016-07-13 张梦石 Information recording method and information extracting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968654A (en) * 2012-10-26 2013-03-13 吴东杰 Method and system for producing information recognizable by naked eyes in plane of two-dimensional (2D) code and 2D code
CN104504429A (en) * 2014-12-17 2015-04-08 百度在线网络技术(北京)有限公司 Two-dimensional code generation method and device
CN104850814A (en) * 2015-05-14 2015-08-19 上海交通大学 Image optimization processing method with fusion of two-dimensional code
CN105760913A (en) * 2016-01-05 2016-07-13 张梦石 Information recording method and information extracting method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558927A (en) * 2018-12-26 2019-04-02 上海钦轩网络科技有限公司 A kind of art two-dimensional code generation method and device
CN109885711A (en) * 2019-01-17 2019-06-14 深圳市盈频家佳修信息技术有限责任公司 A kind of method and apparatus of customization of two-dimension code
CN110084349A (en) * 2019-04-30 2019-08-02 尤尼泰克(嘉兴)信息技术有限公司 A kind of method for drafting and geometry pixel two dimensional code of two dimensional code pixel
CN113033745A (en) * 2021-03-25 2021-06-25 深圳市快印客电子商务有限公司 Method for generating character two-dimensional code
CN113033745B (en) * 2021-03-25 2022-03-04 深圳市智码通科技有限公司 Method for generating character two-dimensional code

Similar Documents

Publication Publication Date Title
CN108229626A (en) A kind of two-dimensional code generation method and device
US11630968B2 (en) Matrix barcode having a plurality of colors and a least prevalent color
US11720776B2 (en) System and method using a histogram and colorspaces to create a matrix barcode having a plurality of colors, an infrared layer, and an ultraviolet layer
US11487960B2 (en) Matrix barcode having a plurality of colors and an ultraviolet layer for conveying spatial information
US11487979B2 (en) Matrix barcode having a plurality of colors and an infrared layer for conveying spatial information
US7020327B2 (en) Machine readable code image and method of encoding and decoding the same
CA2408454C (en) Machine readable code and method and device of encoding and decoding the same
CN101563700B (en) Method for acquiring simulation parameter in invisible code printing support system and its system
KR101554518B1 (en) Information obtaining method and apparatus
CN101561863A (en) Anti-counterfeit identifying system for identifying anti-counterfeit printed material by mobile phone, scanner and camera
CN105516296A (en) Configuration method and device of group identification image
CN104504573A (en) Box-packed marine food fidelity technology
CN101882298B (en) Image checking code generating method based on invertible matrix
CN101770729A (en) Two-dimension code anti-counterfeit Internet access product and method thereof
CN105184595A (en) Mobile internet big data analysis technique based two-dimension code anti-counterfeiting cloud system and application method thereof
CN106599963A (en) Method and system for forming quick response (QR) code with plaintext
Nurwono et al. Color quick response code for mobile content distribution
CN103870851A (en) Parameter uniqueness anti-counterfeiting method for self-authentication information
CN113435223A (en) Two-dimensional code release method based on block chain, block chain platform and release side platform
CN104796252A (en) Variable data label anti-counterfeiting method, variable data label anti-counterfeiting device, variable data label authenticating method and variable data label authenticating system
CN106803182A (en) A kind of Antiforge system and method based on Intelligent mobile equipment geographical position
CN104555020A (en) Fidelity technology of boxed seafood
AU2001258868B2 (en) Machine readable code and method and device of encoding and decoding the same
CN104463609A (en) Fidelity technology used for counterfeiting prevention of nacre powder
CN104386343A (en) Vacuum anti-counterfeit packaging technique for seafood retention

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180629

RJ01 Rejection of invention patent application after publication