The content of the invention
In view of above-mentioned, the present invention proposes a kind of Quick Response Code processing method and processing device based on mobile terminal, can realize
The effect that the terminal of two-dimentional coded program can be processed arbitrary format Quick Response Code is installed, solving prior art can only be processed
The defect of specific Quick Response Code.
According to an aspect of the invention, there is provided a kind of Quick Response Code processing method based on mobile terminal, including:In warp
After by acquisition for mobile terminal Quick Response Code, the Quick Response Code treatment rule matched with acquired Quick Response Code is obtained in the terminal;
Rule is processed based on acquired Quick Response Code, it is determined that the application program for processing the Quick Response Code;And in the terminal
Determined application program is called to process the Quick Response Code.
Wherein, the Quick Response Code treatment rule matched with acquired Quick Response Code is obtained in the terminal to be included:Judging
When going out in mobile terminal the Quick Response Code treatment rule for not having storage to be matched with acquired Quick Response Code, the Quick Response Code is sent to
Server, rule is processed to search the Quick Response Code matched with the Quick Response Code in the server;And from the service
Device receives found out Quick Response Code treatment rule.
Wherein, the Quick Response Code treatment rule matched with acquired Quick Response Code is obtained in the terminal to be included:Judging
When going out in mobile terminal to be stored with the Quick Response Code treatment rule matched with acquired Quick Response Code, read at stored Quick Response Code
Reason rule.
Wherein, determined application program is called in the terminal to be included processing the Quick Response Code:Mobile whole
After storing the application program determined in end, call stored application program to process the Quick Response Code.
Wherein, determined application program is called in the terminal to be included processing the Quick Response Code:Mobile whole
After not having the determined application program of storage in end, determined application program is downloaded and installed from server;And adjust
The Quick Response Code is processed with the application program installed.
Wherein, after not storing determined application program in the terminal, downloaded from server and installed really
The application program made includes:After not storing determined application program in the terminal, user from server is pointed out
Download and install determined application program;And after receiving the download of user and confirmation is installed, downloaded from server
And determined application program is installed.
Wherein, via acquisition for mobile terminal Quick Response Code shot using the shoot function of mobile terminal.
Wherein, the corresponding relation between Quick Response Code feature and Quick Response Code treatment rule is previously provided with the mobile terminal
Table, and the Quick Response Code treatment rule matched with acquired Quick Response Code that obtains in the terminal includes:The movement
After terminal obtains Quick Response Code, the Quick Response Code feature included in Quick Response Code is analyzed;And based on the Quick Response Code feature for being analyzed,
Using the mapping table, the Quick Response Code searched for Quick Response Code matching processes rule.
Wherein, record has the relevant information for processing the application program of Quick Response Code in the Quick Response Code treatment rule;Institute
State based on acquired Quick Response Code treatment rule, it is determined that including for processing the application program of the Quick Response Code:Based on acquired
Quick Response Code treatment rule in record application program relevant information, it is determined that the application program for processing the Quick Response Code.
Wherein, the corresponding relation between Quick Response Code feature and Quick Response Code treatment rule is previously provided with the server
Table, and searched in the server matched with the Quick Response Code Quick Response Code treatment rule include:Receiving Quick Response Code
Afterwards, the Quick Response Code feature included in Quick Response Code is analyzed;And based on the Quick Response Code feature for being analyzed, closed using the correspondence
It is table, the Quick Response Code searched for Quick Response Code matching processes rule.
According to another aspect of the present invention, there is provided a kind of Quick Response Code processing unit based on mobile terminal, including:Obtain
Rules unit, for after via acquisition for mobile terminal Quick Response Code, obtaining matched with acquired Quick Response Code in the terminal
Quick Response Code treatment rule;Determine program unit, for processing rule based on the Quick Response Code acquired in the acquisition rules unit,
It is determined that the application program for processing the Quick Response Code;Processing unit, for calling the determination program list in the terminal
The unit application program determined processes the Quick Response Code.
Wherein, the acquisition rules unit includes:First acquisition unit, for no storage in mobile terminal is judged
During the Quick Response Code treatment rule matched with acquired Quick Response Code, the Quick Response Code is sent to server, so as in the clothes
The Quick Response Code treatment rule matched with the Quick Response Code is searched in business device;And receive found out two dimension from the server
Code treatment rule;And/or, second acquisition unit, for being stored with mobile terminal is judged and acquired Quick Response Code
During the Quick Response Code treatment rule matched somebody with somebody, stored Quick Response Code treatment rule is read.
Wherein, the processing unit includes:First processing units, determine in mobile terminal for the determination program unit
After the application program that middle storage has been determined, call stored application program to process the Quick Response Code;And/or, second
Processing unit, after determining not storing determined application program in the terminal for the determination program unit, from
Server is downloaded and installs determined application program;And call installed application program to process the Quick Response Code.
Wherein, the acquisition rules unit also includes:Database Unit, for pre-setting two on the mobile terminal
Mapping table between dimension code feature and Quick Response Code treatment rule;Characteristic analysis unit, in the acquisition for mobile terminal
After Quick Response Code, the Quick Response Code feature included in Quick Response Code is analyzed;The second acquisition unit, based on the characteristic analysis unit
The Quick Response Code feature for being analyzed, using the mapping table set in the Database Unit, searches for the Quick Response Code
The Quick Response Code treatment rule of matching.
Wherein, in the Database Unit set the mapping table in Quick Response Code treatment regular record have for
The relevant information of the application program of Quick Response Code is processed, the determination program unit is based on what is recorded during Quick Response Code treatment is regular
The relevant information of application program, it is determined that the application program for processing the Quick Response Code.
Using above-mentioned technical proposal, after acquisition for mobile terminal Quick Response Code, obtain in the terminal and acquired two dimension
The Quick Response Code treatment rule that code is matched, rule is processed based on acquired Quick Response Code, it is determined that for processing answering for the Quick Response Code
With program, in this manner it is possible to call determined application program in the terminal to process the Quick Response Code, so that
Mobile terminal can call corresponding application program to process Quick Response Code, and overcoming can only process specific two dimension in the prior art
The defect of code, realization is provided with the effect that the terminal of two-dimentional coded program can be processed arbitrary format Quick Response Code.
In order to realize above-mentioned and related purpose, one or more aspects of the invention include will be explained in below and
The feature particularly pointed out in claim.Following explanation and accompanying drawing is described in detail some illustrative aspects of the invention.
However, what is indicated in terms of these is only some modes in the various modes for can be used principle of the invention.Additionally, of the invention
It is intended to include all these aspects and their equivalent.
Specific embodiment
Various aspects of the disclosure is described below.It is to be understood that teaching herein can have in varied form
Body embodies, and any concrete structure, function disclosed herein or both is only representational.Religion based on this paper
Lead, those skilled in the art it is to be understood that one aspect disclosed herein can be realized independently of any other aspect,
And the two or more aspects in these aspects can be combined in various manners.It is, for example possible to use described in this paper
Any number of aspect, realizes device or puts into practice method.Further, it is possible to use other structures, function or except described here
One or more aspects outside or be not one or more aspects described herein 26S Proteasome Structure and Function, realize this device
Or put into practice this method.Additionally, any aspect described herein can include at least one element of claim.
The present invention proposes a kind of Quick Response Code processing method based on mobile terminal, can realize being provided with two-dimentional coded program
The effect that arbitrary format Quick Response Code can be processed of terminal.
Each embodiment of the invention is described below with reference to accompanying drawings.
Fig. 1 is the first pass schematic diagram of Quick Response Code processing method of the present invention based on mobile terminal.
As shown in figure 1, including step:
Step 101, after via acquisition for mobile terminal Quick Response Code, obtain in the terminal and acquired Quick Response Code
The Quick Response Code treatment rule matched somebody with somebody.
The step includes:The Quick Response Code for not having storage to be matched with acquired Quick Response Code in mobile terminal is judged is processed
When regular, the Quick Response Code is sent to server, to search the two dimension matched with the Quick Response Code in the server
Code treatment rule;And receive found out Quick Response Code treatment rule from the server;Deposited in mobile terminal is judged
When containing the Quick Response Code treatment rule matched with acquired Quick Response Code, stored Quick Response Code treatment rule is read.
Further, it is previously provided with the mobile terminal corresponding between Quick Response Code feature and Quick Response Code treatment rule
Relation table;The Quick Response Code treatment rule matched with acquired Quick Response Code that obtains in the terminal includes:The movement
After terminal obtains Quick Response Code, the Quick Response Code feature included in Quick Response Code is analyzed;And based on the Quick Response Code feature for being analyzed,
Using the mapping table, the Quick Response Code searched for Quick Response Code matching processes rule.
Further, the corresponding pass between Quick Response Code feature and Quick Response Code treatment rule is previously provided with the server
Being table, and the Quick Response Code treatment rule matched with the Quick Response Code is searched in the server includes:Receiving two dimension
After code, the Quick Response Code feature included in Quick Response Code is analyzed;And based on the Quick Response Code feature for being analyzed, using the correspondence
Relation table, the Quick Response Code searched for Quick Response Code matching processes rule.
Step 102, rule is processed based on acquired Quick Response Code, it is determined that the application program for processing the Quick Response Code.
Wherein, record has the relevant information for processing the application program of Quick Response Code, institute in the Quick Response Code treatment rule
State based on acquired Quick Response Code treatment rule, it is determined that including for processing the application program of the Quick Response Code:Based on acquired
Quick Response Code treatment rule in record application program relevant information, it is determined that the application program for processing the Quick Response Code.
Step 103, call determined application program in the terminal to process the Quick Response Code.
The step includes:After storing the application program determined in the terminal, stored application journey is called
Sequence processes the Quick Response Code;After not storing determined application program in the terminal, downloaded from server and pacified
The determined application program of dress;And call installed application program to process the Quick Response Code.
From such scheme as can be seen that after acquisition for mobile terminal Quick Response Code of the present invention, obtaining in the terminal and being obtained
The Quick Response Code treatment rule of the Quick Response Code matching for taking, processes rule, it is determined that for processing described two based on acquired Quick Response Code
The application program of code is tieed up, in this manner it is possible to call determined application program in the terminal to process the Quick Response Code,
So that mobile terminal can call corresponding application program to process Quick Response Code, overcoming can only be processed in the prior art
The defect of specific Quick Response Code, realization is provided with the effect that the terminal of two-dimentional coded program can be processed arbitrary format Quick Response Code
Really.
The method flow of Fig. 2 is introduced more fully below.
As shown in Fig. 2 be the second procedure schematic diagram of Quick Response Code processing method of the present invention based on mobile terminal, including:
Step 201, the application X started in mobile terminal, open Quick Response Code shoot function, shoot Quick Response Code;
It is the terminal for having two-dimentional coded program that the mobile terminal is installed.This can be that arbitrarily there is Quick Response Code to shoot work(using X
The application program of energy.The embodiment is that Quick Response Code illustration is shot with the shoot function using mobile terminal, it is also possible to be
Quick Response Code is obtained by other means.
Step 202, mobile terminal judge the local Quick Response Code treatment rule with the presence or absence of the energy matching treatment Quick Response Code, such as
Fruit is, into step 203, if it is not, then being put into step 207;
Here Quick Response Code treatment rule is Quick Response Code redaction rule, the corresponding Quick Response Codes of application program different at present
Treatment rule is different.
Record has the relevant information for processing the application program of Quick Response Code in Quick Response Code treatment rule of the invention, specifically
Have recorded a variety of application programs treatable different characteristic Quick Response Code, and can increase as needed it is new should
With the relevant information of the treatable new Quick Response Code of Quick Response Code or original application program processed corresponding to program.
The mapping table between Quick Response Code feature and Quick Response Code treatment rule is previously provided with mobile terminal of the present invention,
The corresponding table can be stored in Quick Response Code rule base.That is, after obtaining Quick Response Code and parsing and obtain Quick Response Code feature, it is sharp
The relation of rule is processed with the Quick Response Code feature in mapping table and Quick Response Code, corresponding Quick Response Code treatment rule can be obtained
Then, and according to the relevant information of the application program for processing Quick Response Code recorded in Quick Response Code treatment rule, it may be determined that right
The application program answered.It should be noted that, the present invention is illustrated with searching correspondence Quick Response Code treatment rule using Quick Response Code feature
It is bright but be not limited to this, for the Quick Response Code for obtaining, it is also possible to consider that other modes search corresponding Quick Response Code treatment rule.
In the step, mobile terminal is analyzed to shooting the Quick Response Code for obtaining, and obtains Quick Response Code feature.Using existing
Quick Response Code identification technology, can recognize and analyze the feature of Quick Response Code.Mobile terminal further according to the Quick Response Code feature for analyzing,
The relation of Quick Response Code feature and Quick Response Code treatment rule in utilizing mapping table in Quick Response Code rule base, then search and be somebody's turn to do
The Quick Response Code treatment rule that Quick Response Code matches.
Step 203, locally whether be mounted with to process the Quick Response Code according to the Quick Response Code treatment rule judgment of matching should
With A, if so, into step 204, if it is not, into step 205;
It should be noted that, the correlation for processing the application program corresponding to the Quick Response Code is have recorded in Quick Response Code treatment rule
Information.Therefore, in the step, whether the Quick Response Code treatment rule judgment according to matching is locally mounted with that the Quick Response Code can be processed
Using.
Step 204, call Quick Response Code is processed using A;
Mobile terminal has locally been mounted with that the application A of the Quick Response Code can be processed, therefore calls to enter the Quick Response Code using A
Row treatment.
Step 205, prompting download to should Quick Response Code application A, guiding user download install this apply A, into step
206;
Mobile terminal is locally fitted without processing the application A of the Quick Response Code, therefore prompting is downloaded to should Quick Response Code
Using A.
The downloaded application A of step 206, installation, calls into step 204 Quick Response Code is processed using A.
Step 207, the Quick Response Code treatment rule in the absence of the matching treatment Quick Response Code, then be sent to service by the Quick Response Code
Device, into step 208;
After step 208, server receive Quick Response Code, analysis of two-dimensional code feature;
The existing Quick Response Code identification technology of server by utilizing, can recognize and analyze the feature of Quick Response Code.
Step 209, server are searched and the two-dimentional code-phase according to the Quick Response Code feature for analyzing in Quick Response Code rule base
The Quick Response Code treatment rule of matching.
The mapping table between Quick Response Code feature and Quick Response Code treatment rule, the corresponding table are previously provided with server
Can store in Quick Response Code rule base.That is, obtain Quick Response Code and parse obtain Quick Response Code feature after, using correspondence pass
It is the relation of the Quick Response Code feature in table and Quick Response Code treatment rule, corresponding Quick Response Code treatment rule can be obtained.
And record has the relevant information for processing the application program of Quick Response Code, physical record in Quick Response Code treatment rule
A variety of application programs treatable different characteristic Quick Response Code, and can as needed increase new application journey
The Quick Response Code of the corresponding treatment of sequence or the relevant information of the treatable new Quick Response Code of original application program.Therefore, according to two dimension
The relevant information of the application program for processing Quick Response Code recorded in code treatment rule, it may be determined that corresponding application program.
In the present invention, operation personnel can rule of thumb record or increase various Quick Response Code treatment rules.
Step 210, corresponding Quick Response Code treatment rule is judged whether according to lookup, if so, into step 212, if
It is no, into step 211;
If the Quick Response Code treatment rule not matched in step 211, Quick Response Code rule base, prompting can add rule
Then, then follow-up operation personnel adds corresponding Quick Response Code treatment rule;
The Quick Response Code treatment rule of the matching is issued to mobile terminal, return to step 203 by step 212, server.
In the step, there is the Quick Response Code treatment rule for matching in Quick Response Code rule base, then server is by the two of the matching
Dimension code treatment rule is issued to mobile terminal.
By the processing mode, even if customer mobile terminal finds currently process the Quick Response Code of scanning, Ke Yiyou
Server is automatic to be handed down to mobile terminal by the corresponding Quick Response Code treatment rule of matching, so that mobile terminal can be according to this
Quick Response Code treatment rule prompting user download or call corresponding application program to process Quick Response Code.
It can be found that the technical scheme that the present invention is provided, there is provided Quick Response Code rule base is matched, can be in movement
The Quick Response Code treatment rule matched with acquired Quick Response Code is obtained in terminal, including is not had in mobile terminal is judged for example
During the Quick Response Code treatment rule that storage is matched with acquired Quick Response Code, the Quick Response Code is sent to server, by server
Mobile terminal is issued after finding out the Quick Response Code treatment rule matched with the Quick Response Code, such as is judging mobile terminal
In be stored with the Quick Response Code treatment rule matched with acquired Quick Response Code when, read stored Quick Response Code treatment rule, that
, it is possible to rule is processed based on acquired Quick Response Code, it is determined that the application program for processing the Quick Response Code, is then moving
Determined application program is called in dynamic terminal to process the Quick Response Code.Specifically, work as being the discovery that answering for this mobile terminal
During the specific Quick Response Code that cannot be opened with program, Quick Response Code can be sent to server and be analyzed, by server according to
Analysis result, will match corresponding Quick Response Code treatment rule and is handed down to mobile terminal, so that mobile terminal can be with root automatically
Existing application program is processed Quick Response Code in downloading or directly invoke mobile terminal according to Quick Response Code rule prompting user,
Therefore, the present invention program can overcome the defect that can only process specific Quick Response Code in the prior art, and realization is provided with Quick Response Code journey
The effect that the terminal of sequence can be processed arbitrary format Quick Response Code, also greatly strengthen Consumer's Experience.If for example at present
When encountering mobile scanning terminal wechat Quick Response Code and cannot process, can be carried out Quick Response Code using the inventive method and process.
Above-mentioned to describe Quick Response Code processing method of the invention in detail, accordingly, the present invention provides one kind and is based on movement eventually
The Quick Response Code processing unit at end.
Fig. 3 is the schematic diagram of the Quick Response Code processing unit based on mobile terminal of the invention.
As indicated at 3, the device 30 includes:Obtain rules unit 301, determine program unit 302, processing unit 303.
Rules unit 301 is obtained, for after via acquisition for mobile terminal Quick Response Code, obtaining in the terminal and being obtained
The Quick Response Code treatment rule of the Quick Response Code matching for taking;
Determine program unit 302, for processing rule based on the Quick Response Code acquired in the acquisition rules unit 301, really
The fixed application program for being used to process the Quick Response Code;
Processing unit 303, for the application program for calling the determination program unit 302 to be determined in the terminal
To process the Quick Response Code.
Wherein, the acquisition rules unit 301 includes:First acquisition unit, second acquisition unit(It is not shown in figure).
First acquisition unit, for the two dimension for not having storage to be matched with acquired Quick Response Code in mobile terminal is judged
During code treatment rule, the Quick Response Code is sent to server, is matched with the Quick Response Code to be searched in the server
Quick Response Code treatment rule;And receive found out Quick Response Code treatment rule from the server;And/or,
Second acquisition unit, the Quick Response Code matched with acquired Quick Response Code for being stored with mobile terminal is judged
During treatment rule, stored Quick Response Code treatment rule is read.
Wherein, the processing unit includes:First processing units, second processing unit(It is not shown in figure).
First processing units, determine to store the application determined in the terminal for the determination program unit
After program, call stored application program to process the Quick Response Code;And/or,
Second processing unit, for it is described determination program unit determine do not store in the terminal determined should
After with program, determined application program is downloaded and installed from server;And call installed application program to process
The Quick Response Code.
The acquisition rules unit 301 also includes:Database Unit, characteristic analysis unit(It is not shown in figure).
Database Unit, for pre-setting on the mobile terminal between Quick Response Code feature and Quick Response Code treatment rule
Mapping table;
Characteristic analysis unit, for after the acquisition for mobile terminal Quick Response Code, analyzing the two dimension included in Quick Response Code
Code feature;
The second acquisition unit, based on the Quick Response Code feature that the characteristic analysis unit is analyzed, using the number
According to the mapping table set in library unit, the Quick Response Code searched for Quick Response Code matching processes rule.
Wherein, in the Database Unit set the mapping table in Quick Response Code treatment regular record have for
The relevant information of the application program of Quick Response Code is processed, the determination program unit is based on what is recorded during Quick Response Code treatment is regular
The relevant information of application program, it is determined that the application program for processing the Quick Response Code.
Interactive relation between above-mentioned each unit, may refer to the description of previous methods flow chart, and here is omitted.
The present invention correspondingly provides a kind of mobile terminal.
Fig. 4 is the structural representation of mobile terminal of the invention.
As shown in figure 4, the mobile terminal 40 includes the Quick Response Code processing unit 30 of foregoing description.The Quick Response Code processing unit
30 structure is specific as shown in figure 3, here is omitted.
Additionally, typically, mobile terminal of the present invention can be the various hand-held terminal devices with Bluetooth function, example
Such as there is mobile phone, the personal digital assistant of Bluetooth function(PDA).
Additionally, the method according to the invention is also implemented as by the processor in mobile terminal(Such as CPU)Perform
Computer program, and store in a memory in the mobile terminal.It is when executed by the computer program, performs sheet
The above-mentioned functions limited in the method for invention.
Additionally, the method according to the invention is also implemented as a kind of computer program product, the computer program product
Including computer-readable medium, it is stored with the computer-readable medium for performing limit in the method for the present invention above-mentioned
The computer program of function.
Additionally, above method step and system unit can also utilize controller and cause controller reality for storing
The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function are realized.
Those skilled in the art will also understand is that, the various illustrative logical blocks with reference to described by disclosure herein, mould
Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate
This interchangeability of part and software, the function with regard to various exemplary components, square, module, circuit and step it is entered
General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and applying
To the design constraint of whole system.Those skilled in the art can in a variety of ways realize described for every kind of concrete application
Function, but this realize that decision should not be interpreted as causing a departure from the scope of the present.
Although content disclosed above shows exemplary embodiment of the invention, it should be noted that without departing substantially from power
On the premise of profit requires the scope of the present invention for limiting, may be many modifications and change.It is real according to invention described herein
Function, step and/or the action for applying the claim to a method of example are not required to be performed with any particular order.Although additionally, the present invention
Element can describe or require in individual form, be unless explicitly limited odd number it is also contemplated that multiple.
Although describing each embodiment of the invention above with reference to figure to be described, people in the art
Member is it should be appreciated that each embodiment proposed to the invention described above, can also do on the basis of present invention is not departed from
Go out various improvement.Therefore, protection scope of the present invention should be determined by the content of appending claims.