CN106570437A - Two-dimensional code scanning processing method and mobile terminal thereof - Google Patents

Two-dimensional code scanning processing method and mobile terminal thereof Download PDF

Info

Publication number
CN106570437A
CN106570437A CN201610911456.2A CN201610911456A CN106570437A CN 106570437 A CN106570437 A CN 106570437A CN 201610911456 A CN201610911456 A CN 201610911456A CN 106570437 A CN106570437 A CN 106570437A
Authority
CN
China
Prior art keywords
mobile terminal
setting value
size
resolution
finder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610911456.2A
Other languages
Chinese (zh)
Inventor
金辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610911456.2A priority Critical patent/CN106570437A/en
Publication of CN106570437A publication Critical patent/CN106570437A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

Embodiments of the invention provide a two-dimensional code scanning processing method and a mobile terminal thereof. The method comprises the following steps of receiving a triggering operation used for scanning a target two-dimensional code; increasing a size of an actual viewing frame of a mobile terminal camera from a first setting value to a second setting value, wherein the first setting value is a size of a scanning frame displayed on a user interface of the mobile terminal, and the second setting value is greater than the first setting value; and using the adjusted actual viewing frame to scan the target two-dimensional code. In the embodiments of the invention, a technical problem that identification efficiency of the mobile terminal to the two-dimensional code is low in the prior art is solved; a speed for the mobile terminal to scan the two-dimensional code can be increased; and a user experience is improved.

Description

Two-dimensional code scanning processing method and mobile terminal
Technical field
The present embodiments relate at intelligent terminal and two-dimensional code scanning technical field, more particularly to a kind of two-dimensional code scanning Reason method and mobile terminal.
Background technology
With the development of communication technology, mobile terminal is increasingly popularized, used in daily life on mobile terminal Photographic head carrying out the frequency more and more higher of two-dimensional code scanning, such as add good friend by scanning Quick Response Code in wechat application, Mobile terminal adds certain application etc. by scanning Quick Response Code.
At present, when two-dimensional code scanning is carried out, the size of view-finder when actually finding a view is equal to mobile terminal to mobile terminal The size of the scan box shown in user interface, is to intercept to be somebody's turn to do with the size of the scan box shown on user interface of mobile terminal In the range of image, the parsing of Quick Response Code is then carried out to truncated picture.
During the embodiment of the present invention is realized, inventor has found, due to sweeping for showing on user interface of mobile terminal The size for retouching frame is limited, and the less view-finder of size can affect the identification of Quick Response Code, cause terminal recognition Quick Response Code time-consuming compared with The problems such as long or appearance scanning failure, reduce the efficiency of terminal recognition Quick Response Code.
The content of the invention
The embodiment of the present invention provides a kind of two-dimensional code scanning processing method and mobile terminal, to solve to move in prior art The less efficient technical problem of dynamic terminal recognition Quick Response Code.
To solve above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
The embodiment of the present invention provides a kind of two-dimensional code scanning processing method, including:
The trigger action that reception is scanned to target Quick Response Code;
The size of the actual view-finder of mobile terminal camera is improved to the second setting value from the first setting value;Wherein, First setting value is the size of the scan box shown in the user interface of the mobile terminal, and second setting value is more than First setting value;
Actual view-finder after using adjustment is scanned to the target Quick Response Code.
Optionally, the size in the actual view-finder by mobile terminal camera is improved to second from the first setting value Before setting value, methods described also includes:
Judge whether the size of the actual view-finder of mobile terminal camera is less than the size of the target Quick Response Code, if It is that the size for then performing the actual view-finder by mobile terminal camera is improved to the second setting value from the first setting value Step.
Optionally, the size of the actual view-finder is equal to the scanning resolution of the mobile terminal camera and the shifting The ratio of the resolution of dynamic terminal screen is multiplied by the size of the scan box show on the user interface of mobile terminal.
Optionally, the size of the actual view-finder by mobile terminal camera is improved to second from the first setting value and is set Definite value, including:
The scanning resolution of mobile terminal camera is improved to second resolution from first resolution, wherein, described One resolution is that the mobile terminal camera pre-sets resolution for being scanned, and the first resolution is less than institute State second resolution.
Optionally, the size of the actual view-finder by mobile terminal camera is improved to second from the first setting value and is set Definite value, including:
The size of the scan box shown on the user interface of mobile terminal is improved to the 4th setting from the 3rd setting value Value, wherein, the 3rd setting value is the size that the scan box shown on the user interface of mobile terminal pre-sets, described 3rd setting value is less than the 4th setting value.
Optionally, second setting value is less than predetermined threshold value.
The embodiment of the present invention provides a kind of mobile terminal, including:
Receiver module, for receiving the trigger action being scanned to target Quick Response Code;
Adjusting module, for the size of the actual view-finder of mobile terminal camera is improved to second from the first setting value Setting value;Wherein, first setting value is the size of the scan box shown in the user interface of the mobile terminal, described Two setting values are more than the first setting value;
Scan module, for adopting the actual view-finder after adjustment to be scanned the target Quick Response Code.
Optionally, the mobile terminal also includes:
Judge module, for judging the size of the actual view-finder of mobile terminal camera whether less than target two dimension The size of code, if it is, the triggering adjusting module.
Optionally, the size of the actual view-finder is equal to the scanning resolution of the mobile terminal camera and the shifting The ratio of the resolution of dynamic terminal screen is multiplied by the size of the scan box show on the user interface of mobile terminal.
Optionally, the adjusting module, specifically for
The scanning resolution of mobile terminal camera is improved to second resolution from first resolution, wherein, described One resolution is that the mobile terminal camera pre-sets resolution for being scanned, and the first resolution is less than institute State second resolution.
Optionally, the adjusting module, specifically for
The size of the scan box shown on the user interface of mobile terminal is improved to the 4th setting from the 3rd setting value Value, wherein, the 3rd setting value is the size that the scan box shown on the user interface of mobile terminal pre-sets, described 3rd setting value is less than the 4th setting value.
Optionally, second setting value is less than predetermined threshold value.
As shown from the above technical solution, two-dimensional code scanning processing method provided in an embodiment of the present invention and mobile terminal, lead to Cross when the trigger action being scanned to target Quick Response Code is received, by the size of the actual view-finder of mobile terminal camera Improve to the second setting value from the first setting value, wherein, first setting value is to show in the user interface of the mobile terminal The size of the scan box shown, second setting value are more than the first setting value, then using the actual view-finder after adjustment to institute State target Quick Response Code to be scanned, thus, in solving prior art, the less efficient technology of mobile terminal identification Quick Response Code is asked Topic, it is possible to increase speed of the mobile terminal to two-dimensional code scanning, improves Consumer's Experience.
Description of the drawings
In order to be illustrated more clearly that technical scheme of the invention or of the prior art, below will be to embodiment or prior art Needed for description, accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are the one of the present invention A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to these Accompanying drawing obtains other accompanying drawings.
A kind of schematic flow sheet of two-dimensional code scanning processing method that Fig. 1 is provided for one embodiment of the invention;
A kind of schematic flow sheet of two-dimensional code scanning processing method that Fig. 2 is provided for another embodiment of the present invention;
A kind of structural representation of mobile terminal that Fig. 3 is provided for one embodiment of the invention;
Fig. 4 is the entity structure schematic diagram of the mobile terminal that another embodiment of the present invention is provided.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the embodiment of the present invention in it is attached Figure, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention A part of embodiment, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of making creative work, belongs to the scope of protection of the invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " It is individual ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that arranging used in the description of the present invention Diction " including " refers to there is the feature, integer, step, operation, element and/or component, but it is not excluded that existing or adding One or more other features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that " first " and " second " in the embodiment of the present invention etc. is not to elder generation Regulation is sequentially made afterwards, and difference is simply made to title, in embodiments of the present invention, any restriction is not made.
Those skilled in the art of the present technique are appreciated that unless otherwise defined all terms used herein (include technology art Language and scientific terminology), with art of the present invention in those of ordinary skill general understanding identical meaning.Should also It is understood by, those terms defined in such as general dictionary, it should be understood that with the context with prior art The consistent meaning of meaning, and unless by specific definitions, otherwise will not be explained with idealization or excessively formal implication.
Fig. 1 shows a kind of schematic flow sheet of two-dimensional code scanning processing method that one embodiment of the invention is provided, this reality Apply in example, the executive agent of the method is mobile terminal, as shown in figure 1, the two-dimensional code scanning processing method of the present embodiment, specifically Comprise the steps:
101st, receive the trigger action being scanned to target Quick Response Code.
In a particular application, the step 101 can be specially:Receive user is to showing on user interface of mobile terminal The click commands of two-dimensional code scanning trigger button (button is virtual push button).Certainly, two-dimensional code scanning trigger button can also For some physical button on mobile terminal.
102nd, the size of the actual view-finder of mobile terminal camera is improved to the second setting value from the first setting value;Its In, first setting value is the size of the scan box shown in the user interface of the mobile terminal, second setting value More than the first setting value.
It should be noted that, in a particular application, the size of the actual view-finder is equal to the mobile terminal camera Scanning resolution is multiplied by sweeping of showing on the user interface of mobile terminal with the ratio of the resolution of the mobile terminal screen Retouch the size of frame.
It is understood that in the present embodiment, it is the big of the scan box that will show on the user interface of mobile terminal It is little as a radix, by the ratio of the scanning resolution of the mobile terminal camera and the resolution of the mobile terminal screen Value is multiplied by this radix, and then obtains the size of actual view-finder.
It should be noted that, in a particular application, by the size of the actual view-finder of mobile terminal camera from the first setting Value is improved to the second setting value, and after carrying out raising adjustment, the size of actual view-finder can be slightly larger than the scanning show in user interface The size of frame, but and can not be infinitely great, the imaging data found a view will certainly be caused more afterwards because actual view-finder is big, Parsing is got up, and interference is bigger, so necessarily having a predetermined threshold value, i.e., described second setting value is less than predetermined threshold value;It is described Predetermined threshold value needs the resolution supported according to the mobile terminal camera specifically to arrange, in general, described default Size of the threshold value less than the user interface of mobile terminal.
In a concrete application, the step 102 further can be specifically included:
The scanning resolution of mobile terminal camera is improved to second resolution from first resolution, wherein, described One resolution is that the mobile terminal camera pre-sets resolution for being scanned, and the first resolution is less than institute State second resolution.Thus, it is possible to realize the size of the actual view-finder of mobile terminal camera is improved from the first setting value To the second setting value;
In a particular application, close one of a resolution ratio and screen ratio can be taken out from mobile terminal camera Component resolution, for pre-setting the first resolution.
In another concrete application, the step 102 further can be specifically included:
The size of the scan box shown on the user interface of mobile terminal is improved to the 4th setting from the 3rd setting value Value, wherein, the 3rd setting value is the size that the scan box shown on the user interface of mobile terminal pre-sets, described 3rd setting value is less than the 4th setting value.Thus, it is possible to realize the size of the actual view-finder of mobile terminal camera from One setting value is improved to the second setting value;
In a particular application, the 3rd setting value can be pre-set according to the resolution of mobile terminal screen.
103rd, the target Quick Response Code is scanned using the actual view-finder after adjustment.
It should be noted that, the mobile terminal in the present embodiment can include:Smart mobile phone, personal digital assistant (Personal Digital Assistant, abbreviation PDA), panel computer etc. possess the intelligent terminal of photographic head.
It should be noted that, the data that mobile terminal camera camera is returned are to return number with the resolution that camare is arranged According to, mobile terminal intercepts the data that camera is returned with the size of actual view-finder when target Quick Response Code is scanned, after Platform scanning thread need not be arranged, and simply ceaselessly circulate from camera the data for returning and intercept, then parsed, until Successfully resolved.
Using the two-dimensional code scanning processing method of the present embodiment, user can not be directed at mobile terminal in target Quick Response Code and use When the scan box shown on the interface of family, actual view-finder can be fully retrieved target image in 2 D code data, and then Also just successfully parse, because background scanning thread is ceaselessly fetching data parsing from photographing unit.
The two-dimensional code scanning processing method of the present embodiment, executive agent is mobile terminal, by receiving to target two Dimension code be scanned trigger action when, by the size of the actual view-finder of mobile terminal camera from the first setting value improve to Second setting value, wherein, first setting value is the size of the scan box shown in the user interface of the mobile terminal, institute The second setting value is stated more than the first setting value, then the target Quick Response Code is swept using the actual view-finder after adjustment Retouch.As the size of the actual view-finder of mobile terminal can be adjusted to show slightly larger than in user interface by the present embodiment methods described The size of the scan box shown, can solve the less efficient technical problem of mobile terminal identification Quick Response Code in prior art, can Speed of the mobile terminal to two-dimensional code scanning is improved, Consumer's Experience is improved.
Fig. 2 shows a kind of schematic flow sheet of two-dimensional code scanning processing method that another embodiment of the present invention is provided, this In embodiment, the executive agent of the method is mobile terminal, as shown in Fig. 2 the two-dimensional code scanning processing method of the present embodiment, tool Body comprises the steps:
201st, receive the trigger action being scanned to target Quick Response Code.
In a particular application, the step 201 can be specially:Receive user is to showing on user interface of mobile terminal The click commands of two-dimensional code scanning trigger button (button is virtual push button).Certainly, two-dimensional code scanning trigger button can also For some physical button on mobile terminal.
202nd, judge whether the size of the actual view-finder of mobile terminal camera is less than the size of the target Quick Response Code.
If it is understood that judging to know the actual view-finder of mobile terminal camera by the step 202 Size is then swept to the target Quick Response Code using the actual view-finder more than or equal to the size of the target Quick Response Code Retouch.
If the 203, size of the size of the actual view-finder of mobile terminal camera less than the target Quick Response Code, will The size of the actual view-finder is improved to the second setting value from the first setting value;Wherein, first setting value is the shifting The size of the scan box shown in the user interface of dynamic terminal, second setting value are more than the first setting value.
It should be noted that, in a particular application, the size of the actual view-finder is equal to the mobile terminal camera Scanning resolution is multiplied by sweeping of showing on the user interface of mobile terminal with the ratio of the resolution of the mobile terminal screen Retouch the size of frame.
It is understood that in the present embodiment, it is the big of the scan box that will show on the user interface of mobile terminal It is little as a radix, by the ratio of the scanning resolution of the mobile terminal camera and the resolution of the mobile terminal screen Value is multiplied by this radix, and then obtains the size of actual view-finder.
It should be noted that, in a particular application, by the size of the actual view-finder of mobile terminal camera from the first setting Value is improved to the second setting value, and after carrying out raising adjustment, the size of actual view-finder can be slightly larger than the scanning show in user interface The size of frame, but and can not be infinitely great, the imaging data found a view will certainly be caused more afterwards because actual view-finder is big, Parsing is got up, and interference is bigger, so necessarily having a predetermined threshold value, i.e., described second setting value is less than predetermined threshold value;It is described Predetermined threshold value needs the resolution supported according to the mobile terminal camera specifically to arrange, in general, described default Size of the threshold value less than the user interface of mobile terminal.
In a concrete application, the step 203 further can be specifically included:
If the size of the actual view-finder of mobile terminal camera is less than the size of the target Quick Response Code, will be mobile The scanning resolution of terminal camera is improved to second resolution from first resolution, wherein, the first resolution is described Mobile terminal camera pre-sets the resolution for being scanned, and the first resolution is less than the second resolution. Thus, it is possible to realize the size of the actual view-finder of mobile terminal camera is improved to the second setting value from the first setting value;
In a particular application, close one of a resolution ratio and screen ratio can be taken out from mobile terminal camera Component resolution, for pre-setting the first resolution.
In another concrete application, the step 203 further can be specifically included:
If the size of the actual view-finder of mobile terminal camera, will be described less than the size of the target Quick Response Code The size of the scan box shown on user interface of mobile terminal is improved to the 4th setting value from the 3rd setting value, wherein, described Three setting values are the size that the scan box shown on the user interface of mobile terminal pre-sets, and the 3rd setting value is less than 4th setting value.Thus, it is possible to realize by the size of the actual view-finder of mobile terminal camera from the first setting value improve to Second setting value;
In a particular application, the 3rd setting value can be pre-set according to the resolution of mobile terminal screen.
204th, the target Quick Response Code is scanned using the actual view-finder after adjustment.
It should be noted that, the mobile terminal in the present embodiment can include:Smart mobile phone, personal digital assistant PDA, flat board Computer etc. possesses the intelligent terminal of photographic head.
It should be noted that, the data that mobile terminal camera camera is returned are to return number with the resolution that camare is arranged According to, mobile terminal intercepts the data that camera is returned with the size of actual view-finder when target Quick Response Code is scanned, after Platform scanning thread need not be arranged, and simply ceaselessly circulate from camera the data for returning and intercept, then parsed, until Successfully resolved.
Using the two-dimensional code scanning processing method of the present embodiment, user can not be directed at mobile terminal in target Quick Response Code and use When the scan box shown on the interface of family, actual view-finder can be fully retrieved target image in 2 D code data, and then Also just successfully parse, because background scanning thread is ceaselessly fetching data parsing from photographing unit.
The two-dimensional code scanning processing method of the present embodiment, executive agent is mobile terminal, due to the present embodiment methods described The size of the actual view-finder of mobile terminal can be adjusted to the size slightly larger than the scan box shown in user interface, can be solved Certainly in prior art, mobile terminal recognizes the less efficient technical problem of Quick Response Code, it is possible to increase mobile terminal is to two-dimensional code scanning Speed, improve Consumer's Experience.
Fig. 3 shows a kind of structural representation of mobile terminal that one embodiment of the invention is provided, as shown in figure 3, this reality The mobile terminal of example is applied, including:Receiver module 31, adjusting module 32 and scan module 33;Wherein:
The receiver module 31 is used to receive the trigger action for being scanned target Quick Response Code;
The adjusting module 32 is for the size of the actual view-finder of mobile terminal camera is improved from the first setting value To the second setting value;Wherein, first setting value is the size of the scan box shown in the user interface of the mobile terminal, Second setting value is more than the first setting value;
The scan module 33 is used to be scanned the target Quick Response Code using the actual view-finder after adjustment.
It will be appreciated that after receiver module 31 receives the trigger action being scanned to target Quick Response Code, adjusting mould The size of the actual view-finder of mobile terminal camera is improved to the second setting value by block 32 from the first setting value;Wherein, it is described First setting value is the size of the scan box shown in the user interface of the mobile terminal, and second setting value is more than first Setting value, scan module 33 are scanned to the target Quick Response Code using the actual view-finder after adjustment.
In a particular application, the receiver module 31 can be specifically for receive user to showing on user interface of mobile terminal Two-dimensional code scanning trigger button (button be virtual push button) click commands.Certainly, two-dimensional code scanning trigger button also may be used Think some physical button on mobile terminal.
In a particular application, mobile terminal described in the present embodiment can also be included not shown in figure:
Judge module, for judging the size of the actual view-finder of mobile terminal camera whether less than target two dimension The size of code, if it is, the triggering adjusting module.
It is understood that the judge module, it may also be used for
If judgement knows that the size of the actual view-finder of mobile terminal camera is big more than or equal to the target Quick Response Code It is little, then the target Quick Response Code is scanned using the actual view-finder.
It should be noted that, in a particular application, the size of the actual view-finder is equal to the mobile terminal camera Scanning resolution is multiplied by sweeping of showing on the user interface of mobile terminal with the ratio of the resolution of the mobile terminal screen Retouch the size of frame.
It is understood that in the present embodiment, it is the big of the scan box that will show on the user interface of mobile terminal It is little as a radix, by the ratio of the scanning resolution of the mobile terminal camera and the resolution of the mobile terminal screen Value is multiplied by this radix, and then obtains the size of actual view-finder.
It should be noted that, in a particular application, the adjusting module 32 is by the actual view-finder of mobile terminal camera Size is improved to the second setting value from the first setting value, and after carrying out raising adjustment, the size of actual view-finder can be slightly larger than user circle The size of the scan box shown on face, but and can not be infinitely great, because actual view-finder is big will certainly to cause to find a view afterwards Imaging data it is more, parsing get up interference it is bigger, so necessarily having a predetermined threshold value, i.e., described second setting value is little In predetermined threshold value;The predetermined threshold value needs the resolution supported according to the mobile terminal camera specifically to arrange, and one As for, the predetermined threshold value less than the user interface of mobile terminal size.
In a concrete application, the adjusting module 32 can be specifically for
The scanning resolution of mobile terminal camera is improved to second resolution from first resolution, wherein, described One resolution is that the mobile terminal camera pre-sets resolution for being scanned, and the first resolution is less than institute State second resolution.
In a particular application, close one of a resolution ratio and screen ratio can be taken out from mobile terminal camera Component resolution, for pre-setting the first resolution.
In another concrete application, the adjusting module 32 can be specifically for
The size of the scan box shown on the user interface of mobile terminal is improved to the 4th setting from the 3rd setting value Value, wherein, the 3rd setting value is the size that the scan box shown on the user interface of mobile terminal pre-sets, described 3rd setting value is less than the 4th setting value.
In a particular application, the 3rd setting value can be pre-set according to the resolution of mobile terminal screen.
It should be noted that, the mobile terminal in the present embodiment can include:Smart mobile phone, personal digital assistant PDA, flat board Computer etc. possesses the intelligent terminal of photographic head.
It should be noted that, the data that mobile terminal camera camera is returned are to return number with the resolution that camare is arranged According to, mobile terminal intercepts the data that camera is returned with the size of actual view-finder when target Quick Response Code is scanned, after Platform scanning thread need not be arranged, and simply ceaselessly circulate from camera the data for returning and intercept, then parsed, until Successfully resolved.
Using the mobile terminal of the present embodiment, user can not be aligned on user interface of mobile terminal in target Quick Response Code and show When the scan box shown, actual view-finder can be fully retrieved target image in 2 D code data, and then also just successfully solve Analyse, because background scanning thread is ceaselessly fetching data parsing from photographing unit.
According to above it will be appreciated that the mobile terminal of the present embodiment is received by receiver module 31 and target Quick Response Code is swept The size of the actual view-finder of mobile terminal camera is improved to by the trigger action retouched, adjusting module 32 from the first setting value Two setting values;Wherein, first setting value is the size of the scan box shown in the user interface of the mobile terminal, described Second setting value is more than the first setting value, and scan module 33 is carried out to the target Quick Response Code using the actual view-finder after adjustment Scanning, as the mobile terminal of the present embodiment can be adjusted to the size of actual view-finder slightly larger than sweeping for showing in user interface The size of frame is retouched, the less efficient technical problem of mobile terminal identification Quick Response Code in prior art can be solved, it is possible to increase move The speed of dynamic terminal-pair two-dimensional code scanning, improves Consumer's Experience.
Fig. 4 shows a kind of entity structure schematic diagram of mobile terminal, as shown in figure 4, the mobile terminal can include:Extremely Few processor 41, at least one memorizer 43 and a bus 44;Wherein,
The processor 41, memorizer 43 complete mutual communication by the bus 44;
The memorizer 43 is stored with the programmed instruction that can be performed by the processor 41, and the processor 41 can be called Described program is instructed, and to perform the method provided by above-mentioned each method embodiment, for example, is included:Reception is carried out to target Quick Response Code The trigger action of scanning;The size of the actual view-finder of mobile terminal camera is improved to the second setting from the first setting value Value;Wherein, first setting value is the size of the scan box shown in the user interface of the mobile terminal, and described second sets Definite value is more than the first setting value;Actual view-finder after using adjustment is scanned to the target Quick Response Code.
The embodiment of the present invention discloses a kind of computer program, and the computer program includes being stored in non-transient Computer program on computer-readable recording medium, the computer program include programmed instruction, when described program instructs quilt When computer is performed, computer is able to carry out the method provided by above-mentioned each method embodiment, for example, include:Receive to target two The trigger action that dimension code is scanned;The size of the actual view-finder of mobile terminal camera is improved to from the first setting value Two setting values;Wherein, first setting value is the size of the scan box shown in the user interface of the mobile terminal, described Second setting value is more than the first setting value;Actual view-finder after using adjustment is scanned to the target Quick Response Code.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage Medium storing computer is instructed, and the computer instruction makes the computer perform the side provided by above-mentioned each method embodiment Method, for example, include:The trigger action that reception is scanned to target Quick Response Code;By the actual view-finder of mobile terminal camera Size is improved to the second setting value from the first setting value;Wherein, first setting value is the user interface of the mobile terminal The size of the scan box of upper display, second setting value are more than the first setting value;Actual view-finder after using adjustment is to institute State target Quick Response Code to be scanned.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in a computer read/write memory medium the related hardware of programmed instruction, the program Upon execution, perform the step of including said method embodiment;And aforesaid storage medium includes:It is USB flash disk, portable hard drive, read-only Memorizer (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Device embodiment described above is only schematic, wherein the unit as separating component explanation/ Module can be or may not be physically separate, as the part that units/modules show can be or can also It is not physical location/module, you can local to be located at one, or can also be distributed on multiple NEs.Can basis Actual needs selection some or all of module therein to realize the purpose of this embodiment scheme.Ordinary skill people Member is not in the case where performing creative labour is paid, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can By software plus required general hardware platform mode realizing, naturally it is also possible to by hardware.Based on such understanding, on State the part that technical scheme substantially contributes prior art in other words to embody in the form of software product, should Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Order is used so that a computer equipment (can be personal computer, server, or network equipment etc.) performs each enforcement Method described in some parts of example or embodiment.
Finally it should be noted that:Above example only to illustrate technical scheme, rather than a limitation;Although With reference to the foregoing embodiments the present invention has been described in detail, it will be understood by those within the art that:Which still may be used To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (12)

1. a kind of two-dimensional code scanning processing method, it is characterised in that include:
The trigger action that reception is scanned to target Quick Response Code;
The size of the actual view-finder of mobile terminal camera is improved to the second setting value from the first setting value;Wherein, it is described First setting value is the size of the scan box shown in the user interface of the mobile terminal, and second setting value is more than first Setting value;
Actual view-finder after using adjustment is scanned to the target Quick Response Code.
2. method according to claim 1, it is characterised in that in the actual view-finder by mobile terminal camera Size is improved to before the second setting value from the first setting value, and methods described also includes:
Judge whether the size of the actual view-finder of mobile terminal camera is less than the size of the target Quick Response Code, if it is, The size for then performing the actual view-finder by mobile terminal camera is improved from the first setting value to the step of the second setting value Suddenly.
3. method according to claim 1, it is characterised in that the size of the actual view-finder is equal to the mobile terminal The scanning resolution of photographic head is multiplied by the user interface of mobile terminal with the ratio of the resolution of the mobile terminal screen The size of the scan box of display.
4. method according to claim 3, it is characterised in that the actual view-finder by mobile terminal camera it is big It is little to improve to the second setting value from the first setting value, including:
The scanning resolution of mobile terminal camera is improved to second resolution from first resolution, wherein, described first point Resolution is that the mobile terminal camera pre-sets resolution for being scanned, and the first resolution is less than described the Two resolution.
5. method according to claim 3, it is characterised in that the actual view-finder by mobile terminal camera it is big It is little to improve to the second setting value from the first setting value, including:
The size of the scan box shown on the user interface of mobile terminal is improved to the 4th setting value from the 3rd setting value, its In, the 3rd setting value is the size that the scan box shown on the user interface of mobile terminal pre-sets, the described 3rd Setting value is less than the 4th setting value.
6. the method according to any one of claim 1-5, it is characterised in that second setting value is less than default threshold Value.
7. a kind of mobile terminal, it is characterised in that include:
Receiver module, for receiving the trigger action being scanned to target Quick Response Code;
Adjusting module, for the size of the actual view-finder of mobile terminal camera is improved to the second setting from the first setting value Value;Wherein, first setting value is the size of the scan box shown in the user interface of the mobile terminal, and described second sets Definite value is more than the first setting value;
Scan module, for adopting the actual view-finder after adjustment to be scanned the target Quick Response Code.
8. mobile terminal according to claim 7, it is characterised in that also include:
Judge module, for judging the size of the actual view-finder of mobile terminal camera whether less than the target Quick Response Code Size, if it is, the triggering adjusting module.
9. mobile terminal according to claim 7, it is characterised in that the size of the actual view-finder is equal to the movement The scanning resolution of terminal camera is multiplied by mobile phone users circle with the ratio of the resolution of the mobile terminal screen The size of the scan box shown on face.
10. mobile terminal according to claim 9, it is characterised in that the adjusting module, specifically for
The scanning resolution of mobile terminal camera is improved to second resolution from first resolution, wherein, described first point Resolution is that the mobile terminal camera pre-sets resolution for being scanned, and the first resolution is less than described the Two resolution.
11. mobile terminals according to claim 9, it is characterised in that the adjusting module, specifically for
The size of the scan box shown on the user interface of mobile terminal is improved to the 4th setting value from the 3rd setting value, its In, the 3rd setting value is the size that the scan box shown on the user interface of mobile terminal pre-sets, the described 3rd Setting value is less than the 4th setting value.
12. mobile terminals according to any one of claim 7-11, it is characterised in that second setting value is less than pre- If threshold value.
CN201610911456.2A 2016-10-19 2016-10-19 Two-dimensional code scanning processing method and mobile terminal thereof Pending CN106570437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610911456.2A CN106570437A (en) 2016-10-19 2016-10-19 Two-dimensional code scanning processing method and mobile terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610911456.2A CN106570437A (en) 2016-10-19 2016-10-19 Two-dimensional code scanning processing method and mobile terminal thereof

Publications (1)

Publication Number Publication Date
CN106570437A true CN106570437A (en) 2017-04-19

Family

ID=58533491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610911456.2A Pending CN106570437A (en) 2016-10-19 2016-10-19 Two-dimensional code scanning processing method and mobile terminal thereof

Country Status (1)

Country Link
CN (1) CN106570437A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886020A (en) * 2017-10-17 2018-04-06 北京三快在线科技有限公司 A kind of method and apparatus of barcode scanning
CN110765799A (en) * 2019-10-21 2020-02-07 高新兴科技集团股份有限公司 Client code scanning identification method, device, equipment and storage medium
WO2021197132A1 (en) * 2020-04-03 2021-10-07 支付宝(杭州)信息技术有限公司 Identification methods and apparatus
CN113593136A (en) * 2021-07-13 2021-11-02 杭州海康威视数字技术股份有限公司 Non-contact pickup method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729610A (en) * 2013-12-24 2014-04-16 北京握奇智能科技有限公司 Two-dimension code focusing displaying method and system
CN104363400A (en) * 2014-10-29 2015-02-18 广东欧珀移动通信有限公司 Method and device for scanning local two-dimensional codes
CN104850835A (en) * 2015-05-13 2015-08-19 杭州朗和科技有限公司 Scanning method and scanning terminal
CN105184203A (en) * 2015-06-29 2015-12-23 努比亚技术有限公司 Method and device for mobile terminal to scan two-dimension code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729610A (en) * 2013-12-24 2014-04-16 北京握奇智能科技有限公司 Two-dimension code focusing displaying method and system
CN104363400A (en) * 2014-10-29 2015-02-18 广东欧珀移动通信有限公司 Method and device for scanning local two-dimensional codes
CN104850835A (en) * 2015-05-13 2015-08-19 杭州朗和科技有限公司 Scanning method and scanning terminal
CN105184203A (en) * 2015-06-29 2015-12-23 努比亚技术有限公司 Method and device for mobile terminal to scan two-dimension code

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886020A (en) * 2017-10-17 2018-04-06 北京三快在线科技有限公司 A kind of method and apparatus of barcode scanning
CN107886020B (en) * 2017-10-17 2019-03-08 北京三快在线科技有限公司 A kind of method and apparatus of barcode scanning
CN110765799A (en) * 2019-10-21 2020-02-07 高新兴科技集团股份有限公司 Client code scanning identification method, device, equipment and storage medium
CN110765799B (en) * 2019-10-21 2023-05-02 高新兴科技集团股份有限公司 Client code scanning identification method, device, equipment and storage medium
WO2021197132A1 (en) * 2020-04-03 2021-10-07 支付宝(杭州)信息技术有限公司 Identification methods and apparatus
CN113593136A (en) * 2021-07-13 2021-11-02 杭州海康威视数字技术股份有限公司 Non-contact pickup method, device and system

Similar Documents

Publication Publication Date Title
CN108924420B (en) Image shooting method, image shooting device, image shooting medium, electronic equipment and model training method
US8463025B2 (en) Distributed artificial intelligence services on a cell phone
CN106570437A (en) Two-dimensional code scanning processing method and mobile terminal thereof
CN102918545B (en) For the method and apparatus of visual search stability
CN105975553B (en) Photographing search method and device
CN103152489A (en) Showing method and device for self-shooting image
CN104509092B (en) Control the method and related computing devices and computer-readable recording medium of camera
US20170163902A1 (en) Method and electronic device for generating high dynamic range image
CN109120862A (en) High-dynamic-range image acquisition method, device and mobile terminal
CN104143105A (en) Graph recognition method, device and system and terminal device
CN102148917A (en) Display processing apparatus
CN107835370A (en) A kind of camera switching method, device and electronic equipment
CN104967786A (en) Image selection method and device
CN105955626A (en) Photographing search method and device
CN106407868A (en) Two-dimensional scanning processing method and mobile terminal
CN109358927B (en) Application program display method and device and terminal equipment
CN110838088B (en) Multi-frame noise reduction method and device based on deep learning and terminal equipment
CN103139521B (en) Image acquisition and choosing method and image collecting device
CN107329791A (en) Method, device and the computer-readable recording medium of application are installed in scanning
CN106155593A (en) A kind of method and system deleting photo based on shooting quality
CN105120153A (en) Image photographing method and device
CN112948048A (en) Information processing method, information processing device, electronic equipment and storage medium
WO2023174297A1 (en) Screen control method and apparatus, and electronic device
US20230222639A1 (en) Data processing method, system, and apparatus
CN115797267A (en) Image quality evaluation method, system, electronic device, and storage medium

Legal Events

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

Application publication date: 20170419

WD01 Invention patent application deemed withdrawn after publication