CN104281864B - A kind of method and apparatus for generating Quick Response Code - Google Patents
A kind of method and apparatus for generating Quick Response Code Download PDFInfo
- Publication number
- CN104281864B CN104281864B CN201310279939.1A CN201310279939A CN104281864B CN 104281864 B CN104281864 B CN 104281864B CN 201310279939 A CN201310279939 A CN 201310279939A CN 104281864 B CN104281864 B CN 104281864B
- Authority
- CN
- China
- Prior art keywords
- original
- code
- dimensional code
- image
- quick response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000004044 response Effects 0.000 title claims abstract description 206
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000000605 extraction Methods 0.000 claims description 25
- 239000000284 extract Substances 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 7
- 238000000547 structure data Methods 0.000 claims description 7
- 230000008859 change Effects 0.000 abstract description 10
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 14
- 238000010422 painting Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000002045 lasting effect Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 239000003086 colorant Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004927 fusion Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- TVEXGJYMHHTVKP-UHFFFAOYSA-N 6-oxabicyclo[3.2.1]oct-3-en-7-one Chemical compound C1C2C(=O)OC1C=CC2 TVEXGJYMHHTVKP-UHFFFAOYSA-N 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Abstract
The object of the present invention is to provide a kind of method and apparatus for generating Quick Response Code.Generate equipment and obtain pending original two-dimensional code, the multiple image and the original two-dimensional code extracted from the dynamic image corresponding to the original two-dimensional code, generate multiple middle Quick Response Codes corresponding to the original two-dimensional code, according to the order information of the background patterns of middle Quick Response Code, merge multiple middle Quick Response Codes, to obtain corresponding target Quick Response Code.Compared with prior art, the present invention in original two-dimensional code by will be embedded among the dynamic image of dynamic change, contribute to the background picture of prominent Quick Response Code, add the information content of the target Quick Response Code, improve the source of screen utilization rate of information carrying capacity and screen constrained terminal device, and, add the rich of two-dimentional digital content, diversity and interest, so that the target Quick Response Code is more personalized, improve the appearance UI effects of Quick Response Code, so that Quick Response Code is readily discernible, the efficiency that user obtains information is improved.
Description
Technical field
The present invention relates to planar bar code technology field, more particularly to a kind of technology for generating Quick Response Code.
Background technology
With the continuous development of mobile Internet, the application scenario of Quick Response Code is more and more, becomes a kind of effective wide
Accuse publicity and entertainment interactive medium.However, current two-dimension only with pure color or black and white with formed as the alternate formula of traditional dichromatism,
Black and white alternating expression.
This kind of pattern in 2 D code style is more dull, and content does not protrude, and Quick Response Code identification is relatively low.
The content of the invention
The object of the present invention is to provide a kind of method and apparatus for generating Quick Response Code.
According to an aspect of the invention, there is provided a kind of method for generating Quick Response Code, wherein, this method includes following step
Suddenly:
A obtains pending original two-dimensional code;
Multiple image is extracted in dynamic image corresponding to b from the original two-dimensional code;
C generates multiple centres corresponding to the original two-dimensional code according to the multiple image and the original two-dimensional code
Quick Response Code, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns;
D merges the multiple middle Quick Response Code, to obtain according to the order information of the background patterns of the middle Quick Response Code
Corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are dynamically changeables.
According to another aspect of the present invention, a kind of generation equipment for generating Quick Response Code is additionally provided, wherein, the equipment bag
Include:
Acquisition device, for obtaining pending original two-dimensional code;
Extraction element, for extracting multiple image from the dynamic image corresponding to the original two-dimensional code;
Generating means, for according to the multiple image and the original two-dimensional code, it is right to generate the original two-dimensional code institute
The multiple middle Quick Response Codes answered, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns;
Merge device, for the order information of the background patterns according to the middle Quick Response Code, merge the multiple centre
Quick Response Code, to obtain corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are dynamically changeables.
Compared with prior art, the present invention is by obtaining pending original two-dimensional code, and from the original two-dimensional code institute
Multiple image is extracted in corresponding dynamic image, according to the multiple image and the original two-dimensional code, generation described initial two
Tie up multiple middle Quick Response Codes corresponding to code, and the order information of the background patterns according to the middle Quick Response Code, described in merging
Multiple middle Quick Response Codes, to obtain corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are dynamically changeables
's;Among by the way that the dynamic image of dynamic change will be embedded into original two-dimensional code, contribute to the background of prominent Quick Response Code
Publicity pictures, add the information content of the target Quick Response Code, improve information carrying capacity and screen constrained terminal device
Source of screen utilization rate, also, add the rich of two-dimentional digital content, diversity and interest so that the target two
It is more personalized to tie up code, improves the appearance UI effects of Quick Response Code so that Quick Response Code is readily discernible, improves user and obtains information
Efficiency.
Moreover, the present invention can also determine the position sensing region of the original two-dimensional code, then according to the multiframe figure
As and the original two-dimensional code, with reference to the position sensing region, by by least one, described position in the multiple image
Search coverage and the original two-dimensional code are sequentially overlapped, and generate multiple middle Quick Response Codes corresponding to the original two-dimensional code;From
And realize and be embedded into original two-dimensional code among the dynamic image of dynamic change, contribute to the background advertising map of prominent Quick Response Code
Piece, and can effectively identify the Quick Response Code, adds the information content of the target Quick Response Code, improve information carrying capacity and
The source of screen utilization rate of screen constrained terminal device, also, add the rich of two-dimentional digital content, diversity and entertaining
Property so that the target Quick Response Code is more personalized, improves the appearance UI effects of Quick Response Code so that and Quick Response Code is readily discernible,
Improve the efficiency that user obtains information.
Moreover, the present invention can also be pre-processed at least one in multiple image, it is pretreated described to obtain
Image, for generating the middle Quick Response Code corresponding to the original two-dimensional code;Further, can also be by the multiframe
At least one carry out decoding process in image, according to obtained picture structure data, by described image structural data
Transparent background information replaces with color filling information, to obtain pretreated described image;So as to avoid, there are transparent or portion
Background fusion of the transparent color lump to Quick Response Code is divided to have an impact.
Moreover, the present invention can also determine and the original two-dimensional code according to the code relevant information of the original two-dimensional code
Corresponding dynamic image, and extract multiple image from the dynamic image;So as to special from such as application scenarios information, color matching
The suitable dynamic image of many aspects such as reference breath, information to be presented selection, contributes to the background publicity pictures of prominent Quick Response Code,
The information content of the target Quick Response Code is added, improves the source of screen of information carrying capacity and screen constrained terminal device
Utilization rate, also, add the rich of two-dimentional digital content, diversity and interest so that the target Quick Response Code is more a
Property, improve the appearance UI effects of Quick Response Code so that Quick Response Code is readily discernible, improves the efficiency that user obtains information.
Moreover, the present invention can also extract multiframe candidate image from the dynamic image, and according to the original two-dimensional
The code relevant information of code, the multiple image is selected in the multiframe candidate image;It is excellent so as to be carried out to the background patterns
Choosing, improves the identification of target Quick Response Code, improves the source of screen of information carrying capacity and screen constrained terminal device
Utilization rate, and then improve user and obtain efficiency of information etc..
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows a kind of generation equipment schematic diagram of generation Quick Response Code of one side according to the present invention;
Fig. 2 shows a kind of generation equipment schematic diagram of generation Quick Response Code in accordance with a preferred embodiment of the present invention;
Fig. 3 shows a kind of generation equipment schematic diagram of generation Quick Response Code of another preferred embodiment according to the present invention;
Fig. 4 shows a kind of method flow diagram of generation Quick Response Code according to a further aspect of the present invention;
Fig. 5 shows a kind of method flow diagram of generation Quick Response Code in accordance with a preferred embodiment of the present invention;
Fig. 6 shows a kind of method flow diagram of generation Quick Response Code of another preferred embodiment according to the present invention;
Fig. 7 shows a kind of schematic diagram of middle Quick Response Code according to a preferred embodiment of the present invention.
The same or similar reference numeral represents the same or similar component in attached drawing.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 shows a kind of generation equipment schematic diagram of generation Quick Response Code of one side according to the present invention;Wherein, the life
Forming apparatus includes acquisition device 1, extraction element 2, generating means 3, merging device 4.Specifically, the acquisition device 1 is obtained and treated
The original two-dimensional code of processing;Multiple image is extracted in dynamic image corresponding to extraction element 2 from the original two-dimensional code;Generation
Device 3 generates multiple middle two dimensions corresponding to the original two-dimensional code according to the multiple image and the original two-dimensional code
Code, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns;Merge device 4 according to described
The order information of the background patterns of middle Quick Response Code, merges the multiple middle Quick Response Code, to obtain corresponding target Quick Response Code,
Wherein, the background patterns of the target Quick Response Code are dynamically changeables.
Here, the generation equipment includes but not limited to the network equipment, user equipment or the network equipment and user equipment leads to
Cross network and be integrated formed equipment.Wherein, the network equipment include it is a kind of can be according to the finger for being previously set or storing
Order, the automatic electronic equipment for carrying out numerical computations and information processing, its hardware include but not limited to microprocessor, special integrated electricity
Road (ASIC), programmable gate array(FPGA), digital processing unit(DSP), embedded device etc..The network equipment it include but
It is not limited to the cloud that computer, network host, single network server, multiple webserver collection or multiple servers are formed;
This, cloud is by based on cloud computing(Cloud Computing)A large amount of computers or the webserver form, wherein, cloud computing is
One kind of Distributed Calculation, a virtual supercomputer being made of the computer collection of a group loose couplings.The user sets
Standby its, which includes but not limited to any type, to carry out human-computer interaction by keyboard, remote controler, touch pad or voice-operated device with user
Electronic product, such as computer, smart mobile phone, PDA, game machine or IPTV etc..The network includes but not limited to interconnect
Net, wide area network, Metropolitan Area Network (MAN), LAN, VPN network, wireless self-organization network(Ad Hoc networks)Deng.Those skilled in the art should
It is understood that, others generation equipment are equally applicable to the present invention, should also be included within the scope of the present invention, and herein to draw
It is incorporated herein with mode.
Constantly work between above-mentioned each device, here, it will be understood by those skilled in the art that " lasting " refers to
State each device respectively in real time, or the operating mode requirement according to setting or real-time adjustment, carry out pending initial two
The acquisition of code, the extracting of multiple image, the generation of middle Quick Response Code, acquisition of target Quick Response Code etc. are tieed up, until the generation is set
It is standby to stop obtaining pending original two-dimensional code.
The acquisition device 1 obtains pending original two-dimensional code.
Specifically, the acquisition device 1 is by various communication protocols, by Various types of data coffret, with storing or carrying
Interact for the one or more databases or other third party devices of the original two-dimensional code, to obtain pending initial two
Tie up code;Alternatively, the acquisition device 1 is with other equipment by interacting, or by interacting with user, receive the user
By clicking on, touching, one or more content informations that mode submitted such as inputting, and the content information is based on Quick Response Code
Generating principle and/or interdependent parameter etc., to generate pending original two-dimensional code.
Wherein, the original two-dimensional code including but not limited to only express the text message or link information, with pure
Color or black and white generated such as the Quick Response Code of the alternate formula of traditional dichromatism, black and white alternating expression and dichromatism gradual change type, or in two dimension
Code center is embedded in Quick Response Code of small picture etc..
Multiple image is extracted in dynamic image corresponding to extraction element 2 from the original two-dimensional code.
Specifically, the extraction element 2 is by various communication protocols, by Various types of data coffret, with storing or carrying
Interact for the one or more databases or other third party devices of the dynamic image, to obtain the dynamic image, so
The dynamic image and the original two-dimensional code are established into mapping relations afterwards, as with the corresponding dynamic of original two-dimensional code
Image;Or the extraction element 2 is with user by interacting, the user is received by clicking on, touching, the mode institute such as inputting
Selection submit with the corresponding dynamic image of original two-dimensional code;Or the extraction element 2 is according to the original two-dimensional
Code, based on predetermined selection criteria(Information as corresponding to according to the original two-dimensional code etc.), select and the original two-dimensional
The corresponding dynamic image of code.
Then, the extraction element 2 is according to the dynamic image, according to predetermined extraction frame number number, or according to institute
The frame number of dynamic image is stated, multiple image is extracted from the dynamic image, such as(F[1],F[2],…,F[n]).
Generating means 3 are generated corresponding to the original two-dimensional code according to the multiple image and the original two-dimensional code
Multiple middle Quick Response Codes, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns.
Specifically, multiple image of the generating means 3 according to acquired in the extraction element 2, the multiframe that will be extracted
Image, as the background patterns of the middle Quick Response Code, for example, the multiple image that the extraction element 2 is extracted is(F[1],F
[2],…,F[n]), then the generating means 3 are respectively by F [1], and F [2] ..., F [n] are as generating the middle Quick Response Code
Background patterns so that original two-dimensional code of the generating means 3 according to acquired in the acquisition device 1, such as by by institute
State that original two-dimensional code is directly superimposed with the background patterns F [1], generate corresponding to the original two-dimensional code among two dimension
Code, and then be superimposed respectively with the original two-dimensional code according to the multiple image F [1], F [2] ..., F [n], during acquisition is multiple
Between Quick Response Code, that is, utilize Quick Response Code among the generation of two frames in the multiple image or more two field picture..
For example, the figure layer of the original two-dimensional code is directly placed on the figure layer of the background patterns, so as to obtain
The middle Quick Response Code;If here, the background patterns and the original two-dimensional code are in the same size, by the original two-dimensional code
Placement overlapping with the background patterns;If the background patterns and the original two-dimensional code cause not of uniform size, such as Background
Case size is more than the original two-dimensional code, then the superposed positions include but not limited to the original two-dimensional code being superimposed upon described
The arbitrary region of background patterns, such as central area, upper left corner area, lower right field, but for same original two-dimensional
The multiple image of same dynamic image of the code corresponding to it, what the original two-dimensional code was superimposed on the multiple image
Position should be identical.
Merge order information of the device 4 according to the background patterns of the middle Quick Response Code, merge two dimension among the multiple
Code, to obtain corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are dynamically changeables.
Specifically, the order information of background patterns of the merging device 4 according to corresponding to the middle Quick Response Code, by institute
Multiple middle Quick Response Code configuration frame chained lists are stated, by the way that the middle Quick Response Code of the frame chained list is merged, that is, are obtained corresponding
Target Quick Response Code.Wherein, since the background patterns are the multiple images that are extracted from corresponding dynamic image, press
According to the background patterns order information merge after, the background patterns are dynamically changeables.Here, two dimension among described
The order information of the background patterns of code can be background patterns order information corresponding in the dynamic image, also may be used
To be other order informations specified etc..
Here, since the original two-dimensional code that the middle Quick Response Code is included is identical, and the Background corresponding to it
Case is different, therefore each frame of the movable target Quick Response Code of the background patterns after merging all has and the original two-dimensional
The identical code shape of code, therefore the content scanned is identical, meanwhile, the background patterns in addition to code shape are different.
Preferably, the generating means 3 can determine the position sensing region of the original two-dimensional code;According to the multiframe
Image and the original two-dimensional code, with reference to the position sensing region, by by least one in the multiple image, institute's rheme
Put search coverage and the original two-dimensional code be sequentially overlapped, generate multiple middle Quick Response Codes corresponding to the original two-dimensional code,
Wherein, the middle Quick Response Code is at least one using in the multiple image is used as background patterns.
Specifically, the generating means 3 can be according to image-recognizing method, since the position sensing region in Quick Response Code is
Square-shaped frame region with certain standard, therefore by carrying out image recognition to the original two-dimensional code, can determine described
The position sensing region of original two-dimensional code, wherein, the identified position sensing zone location position of the original two-dimensional code
Information, such as the positional information by original two-dimensional code as described in being determined with the corresponding coordinate information in position sensing region;Here,
The position sensing region is represented in Quick Response Code to the localization region of definite barcode position(As the Quick Response Code in Fig. 7 is marked
The chequered with black and white square-shaped frame region in upper left, upper right, the lower-left three of knowledge).
The generating means 3 are according to the multiple image and the original two-dimensional code, with reference to the position sensing region, example
Such as, it is placed in painting canvas bottom by least one in the multiple image by color lump, the position sensing region is placed in painting canvas
Two figure layers, then the original two-dimensional code is placed in painting canvas top layer, are sequentially overlapped three is bottom-up, generate the original two-dimensional
Middle Quick Response Code corresponding to code.For the multiple multiple image and its original two-dimensional code, with reference to the original two-dimensional code
Position sensing region, the generating means 3 sequentially generate multiple middle Quick Response Codes corresponding to the original two-dimensional code.
Fig. 7 shows a kind of schematic diagram of middle Quick Response Code according to a preferred embodiment of the present invention;Wherein, this is initial
The basic pattern of Quick Response Code is as shown in the lower right corner in Fig. 7, by by least one in multiple image, position sensing region, initial
Quick Response Code is sequentially overlapped on painting canvas, generates Quick Response Code among as shown in Figure 7 one.
Fig. 2 shows a kind of generation equipment schematic diagram of generation Quick Response Code in accordance with a preferred embodiment of the present invention;Wherein,
The generation equipment includes acquisition device 1 ', extraction element 2 ', pretreatment unit 5 ', generating means 3 ', merging device 4 '.Specifically
Ground, the acquisition device 1 ' obtain pending original two-dimensional code;It is dynamic corresponding to extraction element 2 ' from the original two-dimensional code
Multiple image is extracted in state image and extracts multiple image from corresponding dynamic image, using the background as the original two-dimensional code
Pattern;Pretreatment unit 5 ' is pre-processed at least one in multiple image, to obtain pretreated described image, with
In the middle Quick Response Code corresponding to the generation original two-dimensional code;Generating means 3 ' are according to the multiple image and described initial two
Code is tieed up, generates multiple middle Quick Response Codes corresponding to the original two-dimensional code, wherein, the middle Quick Response Code is with the multiframe figure
It is at least one as in be used as background patterns;Merge order information of the device 4 ' according to the background patterns of the middle Quick Response Code, close
And the multiple middle Quick Response Code, to obtain corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are
State is variable.Wherein, the acquisition device 1 ', extraction element 2 ', generating means 3 ', merging device 4 ' dress corresponding with shown in Fig. 1
Put identical or essentially identical, therefore details are not described herein again, and is incorporated herein by reference.
Constantly work between above-mentioned each device, here, it will be understood by those skilled in the art that " lasting " refers to
State each device respectively in real time, or the operating mode requirement according to setting or real-time adjustment, carry out pending initial two
The dimension acquisition of code, the extraction of multiple image, generation, the acquisition of target Quick Response Code of the pre-processing of multiple image, middle Quick Response Code
Deng until the generation equipment stops obtaining pending original two-dimensional code.
Pretreatment unit 5 ' is pre-processed at least one in multiple image, to obtain pretreated described image,
For generating the middle Quick Response Code corresponding to the original two-dimensional code.
Specifically, the pretreatment unit 5 ' at least one in the multiple image by being detected, described in detection
Whether meet the information such as the color, transparency that needs handle described image in image, if desired described image is carried out
The correspondence color lump of required processing, then be filled, replace etc. and operate by processing, obtains pretreated described image, for
Generate the middle Quick Response Code corresponding to the original two-dimensional code.
Alternatively, the pretreatment unit 5 ' is directly based upon predetermined processing method, at least one in the multiple image
It is adjusted, such as reduces picture contrast, color saturation, to obtain pretreated described image, for generates institute
State the middle Quick Response Code corresponding to original two-dimensional code.
It is highly preferred that wherein, the pretreatment operation in the pretreatment unit 5 ' includes:
To at least one carry out decoding process in the multiple image, to obtain corresponding picture structure data;For example,
To at least one carry out decoding process in the multiple image, so as to obtain each color, the transparency corresponding to described image
Deng component value, using the component Value Data as the corresponding picture structure data;By described image structural data
In transparent background information replace with color filling information, to obtain pretreated described image;I.e. when described image structure
When including transparent background information in change data, using the color lump with setpoint color, the transparent background information is filled out
Fill, here, the color filling information includes but not limited to white or colors of other settings, so as to avoid that there are transparent or portion
Divide transparent color lump, to influence the fusion of the background of Quick Response Code.Here, the detection of the transparent background information can be by detection
It is no that there are α passages to be determined.
Fig. 3 shows a kind of generation equipment schematic diagram of generation Quick Response Code of another preferred embodiment according to the present invention;Its
In, the generation equipment includes acquisition device 1 ", extraction element 2 ", generating means 3 ", merging device 4 ", the extraction element 2 '
Including dynamic determination unit 21 ", background determination unit 22 ".Specifically, the acquisition device 1 " obtains pending original two-dimensional
Code;Dynamic determination unit 21 " determines corresponding with the original two-dimensional code according to the code relevant information of the original two-dimensional code
Dynamic image;Background determination unit 22 " extracts multiple image from the dynamic image;Generating means 3 " are according to the multiframe figure
Picture and the original two-dimensional code, generate multiple middle Quick Response Codes corresponding to the original two-dimensional code, wherein, the middle two dimension
Code is at least one using in the multiple image to be used as background patterns;Merge background patterns of the device 4 " according to the middle Quick Response Code
Order information, merge the multiple middle Quick Response Code, to obtain corresponding target Quick Response Code, wherein, the target Quick Response Code
Background patterns be dynamically changeable.Wherein, the acquisition device 1 ", generating means 3 ", merging device 4 " are corresponding with shown in Fig. 1
Device is identical or essentially identical, therefore details are not described herein again, and is incorporated herein by reference.
Constantly work between above-mentioned each device, here, it will be understood by those skilled in the art that " lasting " refers to
State each device respectively in real time, or the operating mode requirement according to setting or real-time adjustment, carry out pending initial two
Tie up code acquisition, with the determining of the corresponding dynamic image of original two-dimensional code, the extracting of multiple image, middle Quick Response Code
Generation, acquisition of target Quick Response Code etc., until the generation equipment stops obtaining pending original two-dimensional code.
Dynamic determination unit 21 " determines and the original two-dimensional code phase according to the code relevant information of the original two-dimensional code
Corresponding dynamic image.
Specifically, the dynamic determination unit 21 " can be according to the code relevant information of the original two-dimensional code, such as basis
The application scenarios information of the affiliated application message of the original two-dimensional code, color matching characteristic information or information to be presented etc., pass through
By the video transformation of ownership corresponding to the code relevant information into dynamic image or by the candidate to match with code relevant information dynamically
Image determines corresponding dynamic with the original two-dimensional code as the mode with the dynamic image corresponding to the original two-dimensional code
State image.
Background determination unit 22 " extracts multiple image from the dynamic image.
The background determination unit 22 " obtains the dynamic image from the dynamic determination unit 21 ", and according to described
Dynamic image, according to predetermined extraction frame number number, or the frame number according to the dynamic image, carries from the dynamic image
Multiple image is taken, such as(F[1],F[2],…,F[n]).
Preferably, when the code relevant information includes the application scenarios information of the original two-dimensional code, the dynamic is true
Order member 21 " can obtain to correspond to and apply corresponding dynamic image according to the application scenarios information of the original two-dimensional code, with
As with the corresponding dynamic image of original two-dimensional code.
Specifically, the code relevant information includes the application scenarios information of the original two-dimensional code, wherein, the applied field
Scape information includes but not limited to presentation information or video preview information applied etc.;The dynamic determination unit 21 " is according to
Application scenarios information, for example, being set based on predetermined number of pictures per second, by the way that the presentation information of the application is continuously caught
Catch, to generate corresponding dynamic image, or the video preview information is subjected to format conversion, video format is changed
For moving image format, so as to generate corresponding dynamic image, and using the dynamic image as with the original two-dimensional code
Corresponding dynamic image.
Preferably, when the code relevant information includes the color matching characteristic information of the original two-dimensional code, the dynamic is true
Order member 21 " can according to the color matching characteristic information of the original two-dimensional code, from multiple candidate's dynamic images selection with it is described
Candidate's dynamic image for matching of color matching characteristic information, using as with the corresponding dynamic image of original two-dimensional code.
Specifically, the code relevant information includes the color matching characteristic information of the original two-dimensional code, wherein, the color matching is special
Reference breath includes but not limited to the code shape color of the original two-dimensional code, color change information etc.;The dynamic determination unit 21 "
According to the color matching characteristic information, from multiple candidate's dynamic images, selection and the candidate that characteristic information matches that matches colors
Dynamic image, and using the dynamic image as with the corresponding dynamic image of original two-dimensional code.
For example, selection with the color of the original two-dimensional code differs larger candidate's dynamic image, as with it is described initially
The corresponding dynamic image of Quick Response Code, so as to clearly read background patterns and initial two in the target Quick Response Code of generation
Tie up the code shape information of code.
Wherein, candidate's dynamic image can be by various communication protocols, by Various types of data coffret, with storage
Or one or more databases of the offer dynamic image or other third party devices interact, to be obtained;It is or logical
Cross and interact with user, receive the user by click on, touch, input etc. it is submitting with the original two-dimensional selected by mode
Corresponding multiple candidate's dynamic images of code etc..
Preferably, it is described dynamic when the information to be presented corresponding to the code relevant information includes the original two-dimensional code
State determination unit 21 " can be according to the information to be presented, selection and the information to be presented from multiple candidate's dynamic images
The candidate's dynamic image to match, using as with the corresponding dynamic image of original two-dimensional code.
Specifically, the code relevant information includes the information to be presented corresponding to the original two-dimensional code, wherein, it is described to treat
It is text information, link information corresponding to the original two-dimensional code after original two-dimensional code is scanned that information, which is presented,
Or other relevant informations.
The dynamic determination unit 21 " is according to the information to be presented, such as according to corresponding to the information to be presented
Content information, it is such as described from candidate's dynamic image that selection matches with the content from multiple candidate's dynamic images
Information to be presented is the broadcasting link of animation " sea thief king ", then candidate dynamic image of the selection with " sea thief king " title, or tool
Have with candidate's dynamic image of " sea thief king " content information, or with " sea thief king " other relevant candidate's dynamic images, as with
The corresponding dynamic image of original two-dimensional code, so that customizing messages is presented to targeted customer.
Alternatively, the dynamic determination unit 21 " is according to the information to be presented, such as the text according to the information to be presented
This information, from candidate's dynamic image that selection matches with the content from multiple candidate's dynamic images, for example, described
Information to be presented is " blue sky ", then candidate dynamic image of the selection with blue sky content, as opposite with the original two-dimensional code
The dynamic image answered, so that customizing messages is presented to targeted customer.
Preferably, the background determination unit 22 " can extract multiframe candidate image from the dynamic image;According to institute
The code relevant information of original two-dimensional code is stated, the multiple image is selected in the multiframe candidate image.
Specifically, the background determination unit 22 " is according to the dynamic image, according to predetermined extraction frame number number, or
Person extracts multiframe candidate image according to the frame number of the dynamic image from the dynamic image.
The background determination unit 22 " is according to the code relevant information of the original two-dimensional code, for example, according to described initial two
Application scenarios information, the color matching characteristic information or information to be presented etc. of the affiliated application message of code are tieed up, from the multiframe candidate
The multiple image is extracted in image.
For example, the color matching information of the original two-dimensional code is yellow, therefore by the yellow map in the multiframe candidate image
As being deleted, using the image of non-yellow as the multiple image;Alternatively, the content information of the original two-dimensional code is " blue
My god ", the image in corresponding " blue sky " is both included in the multiframe candidate image, also includes the image in corresponding " sea ", then will be corresponding
The image in " blue sky " is as the multiple image, by image-erasing of correspondence " sea " etc..
Fig. 4 shows a kind of method flow diagram of generation Quick Response Code according to a further aspect of the present invention.Specifically, in step
In s1, the generation equipment obtains pending original two-dimensional code;In step s2, the equipment that generates is from the original two-dimensional
Multiple image is extracted in dynamic image corresponding to code;In step s3, the generation equipment is according to the multiple image and institute
Original two-dimensional code is stated, generates multiple middle Quick Response Codes corresponding to the original two-dimensional code, wherein, the middle Quick Response Code is with institute
State and at least one in multiple image be used as background patterns;In step s4, the generation equipment is according to the middle Quick Response Code
The order information of background patterns, merges the multiple middle Quick Response Code, to obtain corresponding target Quick Response Code, wherein, the mesh
The background patterns for marking Quick Response Code are dynamically changeables.
Constantly work between above steps, here, it will be understood by those skilled in the art that " lasting " refers to
State each step respectively in real time, or the operating mode requirement according to setting or real-time adjustment, carry out pending initial two
The acquisition of code, the extracting of multiple image, the generation of middle Quick Response Code, acquisition of target Quick Response Code etc. are tieed up, until the generation is set
It is standby to stop obtaining pending original two-dimensional code.
In step s1, the generation equipment obtains pending original two-dimensional code.
Specifically, in step s1, the generation equipment is by various communication protocols, by Various types of data coffret,
Interact with the one or more databases or other third party devices for storing or providing the original two-dimensional code, wait to locate to obtain
The original two-dimensional code of reason;Alternatively, in step s1, the generation equipment by interacting with other equipment, or by with
Family interacts, and receives the user by clicking on, touching, one or more content informations that mode submitted such as inputting, and will
The content information is based on Quick Response Code generating principle and/or interdependent parameter etc., to generate pending original two-dimensional code.
Wherein, the original two-dimensional code including but not limited to only express the text message or link information, with pure
Color or black and white generated such as the Quick Response Code of the alternate formula of traditional dichromatism, black and white alternating expression and dichromatism gradual change type, or in two dimension
Code center is embedded in Quick Response Code of small picture etc..
In step s2, multiframe figure is extracted in the dynamic image corresponding to the generation equipment from the original two-dimensional code
Picture.
Specifically, in step s2, the generation equipment is by various communication protocols, by Various types of data coffret,
Interact with the one or more databases or other third party devices for storing or providing the dynamic image, it is described dynamic to obtain
State image, then establishes mapping relations by the dynamic image and the original two-dimensional code, as with the original two-dimensional code phase
Corresponding dynamic image;Or in step s2, the generation equipment receives the user and passes through a little by interacting with user
It is selected submitting with the corresponding dynamic image of original two-dimensional code the mode such as to hit, touch, inputting;Or in step s2,
The generation equipment is according to the original two-dimensional code, based on predetermined selection criteria(As according to corresponding to the original two-dimensional code
Information etc.), select and the corresponding dynamic image of original two-dimensional code.
Then, in step s2, the generation equipment is according to the dynamic image, according to predetermined extraction frame number number,
Or the frame number according to the dynamic image, multiple image is extracted from the dynamic image, the multiple image that will be extracted, such as
(F[1],F[2],…,F[n]).
In step s3, the generation equipment generates described initial according to the multiple image and the original two-dimensional code
Multiple middle Quick Response Codes corresponding to Quick Response Code, wherein, the middle Quick Response Code using in the multiple image it is at least one as
Background patterns.
Specifically, in step s3, the generation equipment will be carried according to multiple image acquired in the step s2
The multiple image taken, as the background patterns of the middle Quick Response Code, for example, the multiple image extracted in the step s2 is
(F[1],F[2],…,F[n]), then in step s3, respectively by F [1], F [2] ..., F [n] are used as to be used for the generation equipment
The background patterns of the middle Quick Response Code are generated, so as to generate original two-dimensional code of the equipment according to acquired in the step s1, example
Such as by the way that the original two-dimensional code is superimposed directly with the background patterns F [1], generate corresponding to the original two-dimensional code
Middle Quick Response Code, and then be superimposed, obtain respectively with the original two-dimensional code according to the multiple image F [1], F [2] ..., F [n]
Multiple middle Quick Response Codes are obtained, that is, utilize Quick Response Code among the generation of two frames in the multiple image or more two field picture..
For example, the figure layer of the original two-dimensional code is directly placed on the figure layer of the background patterns, so as to obtain
The middle Quick Response Code;If here, the background patterns and the original two-dimensional code are in the same size, by the original two-dimensional code
Placement overlapping with the background patterns;If the background patterns and the original two-dimensional code cause not of uniform size, such as Background
Case size is more than the original two-dimensional code, then the superposed positions include but not limited to the original two-dimensional code being superimposed upon described
The arbitrary region of background patterns, such as central area, upper left corner area, lower right field, but for same original two-dimensional
The multiple image of same dynamic image of the code corresponding to it, what the original two-dimensional code was superimposed on the multiple image
Position should be identical.
In step s4, the generation equipment merges institute according to the order information of the background patterns of the middle Quick Response Code
Multiple middle Quick Response Codes are stated, to obtain corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are that dynamic can
Become.
Specifically, in step s4, the background patterns of the generation equipment according to corresponding to the middle Quick Response Code it is suitable
Sequence information, by the multiple middle Quick Response Code configuration frame chained list, by the way that the middle Quick Response Code of the frame chained list is merged, i.e.,
Obtain corresponding target Quick Response Code.Wherein, since the background patterns are the multiframe figures that are extracted from corresponding dynamic image
Picture, therefore, after being merged according to the order information of the background patterns, the background patterns are dynamically changeables.Here, institute
The order information for stating the background patterns of middle Quick Response Code can be that the background patterns are suitable corresponding in the dynamic image
Sequence information or other order informations specified etc..
Here, since the original two-dimensional code that the middle Quick Response Code is included is identical, and the Background corresponding to it
Case is different, therefore each frame of the movable target Quick Response Code of the background patterns after merging all has and the original two-dimensional
The identical code shape of code, therefore the content scanned is identical, meanwhile, the background patterns in addition to code shape are different.
Preferably, in step s3, the generation equipment can determine the position sensing region of the original two-dimensional code;Root
According to the multiple image and the original two-dimensional code, with reference to the position sensing region, by by the multiple image at least
One, the position sensing region and the original two-dimensional code are sequentially overlapped, and are generated multiple corresponding to the original two-dimensional code
Middle Quick Response Code, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns.
Specifically, in step s3, the generation equipment can be according to image-recognizing method, due to the position in Quick Response Code
Search coverage is that have the square-shaped frame region of certain standard, therefore by carrying out image recognition, energy to the original two-dimensional code
Enough determine the position sensing region of the original two-dimensional code, wherein, identified position sensing zone location described initial two
The positional information of code is tieed up, such as the position letter by original two-dimensional code as described in being determined with the corresponding coordinate information in position sensing region
Breath etc.;Here, the position sensing region is represented in Quick Response Code to the localization region of definite barcode position(In Fig. 7
The chequered with black and white square-shaped frame region in upper left that Quick Response Code is identified, upper right, lower-left three).
In step s3, the generation equipment is according to the multiple image and the original two-dimensional code, with reference to the position
Search coverage, for example, painting canvas bottom is placed in by least one in the multiple image, by the position sensing region by color lump
The second figure layer of painting canvas is placed in, then the original two-dimensional code is placed in painting canvas top layer, is sequentially overlapped three is bottom-up, generates institute
State the middle Quick Response Code corresponding to original two-dimensional code.For the multiple multiple image and its original two-dimensional code, with reference to described first
The position sensing region of beginning Quick Response Code, the generation equipment sequentially generate multiple middle two dimensions corresponding to the original two-dimensional code
Code.
Fig. 5 shows a kind of method flow diagram of generation Quick Response Code in accordance with a preferred embodiment of the present invention.Specifically, exist
In step s1 ', the generation equipment obtains pending original two-dimensional code;In step s2 ', it is described generation equipment from it is described just
Multiple image is extracted in dynamic image corresponding to beginning Quick Response Code and extracts multiple image from corresponding dynamic image, to be used as institute
State the background patterns of original two-dimensional code;In step s5 ', the generation equipment is located in advance at least one in multiple image
Reason, to obtain pretreated described image, for generating the middle Quick Response Code corresponding to the original two-dimensional code;In step
In s3 ', the generation equipment is generated corresponding to the original two-dimensional code according to the multiple image and the original two-dimensional code
Multiple middle Quick Response Codes, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns;In step
In s4 ', the generation equipment merges two dimension among the multiple according to the order information of the background patterns of the middle Quick Response Code
Code, to obtain corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are dynamically changeables.Wherein, it is described
Step s1 ', step s2 ', step s3 ', step s4 ' are identical or essentially identical with corresponding to step shown in Fig. 4, therefore no longer superfluous herein
State, and be incorporated herein by reference.
Constantly work between above steps, here, it will be understood by those skilled in the art that " lasting " refers to
State each step respectively in real time, or the operating mode requirement according to setting or real-time adjustment, carry out pending initial two
The dimension acquisition of code, the extraction of multiple image, generation, the acquisition of target Quick Response Code of the pre-processing of multiple image, middle Quick Response Code
Deng until the generation equipment stops obtaining pending original two-dimensional code.
In step s5 ', the generation equipment is pre-processed at least one in multiple image, after being pre-processed
Described image, for generating the middle Quick Response Code corresponding to the original two-dimensional code.
Specifically, in step s5 ', it is described generation equipment by being detected at least one in the multiple image,
The information such as the color for whether meeting needs in described image and being handled described image, transparency are detected, if desired to described
Image is handled, then the correspondence color lump of required processing the operation such as be filled to, replaced, and obtains the pretreated figure
Picture, for generating the middle Quick Response Code corresponding to the original two-dimensional code.
Alternatively, in step s5 ', the generation equipment is directly based upon predetermined processing method, in the multiple image
It is at least one to be adjusted, such as reduce picture contrast, color saturation, to obtain pretreated described image, with
In the middle Quick Response Code corresponding to the generation original two-dimensional code.
It is highly preferred that wherein, in step s5 ', the pretreatment operation of the generation equipment includes:
To at least one carry out decoding process in the multiple image, to obtain corresponding picture structure data;For example,
To at least one carry out decoding process in the multiple image, so as to obtain each color, the transparency corresponding to described image
Deng component value, using the component Value Data as the corresponding picture structure data;By described image structural data
In transparent background information replace with color filling information, to obtain pretreated described image;I.e. when described image structure
When including transparent background information in change data, using the color lump with setpoint color, the transparent background information is filled out
Fill, here, the color filling information includes but not limited to white or colors of other settings, so as to avoid that there are transparent or portion
Divide transparent color lump, to influence the fusion of the background of Quick Response Code.Here, the detection of the transparent background information can be by detection
It is no that there are α passages to be determined.
Fig. 6 shows a kind of method flow diagram of generation Quick Response Code of another preferred embodiment according to the present invention.Specifically,
In step s1 ", the generation equipment obtains pending original two-dimensional code;In step s21 ", it is described generation equipment according to
The code relevant information of the original two-dimensional code, determines and the corresponding dynamic image of original two-dimensional code;In step s22 ",
The generation equipment extracts multiple image from the dynamic image;In step s3 ", the generation equipment is according to the multiframe
Image and the original two-dimensional code, generate multiple middle Quick Response Codes corresponding to the original two-dimensional code, wherein, the centre two
Code is at least one using in the multiple image is used as background patterns for dimension;In step s4 ", the generation equipment is according to the centre
The order information of the background patterns of Quick Response Code, merges the multiple middle Quick Response Code, to obtain corresponding target Quick Response Code, its
In, the background patterns of the target Quick Response Code are dynamically changeables.Wherein, the step s1 ", step s3 ", step s4 " and Fig. 4
Shown corresponding step is identical or essentially identical, therefore details are not described herein again, and is incorporated herein by reference.
Constantly work between above steps, here, it will be understood by those skilled in the art that " lasting " refers to
State each step respectively in real time, or the operating mode requirement according to setting or real-time adjustment, carry out pending initial two
Tie up code acquisition, with the determining of the corresponding dynamic image of original two-dimensional code, the extracting of multiple image, middle Quick Response Code
Generation, acquisition of target Quick Response Code etc., until the generation equipment stops obtaining pending original two-dimensional code.
In step s21 ", the generation equipment determines and described first according to the code relevant information of the original two-dimensional code
The corresponding dynamic image of beginning Quick Response Code.
Specifically, in step s21 ", the generation equipment can be according to the code relevant information of the original two-dimensional code, example
Such as according to the application scenarios information of the affiliated application message of the original two-dimensional code, color matching characteristic information or information to be presented
Deng by the way that the video transformation of ownership corresponding to the code relevant information will be matched into dynamic image or with code relevant information
Candidate's dynamic image determines and the original two-dimensional code phase as the mode with the dynamic image corresponding to the original two-dimensional code
Corresponding dynamic image.
In step s22 ", the generation equipment extracts multiple image from the dynamic image.
In step s22 ", the generation equipment obtains the dynamic image from the step s21 ", and according to described
Dynamic image, according to predetermined extraction frame number number, or the frame number according to the dynamic image, carries from the dynamic image
Multiple image is taken, such as(F[1],F[2],…,F[n]).
Preferably, when the code relevant information includes the application scenarios information of the original two-dimensional code, in step s21 "
In, the generation equipment can obtain corresponding using corresponding dynamic according to the application scenarios information of the original two-dimensional code
Image, using as with the corresponding dynamic image of original two-dimensional code.
Specifically, the code relevant information includes the application scenarios information of the original two-dimensional code, wherein, the applied field
Scape information includes but not limited to presentation information or video preview information applied etc.;In step s21 ", the generation equipment root
According to the application scenarios information, for example, being set based on predetermined number of pictures per second, by the way that the presentation information of the application is connected
It is continuous to catch, to generate corresponding dynamic image, or the video preview information is subjected to format conversion, by video format
Moving image format is converted to, so as to generate corresponding dynamic image, and using the dynamic image as with described initial two
Tie up the corresponding dynamic image of code.
Preferably, when the code relevant information includes the color matching characteristic information of the original two-dimensional code, in step s21 "
In, the generation equipment can be selected according to the color matching characteristic information of the original two-dimensional code from multiple candidate's dynamic images
With candidate's dynamic image for matching of color matching characteristic information, using as with the corresponding Dynamic Graph of original two-dimensional code
Picture.
Specifically, the code relevant information includes the color matching characteristic information of the original two-dimensional code, wherein, the color matching is special
Reference breath includes but not limited to the code shape color of the original two-dimensional code, color change information etc.;In step s21 ", the life
Forming apparatus is according to the color matching characteristic information, and from multiple candidate's dynamic images, selection matches with the color matching characteristic information
Candidate's dynamic image, and using the dynamic image as with the corresponding dynamic image of original two-dimensional code.
For example, selection with the color of the original two-dimensional code differs larger candidate's dynamic image, as with it is described initially
The corresponding dynamic image of Quick Response Code, so as to clearly read background patterns and initial two in the target Quick Response Code of generation
Tie up the code shape information of code.
Wherein, candidate's dynamic image can be by various communication protocols, by Various types of data coffret, with storage
Or one or more databases of the offer dynamic image or other third party devices interact, to be obtained;It is or logical
Cross and interact with user, receive the user by click on, touch, input etc. it is submitting with the original two-dimensional selected by mode
Corresponding multiple candidate's dynamic images of code etc..
Preferably, when the code relevant information include the original two-dimensional code corresponding to information to be presented when, in step
In s21 ", the generation equipment can according to the information to be presented, from multiple candidate's dynamic images selection with it is described wait be in
Candidate's dynamic image of existing information match, using as with the corresponding dynamic image of original two-dimensional code.
Specifically, the code relevant information includes the information to be presented corresponding to the original two-dimensional code, wherein, it is described to treat
It is text information, link information corresponding to the original two-dimensional code after original two-dimensional code is scanned that information, which is presented,
Or other relevant informations.
In step s21 ", the generation equipment is according to the information to be presented, such as according to the information institute to be presented
Corresponding content information, from candidate's dynamic image that selection matches with the content from multiple candidate's dynamic images,
Such as the broadcasting link that the information to be presented is animation " sea thief king ", then selection has candidate's Dynamic Graph of " sea thief king " title
Picture, or with candidate's dynamic image with " sea thief king " content information, or with " sea thief king " other relevant candidate's dynamic images,
As with the corresponding dynamic image of original two-dimensional code, so that customizing messages is presented to targeted customer.
Alternatively, in step s21 ", the generation equipment is according to the information to be presented, such as according to the letter to be presented
The text message of breath, from candidate's dynamic image that selection matches with the content from multiple candidate's dynamic images, example
Such as, the information to be presented is " blue sky ", then selection with blue sky content candidate's dynamic image, as with the original two-dimensional
The corresponding dynamic image of code, so that customizing messages is presented to targeted customer.
Preferably, in step s22 ", the generation equipment can extract multiframe candidate image from the dynamic image;
According to the code relevant information of the original two-dimensional code, the multiple image is selected in the multiframe candidate image.
Specifically, in step s22 ", the generation equipment is according to the dynamic image, according to predetermined extraction frame number number
Mesh, or the frame number according to the dynamic image, extract multiframe candidate image from the dynamic image.
It is described to generate code relevant information of the equipment according to the original two-dimensional code in step s22 ", for example, according to described
The application scenarios information of the affiliated application message of original two-dimensional code, color matching characteristic information or information to be presented etc., from described more
The multiple image is extracted in frame candidate image.
For example, the color matching information of the original two-dimensional code is yellow, therefore by the yellow map in the multiframe candidate image
As being deleted, using the image of non-yellow as the multiple image;Alternatively, the content information of the original two-dimensional code is " blue
My god ", the image in corresponding " blue sky " is both included in the multiframe candidate image, also includes the image in corresponding " sea ", then will be corresponding
The image in " blue sky " is as the multiple image, by image-erasing of correspondence " sea " etc..
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.This
Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple
Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table
Show title, and be not offered as any specific order.
Claims (18)
1. a kind of method for generating Quick Response Code, wherein, this method comprises the following steps:
A obtains pending original two-dimensional code;
Multiple image is extracted in dynamic image corresponding to b from the original two-dimensional code;
C generates multiple middle two dimensions corresponding to the original two-dimensional code according to the multiple image and the original two-dimensional code
Code, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns;
D merges the multiple middle Quick Response Code, to obtain correspondence according to the order information of the background patterns of the middle Quick Response Code
Target Quick Response Code, wherein, the background patterns of the target Quick Response Code are dynamically changeables.
2. according to the method described in claim 1, wherein, the step c includes:
- determine the position sensing region of the original two-dimensional code;
- according to the multiple image and the original two-dimensional code, with reference to the position sensing region, by by the multiple image
In at least one, described position sensing region and the original two-dimensional code be sequentially overlapped, generate corresponding to the original two-dimensional code
Multiple middle Quick Response Codes, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns.
3. method according to claim 1 or 2, wherein, this method further includes:
X is pre-processed at least one in multiple image, described first for generating to obtain pretreated described image
Middle Quick Response Code corresponding to beginning Quick Response Code.
4. according to the method described in claim 3, wherein, the pretreatment operation in the step x includes:
- at least one carry out decoding process in the multiple image, to obtain corresponding picture structure data;
- the transparent background information in described image structural data replaced with into color filling information, it is pretreated to obtain
Described image.
5. according to the method described in claim 1, wherein, the step b includes:
B1 is determined and the corresponding dynamic image of original two-dimensional code according to the code relevant information of the original two-dimensional code;
B2 extracts multiple image from the dynamic image.
6. according to the method described in claim 5, wherein, the code relevant information includes the application scenarios of the original two-dimensional code
Information;
Wherein, the step b1 includes:
- according to the application scenarios information of the original two-dimensional code, obtain it is corresponding apply corresponding dynamic image, using as with institute
State the corresponding dynamic image of original two-dimensional code.
7. according to the method described in claim 5, wherein, the code relevant information matches somebody with somebody color characteristic including the original two-dimensional code
Information;
Wherein, the step b1 includes:
- according to the color matching characteristic information of the original two-dimensional code, select to match somebody with somebody color characteristic with described from multiple candidate's dynamic images
Candidate's dynamic image of information match, using as with the corresponding dynamic image of original two-dimensional code.
8. according to the method described in claim 5, wherein, the code relevant information includes treating corresponding to the original two-dimensional code
Information is presented;
Wherein, the step b1 includes:
- according to the information to be presented, selection and the candidate of the information match to be presented from multiple candidate's dynamic images
Dynamic image, using as with the corresponding dynamic image of original two-dimensional code.
9. the method according to any one of claim 5 to 8, wherein, the step b2 includes:
- multiframe candidate image is extracted from the dynamic image;
- according to the code relevant information of the original two-dimensional code, select the multiple image in the multiframe candidate image.
10. a kind of generation equipment for generating Quick Response Code, wherein, which includes:
Acquisition device, for obtaining pending original two-dimensional code;
Extraction element, for extracting multiple image from the dynamic image corresponding to the original two-dimensional code;
Generating means, for according to the multiple image and the original two-dimensional code, generating corresponding to the original two-dimensional code
Multiple middle Quick Response Codes, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns;
Merge device, for the order information of the background patterns according to the middle Quick Response Code, merge two dimension among the multiple
Code, to obtain corresponding target Quick Response Code, wherein, the background patterns of the target Quick Response Code are dynamically changeables.
11. generation equipment according to claim 10, wherein, the middle generation unit is used for:
- determine the position sensing region of the original two-dimensional code;
- according to the multiple image and the original two-dimensional code, with reference to the position sensing region, by by the multiple image
In at least one, described position sensing region and the original two-dimensional code be sequentially overlapped, generate corresponding to the original two-dimensional code
Multiple middle Quick Response Codes, wherein, the middle Quick Response Code is at least one using in the multiple image to be used as background patterns.
12. the generation equipment according to claim 10 or 11, wherein, the equipment further includes:
Pretreatment unit, for being pre-processed at least one in multiple image, to obtain pretreated described image, with
For generating the middle Quick Response Code corresponding to the original two-dimensional code.
13. generation equipment according to claim 12, wherein, the pretreatment operation bag in the pretreatment unit
Include:
- at least one carry out decoding process in the multiple image, to obtain corresponding picture structure data;
- the transparent background information in described image structural data replaced with into color filling information, it is pretreated to obtain
Described image.
14. generation equipment according to claim 10, wherein, the extraction element includes:
Dynamic determination unit, for the code relevant information according to the original two-dimensional code, determines opposite with the original two-dimensional code
The dynamic image answered;
Background determination unit, for extracting multiple image from the dynamic image.
15. generation equipment according to claim 14, wherein, the code relevant information includes answering for the original two-dimensional code
Use scene information;
Wherein, the dynamic determination unit is used for:
- according to the application scenarios information of the original two-dimensional code, obtain it is corresponding apply corresponding dynamic image, using as with institute
State the corresponding dynamic image of original two-dimensional code.
16. generation equipment according to claim 14, wherein, the code relevant information includes matching somebody with somebody for the original two-dimensional code
Color characteristic information;
Wherein, the dynamic determination unit is used for:
- according to the color matching characteristic information of the original two-dimensional code, select to match somebody with somebody color characteristic with described from multiple candidate's dynamic images
Candidate's dynamic image of information match, using as with the corresponding dynamic image of original two-dimensional code.
17. generation equipment according to claim 14, wherein, it is right that the code relevant information includes original two-dimensional code institute
The information to be presented answered;
Wherein, the dynamic determination unit is used for:
- according to the information to be presented, selection and the candidate of the information match to be presented from multiple candidate's dynamic images
Dynamic image, using as with the corresponding dynamic image of original two-dimensional code.
18. the generation equipment according to any one of claim 14 to 17, wherein, the background determination unit is used for:
- multiframe candidate image is extracted from the dynamic image;
- according to the code relevant information of the original two-dimensional code, select the multiple image in the multiframe candidate image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310279939.1A CN104281864B (en) | 2013-07-04 | 2013-07-04 | A kind of method and apparatus for generating Quick Response Code |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310279939.1A CN104281864B (en) | 2013-07-04 | 2013-07-04 | A kind of method and apparatus for generating Quick Response Code |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104281864A CN104281864A (en) | 2015-01-14 |
| CN104281864B true CN104281864B (en) | 2018-05-01 |
Family
ID=52256724
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310279939.1A Active CN104281864B (en) | 2013-07-04 | 2013-07-04 | A kind of method and apparatus for generating Quick Response Code |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104281864B (en) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106656908B (en) * | 2015-10-28 | 2020-02-21 | 阿里巴巴集团控股有限公司 | A two-dimensional code processing method and device |
| CN106934644A (en) * | 2015-12-29 | 2017-07-07 | 成都英黎科技有限公司 | A kind of method and system of passive dynamic two-dimension code location coding checking |
| CN105787541B (en) * | 2016-02-04 | 2017-06-20 | 陈绳旭 | four-dimensional code encoding method and system |
| CN108122274A (en) * | 2016-11-29 | 2018-06-05 | 腾讯科技(深圳)有限公司 | A kind of generation method and device of Quick Response Code animation |
| CN107451507A (en) * | 2017-08-03 | 2017-12-08 | 青岛海信电器股份有限公司 | A kind of two-dimensional code identification method being used in dynamic image and device |
| CN109948763A (en) * | 2017-12-21 | 2019-06-28 | 武汉矽感科技有限公司 | A kind of method and device generating dynamic two-dimension code |
| CN109597951B (en) * | 2018-12-05 | 2021-07-02 | 广州酷狗计算机科技有限公司 | Information sharing method and device, terminal and storage medium |
| CN110428531B (en) * | 2019-08-12 | 2021-04-27 | 北京百佑科技有限公司 | Access control method, terminal and computer storage medium |
| CN110674660B (en) * | 2019-09-26 | 2021-11-05 | 珠海格力电器股份有限公司 | Method and device for determining graphic code information, terminal equipment and household appliance |
| CN112163655B (en) * | 2020-09-30 | 2021-05-07 | 上海麦广互娱文化传媒股份有限公司 | Dynamic implicit two-dimensional code and generation and detection method and device thereof |
| CN113344161A (en) * | 2021-06-29 | 2021-09-03 | 平安普惠企业管理有限公司 | Dynamic QR code generation method and device, computer equipment and storage medium |
| CN114330405A (en) * | 2021-12-28 | 2022-04-12 | 珠海格力电器股份有限公司 | Data acquisition method and device, electronic device and readable storage medium |
| CN117195938A (en) * | 2023-09-11 | 2023-12-08 | 北京字跳网络技术有限公司 | An information code generation method, device, computer equipment and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008269550A (en) * | 2007-03-27 | 2008-11-06 | Masayuki Taguchi | Recognition system for dynamically displayed two-dimensional code |
| CN102185839A (en) * | 2011-04-22 | 2011-09-14 | 北京华玛科技有限公司 | Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes |
| CN202093747U (en) * | 2011-05-10 | 2011-12-28 | 云南荷乐宾防伪技术有限公司 | Composite multifunctional anti-counterfeiting mark manufactured by using laser ablation process |
| CN202159457U (en) * | 2011-05-10 | 2012-03-07 | 云南荷乐宾防伪技术有限公司 | Two-dimensional code and OVD combined composite multifunctional anti-counterfeiting mark |
| CN102750564A (en) * | 2012-05-14 | 2012-10-24 | 王安然 | Dynamic two-dimension code and decoding method thereof |
| CN102760242A (en) * | 2012-05-16 | 2012-10-31 | 孟智平 | Encoding and decoding method for three-dimensional codes and using method |
-
2013
- 2013-07-04 CN CN201310279939.1A patent/CN104281864B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008269550A (en) * | 2007-03-27 | 2008-11-06 | Masayuki Taguchi | Recognition system for dynamically displayed two-dimensional code |
| CN102185839A (en) * | 2011-04-22 | 2011-09-14 | 北京华玛科技有限公司 | Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes |
| CN202093747U (en) * | 2011-05-10 | 2011-12-28 | 云南荷乐宾防伪技术有限公司 | Composite multifunctional anti-counterfeiting mark manufactured by using laser ablation process |
| CN202159457U (en) * | 2011-05-10 | 2012-03-07 | 云南荷乐宾防伪技术有限公司 | Two-dimensional code and OVD combined composite multifunctional anti-counterfeiting mark |
| CN102750564A (en) * | 2012-05-14 | 2012-10-24 | 王安然 | Dynamic two-dimension code and decoding method thereof |
| CN102760242A (en) * | 2012-05-16 | 2012-10-31 | 孟智平 | Encoding and decoding method for three-dimensional codes and using method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104281864A (en) | 2015-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104281864B (en) | A kind of method and apparatus for generating Quick Response Code | |
| US10956784B2 (en) | Neural network-based image manipulation | |
| US10186084B2 (en) | Image processing to enhance variety of displayable augmented reality objects | |
| US9195871B2 (en) | Information processing method and system | |
| US10650264B2 (en) | Image recognition apparatus, processing method thereof, and program | |
| CN104574499B (en) | cloud three-dimensional model construction system and construction method thereof | |
| WO2022221243A2 (en) | Garment segmentation | |
| CN107667338A (en) | For the object group processing being grouped in cooperative system to object and selection gesture | |
| KR20120106988A (en) | Augmented reality system method and apparatus for displaying an item image in a contextual environment | |
| KR20130118897A (en) | Smartphone-based methods and systems | |
| KR20100138863A (en) | How to provide augmented reality and personalized content corresponding to code in a camera-equipped terminal | |
| CN110084871B (en) | Image typesetting method and device and electronic terminal | |
| CN105117399A (en) | Image search method and device | |
| CN104281865B (en) | A kind of method and apparatus for generating Quick Response Code | |
| CN115494987B (en) | Video-based interactive method, device, computer equipment and storage medium | |
| US12148105B2 (en) | Surface normals for pixel-aligned object | |
| CN111359201A (en) | Jigsaw puzzle type game method, system and equipment | |
| CN107765938A (en) | A kind of picture exchange method and device | |
| CN106162303B (en) | Information processing method, information processing unit and user equipment | |
| CN111833234A (en) | Image display method, image processing device, and computer-readable storage medium | |
| CN109074680A (en) | Realtime graphic and signal processing method and system in augmented reality based on communication | |
| US9087395B1 (en) | Techniques for providing content animation | |
| Tian et al. | Enhancing augmented vr interaction via egocentric scene analysis | |
| CN110991050B (en) | CAD (computer-aided design) image stacking method and related product | |
| Liu et al. | A study of digital exhibition visual design led by digital twin and VR technology |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |