CN109948763A - A kind of method and device generating dynamic two-dimension code - Google Patents

A kind of method and device generating dynamic two-dimension code Download PDF

Info

Publication number
CN109948763A
CN109948763A CN201711395333.9A CN201711395333A CN109948763A CN 109948763 A CN109948763 A CN 109948763A CN 201711395333 A CN201711395333 A CN 201711395333A CN 109948763 A CN109948763 A CN 109948763A
Authority
CN
China
Prior art keywords
frame
dimensional code
effective information
effective
information
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
CN201711395333.9A
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.)
Wuhan Xigan Sci & Tech Co Ltd
Original Assignee
Wuhan Xigan Sci & Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Xigan Sci & Tech Co Ltd filed Critical Wuhan Xigan Sci & Tech Co Ltd
Priority to CN201711395333.9A priority Critical patent/CN109948763A/en
Priority to PCT/CN2018/114710 priority patent/WO2019120004A1/en
Publication of CN109948763A publication Critical patent/CN109948763A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Abstract

In the embodiment of the present invention, a kind of method for generating dynamic two-dimension code is provided, comprising: determine effective information;The effective information is carried at least one of multiple two dimensional code frames;The multiple two dimensional code frame is constituted to the dynamic two-dimension code of variation, wherein each two dimensional code frame has unique number;In this scenario, the method for generating dynamic two-dimension code is given, since the two dimensional code is dynamic change, more information can be accommodated, solve problems of the prior art, and also improve the utilization rate of resource.

Description

A kind of method and device generating dynamic two-dimension code
Technical field
The present invention relates to planar bar code technology field more particularly to a kind of method and devices for generating dynamic two-dimension code.
Background technique
With the fast development of mobile network, the fast lifting for the mobile data rate that network is supported, Mobile business Development condition has reached its maturity.And in the development process of Mobile business, terminal may be implemented to link up at any time, everywhere and transmitting letter The function of breath, moreover, continuing to bring out for new opplication is also filled with for the development of Mobile business with the continuous promotion of terminal capabilities New power.
Various new opplications based on terminal, applying for two dimensional code play important role in the development of Mobile business, Two dimensional code can integrate the information such as image, sound, text as a kind of completely new automatic identification and information carrier technology, To increase the information content of carrying.Two dimensional code can be printed on the media such as newspaper, magazine, books, packaging and personal business card, By two dimensional code, the accurate through of information may be implemented, improve the speed and precision of information collection, it can also be daily for shopping etc. Life provides convenience.
But current two dimensional code is static two dimensional code, haves the defects that the Limited information of receiving.
Summary of the invention
In view of the above problems, the present invention is proposed, overcome the above problem in order to provide one kind or at least is partially solved A kind of method and device of generation dynamic two-dimension code of the above problem, the information for solving receiving existing in the prior art have The defect of limit.
According to the present invention in a first aspect, provide it is a kind of generate dynamic two-dimension code method, comprising:
Determine effective information;
The effective information is carried at least one of multiple two dimensional code frames;
The multiple two dimensional code frame is constituted to the dynamic two-dimension code of variation, wherein each two dimensional code frame has unique compile Number.
In one embodiment, method described in above embodiment according to the present invention, the effective information is taken Band is at least one of multiple two dimensional code frames, comprising:
The effective information is divided into a effective information;
The effective information is carried in a two dimensional code frame.
In some embodiments, method described in any of the above-described embodiment according to the present invention, by effective letter Breath carries at least one of multiple two dimensional code frames, comprising:
The effective information is divided into a effective information;
The effective information is repeatedly carried at least two two dimensional code frames.
In some embodiments, method described in any of the above-described embodiment according to the present invention, by effective letter Breath carries at least one of multiple two dimensional code frames, comprising:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is carried one In a two dimensional code frame, two dimensional code frame locating for any two parts different sub- effective informations is different.
In some embodiments, method described in any of the above-described embodiment according to the present invention, by effective letter Breath carries at least one of multiple two dimensional code frames, comprising:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is repeatedly taken For band at least two two dimensional code frames, two dimensional code frame locating for any two parts different sub- effective informations is different.
In some embodiments, method described in any of the above-described embodiment according to the present invention, the method are also wrapped It includes:
Number of frames included by the frame period is carried in each two dimensional code frame;Or
Number of frames included by the frame period is carried at least one two dimensional code frame.
In some embodiments, method described in any of the above-described embodiment according to the present invention, the method are also wrapped It includes:
Location information is carried in each two dimensional code frame;Or
Location information is carried at least one two dimensional code frame;
Wherein, the location information indicates the locating two dimensional code frame of every a effective information difference.
In some embodiments, method described in any of the above-described embodiment according to the present invention, the method are also wrapped It includes:
Infologic ordering rule is carried in each two dimensional code frame;Or
Infologic ordering rule is carried at least one two dimensional code frame;
Wherein, the infologic ordering rule indicates the rule that puts in order used when splicing more parts of effective informations.
Second aspect according to the present invention provides a kind of device for generating dynamic two-dimension code, comprising:
Determination unit, for determining effective information;
Unit is carried, for carrying the effective information at least one of multiple two dimensional code frames;
Component units, for the multiple two dimensional code frame to be constituted to the dynamic two-dimension code of variation, wherein each two dimensional code frame With unique number.
In one embodiment, device described in above embodiment according to the present invention, the carrying unit is by institute Effective information is stated to carry at least one of multiple two dimensional code frames, comprising:
The effective information is divided into a effective information;
The effective information is carried in a two dimensional code frame.
In some embodiments, device described in any of the above-described embodiment according to the present invention, the carrying unit The effective information is carried at least one of multiple two dimensional code frames, comprising:
The effective information is divided into a effective information;
The effective information is repeatedly carried at least two two dimensional code frames.
In some embodiments, device described in any of the above-described embodiment according to the present invention, the carrying unit The effective information is carried at least one of multiple two dimensional code frames, comprising:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is carried one In a two dimensional code frame, two dimensional code frame locating for any two parts different sub- effective informations is different.
In some embodiments, device described in any of the above-described embodiment according to the present invention, the carrying unit The effective information is carried at least one of multiple two dimensional code frames, comprising:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is repeatedly taken For band at least two two dimensional code frames, two dimensional code frame locating for any two parts different sub- effective informations is different.
In some embodiments, device described in any of the above-described embodiment according to the present invention, the carrying unit It is also used to, number of frames included by the frame period is carried in each two dimensional code frame;Or by frame number included by the frame period Amount carries at least one two dimensional code frame.
In some embodiments, device described in any of the above-described embodiment according to the present invention, the carrying unit It is also used to, location information is carried in each two dimensional code frame;Or location information is carried at least one two dimensional code frame In;Wherein, the location information indicates the locating two dimensional code frame of every a effective information difference.
In some embodiments, device described in any of the above-described embodiment according to the present invention, the carrying unit It is also used to, infologic ordering rule is carried in each two dimensional code frame;Or infologic ordering rule is carried In at least one two dimensional code frame;Wherein, the infologic ordering rule indicates the row used when splicing more parts of effective informations Column Cahn-Ingold-Prelog sequence rule.
In the third aspect of embodiment of the present invention, a kind of device for generating dynamic two-dimension code is provided, comprising:
One or more processor;
Memory;
The program of storage in the memory, when being executed by one or more of processors, described program makes The processor executes method as described above.
In the fourth aspect of embodiment of the present invention, a kind of computer readable storage medium, the computer are provided Readable storage medium storing program for executing is stored with program, when said program is executed by a processor, so that the processor executes as described above Method.
In the embodiment of the present invention, a kind of method for generating dynamic two-dimension code is provided, comprising: determine effective information;It will be described Effective information carries at least one of multiple two dimensional code frames;The multiple two dimensional code frame is constituted to the Dynamic Two-dimensional of variation Code, wherein each two dimensional code frame has unique number;In this scenario, the method for generating dynamic two-dimension code is given, due to The two dimensional code is dynamic change, therefore, can accommodate more information, solves defect existing in the prior art, and Also improve the utilization rate of resource.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart for the generation dynamic two-dimension code that embodiment according to the present invention proposes;
Fig. 2 is a kind of schematic diagram of the device for the generation dynamic two-dimension code that embodiment according to the present invention proposes.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The process that Fig. 1 schematically shows the method 10 of the generation dynamic two-dimension code frame of embodiment according to the present invention is shown It is intended to, as shown in Figure 1, this method 10 may include step 100,110 and 120.
Step 100: determining effective information;
Step 110: the effective information is carried at least one of multiple two dimensional code frames;
Step 120: the multiple two dimensional code frame being constituted to the dynamic two-dimension code of variation, wherein each two dimensional code frame has Unique number.
In the embodiment of the present invention, mode of the effective information carrying at least one of multiple two dimensional code frames is had more Kind, it is alternatively possible in the following way:
The effective information is divided into a effective information;
The effective information is carried in a two dimensional code frame.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, effective information can carry In any one frame in 20 frames, as in frame 3, in frame 5, frame 18 it is medium, client gets effective information from any one frame Afterwards, information represented by dynamic two-dimension code can be directly parsed, such as effective information is got from frame 3, can be parsed out Information represented by two dimensional code, or effective information is got from frame 5, it can be parsed out information represented by two dimensional code.
Previously described to be, effective information only carries in a two dimensional code frame, according to effective in a two dimensional code frame Information can parse the information represented by two dimensional code, still, in practical application, if effective information is only carried one In a two dimensional code frame, the probability of effective information is successfully obtained with regard to relatively low, as skip occur or can not correctly read Situation can carry same effective information in different two dimensional code frames to improve the success rate for obtaining effective information, In this way, can also be read from other two dimensional code frames, raising obtains even if can not be read in a two dimensional code frame or skip Take the success rate of effective information, therefore, in the embodiment of the present invention, by the effective information carry multiple two dimensional code frames at least It can also be in the following way in one:
The effective information is divided into a effective information;
The effective information is repeatedly carried at least two two dimensional code frames.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, effective information can carry In multiple frames in 20 frames, as in frame 3, in frame 5, frame 18 it is medium, the frame currently read is frame 8, although in current period In can not read frame 3, but the effective information can be got from frame 18;Similarly, effective letter can not be successfully read from frame 5 Breath, at this point, effective information still can be read from frame 18, and then is decoded, can solve effective information in this way and only carry The lower defect of success rate present in a two dimensional code frame.
It should be noted that even if effective information carries in multiple two dimensional code frames, as long as client is in a two dimensional code It is successfully obtained in frame, so that it may information represented by dynamic two-dimension code be parsed, do not need to go to read again in other frames Effective information.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, effective information can carry It, can be directly by two dimensional code institute table after client gets effective information from any one frame in multiple frames in 20 frames The information shown parses, and if effective information carries in frame 3, frame 5, frame 18, client gets effective information from frame 3, Information represented by two dimensional code can be parsed, or get effective information from frame 5, so that it may by two dimensional code institute The information of expression parses, and does not need to get all effective informations in frame 3, frame 5, frame 18.
Previously described is that effective information is divided into a scene, and in practical applications, effective information can also divide It is more parts, in this case, proposes following carrying mode, for example, carries the effective information in multiple two dimensional codes It, can also be in the following way when at least one of frame:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is carried one In a two dimensional code frame, two dimensional code frame locating for any two parts different sub- effective informations is different.
For example, in the frame period include 20 two dimensional code frames: frame 1, frame 2, frame 3 ..., frame 20, effective information, which is divided into son, to be had Effect information A and sub- effective information B, sub- effective information A and sub- effective information B can be carried in a frame in 20 frames, As sub- effective information A is carried in frame 3, sub- effective information B is carried in frame 5 or sub- effective information A is carried in frame 7, son Effective information B is carried in frame 11.
It should be noted that client needs will be more in the case where effective information is divided into multiple sub- effective informations A sub- effective information is all got, and could successfully be parsed information represented by dynamic two-dimension code, still be said for above-mentioned Bright, such as sub- effective information A is carried in frame 3, sub- effective information B is carried in frame 5, and client reads sub effectively letter from frame 3 It ceases A and can just parse information represented by two dimensional code after reading sub- effective information B in frame 5;Or sub- effective information A takes In frame 7, when sub- effective information B is carried in frame 11, client reads sub- effective information A from frame 7 and reads from frame 11 band Information represented by two dimensional code can be just parsed after getting sub- effective information B.
Foregoing description is that a sub- effective information is carried the frame the case where, still, in practical application, if one Sub- effective information only carries in a frame, and the probability that success obtains skip such as occurs or can not be correct with regard to relatively low The case where reading, can carry same sub- effective information different to improve the success rate for obtaining sub- effective information In two dimensional code frame, in this way, even if the sub- effective information or the skip effective information can not be read in a frame, it can also To read from other two dimensional code frames, the success rate for successfully obtaining sub- effective information is improved, it therefore, will in the embodiment of the present invention It, can be in the following way when the effective information is carried at least one of multiple two dimensional code frames:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is repeatedly taken For band at least two two dimensional code frames, two dimensional code frame locating for any two parts different sub- effective informations is different.
For example, in the frame period include 20 two dimensional code frames: frame 1, frame 2, frame 3 ..., frame 20, effective information, which is divided into son, to be had Effect information A and sub- effective information B, sub- effective information A and sub- effective information B can carry at least two frames in 20 frames In, such as sub- effective information A is carried in frame 3, frame 7, and sub- effective information B is carried in frame 8, frame 10 or sub- effective information A takes In frame 7, frame 10, sub- effective information B is carried in frame 11, frame 16 band.
It should be noted that client is needed all sons effectively after effective information is divided into multiple sub- effective informations Information represented by dynamic two-dimension code could be successfully parsed after acquisition of information, for example, including 20 two dimensional code frames in the frame period: Frame 1, frame 2, frame 3 ..., frame 20, effective information is divided into sub- effective information A and sub- effective information B, and sub- effective information A and son have Effect information B can be carried at least two frames in 20 frames, and such as sub- effective information A is carried in frame 3, frame 7, and son is effectively Information B is carried in frame 8, frame 10, could successfully parse two dimension after successfully getting sub- effective information A and sub- effective information B Information represented by code;Or sub- effective information A is carried in frame 7, frame 10, sub- effective information B is carried in frame 11, frame 16, The information that two dimensional code is characterized could be successfully parsed after successfully getting sub- effective information A and sub- effective information B.
In the embodiment of the present invention, the method also includes:
Number of frames included by the frame period is carried in each two dimensional code frame;Or
Number of frames included by the frame period is carried at least one two dimensional code frame.
For example, in the frame period include 20 two dimensional code frames: frame 1, frame 2, frame 3 ..., frame 20, include in 20 frames by 20 In any one frame in, or also may include in all frames, naturally it is also possible to including in the frame of other quantity, This is not specifically limited.
Due to carrying totalframes in the frame, client judges that the frame read has been present frame when reading information If the last frame in place frame period, it in the case where getting whole effective informations, can stop reading, not get In the case where whole effective informations, the effective information that will acquire all is abandoned, and reacquires effective information from next frame period, And the effective information obtained from next frame period is parsed into dynamic two-dimension code.
In the embodiment of the present invention, further, the method also includes:
Location information is carried in each two dimensional code frame;Or
Location information is carried at least one two dimensional code frame;
Wherein, the location information indicates the locating two dimensional code frame of every a effective information difference.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, location information can carry Any one in frame 1, frame 3, frame 10, alternatively, location information can all carry in frame 1, frame 3, frame 10 this 3 frames, again Alternatively, location information all carries in 20 frames.
Client is after getting multiple sub- effective informations, it is also necessary to splice this little effective letter according to certain rules Breath, just can successfully parse dynamic two-dimension code, e.g., for sub- effective information A, sub- effective information B and sub- effective information in this way C is spliced according to the sequence of sub- effective information A, sub- effective information B and sub- effective information C, also according to sub effectively letter The sequence of B, sub- effective information C and sub- effective information A are ceased to be spliced, and therefore, in the embodiment of the present invention, the method is also wrapped It includes:
Infologic ordering rule is carried in each two dimensional code frame;Or
Infologic ordering rule is carried at least one two dimensional code frame;
Wherein, the infologic ordering rule indicates the rule that puts in order used when splicing more parts of effective informations.
In this way, after client gets multiple sub- effective informations, this little can be had according to infologic ordering rule Effect information is stitched together, and then parses dynamic two-dimension code.
It should be noted that mentioned-above two dimensional code frame carry the case where information for a frame period for, But the information carried for two dimensional code frame included by each frame period can use aforesaid way, do not do retouch in detail herein It states.
As shown in fig.2, also proposing a kind of device 20 for generating dynamic two-dimension code in the embodiment of the present invention, comprising:
Determination unit 200, for determining effective information;
Unit 210 is carried, for carrying the effective information at least one of multiple two dimensional code frames;
Component units 220, for the multiple two dimensional code frame to be constituted to the dynamic two-dimension code of variation, wherein each two dimension Code frame has unique number.
In the embodiment of the present invention, the carrying unit 210 by the effective information carry multiple two dimensional code frames at least One it is middle when, it is alternatively possible in the following way:
The effective information is divided into a effective information;
The effective information is carried in a two dimensional code frame.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, effective information can carry In any one frame in 20 frames, as in frame 3, in frame 5, frame 18 it is medium, client gets effective information from any one frame Afterwards, information represented by dynamic two-dimension code can be directly parsed, such as effective information is got from frame 3, can be parsed out Information represented by two dimensional code, or effective information is got from frame 5, it can be parsed out information represented by two dimensional code.
Previously described to be, effective information only carries in a two dimensional code frame, according to effective in a two dimensional code frame Information can parse the information represented by two dimensional code, still, in practical application, if effective information is only carried one In a two dimensional code frame, the probability of effective information is successfully obtained with regard to relatively low, as skip occur or can not correctly read Situation can carry same effective information in different two dimensional code frames to improve the success rate for obtaining effective information, In this way, can also be read from other two dimensional code frames, raising obtains even if can not be read in a two dimensional code frame or skip The success rate of effective information is taken, therefore, in the embodiment of the present invention, the carrying unit 210 carries the effective information more When at least one of a two dimensional code frame, it is alternatively possible in the following way:
The effective information is divided into a effective information;
The effective information is repeatedly carried at least two two dimensional code frames.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, effective information can carry In multiple frames in 20 frames, as in frame 3, in frame 5, frame 18 it is medium, the frame currently read is frame 8, although in current period In can not read frame 3, but the effective information can be got from frame 18;Similarly, effective letter can not be successfully read from frame 5 Breath, at this point, effective information still can be read from frame 18, and then is decoded, can solve effective information in this way and only carry The lower defect of success rate present in a two dimensional code frame.
It should be noted that even if effective information carries in multiple two dimensional code frames, as long as client is in a two dimensional code It is successfully obtained in frame, so that it may information represented by dynamic two-dimension code be parsed, do not need to go to read again in other frames Effective information.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, effective information can carry It, can be directly by two dimensional code institute table after client gets effective information from any one frame in multiple frames in 20 frames The information shown parses, and if effective information carries in frame 3, frame 5, frame 18, client gets effective information from frame 3, Information represented by two dimensional code can be parsed, or get effective information from frame 5, so that it may by two dimensional code institute The information of expression parses, and does not need to get all effective informations in frame 3, frame 5, frame 18.
Previously described is that effective information is divided into a scene, and in practical applications, effective information can also divide It is more parts, in this case, proposes following carrying mode, for example, the carrying unit 210 takes the effective information Band is at least one of multiple two dimensional code frames, comprising:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is carried one In a two dimensional code frame, two dimensional code frame locating for any two parts different sub- effective informations is different.
For example, in the frame period include 20 two dimensional code frames: frame 1, frame 2, frame 3 ..., frame 20, effective information, which is divided into son, to be had Effect information A and sub- effective information B, sub- effective information A and sub- effective information B can be carried in a frame in 20 frames, As sub- effective information A is carried in frame 3, sub- effective information B is carried in frame 5 or sub- effective information A is carried in frame 7, son Effective information B is carried in frame 11.
It should be noted that client needs will be more in the case where effective information is divided into multiple sub- effective informations A sub- effective information is all got, and could successfully be parsed information represented by dynamic two-dimension code, still be said for above-mentioned Bright, such as sub- effective information A is carried in frame 3, sub- effective information B is carried in frame 5, and client reads sub effectively letter from frame 3 It ceases A and can just parse information represented by two dimensional code after reading sub- effective information B in frame 5;Or sub- effective information A takes In frame 7, when sub- effective information B is carried in frame 11, client reads sub- effective information A from frame 7 and reads from frame 11 band Information represented by two dimensional code can be just parsed after getting sub- effective information B.
Foregoing description is that a sub- effective information is carried the frame the case where, still, in practical application, if one Sub- effective information only carries in a frame, and the probability that success obtains skip such as occurs or can not be correct with regard to relatively low The case where reading, can carry same sub- effective information different to improve the success rate for obtaining sub- effective information In two dimensional code frame, in this way, even if the sub- effective information or the skip effective information can not be read in a frame, it can also To read from other two dimensional code frames, the success rate for successfully obtaining sub- effective information is improved, therefore, in the embodiment of the present invention, institute Carrying unit 210 is stated to carry the effective information at least one of multiple two dimensional code frames, comprising:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is repeatedly taken For band at least two two dimensional code frames, two dimensional code frame locating for any two parts different sub- effective informations is different.
For example, in the frame period include 20 two dimensional code frames: frame 1, frame 2, frame 3 ..., frame 20, effective information, which is divided into son, to be had Effect information A and sub- effective information B, sub- effective information A and sub- effective information B can carry at least two frames in 20 frames In, such as sub- effective information A is carried in frame 3, frame 7, and sub- effective information B is carried in frame 8, frame 10 or sub- effective information A takes In frame 7, frame 10, sub- effective information B is carried in frame 11, frame 16 band.
It should be noted that client is needed all sons effectively after effective information is divided into multiple sub- effective informations Information represented by dynamic two-dimension code could be successfully parsed after acquisition of information, for example, including 20 two dimensional code frames in the frame period: Frame 1, frame 2, frame 3 ..., frame 20, effective information is divided into sub- effective information A and sub- effective information B, and sub- effective information A and son have Effect information B can be carried at least two frames in 20 frames, and such as sub- effective information A is carried in frame 3, frame 7, and son is effectively Information B is carried in frame 8, frame 10, could successfully parse two dimension after successfully getting sub- effective information A and sub- effective information B Information represented by code;Or sub- effective information A is carried in frame 7, frame 10, sub- effective information B is carried in frame 11, frame 16, The information that two dimensional code is characterized could be successfully parsed after successfully getting sub- effective information A and sub- effective information B.
In the embodiment of the present invention, further, the carrying unit 210 is also used to, by number of frames included by the frame period It carries in each two dimensional code frame;Or number of frames included by the frame period is carried at least one two dimensional code frame.
For example, in the frame period include 20 two dimensional code frames: frame 1, frame 2, frame 3 ..., frame 20, include in 20 frames by 20 In any one frame in, or also may include in all frames, naturally it is also possible to including in the frame of other quantity, This is not specifically limited.
Due to carrying totalframes in the frame, client judges that the frame read has been present frame when reading information If the last frame in place frame period, it in the case where getting whole effective informations, can stop reading, not get In the case where whole effective informations, the effective information that will acquire all is abandoned, and reacquires effective information from next frame period, And the effective information obtained from next frame period is parsed into dynamic two-dimension code.
In the embodiment of the present invention, further, the carrying unit 210 is also used to, and location information is carried at each In two dimensional code frame;Or location information is carried at least one two dimensional code frame;Wherein, the location information indicates every portion The locating two dimensional code frame of effective information difference.
For example, including 20 two dimensional code frames in the frame period: frame 1, frame 2, frame 3 ..., frame 20, location information can carry Any one in frame 1, frame 3, frame 10, alternatively, location information can all carry in frame 1, frame 3, frame 10 this 3 frames, again Alternatively, location information all carries in 20 frames.
Client is after getting multiple sub- effective informations, it is also necessary to splice this little effective letter according to certain rules Breath, just can successfully parse dynamic two-dimension code, e.g., for sub- effective information A, sub- effective information B and sub- effective information in this way C is spliced according to the sequence of sub- effective information A, sub- effective information B and sub- effective information C, also according to sub effectively letter Breath B, sub- effective information C and sub- effective information A sequence spliced, therefore, in the embodiment of the present invention, the carrying unit 210 are also used to, and infologic ordering rule is carried in each two dimensional code frame;Or infologic ordering rule is carried In at least one two dimensional code frame;Wherein, the infologic ordering rule instruction is used when splicing more parts of effective informations Put in order rule.
In this way, after client gets multiple sub- effective informations, this little can be had according to infologic ordering rule Effect information is stitched together, and then parses dynamic two-dimension code.
It should be noted that mentioned-above two dimensional code frame carry the case where information for a frame period for, But the information carried for two dimensional code frame included by each frame period can use aforesaid way, do not do retouch in detail herein It states.
In the embodiment of the present invention, it is also proposed that a kind of device for decoding dynamic two-dimension code, comprising:
One or more processor;
Memory;
The program of storage in the memory, when being executed by one or more of processors, described program makes The processor executes the method as described in method 10.
In the embodiment of the present invention, it is also proposed that a kind of computer readable storage medium, the computer readable storage medium are deposited Program is contained, when said program is executed by a processor, so that the processor executes the method as described in method 10.
Method and apparatus are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of device Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the device in embodiment Change and they are arranged in one or more devices unlike this embodiment.It can be several modules in embodiment It is combined into a module or unit or component, and furthermore they can be divided into a plurality of submodules or subunits or subassembliess. Other than such feature and/or at least some of process or module exclude each other, any combination pair can be used All features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed any method Or all process or units of equipment are combined.Unless expressly stated otherwise, this specification (is wanted including adjoint right Ask, make a summary and attached drawing) disclosed in each feature can be replaced by providing identical, equivalent, or similar purpose alternative features.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Each Installation practice of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize some or all moulds in device according to an embodiment of the present invention The some or all functions of block.The present invention is also implemented as a part or complete for executing method as described herein The program of device (for example, computer program and computer program product) in portion.It is such to realize that program of the invention can store On a computer-readable medium, it or may be in the form of one or more signals.Such signal can be from internet Downloading obtains on website, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of method for generating dynamic two-dimension code, comprising:
Determine effective information;
The effective information is carried at least one of multiple two dimensional code frames;
The multiple two dimensional code frame is constituted to the dynamic two-dimension code of variation, wherein each two dimensional code frame has unique number.
2. the method as described in claim 1 carries the effective information at least one of multiple two dimensional code frames, packet It includes:
The effective information is divided into a effective information;
The effective information is carried in a two dimensional code frame.
3. according to the method described in claim 1, the effective information is carried at least one of multiple two dimensional code frames, packet It includes:
The effective information is divided into a effective information;
The effective information is repeatedly carried at least two two dimensional code frames.
4. the method as described in claim 1 carries the effective information at least one of multiple two dimensional code frames, packet It includes:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is carried at one two It ties up in code frame, two dimensional code frame locating for any two parts different sub- effective informations is different.
5. the method as described in claim 1 carries the effective information at least one of multiple two dimensional code frames, packet It includes:
The effective information is divided at least two one's share of expenses for a joint undertaking effective informations;
For each one's share of expenses for a joint undertaking effective information in at least two one's share of expenses for a joint undertaking effective informations, which is repeatedly carried In at least two two dimensional code frames, two dimensional code frame locating for any two parts different sub- effective informations is different.
6. the method as described in claim 1, the method also includes:
Number of frames included by the frame period is carried in each two dimensional code frame;Or
Number of frames included by the frame period is carried at least one two dimensional code frame.
7. as the method according to claim 1 to 6, the method also includes:
Location information is carried in each two dimensional code frame;Or
Location information is carried at least one two dimensional code frame;
Wherein, the location information indicates the locating two dimensional code frame of every a effective information difference.
8. a kind of device for generating dynamic two-dimension code, comprising:
Determination unit, for determining effective information;
Unit is carried, for carrying the effective information at least one of multiple two dimensional code frames;
Component units, for the multiple two dimensional code frame to be constituted to the dynamic two-dimension code of variation, wherein each two dimensional code frame has Unique number.
9. a kind of device for generating dynamic two-dimension code, comprising:
One or more processor;
Memory;
The program of storage in the memory, when being executed by one or more of processors, described program makes described Processor executes the method as described in any one of claim 1-7.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has program, when described program is located When managing device execution, so that the processor executes the method as described in any one of claim 1-7.
CN201711395333.9A 2017-12-21 2017-12-21 A kind of method and device generating dynamic two-dimension code Pending CN109948763A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711395333.9A CN109948763A (en) 2017-12-21 2017-12-21 A kind of method and device generating dynamic two-dimension code
PCT/CN2018/114710 WO2019120004A1 (en) 2017-12-21 2018-11-09 Method and device for generating dynamic qr code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711395333.9A CN109948763A (en) 2017-12-21 2017-12-21 A kind of method and device generating dynamic two-dimension code

Publications (1)

Publication Number Publication Date
CN109948763A true CN109948763A (en) 2019-06-28

Family

ID=66993057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711395333.9A Pending CN109948763A (en) 2017-12-21 2017-12-21 A kind of method and device generating dynamic two-dimension code

Country Status (2)

Country Link
CN (1) CN109948763A (en)
WO (1) WO2019120004A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674660A (en) * 2019-09-26 2020-01-10 珠海格力电器股份有限公司 Method and device for determining graphic code information, terminal equipment and household appliance

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281864A (en) * 2013-07-04 2015-01-14 百度在线网络技术(北京)有限公司 Method and equipment for generating two-dimensional codes
CN104424497A (en) * 2013-09-10 2015-03-18 王越 Method and device for generating dynamic two-dimensional codes
CN104507058A (en) * 2014-06-22 2015-04-08 广州市沃希信息科技有限公司 Information transmission method, information transmission system and mobile terminal based on two-dimension code
CN104504428A (en) * 2014-06-22 2015-04-08 广州市沃希信息科技有限公司 Information transmission method, information transmission system and mobile terminal based on two-dimension code

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516404A (en) * 2013-08-30 2014-01-15 展讯通信(上海)有限公司 Data transmission method and system, sending end equipment and receiving end equipment
CN104851117B (en) * 2014-02-13 2018-11-23 腾讯科技(深圳)有限公司 The fusion method and device of image and two dimensional code
CN103986517B (en) * 2014-05-30 2017-01-18 中国人民解放军信息工程大学 Method and system for transmitting information through dynamic two-dimensional image information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281864A (en) * 2013-07-04 2015-01-14 百度在线网络技术(北京)有限公司 Method and equipment for generating two-dimensional codes
CN104424497A (en) * 2013-09-10 2015-03-18 王越 Method and device for generating dynamic two-dimensional codes
CN104507058A (en) * 2014-06-22 2015-04-08 广州市沃希信息科技有限公司 Information transmission method, information transmission system and mobile terminal based on two-dimension code
CN104504428A (en) * 2014-06-22 2015-04-08 广州市沃希信息科技有限公司 Information transmission method, information transmission system and mobile terminal based on two-dimension code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674660A (en) * 2019-09-26 2020-01-10 珠海格力电器股份有限公司 Method and device for determining graphic code information, terminal equipment and household appliance
WO2021057154A1 (en) * 2019-09-26 2021-04-01 珠海格力电器股份有限公司 Graphic code information determination method and apparatus, terminal device, and household appliance
CN110674660B (en) * 2019-09-26 2021-11-05 珠海格力电器股份有限公司 Method and device for determining graphic code information, terminal equipment and household appliance

Also Published As

Publication number Publication date
WO2019120004A1 (en) 2019-06-27

Similar Documents

Publication Publication Date Title
Fu et al. Web GIS: principles and applications
CN110134386B (en) Program editing method and device
CN105630524B (en) Web page text analytic method, device and mobile terminal
CN109032881A (en) A kind of log level dynamic method of adjustment and device
CN109725965A (en) Cascading style listing maintenance, device, computer equipment and storage medium
CN106681788B (en) Method and device for reducing application installation packages and electronic equipment
CN110457628A (en) Webpage edition correcting method, device, equipment and storage medium
CN105630927B (en) Link generation method and device
CN110069259A (en) Analytic method, device, electronic equipment and storage medium based on idl file
CN104966190A (en) Network payment method and apparatus
CN107566090B (en) Fixed-length/variable-length text message processing method and device
CN109783752A (en) Page loading method and device, electronic equipment and computer readable storage medium
CN110189163A (en) Evaluation method, device, electronic equipment and the storage medium of promotional content
CN109948763A (en) A kind of method and device generating dynamic two-dimension code
CN105723410A (en) Method and system for displaying house resources in real estate network
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN107291619A (en) EMS memory occupation analysis method and device
CN111124525A (en) Website function implementation method and device
CN106293862B (en) A kind of analysis method and device of expandable mark language XML data
CN106909567A (en) Data processing method and device
CN105447635A (en) Examination and approval method and device in workflow
CN107562749A (en) A kind of webpage loading method and webpage loading device
CN110968500A (en) Test case execution method and device
CN108170568A (en) The manufacture test method of smart machine, device and brush machine packet generation method, device
CN108520482A (en) A kind of automatic declaration method of trade mark declares terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190628