Quick Response Code cutting and splicing method for authenticating and system
Technical field
Quick Response Code authentication techniques field of the present invention, particularly relates to a kind of Quick Response Code cutting and splicing method for authenticating system.
Background technology
Traditionally, if various public transport such as aircraft, car and boat to be taken by consumer, or consumer removes film
Institute, music hall, gymnasium, exhibition etc. need the place of bill evidence to consume, it is necessary to the ticket counter booking specified, then
At the appointed time, place ticket checking admission, to spend the much time, or when consumer goes to restaurant to have dinner, in peak period of having dinner
Consumer needs to take a lot of time wait and takes seat or wait checkout.Present consumer can pass through the canal such as phone, the Internet
Road ticket booking, booking.But nonetheless, the problem of ticketing service dispensing is the most unresolved, can only by manually visiting, post, the side such as express delivery
Formula send ticket, or ticket is led with perfect instrument to appointed place or with ticket place by consumer.So, with development in science and technology, Quick Response Code skill
Art is operated and is given birth to, and has just obtained the concern of industry since occurring, develops the rapidest.At present, the application of domestic Quick Response Code
Mainly appear on electronic certificate, false proof trace to the source, the field such as print magazine and digital publishing.Common Quick Response Code is by information
It is stored in after encoding in a chequered with black and white picture;But the application form of the Quick Response Code used in the market is all
The single scene application of single Quick Response Code.
Summary of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of Quick Response Code cutting and splicing mirror
Power method i.e. system, for solving the problem that in prior art, single Quick Response Code can be only applied to single scene.
For achieving the above object and other relevant purposes, the present invention provides a kind of Quick Response Code cutting and splicing method for authenticating,
It is applied in the Quick Response Code right discriminating system being made up of application platform and at least two mobile terminal, the cutting of described Quick Response Code and splicing
Method for authenticating includes:
S1, creates a Quick Response Code storehouse formed by multiple two-dimension code image, and is each two in described Quick Response Code storehouse
Dimension code picture carries out System Number;
S2, cuts into N number of part by a two-dimension code image in Quick Response Code storehouse;
S3, is distributed to N number of mobile terminal by the two-dimension code image being divided into N section;
S4, described N number of mobile terminal receives the two-dimension code image being divided into N section respectively, reads every part simultaneously
Two-dimension code image, obtains the descriptive file being attached in every a part of two-dimension code image;
S5, submits the N number of two-dimension code image read to;
S6, splices N number of two-dimension code image;
S7, it is judged that the two-dimension code image spliced whether with original two dimensional code picture match, the most then judge to be spliced into
Merit, completes authentication.
Preferably, also include in described step S2: the every part for being divided in the two-dimension code image of N number of part generates
Descriptive file.
Preferably, described descriptive file is additional description filename, exclusive number, source numbering, cutting total amount, portion
Point numbering of two-dimension code image, coordinate, width, highly and transparent colour.
Preferably, the numbering enrolled for each Quick Response Code is unique.
Preferably, also include in described step S7: judge the two-dimension code image spliced whether with original two dimensional code picture
Coupling, if it is not, then splice failure, is not fully complete authentication.
Preferably, described two-dimension code image is cut into N number of erose part.
The present invention provides a kind of Quick Response Code cutting and splicing right discriminating system, is applied to be moved by application platform and at least two
In the Quick Response Code right discriminating system of terminal composition, the cutting of described Quick Response Code includes with splicing right discriminating system:
Quick Response Code storehouse generation module, for multiple two-dimension code image are formed Quick Response Code storehouse, and is in described Quick Response Code storehouse
Each two-dimension code image carry out System Number;
Quick Response Code cutting module, is connected with described Quick Response Code storehouse generation module, for by described Quick Response Code storehouse
Quick Response Code cuts into N number of part, and is that each part generates descriptive file simultaneously;
Quick Response Code distribution module, is connected with Quick Response Code cutting module, for the two-dimension code image cutting into N section being distributed
To N number of mobile terminal;
Quick Response Code receiver module, is connected with described Quick Response Code distribution module, is divided by Quick Response Code distribution module for acceptance
The N number of two-dimension code image issued;
Quick Response Code read module, is connected with described Quick Response Code receiver module, is divided into the 23 of N number of part for reading
Dimension code picture, and obtain the descriptive file being attached in each two-dimension code image.
Quick Response Code submits module to, is connected with described Quick Response Code read module, submits to for the two-dimension code image that will read
To Quick Response Code concatenation module;
Quick Response Code concatenation module, submits to module to be connected with described Quick Response Code, is used for submit to module to submit to Quick Response Code two
Dimension code picture is spliced according to the coordinate of each two-dimension code image in described descriptive file;
Quick Response Code coupling discrimination module, is connected with described Quick Response Code concatenation module, for Quick Response Code concatenation module being spliced
Good two-dimension code image carries out mating differentiation with original two dimensional code picture.
As it has been described above, Quick Response Code of the present invention cutting and splicing method for authenticating and system can make single Quick Response Code real
The most scenes are applied.
Accompanying drawing explanation
Fig. 1 is shown as Quick Response Code cutting and the splicing right discriminating system schematic diagram of the present invention.
Fig. 2 is shown as the Quick Response Code cutting of the present invention and is cut by Quick Response Code with Quick Response Code cutting module in splicing right discriminating system
Become two parts two-dimension code image schematic diagram.
Fig. 3 is shown as the Quick Response Code cutting of the present invention and the method flow diagram of splicing method for authenticating.
Fig. 4 is shown as the Quick Response Code cutting of the present invention and showing of splicing splicing and recovery original two dimensional code process in method for authenticating
It is intended to.
Element numbers explanation
1 Quick Response Code storehouse generation module
2 Quick Response Code cutting modules
3 Quick Response Code distribution modules
4 Quick Response Code receiver modules
5 Quick Response Code read modules
6 Quick Response Codes submit module to
7 Quick Response Code concatenation module
8 Quick Response Code coupling discrimination modules
Detailed description of the invention
Below by way of specific instantiation, embodiments of the present invention being described, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also be by the most different concrete realities
The mode of executing is carried out or applies, the every details in this specification can also based on different viewpoints and application, without departing from
Various modification or change is carried out under the spirit of the present invention.
Refer to accompanying drawing.It should be noted that the diagram provided in the present embodiment illustrates the present invention the most in a schematic way
Basic conception, the most graphic in component count time only display with relevant assembly in the present invention rather than is implemented according to reality, shape
Shape and size are drawn, and during its actual enforcement, the kenel of each assembly, quantity and ratio can be a kind of random change, and its assembly cloth
Office's kenel is likely to increasingly complex.
Below in conjunction with embodiment and accompanying drawing, the present invention is described in detail.
A kind of Quick Response Code cutting provided by the present invention and splicing method for authenticating and system, the core of the present invention is by two dimension
Code carries out graphics process, cuts into several erose parts, and is numbered every part, finally these is not advised
Then part splicing and recovery becomes original two dimensional code, it is achieved thereby that many people have cooperated simultaneously, and obtains corresponding rights and interests.
Embodiment one
The present embodiment provides a kind of Quick Response Code cutting and splicing right discriminating system, is applied to be moved by application platform and at least two
In the Quick Response Code right discriminating system of dynamic terminal composition, described system is as it is shown in figure 1, include: application platform, and at least two moves end
End, wherein, described system includes Quick Response Code storehouse generation module 1, Quick Response Code cutting module 2, Quick Response Code distribution module 3, Quick Response Code
Receiver module 4, Quick Response Code read module 5, Quick Response Code submit to module 6, Quick Response Code concatenation module 7 and Quick Response Code coupling to differentiate
Module 8.
Quick Response Code storehouse generation module 1, for forming Quick Response Code storehouse by multiple two-dimension code image, in the most described Quick Response Code storehouse
Each two-dimension code image carry out System Number.Wherein, each numbering is unique.
Quick Response Code cutting module 2, is connected with described Quick Response Code storehouse generation module 1, for by described Quick Response Code storehouse
Individual Quick Response Code cuts into N number of part, and is that each part generates descriptive file simultaneously, is each part and is numbered and remembers
Record each part in information such as original two dimensional code present position coordinate, size, transparent colours.
Quick Response Code distribution module 3, is connected with Quick Response Code cutting module 2, for the two-dimension code image cutting into N section being divided
Send to N number of mobile terminal.
Quick Response Code receiver module 4, is connected with described Quick Response Code distribution module 3, for accepting by Quick Response Code distribution module 3
Distribution N number of two-dimension code image out.
Quick Response Code read module 5, is connected with described Quick Response Code receiver module 4, is divided into the two of N number of part for reading
Dimension code picture, and obtain the descriptive file being attached in each two-dimension code image.
Quick Response Code submits module 6 to, is connected with described Quick Response Code read module 5, for the two-dimension code image read being carried
Give Quick Response Code concatenation module 7.
Quick Response Code concatenation module 7, submits to module 6 to be connected with described Quick Response Code, for submitting to module 6 to submit to Quick Response Code
Two-dimension code image is spliced according to the coordinate of each two-dimension code image in described descriptive file.
Quick Response Code coupling discrimination module 8, is connected with described Quick Response Code concatenation module 7, for Quick Response Code concatenation module 7 being spelled
The two-dimension code image connected carries out mating differentiation with original two dimensional code picture.
Described right discriminating system, by cutting two-dimension code image, and is the two-dimension code image accompanying descriptive file cut,
After N section two-dimension code image will be divided into carry out splicing to reduce original two dimensional code, thus complete authentication.
Embodiment two
The present embodiment provides a kind of Quick Response Code cutting and splicing method for authenticating, is applied to be moved by application platform and at least two
In the Quick Response Code right discriminating system of dynamic terminal composition, the cutting of described Quick Response Code and splicing method for authenticating are as it is shown on figure 3, include:
S1, creates a Quick Response Code storehouse formed by multiple two-dimension code image, and is each two in described Quick Response Code storehouse
Dimension code picture carries out System Number.Wherein, the numbering of each two-dimension code image is unique.
S2, cuts into N number of part by a two-dimension code image in Quick Response Code storehouse, is that the generation of each part is descriptive simultaneously
File;Such as, two-dimension code image being divided into part A and part B in the present embodiment, the descriptive file of part A includes:
Position Part A describes filename
OX123456789 exclusive number
OXabcd originates numbering
Total 002 cuts total amount
The numbering of No.001 part two-dimension code image
Topleft (0,0) top left co-ordinate (pixel)
Width400 width (pixel)
Height 400 height (pixel)
Transparent Color (255,255,255) transparent colour (RGB);
The descriptive file of part B includes:
Position Part B describes filename
OX123456789 exclusive number
OXefgh originates numbering
Total 002 cuts total amount
The numbering of No.002 part two-dimension code image
Topright (0,0) upper right corner coordinate (pixel)
Width 400 width (pixel)
Height 400 height (pixel)
Transparent Color (255,255,255) transparent colour (RGB).
S3, is distributed to N number of mobile terminal by the two-dimension code image being divided into N section;Wherein N at least two;Such as, exist
In the present embodiment, it is distributed to two mobile terminals, the i.e. first mobile terminal and the second mobile terminal.
S4, described N number of mobile terminal receives the two-dimension code image being divided into N section respectively, reads every part simultaneously
Two-dimension code image, obtains the descriptive file being attached in every a part of two-dimension code image.Cut into the two-dimension code image of N section
Can be erose.
S5, submits the N number of two-dimension code image read to.
S6, splices N number of two-dimension code image according to the coordinate of two-dimension code image each in descriptive file;Such as, in this reality
Shi Lizhong, as shown in Figure 4, according to coordinate and the seat of part B two-dimension code image of the part A two-dimension code image generated in step S2
Mark splicing part A two-dimension code image and part B two-dimension code image.
S7, it is judged that the two-dimension code image spliced whether with original two dimensional code picture match, the most then judge to be spliced into
Merit, completes authentication;If it is not, then judge to splice unsuccessfully, it is not fully complete authentication.
Quick Response Code of the present invention cutting realizes single with splicing method for authenticating and system by cutting and splicing
Many scenes application of Quick Response Code.
In sum, the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The principle of above-described embodiment only illustrative present invention and effect thereof, not for limiting the present invention.Any ripe
Above-described embodiment all can be modified under the spirit and the scope of the present invention or change by the personage knowing this technology.Cause
This, have usually intellectual such as complete with institute under technological thought without departing from disclosed spirit in art
All equivalences become are modified or change, and must be contained by the claim of the present invention.