CN106790655A - A kind of data processing method and device - Google Patents
A kind of data processing method and device Download PDFInfo
- Publication number
- CN106790655A CN106790655A CN201710037664.9A CN201710037664A CN106790655A CN 106790655 A CN106790655 A CN 106790655A CN 201710037664 A CN201710037664 A CN 201710037664A CN 106790655 A CN106790655 A CN 106790655A
- Authority
- CN
- China
- Prior art keywords
- data
- equipment
- packet
- software
- shape
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Abstract
The present invention provides a kind of data processing method and device,When the graphic hotsopt software in the first equipment need to generate the N number of figure for representing variable data,The first packet for carrying the N number of figure for representing variable data can be generated,And the first packet is sent to the second equipment by a data transmission channel,So that multiple acquisition requests that the first equipment will send several times are merged into a packet and send,Such first equipment can only send first packet for carrying N number of figure,It is same for the second equipment its can also only send second packet for carrying each self-corresponding code diagram data result of N number of figure,So as to reduce information transmission times,Reduce number of communications,And it is this to merge the mode sent in same packet,Reduce Software for Design and implementation complexity,For sending obtain request and code diagram data result several times,Reduce the probability for obtaining error.
Description
Technical field
The invention belongs to variable data technical field, in particular, more particularly to a kind of data processing method and device.
Background technology
Now with the development of anti-counterfeiting technology, variable data may refer to a destination object, is little by little applied to each
Plant in anti-counterfeiting technology, for example, reference destination object can be represented by figures such as rich code, bar code, digital supervision code, Quick Response Codes
Variable data.When graphic hotsopt software represents the variable data of reference destination object these figures are generated, it is desirable to have its
His software is graphic hotsopt software provides data supporting (referred to as data supporting software), specifically, needing the other software to be
Graphic hotsopt software provides code diagram data result, and shape, the width of figure, the figure of figure are wherein carried in code diagram data result
Graphics feature factor and the code value such as height, the resolution ratio of figure, variable data can be obtained by being parsed to code value, figure life
The figure of variable data can be obtained representing by code diagram data result into software.
Current graphic hotsopt software sends when code diagram data result is obtained by the software for providing code diagram data result
Request is obtained, the shape that figure is carried in asking and the variable data for referring to destination object is obtained, code diagram data is so provided
The software of result can generate corresponding code diagram data result and feed back to graphic hotsopt software after acquisition request is received.
But if graphic hotsopt software needs once to generate multiple figures of different shapes, and multiple figures of different shapes
When shape represents identical variable data, graphic hotsopt software needs to be sent and generation figure to the software for providing code diagram data result
Quantity identical obtains request, and each obtains request and needs the shape of the different figure of carrying, and this transmission several times carries
The acquisition request of the shape of different figures can cause the complexity of design and the realization of software to improve, and then cause to obtain out
It is wrong.
The content of the invention
In view of this, it is an object of the invention to provide a kind of data processing method and device, error is obtained for reducing
Probability.Specifically, technical scheme is as follows:
The present invention provides a kind of data processing method, is applied in the first equipment of data handling system, at the data
Reason system also includes the second equipment, and graphic hotsopt software is provided with first equipment, and number is provided with second equipment
According to support programs, at least one data transmission channel, the data are provided between first equipment and second equipment
Support programs provide data supporting for the graphic hotsopt software, and methods described includes:
Generation carries the first packet of the N number of figure for representing variable data, wherein representing same in N number of figure
In the case of variable data, N number of figure has different shapes, in the case where N number of figure represents different variable datas,
N number of figure has different shape or is of similar shape, and N is the natural number more than 1;
First packet is sent to second equipment by a data transmission channel;
The second packet that second equipment is sent by least one data transmission channel is received, wherein described
Each self-corresponding code diagram data result of N number of figure, and each self-corresponding code of N number of figure are carried in second packet
Diagram data result is by the data supporting Software Create in second equipment;
According to N number of each self-corresponding code diagram data result of figure, N number of figure as described in the graphic hotsopt Software Create
Shape.
Preferably, before the first packet that generation carries the N number of figure for representing variable data, methods described is also wrapped
Include:The graphics shape set that the data supporting software is provided is obtained, wherein the graphics shape set is used to indicate the number
According to the shape of the corresponding figure of the available code diagram data result of support programs, and the graphics shape set includes newly-increased figure
The shape of shape.
Preferably, the sequence of N number of figure is with N number of figure described in second packet each in first packet
The sequence of corresponding code diagram data result is identical.
The present invention also provides a kind of data processing method, is applied in the second equipment of data handling system, the data
Processing system also includes the first equipment, and graphic hotsopt software is provided with first equipment, is provided with second equipment
Data supporting software, is provided with least one data transmission channel, the number between first equipment and second equipment
The software of data supporting is provided for the graphic hotsopt software according to support programs, methods described includes:
The first packet that first equipment is sent by a data transmission channel is received, wherein first data
The information of the N number of figure for representing variable data, in the case where N number of figure represents same variable data, N are carried in bag
Individual figure has different shapes, and in the case where N number of figure represents different variable datas, N number of figure has different
Shape is of similar shape, and N is the natural number more than 1;
Generate each self-corresponding code diagram data result of N number of figure;
N number of each self-corresponding code diagram data result of figure is constituted into the second packet;
Second packet is sent by a data transmission channel.
Preferably, receive the first packet that first equipment sent by least one data transmission channel it
Before, methods described also includes:
The graphics shape set that the data supporting software is provided is obtained, wherein the graphics shape set is used to indicate institute
The shape of the corresponding figure of the available code diagram data result of data supporting software is stated, and the graphics shape set includes increasing newly
Figure shape;
The graphics shape set is sent to first equipment.
Preferably, the sequence of N number of figure is with N number of figure described in second packet each in first packet
The sequence of corresponding code diagram data result is identical.
The present invention also provides a kind of data processing equipment, is applied in the first equipment of data handling system, the data
Processing system also includes the second equipment, and graphic hotsopt software is provided with first equipment, is provided with second equipment
Data supporting software, is provided with least one data transmission channel, the number between first equipment and second equipment
According to support programs for the graphic hotsopt software provides data supporting, described device includes:
First generation unit, the first packet of the N number of figure for representing variable data is carried for generating, wherein in institute
State in the case that N number of figure represents same variable data, N number of figure has different shapes, represents different in N number of figure
In the case of variable data, N number of figure has different shape or is of similar shape, and N is the natural number more than 1;
Transmitting element, for sending first packet to second equipment by a data transmission channel;
Receiving unit, for receiving the second number that second equipment is sent by least one data transmission channel
According to bag, wherein each self-corresponding code diagram data result of N number of figure is carried in second packet, and N number of figure
Each self-corresponding code diagram data result of shape is by the data supporting Software Create in second equipment;
Second generation unit, for according to N number of each self-corresponding code diagram data result of figure, by the graphic hotsopt
N number of figure described in Software Create.
Preferably, described device also includes:Acquiring unit obtains the graphics shape set that the data supporting software is provided,
Wherein described graphics shape set is used to indicate the corresponding figure of the available code diagram data result of the data supporting software
Shape, and the graphics shape set includes the shape of newly-increased figure.
Preferably, the sequence of N number of figure is with N number of figure described in second packet each in first packet
The sequence of corresponding code diagram data result is identical.
The present invention also provides a kind of data processing equipment, is applied in the second equipment of data handling system, the data
Processing system also includes the first equipment, and graphic hotsopt software is provided with first equipment, is provided with second equipment
Data supporting software, is provided with least one data transmission channel, the number between first equipment and second equipment
The software of data supporting is provided for the graphic hotsopt software according to support programs, described device includes:
Receiving unit, for receiving the first packet that first equipment is sent by a data transmission channel, its
Described in the information of the N number of figure for representing variable data is carried in the first packet, represent same variable in N number of figure
In the case of data, N number of figure has different shapes, N number of in the case where N number of figure represents different variable datas
Figure has different shape or is of similar shape, and N is the natural number more than 1;
Generation unit is for generating each self-corresponding code diagram data result of N number of figure and N number of figure is each
Self-corresponding code diagram data result constitutes the second packet;
Transmitting element, for sending second packet by a data transmission channel.
Preferably, described device also includes:Acquiring unit, for obtaining the graphics shape that the data supporting software is provided
Gather, and trigger the transmitting element and send to first equipment graphics shape set, wherein the graphics shape
Gather the shape for indicating the corresponding figure of the available code diagram data result of the data supporting software, and the figure shape
Shape set includes the shape of newly-increased figure.
Preferably, the sequence of N number of figure is with N number of figure described in second packet each in first packet
The sequence of corresponding code diagram data result is identical.
Compared with prior art, the above-mentioned technical proposal that the present invention is provided has the following advantages that:
By above-mentioned technical proposal, at least one data transmission channel is provided between the first equipment and the second equipment, when
Graphic hotsopt software in first equipment need to generate represent variable data N number of figure when, can generate carry expression it is variable
First packet of N number of figure of data, and the first packet is sent to the second equipment by a data transmission channel so that
Multiple acquisition requests that first equipment will send several times are merged into a packet and send, and such first equipment can only be sent out
Send first packet for carrying N number of figure, it is same for the second equipment its can also only send a carrying
There is the second packet of each self-corresponding code diagram data result of N number of figure, so as to reduce information transmission times, reduce communication time
Number.
And it is this that multiple is obtained into the code figure number that request is merged into the first packet and multiple is obtained request request
The mode in the second packet is merged into according to result, Software for Design and implementation complexity is reduced, obtained relative to sending several times
For request and code diagram data result, the probability for obtaining error is reduced.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the Organization Chart of data handling system provided in an embodiment of the present invention;
Fig. 2 is the signaling diagram of data processing method provided in an embodiment of the present invention;
Fig. 3 is the structural representation of the data processing equipment being applied in the first equipment provided in an embodiment of the present invention;
Fig. 4 is the structural representation of the data processing equipment being applied in the second equipment provided in an embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is referred to, the data handling system being based on it illustrates data processing method provided in an embodiment of the present invention
Organization Chart, reference picture 1, data handling system includes:First equipment 10 and the second equipment 20, wherein being provided with the first equipment 10
Graphic hotsopt software, the figure of variable data is indicated for generating, and Quick Response Code of variable data etc. is indicated as described above, for any
For one variable data, graphic hotsopt software can generate the figure of different shapes for indicating same variable data.Second
Data supporting software is installed, data supporting software provides data supporting, such as data supporting for graphic hotsopt software in equipment 20
Software provides code diagram data result for graphic hotsopt software, and such graphic hotsopt software just can be according in code diagram data result
The generation of graphics feature factor carries the figure of code value, and variable data is can obtain by parsing code value.
In Fig. 1, be provided with least one data transmission channel between the first equipment 10 and the second equipment 20, it is described at least
One data transmission channel, these data transmission channels are used for the transmission information between the first equipment 10 and the second equipment 20, such as
Transmit the code figure that the first equipment 10 is asked to the acquisition that the second equipment 20 sends and the second equipment 20 is fed back to the first equipment 10
Data result, wherein code diagram data result are that the second equipment 20 is generated after acquisition request is received, so that the first equipment 10
In graphic hotsopt software according to code diagram data result obtain represent variable data figure.
And the first equipment 10 and the second equipment 20 can make when by least one data transmission channel transmission information
First equipment 10 sends one to the second equipment 20 to be used to ask the packet of the corresponding code diagram data result of N number of figure, i.e., and the
N number of graphical information is carried in the packet that one equipment 10 is sent to the second equipment 20, this N number of graphical information can represent same
Of different shapes N number of figure of one variable data or N number of figure of different variable datas is represented, this represents different variable
The shape of N number of figure of data can be the same or different, and such first equipment just please without sending multiple acquisition several times
Ask, reduce the probability for obtaining error, wherein N is the natural number more than 1.Same can also set for the second equipment 20 to first
Standby 10 send a packet, the corresponding code diagram data result of N number of graphical information are carried in this packet so that second sets
Standby 20, without sending code diagram data result several times, further reduce the probability for obtaining error.
Based on data handling system shown in Fig. 1, the embodiment of the present invention is provided and is applied in the first equipment and the second equipment
The signaling diagram of data processing method is as shown in Fig. 2 may comprise steps of:
201:N number of figure of the expression variable data that the first equipment will be generated according to graphic hotsopt software, generation is carried
There is the first packet of the N number of figure for representing variable data, wherein in the case where N number of figure represents same variable data, it is N number of
Figure has different shapes, in the case where N number of figure represents different variable datas, N number of figure have different shape or
It is of similar shape, N is the natural number more than 1.
That is data processing method provided in an embodiment of the present invention, changes to acquisition request of the prior art
Dynamic, the graphical information in the acquisition request that will be sent several times sends in being merged into a packet.Wherein carry N number of figure
The first packet form as shown in table 1, in the form of the first packet shown in table 1, N number of figure represent it is same can parameter
According to, and the shape of this N number of figure is different, shape 1 represents the shape of figure to shape N.
A kind of form of the packet of table 1 first
Shape 1 | Variable data | Shape 2 | Variable data | … | Shape N | Variable data |
Certainly, the first packet for carrying the figure of different shapes of same variable data can also use other lattice
Formula, as shown in table 2.
Another form of the packet of table 2 first
Shape 1 | Shape 2 | … | Shape N | Variable data |
Herein it should be noted is that, it is same that the first packet removes the expression that can carry shown in above-mentioned Tables 1 and 2
Outside the figure multiple of different shapes of variable data, the first packet can also carry the N number of figure for representing different variable datas
Shape, the shape of this N number of figure can be with identical, it is also possible to different, in this case, if in the first packet N number of figure shape
Shape is different, then can use form shown in table 1, if the shape of N number of figure is identical in the second packet, can use the institute of table 2
The form for showing, variable data 1 to N is revised as by shape 1 to shape N, and variable data is then revised as shape, N number of to indicate
The shape of the corresponding figure of variable data.
202:First equipment sends the first packet by a data passage to the second equipment, wherein the first equipment can be with
Randomly select a data transmission channel and send the first packet, or free time is chosen when data transmission channel is chosen
Data transmission channel, i.e., it is current that the first packet is not sent by the first equipment and the data transmission channel of the second hold facility.
203:Second equipment generates N number of each self-corresponding code diagram data result of figure.It is appreciated that:First
In the case of N number of figure is carried in packet, the second equipment needs to be the corresponding code diagram data result of each graphic hotsopt, such as
Above-mentioned shape 1 is square for circular and shape 2, then the second equipment can be by the circular corresponding code diagram data of data supporting Software Create
Result and square corresponding code diagram data result.
In embodiments of the present invention, the corresponding code diagram data result of figure at least includes:The shape of figure, the width of figure,
Graphics feature factor and the code values such as the height of figure, the resolution ratio of figure, variable data can be obtained by being parsed to code value.
204:N number of each self-corresponding code diagram data result of figure is constituted the second packet by the second equipment.Namely
Data processing method provided in an embodiment of the present invention is said, to the code diagram data result that the second equipment sends several times in the prior art
It is modified, the code diagram data result that will be sent several times sends in being merged into second packet, to cause the second number
According to carrying each self-corresponding code diagram data result of N number of figure in bag.Wherein carry each self-corresponding code diagram data knot of N number of figure
The form of fruit is as shown in table 3, in the form of the second packet shown in table 3, square characteristic factor, circular nature factor and fan
Shape characteristic factor is the corresponding graphics feature factor of figure of different shapes, and code value can be then the number for being resolved to variable data
According to if N number of figure represents different variable datas, code value is also different in the second packet shown in table 3.
A kind of form of the packet of table 3 second
Square characteristic factor | Code value | Circular nature factor | Code value | … | Sector characteristic factor | Code value |
Certainly, if N number of figure represents identical variable data, each self-corresponding graphics feature factor of N number of figure is carried
Code diagram data result the second packet can also use extended formatting, as shown in table 4.
Another form of the packet of table 4 second
Square characteristic factor | Circular nature factor | … | Sector characteristic factor | Code value |
If N number of figure represents different variable datas, but the shape of N number of figure is identical, then square characteristic factor in above-mentioned table 4
Can be revised as parsing the code value for obtaining variable data to sector characteristic factor, code value be then revised as corresponding graphics feature because
Element.
Knowable to above-mentioned table 3 and table 4, the embodiment of the present invention can be improved to the form of existing code diagram data result,
So that it can include the graphics feature factor of multiple different graphics, can thus be sent out between the first equipment and the second equipment
Second packet is sent, is reduced and is obtained error probability.And for the second equipment, it is in feedback code diagram data result
When, in the second packet in code diagram data result each graphics feature factor sequence with the first packet in each figure row
Sequence is consistent.
205:Second equipment sends second packet by a data transmission channel.In embodiments of the present invention,
Second equipment can randomly select a data transmission channel to send the second packet, or when data transmission channel is chosen
Choose the data transmission channel of free time, i.e., it is current not sent by the first equipment and the data transmission channel of the second hold facility
The data transmission channel that first equipment is chosen in second packet, or the second equipment still optional step 202 sends second and counts
According to bag.
206:First equipment according to each self-corresponding code diagram data result of N number of figure, by the N number of figure of graphic hotsopt Software Create
Shape.
By above-mentioned technical proposal, at least one data transmission channel is provided between the first equipment and the second equipment, when
Graphic hotsopt software in first equipment need to generate represent variable data N number of figure when, can generate carry expression it is variable
First packet of N number of figure of data, and the first packet is sent to the second equipment by a data transmission channel so that
Multiple acquisition requests that first equipment will send several times are merged into a packet and send, and such first equipment can only be sent out
Send first packet for carrying N number of figure, it is same for the second equipment its can also only send a carrying
There is the second packet of each self-corresponding code diagram data result of N number of figure, so as to reduce information transmission times, reduce communication time
Number.
And it is this that multiple is obtained into the code figure number that request is merged into the first packet and multiple is obtained request request
The mode in the second packet is merged into according to result, Software for Design and implementation complexity is reduced, obtained relative to sending several times
For request and code diagram data result, the probability for obtaining error is reduced.
In above-mentioned all embodiments of the method, for the first equipment, the present invention implementation in the first equipment is applied to
The data processing method that example is provided can also be comprised the following steps:The graphics shape set that data supporting software is provided is obtained, its
Middle graphics shape set is used to indicate the shape of the corresponding figure of the available code diagram data result of data support programs, in data
After increasing the code diagram data result of certain shape in support programs newly, the first equipment can obtain newly-increased from graphics shape set
Shape, thus without being improved to the graphic hotsopt software in the first equipment.
For the second equipment, the data processing method provided in an embodiment of the present invention being applied in the first equipment may be used also
To comprise the following steps:The graphics shape set that data supporting software is provided is obtained, the graphics shape set is sent to institute
The first equipment is stated, wherein graphics shape set is used to indicate the corresponding figure of the available code diagram data result of data support programs
Shape, after increasing the code diagram data result of certain shape newly equally in the data supporting software, the first equipment can be from figure shape
Newly-increased shape is obtained in shape set, thus without being improved to the graphic hotsopt software in the first equipment.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but
It is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certain
A little steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know, be retouched in specification
The embodiment stated belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Fig. 3 is referred to, it illustrates that the embodiment of the present invention is applied to the data processing equipment in above-mentioned first equipment
Structure is planted, can be included:First generation unit 11, transmitting element 12, the generation unit 14 of receiving unit 13 and second.
First generation unit 11, the first packet of the N number of figure for representing variable data is carried for generating, wherein
In the case that N number of figure represents same variable data, N number of figure has different shapes, is represented not in N number of figure
In the case of with variable data, N number of figure has different shape or is of similar shape, and N is the natural number more than 1.
That is data processing method provided in an embodiment of the present invention, changes to acquisition request of the prior art
Dynamic, the graphical information in the acquisition request that will be sent several times sends in being merged into a packet.Wherein carry N number of figure
The first packet form as shown in table 1 or table 2.
If the first packet carries the N number of figure for representing different variable datas, the shape of this N number of figure can with identical,
Form shown in table 1 in this case, if the shape of N number of figure is different in the first packet, can be used with difference,
If the shape of N number of figure is identical in the second packet, shape 1 to shape N can be revised as using the form shown in table 2
Variable data 1 is to N, and variable data is then revised as shape, to indicate the shape of the corresponding figure of N number of variable data.
Transmitting element 12, for sending first packet to second equipment by a data transmission channel,
Wherein transmitting element 12 can randomly select a data transmission channel and send the first packet, or lead to data transfer is chosen
The data transmission channel of free time is chosen during road, i.e., it is current not by the first equipment and the data transmission channel of the second hold facility
Send the first packet.
Receiving unit 13, for receiving second equipment is sent by least one data transmission channel second
Packet, wherein each self-corresponding code diagram data result of N number of figure is carried in second packet, and it is described N number of
Each self-corresponding code diagram data result of figure is by the data supporting Software Create in second equipment.
It is appreciated that:In the case of N number of figure is carried in the first packet, the second equipment is needed for each figure
Shape generates corresponding code diagram data result, such as has circular and square in N number of shape, then the second equipment can be given birth to by data supporting software
Circular corresponding code diagram data result and square corresponding code diagram data result, and N number of figure in the first packet
Sequence is identical with the sequence of each self-corresponding code diagram data result of N number of figure described in second packet.
In embodiments of the present invention, the corresponding code diagram data result of figure at least includes:The shape of figure, the width of figure,
Graphics feature factor and the code values such as the height of figure, the resolution ratio of figure, variable data can be obtained by being parsed to code value.
Second generation unit 14, for according to N number of each self-corresponding code diagram data result of figure, being given birth to by the figure
Into N number of figure described in Software Create.
By above-mentioned technical proposal, at least one data transmission channel is provided between the first equipment and the second equipment, when
Graphic hotsopt software in first equipment need to generate represent variable data N number of figure when, can generate carry expression it is variable
First packet of N number of figure of data, and the first packet is sent to the second equipment by a data transmission channel so that
Multiple acquisition requests that first equipment will send several times are merged into a packet and send, and such first equipment can only be sent out
Send first packet for carrying N number of figure.It is this that multiple is obtained into the mode that request is merged into the first packet, reduce
Software for Design and implementation complexity, for sending obtain request and code diagram data result several times, reduce and obtain error
Probability.
Additionally, the data processing equipment being applied in the first equipment that the embodiments of the present invention are provided can also include:
Acquiring unit, wherein the graphics shape set for obtaining the offer of data supporting software, graphics shape set are used to indicate data
The shape of the corresponding figure of the available code diagram data result of support programs, and graphics shape set includes the shape of newly-increased figure
Shape, after the code diagram data result for increasing certain shape newly in data supporting software, the first equipment can be from graphics shape set
Newly-increased shape is obtained, thus without being improved to the graphic hotsopt software in the first equipment.
Fig. 4 is referred to, it illustrates the data processing dress being applied in above-mentioned second equipment provided in an embodiment of the present invention
A kind of structure put, can include:Receiving unit 21, generation unit 22 and transmitting element 23.
Receiving unit 21, for receiving the first packet that first equipment is sent by a data transmission channel,
Carried in wherein described first packet represent variable data N number of figure information, N number of figure represent it is same can
In the case of becoming data, N number of figure has different shapes, in the case where N number of figure represents different variable datas, N
Individual figure has different shape or is of similar shape, and N is the natural number more than 1.
Generation unit 22, for generating each self-corresponding code diagram data result of N number of figure, and by N number of figure
Each self-corresponding code diagram data result constitutes the second packet.
That is generation unit 22 pairs second sets in the prior art in data processing equipment provided in an embodiment of the present invention
The code diagram data result that back-up repeatedly sends is modified, and the code diagram data result that will be sent several times is merged into one second
Sent in packet, to cause to carry each self-corresponding code diagram data result of N number of figure in the second packet.Wherein carry N
The form of individual each self-corresponding code diagram data result of figure is as shown in table 3 or table 4.If N number of figure represents different variable datas, but
The shape of N number of figure is identical, then square characteristic factor to sector characteristic factor can be revised as parsing that obtain can in above-mentioned table 4
Become the code value of data, code value is then revised as corresponding graphics feature factor.
Knowable to above-mentioned table 3 and table 4, the embodiment of the present invention can be improved to the form of existing code diagram data result,
So that it can include the graphics feature factor of multiple different graphics, can thus be sent out between the first equipment and the second equipment
Second packet is sent, is reduced and is obtained error probability.And for the second equipment, it is in feedback code diagram data result
When, in the second packet in code diagram data result each graphics feature factor sequence with the first packet in each figure row
Sequence is consistent.
Transmitting element 23, for sending second packet by a data transmission channel.In the embodiment of the present invention
In, transmitting element 23 can randomly select a data transmission channel to send the second packet, or choose data transfer
The data transmission channel of free time is chosen during passage, i.e., is not led to by the data transfer of the first equipment and the second hold facility currently
Road sends the second packet, or transmitting element 23 is still selected from transmitting element 12 in data processing equipment shown in above-mentioned Fig. 3
The data transmission channel for taking sends the second packet.
By above-mentioned technical proposal, at least one data transmission channel is provided between the first equipment and the second equipment, when
Graphic hotsopt software in first equipment need to generate represent variable data N number of figure when, can generate carry expression it is variable
First packet of N number of figure of data, and the first packet is sent to the second equipment by a data transmission channel so that
The multiple acquisition during requests are merged into a packet that first equipment will send several times sends, for the second equipment its
One can only be sent and carry the second packet of each self-corresponding code diagram data result of N number of figure, so as to reduce information hair
Number of times is sent, number of communications is reduced.It is this that the code diagram data result that multiple obtains request request is merged into the second packet
Mode, reduces Software for Design and implementation complexity, for sending obtain request and code diagram data result several times, reduces
Obtain the probability of error.
Additionally, it is above-mentioned be applied to the second equipment in data processing unit for, can also include:Acquiring unit, uses
In obtaining the graphics shape set that data supporting software is provided, and trigger transmitting element and send to first graphics shape set and set
Standby, wherein graphics shape set is used to indicate the shape of the corresponding figure of the available code diagram data result of data support programs,
And graphics shape set includes the shape of newly-increased figure so that increase certain shape newly in the data supporting software of the second equipment
Code diagram data result after, the first equipment can obtain newly-increased shape from graphics shape set, thus without to first
Graphic hotsopt software in equipment is improved.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part ginseng
See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange
Except also there is other identical element in the process including the key element, method, article or equipment.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or uses the present invention.To this
Various modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with principles disclosed herein and features of novelty most wide
Scope.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (12)
1. a kind of data processing method, it is characterised in that be applied in the first equipment of data handling system, the data processing
System also includes the second equipment, and graphic hotsopt software is provided with first equipment, and data are provided with second equipment
Support programs, are provided with least one data transmission channel, the data branch between first equipment and second equipment
Support software provides data supporting for the graphic hotsopt software, and methods described includes:
Generation carries the first packet of the N number of figure for representing variable data, wherein representing same variable in N number of figure
In the case of data, N number of figure has different shapes, N number of in the case where N number of figure represents different variable datas
Figure has different shape or is of similar shape, and N is the natural number more than 1;
First packet is sent to second equipment by a data transmission channel;
The second packet that second equipment is sent by least one data transmission channel is received, wherein described second
Each self-corresponding code diagram data result of N number of figure, and each self-corresponding code figure number of N number of figure are carried in packet
According to result by the data supporting Software Create in second equipment;
According to N number of each self-corresponding code diagram data result of figure, N number of figure as described in the graphic hotsopt Software Create.
2. method according to claim 1, it is characterised in that N number of figure for representing variable data is carried in generation
Before first packet, methods described also includes:The graphics shape set that the data supporting software is provided is obtained, wherein described
Graphics shape set is used to indicate the shape of the corresponding figure of the available code diagram data result of the data supporting software, and institute
Stating graphics shape set includes the shape of newly-increased figure.
3. method according to claim 1, it is characterised in that in first packet sequence of N number of figure with it is described
The sequence of N number of each self-corresponding code diagram data result of figure is identical described in second packet.
4. a kind of data processing method, it is characterised in that be applied in the second equipment of data handling system, the data processing
System also includes the first equipment, and graphic hotsopt software is provided with first equipment, and data are provided with second equipment
Support programs, are provided with least one data transmission channel, the data branch between first equipment and second equipment
Support software provides the software of data supporting for the graphic hotsopt software, and methods described includes:
The first packet that first equipment is sent by a data transmission channel is received, wherein in first packet
Carry the information of the N number of figure for representing variable data, in the case where N number of figure represents same variable data, N number of figure
Shape has different shapes, and in the case where N number of figure represents different variable datas, N number of figure has different shapes
Or be of similar shape, N is the natural number more than 1;
Generate each self-corresponding code diagram data result of N number of figure;
N number of each self-corresponding code diagram data result of figure is constituted into the second packet;
Second packet is sent by a data transmission channel.
5. method according to claim 4, it is characterised in that receiving first equipment by least one data biography
Before the first packet that defeated passage sends, methods described also includes:
The graphics shape set that the data supporting software is provided is obtained, wherein the graphics shape set is used to indicate the number
According to the shape of the corresponding figure of the available code diagram data result of support programs, and the graphics shape set includes newly-increased figure
The shape of shape;
The graphics shape set is sent to first equipment.
6. method according to claim 4, it is characterised in that in first packet sequence of N number of figure with it is described
The sequence of N number of each self-corresponding code diagram data result of figure is identical described in second packet.
7. a kind of data processing equipment, it is characterised in that be applied in the first equipment of data handling system, the data processing
System also includes the second equipment, and graphic hotsopt software is provided with first equipment, and data are provided with second equipment
Support programs, are provided with least one data transmission channel, the data branch between first equipment and second equipment
Support software provides data supporting for the graphic hotsopt software, and described device includes:
First generation unit, the first packet of the N number of figure for representing variable data is carried for generating, wherein in the N
In the case that individual figure represents same variable data, N number of figure has different shapes, represents that difference can in N number of figure
In the case of becoming data, N number of figure has different shape or is of similar shape, and N is the natural number more than 1;
Transmitting element, for sending first packet to second equipment by a data transmission channel;
Receiving unit, for receiving the second data that second equipment is sent by least one data transmission channel
Bag, wherein each self-corresponding code diagram data result of N number of figure is carried in second packet, and N number of figure
Each self-corresponding code diagram data result is by the data supporting Software Create in second equipment;
Second generation unit, for according to N number of each self-corresponding code diagram data result of figure, by the graphic hotsopt software
Generate N number of figure.
8. device according to claim 7, it is characterised in that described device also includes:Acquiring unit obtains the data
The graphics shape set that support programs are provided, wherein the graphics shape set is used to indicate the data supporting software can to provide
The corresponding figure of code diagram data result shape, and the graphics shape set includes the shape of newly-increased figure.
9. device according to claim 8, it is characterised in that in first packet sequence of N number of figure with it is described
The sequence of N number of each self-corresponding code diagram data result of figure is identical described in second packet.
10. a kind of data processing equipment, it is characterised in that be applied in the second equipment of data handling system, at the data
Reason system also includes the first equipment, and graphic hotsopt software is provided with first equipment, and number is provided with second equipment
According to support programs, at least one data transmission channel, the data are provided between first equipment and second equipment
Support programs provide the software of data supporting for the graphic hotsopt software, and described device includes:
Receiving unit, for receiving the first packet that first equipment is sent by a data transmission channel, wherein institute
The information that the N number of figure for representing variable data is carried in the first packet is stated, same variable data is represented in N number of figure
In the case of, N number of figure has different shapes, in the case where N number of figure represents different variable datas, N number of figure
With different shape or it is of similar shape, N is the natural number more than 1;
Generation unit is for generating each self-corresponding code diagram data result of N number of figure and N number of figure is each right
The code diagram data result answered constitutes the second packet;
Transmitting element, for sending second packet by a data transmission channel.
11. devices according to claim 10, it is characterised in that described device also includes:Acquiring unit, for obtaining
The graphics shape set of data supporting software offer is provided, and triggers the transmitting element and send to institute the graphics shape set
The first equipment is stated, wherein the graphics shape set is used to indicate the available code diagram data result pair of the data supporting software
The shape of the figure answered, and the graphics shape set includes the shape of newly-increased figure.
12. devices according to claim 10, it is characterised in that the sequence of N number of figure and institute in first packet
The sequence for stating N number of each self-corresponding code diagram data result of figure described in the second packet is identical.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710037664.9A CN106790655B (en) | 2017-01-18 | 2017-01-18 | A kind of data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710037664.9A CN106790655B (en) | 2017-01-18 | 2017-01-18 | A kind of data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106790655A true CN106790655A (en) | 2017-05-31 |
CN106790655B CN106790655B (en) | 2019-11-19 |
Family
ID=58943364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710037664.9A Active CN106790655B (en) | 2017-01-18 | 2017-01-18 | A kind of data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106790655B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1612163A (en) * | 2003-10-28 | 2005-05-04 | 三星电子株式会社 | Graphic decoder, image reproduction apparatus and method for graphic display acceleration based on commands |
US8314955B2 (en) * | 2007-08-30 | 2012-11-20 | Canon Kabushiki Kaisha | Apparatus and method for requesting password re-entry for external-device display and not requesting password re-entry for image display on display unit of the apparatus |
CN103295045A (en) * | 2013-06-07 | 2013-09-11 | 上海伊诺尔防伪技术有限公司 | Color logic discoloring two-dimensional code and generating method thereof |
CN103489017A (en) * | 2013-09-23 | 2014-01-01 | 深圳市海云天科技股份有限公司 | Electronic examination paper handling method and system based on two-dimension codes |
CN103606090A (en) * | 2013-11-21 | 2014-02-26 | 石狮市创意纸塑制品有限公司 | Goods-fleeing prevention method based on two-dimension code |
CN103914720A (en) * | 2013-01-08 | 2014-07-09 | 广州宽度信息技术有限公司 | Two-dimension code image encryption system and two-dimension code image generation method |
CN104158870A (en) * | 2014-08-07 | 2014-11-19 | 刘喆 | Data transmission method and system |
CN104392350A (en) * | 2014-11-03 | 2015-03-04 | 腾讯科技(深圳)有限公司 | Virtual resource data processing method, device and system |
CN104636929A (en) * | 2015-01-26 | 2015-05-20 | 川渝中烟工业有限责任公司 | Information management system based on two-dimensional code and information management method based on two-dimensional code |
WO2016026407A2 (en) * | 2014-08-20 | 2016-02-25 | Huawei Technologies Co., Ltd. | System and method for metadata enhanced inventory management of a communications system |
-
2017
- 2017-01-18 CN CN201710037664.9A patent/CN106790655B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1612163A (en) * | 2003-10-28 | 2005-05-04 | 三星电子株式会社 | Graphic decoder, image reproduction apparatus and method for graphic display acceleration based on commands |
US8314955B2 (en) * | 2007-08-30 | 2012-11-20 | Canon Kabushiki Kaisha | Apparatus and method for requesting password re-entry for external-device display and not requesting password re-entry for image display on display unit of the apparatus |
CN103914720A (en) * | 2013-01-08 | 2014-07-09 | 广州宽度信息技术有限公司 | Two-dimension code image encryption system and two-dimension code image generation method |
CN103295045A (en) * | 2013-06-07 | 2013-09-11 | 上海伊诺尔防伪技术有限公司 | Color logic discoloring two-dimensional code and generating method thereof |
CN103489017A (en) * | 2013-09-23 | 2014-01-01 | 深圳市海云天科技股份有限公司 | Electronic examination paper handling method and system based on two-dimension codes |
CN103606090A (en) * | 2013-11-21 | 2014-02-26 | 石狮市创意纸塑制品有限公司 | Goods-fleeing prevention method based on two-dimension code |
CN104158870A (en) * | 2014-08-07 | 2014-11-19 | 刘喆 | Data transmission method and system |
WO2016026407A2 (en) * | 2014-08-20 | 2016-02-25 | Huawei Technologies Co., Ltd. | System and method for metadata enhanced inventory management of a communications system |
CN104392350A (en) * | 2014-11-03 | 2015-03-04 | 腾讯科技(深圳)有限公司 | Virtual resource data processing method, device and system |
CN104636929A (en) * | 2015-01-26 | 2015-05-20 | 川渝中烟工业有限责任公司 | Information management system based on two-dimensional code and information management method based on two-dimensional code |
Also Published As
Publication number | Publication date |
---|---|
CN106790655B (en) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104104468B (en) | A kind of uplink-downlink configuration information transferring method and equipment | |
CN108021710B (en) | Dynamic interface conversion method, device, terminal equipment and storage medium | |
DE60227689D1 (en) | ADJUSTED MESSAGES BETWEEN A WIRELESS ACCESS POINT AND SERVICES | |
CN107168971B (en) | Data processing method and device for webpage application | |
CN102393857A (en) | Method and system for local call based on web page | |
CN110838912B (en) | Block chain-based key management method, device, equipment and computer medium | |
US20070157082A1 (en) | Web portal layout manager system and method | |
CN104753756B (en) | Method, equipment and the system that a kind of group creating is shared with group | |
CN106776401A (en) | Method for message transmission and device | |
CN103874017A (en) | Satellite positioning data transmission method | |
CN107872300B (en) | Feedback information processing method, device and system, base station and terminal | |
CN106528885A (en) | Processing method and device of medical business data | |
CN105992379A (en) | Scheduling method and terminal | |
CN109842652A (en) | A kind of method for uploading of file, terminal, Cloud Server and computer storage medium | |
CN105141627B (en) | Data sending and receiving method, device and equipment | |
US11277225B2 (en) | Probabilistic signal point shaping device and method | |
US10389481B2 (en) | Methods and apparatus for calculating transport block (TB) cyclic redundancy ceck (CRC) values | |
CN106790655A (en) | A kind of data processing method and device | |
CN101794289A (en) | Method and system for exporting data | |
CN106202361A (en) | Data query method and system | |
KR20120063387A (en) | Device and method for generating sms message | |
CN106354581B (en) | A kind of cyclic redundancy check method and multi-core processor | |
CN104767814B (en) | The method and apparatus that file transmits in a kind of LAN | |
CN110139371A (en) | A kind of resource allocation methods, terminal and network side equipment | |
CN104954079B (en) | The method and system of coding and decoding in a kind of acoustic communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |