CN106407868A - Two-dimensional scanning processing method and mobile terminal - Google Patents

Two-dimensional scanning processing method and mobile terminal Download PDF

Info

Publication number
CN106407868A
CN106407868A CN201610743067.3A CN201610743067A CN106407868A CN 106407868 A CN106407868 A CN 106407868A CN 201610743067 A CN201610743067 A CN 201610743067A CN 106407868 A CN106407868 A CN 106407868A
Authority
CN
China
Prior art keywords
resolution
mobile terminal
scanning
photographic head
default
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
CN201610743067.3A
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 CN201610743067.3A priority Critical patent/CN106407868A/en
Publication of CN106407868A publication Critical patent/CN106407868A/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/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1478Methods for optical code recognition the method including quality enhancement steps adapting the threshold for pixels in a CMOS or CCD pixel sensor for black and white recognition
    • 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

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (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)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a two-dimensional scanning processing method and a mobile terminal. The method comprises steps that triggering operation for scanning a target two-dimensional code is received; if a first resolution is determined to satisfy preset rules, a scanning resolution of a camera of the mobile terminal is reduced from the first resolution to a second resolution; the first resolution is a default resolution of the camera of the mobile terminal for scanning, and the second resolution is lower than the first resolution; the second resolution is employed to scan the target two-dimensional code. The method is advantaged in that an identification speed of the mobile terminal for identifying the two-dimensional code can be improved, and user experience is improved.

Description

Two-dimensional code scanning processing method and mobile terminal
Technical field
The present embodiments relate to intelligent terminal and two-dimensional code scanning technical field, at 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, using on mobile terminal in daily life The frequency more and more higher to carry out two-dimensional code scanning for the photographic head, 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 carrying out two-dimensional code scanning, acquiescence is using the highest resolution of the photographic head of mobile terminal for mobile terminal (i.e. highest take pictures pixel), such as 3876 × 2584 (10,000,000 pixels), 3072 × 2304 (7,000,000 pixels), 2580 × 1936 (5,000,000 pixel), 1920 × 1080 (2,000,000 pixels) etc..
During realizing the embodiment of the present invention, inventor finds, because resolution is for measuring in bitmap images A how many parameter of data volume, represents the pixel that inches comprise, and scans pattern in 2 D code using this highest resolution When the quantity of information of pattern in 2 D code that obtains larger, lead to mobile terminal when identifying to the quantity of information of pattern in 2 D code further Recognition speed is compared with slow so that Consumer's Experience is poor.
In consideration of it, how to improve the recognition speed to Quick Response Code for the mobile terminal, raising Consumer's Experience becomes to be needed to solve at present Technical problem certainly.
Content of the invention
For defect of the prior art, the embodiment of the present invention provides a kind of two-dimensional code scanning processing method and moves eventually End, in order to solve in prior art, mobile terminal recognition speed when being identified to Quick Response Code is slower, and Consumer's Experience is poor Problem, it is possible to increase the recognition speed that mobile terminal is identified to Quick Response Code, improves Consumer's Experience.
For solving 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:
Receive the trigger action that target Quick Response Code is scanned;
If judging to know that first resolution meets preset rules, by the scanning resolution of the photographic head of mobile terminal from institute State first resolution and be reduced to second resolution;Wherein, described first resolution is the photographic head acquiescence use of described mobile terminal In the resolution being scanned, described second resolution is less than described first resolution;
Using described second resolution, described target Quick Response Code is scanned.
Optionally, if described judge to know that first resolution meets preset rules, by sweeping of the photographic head of mobile terminal Retouch resolution and be reduced to second resolution from described first resolution, including:
If judging to know that described first resolution is more than or equal to default resolution threshold, by the photographic head of mobile terminal Scanning resolution be reduced to second resolution from first resolution;
Wherein, described second resolution is less than described default resolution threshold.
Optionally, methods described also includes:
If judging to know that described first resolution is less than default resolution threshold, by the scanning of the photographic head of mobile terminal Resolution is maintained described first resolution.
Optionally, described default resolution threshold is 1280 × 720.
Optionally, if described judge to know that first resolution meets preset rules, by sweeping of the photographic head of mobile terminal Retouch resolution and be reduced to second resolution from described first resolution, including:
Show multiple available resolution to user, these resolution are respectively less than described first resolution;
If receiving the selection instruction of user input, using selected for described selection instruction resolution as the second resolution Rate, and the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution.
Optionally, the photographic head of described mobile terminal is given tacit consent to for the resolution being scanned is taking the photograph of described mobile terminal Highest resolution as head.
The embodiment of the present invention provides a kind of mobile terminal, including:
Receiver module, for receiving the trigger action that target Quick Response Code is scanned;
Adjusting module, if for judging to know that first resolution meets preset rules, by the photographic head of mobile terminal Scanning resolution is reduced to second resolution from described first resolution;Wherein, described first resolution is described mobile terminal Photographic head give tacit consent to resolution for being scanned, described second resolution is less than described first resolution;
First scan module, for being scanned to described target Quick Response Code using described second resolution.
Optionally, described adjusting module, specifically for
If judging to know that described first resolution is more than or equal to default resolution threshold, by the photographic head of mobile terminal Scanning resolution be reduced to second resolution from first resolution;
Wherein, described second resolution is less than described default resolution threshold.
Optionally, described mobile terminal also includes:
Second scan module, if for judging to know that described first resolution is less than default resolution threshold, will move The scanning resolution of the photographic head of terminal is maintained described first resolution.
Optionally, described default resolution threshold is 1280 × 720.
Optionally, described adjusting module, specifically for
Show multiple available resolution to user, these resolution are respectively less than described first resolution;
If receiving the selection instruction of user input, using selected for described selection instruction resolution as the second resolution Rate, and the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution.
Optionally, the photographic head of described mobile terminal is given tacit consent to for the resolution being scanned is taking the photograph of described mobile terminal Highest resolution as head.
As shown from the above technical solution, two-dimensional code scanning processing method provided in an embodiment of the present invention and mobile terminal, leads to Cross when receiving the trigger action that target Quick Response Code is scanned, judge the photographic head of described mobile terminal give tacit consent to be used for into Whether the first resolution of row scanning meets preset rules, when described first resolution meets preset rules, by mobile terminal The scanning resolution of photographic head be reduced to second resolution from described first resolution, wherein, described second resolution is less than Described first resolution, and described target Quick Response Code is scanned identify using described second resolution, thereby, it is possible to improve The recognition speed that mobile terminal is identified to Quick Response Code, improves Consumer's Experience.
Brief description
In order to be illustrated more clearly that the present invention or technical scheme of the prior art, below will be to embodiment or prior art In description the accompanying drawing of required use be 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 also be 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 provides for one embodiment of the invention;
A kind of structural representation of mobile terminal that Fig. 2 provides for one embodiment of the invention;
Fig. 3 is the entity structure schematic diagram of the mobile terminal that another embodiment of the present invention provides.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention 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 whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having The every other embodiment being obtained under the premise of making creative work, broadly falls into 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, " 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 " inclusion " refers to there is described feature, integer, step, operation, element and/or assembly, but it is not excluded that existing or adding Other features one or more, integer, step, operation, element, assembly 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 Sequentially make regulation afterwards, simply title is made with difference, in embodiments of the present invention, does not make any restriction.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (include technology art Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Also should Be understood by, those terms defined in such as general dictionary it should be understood that have with the context of prior art in 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 provides, 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 that target Quick Response Code is scanned.
In a particular application, described step 101 can be specially:The two dimension to display on mobile terminal screen for the receive user The click commands of code scanning trigger button (this button is virtual push button).Certainly, two-dimensional code scanning trigger button can also be for moving Some physical button in dynamic terminal.
If 102 judge to know that first resolution meets preset rules, by the scanning resolution of the photographic head of mobile terminal It is reduced to second resolution from described first resolution.
Wherein, described first resolution is that the photographic head of described mobile terminal gives tacit consent to resolution for being scanned, institute State second resolution and be less than described first resolution.
It should be noted that, it is described that the described mobile terminal camera of the present embodiment is given tacit consent to for the resolution being scanned The highest resolution of mobile terminal camera, such as 3876 × 2584 (10,000,000 pixels), 3072 × 2304 (7,000,000 pixels), 2580 × 1936 (5,000,000 pixels), 1920 × 1080 (2,000,000 pixels), 640 × 480 (300,000 pixels) etc..
In a particular application, " if judging to know that first resolution meets preset rules, will move in described step 102 The scanning resolution of the photographic head of dynamic terminal is reduced to second resolution from described first resolution ", can include:
If judging to know that described first resolution is more than or equal to default resolution threshold, by the photographic head of mobile terminal Scanning resolution be reduced to second resolution from first resolution.
In a particular application, default resolution threshold described in the present embodiment is to identify target two dimension in consideration mobile terminal Choose after the speed of code pattern-information, that is, described default resolution threshold can correspond to one and identify that target pattern in 2 D code is believed The threshold speed (identifying the minimum speed of target pattern in 2 D code information) of breath;For example, described default resolution threshold Value can be 1280 × 720.
It is understood that if described first resolution is more than or equal to default resolution threshold, mobile terminal is adopting First resolution is scanned to target Quick Response Code identifying that the speed of target pattern in 2 D code information can be slow during identification, this Embodiment is when first resolution is more than or equal to default resolution threshold by the scanning resolution fall of the photographic head of mobile terminal Low, it is the speed identifying target pattern in 2 D code information in order to improve mobile terminal.
It should be noted that, described second resolution can be pre-set according to practical situation, described second resolution Less than described default resolution threshold and need to be to can recognize that the resolution of target pattern in 2 D code information, i.e. the present embodiment Mobile terminal is scanned to described target Quick Response Code during identification identifying target pattern in 2 D code using described second resolution The speed of information can be more than described threshold speed, both can ensure that mobile terminal camera adopted described second resolution can know Do not go out the information that Quick Response Code comprises, can ensure that described second resolution is sufficiently low again.
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.
103rd, using described second resolution, described target Quick Response Code is scanned.
It will be appreciated that usual mobile terminal camera needs Quick Response Code is identified after carrying out two-dimensional code scanning, In identification, can first obtain the image in 2 D code of transverse screen, need the image in 2 D code of this transverse screen to be carried out horizontal/vertical screen conversion, to obtain Obtain the image in 2 D code of portrait layout, mobile terminal camera also needs to the Quick Response Code to the portrait layout obtaining when carrying out Quick Response Code identification Image carries out gray processing process, image distortion correction, binary conversion treatment, filters denoising, finds three detection figures, bases The center detecting figure determines the anglec of rotation, image rotation, sets up sampling microwave network, obtains number according to rectification figure and positioning figure Process operation, particularly gray processing process, binary conversion treatment, filtration according to matrix, to decoding data in data matrix etc. Denoising etc. is all to need all pixels point in the image obtaining to be processed, because resolution is for measuring bitmap A how many parameter of data volume in image, represents the pixel that inches comprise, and the scanning of mobile terminal camera is differentiated Rate is bigger, carries out needing data volume to be processed bigger during Quick Response Code identification using mobile terminal camera, mobile terminal images The scanning resolution of head is less, carries out needing data volume to be processed less during Quick Response Code identification using mobile terminal camera. Therefore, the two-dimensional code scanning processing method of the present embodiment carries out Quick Response Code identification precisely in order to reducing using mobile terminal camera When need data volume to be processed, and then employ reduce mobile terminal camera scanning resolution method.
The two-dimensional code scanning processing method of the present embodiment, executive agent is mobile terminal, by carrying out two dimension receiving Code scanning trigger action when, judge mobile terminal camera give tacit consent to whether meet for the first resolution being scanned default Whether rule (judges described first resolution higher than default resolution threshold), meets preset rules in described first resolution When (i.e. described first resolution be higher than default resolution threshold), by the scanning resolution of mobile terminal camera from described first Resolution is reduced to second resolution, and wherein, described second resolution is less than described first resolution, and adopts described second point Resolution is scanned to described target Quick Response Code, and the present embodiment methods described is carried out due to the pixel employing relatively low resolution Two-dimensional code scanning, thereby, it is possible to improve the recognition speed that mobile terminal is identified to Quick Response Code, improves Consumer's Experience.
In a particular application, the two-dimensional code scanning processing method of the present embodiment, can also include:
If judging to know that described first resolution is less than default resolution threshold, by the scanning of the photographic head of mobile terminal Resolution is maintained described first resolution.
In a particular application, " if judging to know that first resolution meets preset rules, will move in described step 102 The scanning resolution of dynamic terminal camera is reduced to second resolution from described first resolution ", can include:
Show multiple available resolution to user, these resolution are respectively less than described first resolution;
If receiving the selection instruction of user input, using selected for described selection instruction resolution as the second resolution Rate, and the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution.
The two-dimensional code scanning processing method of the present embodiment, the pixel employing relatively low resolution carries out two-dimensional code scanning, The recognition speed that mobile terminal is identified to Quick Response Code can be improved, improve Consumer's Experience.
Fig. 2 shows a kind of structural representation of mobile terminal that one embodiment of the invention provides, as shown in Fig. 2 this reality Apply the mobile terminal of example, including:Receiver module 21, adjusting module 22 and the first scan module 23;Wherein:
Described receiver module 21 is used for receiving the trigger action that target Quick Response Code is scanned;
If described adjusting module 22 is used for judging to know that first resolution meets preset rules, by the shooting of mobile terminal The scanning resolution of head is reduced to second resolution from described first resolution;Wherein, described first resolution is described movement The photographic head of terminal gives tacit consent to the resolution for being scanned, and described second resolution is less than described first resolution;
Described first scan module 23 is used for described target Quick Response Code being scanned identify using described second resolution.
It will be appreciated that after receiver module 21 receives the trigger action that target Quick Response Code is scanned, adjusting mould If block 22 judges to know that first resolution meets preset rules, by the scanning resolution of the photographic head of mobile terminal from described the One resolution is reduced to second resolution, wherein, described first resolution be described mobile terminal photographic head give tacit consent to be used for into The resolution of row scanning, described second resolution is less than described first resolution, and the first scan module 23 adopts described second point Resolution is scanned to described target Quick Response Code identifying.
In a particular application, described receiver module 21 can be specifically for receive user to display on mobile terminal screen two Dimension code scans the click commands of trigger button (this button is virtual push button).Certainly, two-dimensional code scanning trigger button can also be Some physical button on mobile terminal.
In a particular application, described adjusting module 22 can be specifically for
If judging to know that described first resolution is more than or equal to default resolution threshold, by the photographic head of mobile terminal Scanning resolution be reduced to second resolution from first resolution.
In a particular application, default resolution threshold described in the present embodiment is to identify target two dimension in consideration mobile terminal Choose after the speed of code pattern-information, that is, described default resolution threshold can correspond to one and identify that target pattern in 2 D code is believed The threshold speed (identifying the minimum speed of target pattern in 2 D code information) of breath;For example, described default resolution threshold Value can be 1280 × 720.
It is understood that if described first resolution is more than or equal to default resolution threshold, mobile terminal is adopting First resolution is scanned to target Quick Response Code identifying that the speed of target pattern in 2 D code information can be slow during identification, this Embodiment is when first resolution is more than or equal to default resolution threshold by the scanning resolution fall of the photographic head of mobile terminal Low, it is the speed identifying target pattern in 2 D code information in order to improve mobile terminal.
It should be noted that, it is described that the described mobile terminal camera of the present embodiment is given tacit consent to for the resolution being scanned The highest resolution of mobile terminal camera, such as 3876 × 2584 (10,000,000 pixels), 3072 × 2304 (7,000,000 pixels), 2580 × 1936 (5,000,000 pixels), 1920 × 1080 (2,000,000 pixels), 640 × 480 (300,000 pixels) etc..
It should be noted that, described second resolution can be pre-set according to practical situation, described second resolution Less than described default resolution threshold and need to be to can recognize that the resolution of target pattern in 2 D code information, i.e. the present embodiment Mobile terminal is scanned to described target Quick Response Code during identification identifying target pattern in 2 D code using described second resolution The speed of information can be more than described threshold speed, both can ensure that mobile terminal camera adopted described second resolution can know Do not go out the information that Quick Response Code comprises, can ensure that described second resolution is sufficiently low again.
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.
In a particular application, described mobile terminal can also include unshowned second scan module of in figure:
Described second scan module, if for judging to know that described first resolution is less than default resolution threshold, will The scanning resolution of the photographic head of mobile terminal is maintained described first resolution.
In a particular application, described adjusting module 22 can be specifically for
Show multiple available resolution to user, these resolution are respectively less than described first resolution;
If receiving the selection instruction of user input, using selected for described selection instruction resolution as the second resolution Rate, and the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution.
It will be appreciated that usual mobile terminal camera is when carrying out two-dimensional code scanning identification, can first obtain the two of transverse screen Dimension code image, needs for the image in 2 D code of this transverse screen to carry out horizontal/vertical screen conversion, to obtain the image in 2 D code of portrait layout, mobile whole End photographic head also needs to when carrying out two-dimensional code scanning identification carry out gray processing process, figure to the image in 2 D code of the portrait layout obtaining Image distortion correction, binary conversion treatment, filtration denoising, searching three detect figures, are determined according to the center detecting figure and revolve Gyration, image rotation, according to correct figure and positioning figure set up sampling microwave network, obtain data matrix, in data matrix Decoding data etc. process operation, particularly gray processing processs, binary conversion treatment, to filter denoising etc. be all that needs are right All pixels point in the image obtaining is processed, due to resolution be for measure that in bitmap images, data volume is how many one Individual parameter, represents the pixel that inches comprise, and the scanning resolution of mobile terminal camera is bigger, is taken the photograph using mobile terminal As head carry out two-dimensional code scanning identification when need data volume to be processed bigger, the scanning resolution of mobile terminal camera is got over Little, carry out needing data volume to be processed less during two-dimensional code scanning identification using mobile terminal camera.Therefore, the present embodiment Mobile terminal precisely in order to reduce using mobile terminal camera carry out two-dimensional code scanning identification when need data volume to be processed, And then the scanning resolution of mobile terminal camera is reduced by described adjusting module.
According to above it will be appreciated that, the mobile terminal of the present embodiment, received by receiver module and target Quick Response Code is scanned Trigger action, adjusting module judging that knowing that the photographic head of mobile terminal is given tacit consent to meets for the first resolution that is scanned By the scanning resolution of the photographic head of mobile terminal during preset rules (i.e. described first resolution is higher than default resolution threshold) It is reduced to second resolution from described first resolution, wherein, described second resolution is less than described first resolution, and first sweeps Retouch module and described target Quick Response Code is scanned identify using described second resolution, with the mobile terminal of the present embodiment is due to adopting Carry out two-dimensional code scanning identification with the pixel of relatively low resolution, thereby, it is possible to improve mobile terminal, Quick Response Code is known Other recognition speed, improves Consumer's Experience.
Fig. 3 shows a kind of entity structure schematic diagram of mobile terminal, as shown in figure 3, this mobile terminal can include:Place Reason device (processor) 31, communication interface (Communications Interface) 32, memorizer (memory) 33 and bus 34, wherein, processor 31, communication interface 32, memorizer 33 completes mutual communication by bus 34.Communication interface 34 is permissible For carrying out information transfer with other-end or service.Processor 31 can call the logical order of memorizer 33, to execute such as Lower method:The trigger action that receiver module reception is scanned to target Quick Response Code;If judging to know that first resolution meets in advance If rule (i.e. described first resolution be higher than default resolution threshold), then by the scanning resolution of the photographic head of mobile terminal from Described first resolution is reduced to second resolution;Wherein, described first resolution is the photographic head acquiescence of described mobile terminal For the resolution being scanned, described second resolution is less than described first resolution;Using described second resolution to institute State target Quick Response Code to be scanned identifying.
Additionally, the logical order in above-mentioned memorizer 33 can be realized by the form of SFU software functional unit and be used as solely When vertical production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, this Part that bright technical scheme substantially contributes to prior art in other words or this technical scheme partly can be with soft The form of part product embodies, and this computer software product is stored in a storage medium, including some instructions in order to make Obtain a mobile terminal (can be smart mobile phone, personal digital assistant PDA, panel computer etc.) and execute each embodiment of the present invention The all or part of step of methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various Can be with the medium of store program codes.
Device embodiment described above is only schematically, wherein said illustrate as separating component unit/ 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 with positioned at a place, or can also be distributed on multiple NEs.Can basis Actual need to select the purpose to realize this embodiment scheme for some or all of module therein.Ordinary skill people Member is not in the case of paying performing creative labour, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Mode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, on That states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Order is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcement Example or some partly described methods of embodiment.
Finally it should be noted that:Above example only in order to technical scheme to be described, is not intended to limit;Although With reference to the foregoing embodiments the present invention is described in detail, it will be understood by those within the art that:It still may be used To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to wherein some technical characteristics; 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 is it is characterised in that include:
Receive the trigger action that target Quick Response Code is scanned;
If judging to know that first resolution meets preset rules, by the scanning resolution of the photographic head of mobile terminal from described the One resolution is reduced to second resolution;Wherein, described first resolution be described mobile terminal photographic head give tacit consent to be used for into The resolution of row scanning, described second resolution is less than described first resolution;
Using described second resolution, described target Quick Response Code is scanned.
If 2. method according to claim 1 is it is characterised in that described judge to know that first resolution meets default rule Then, then the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution, including:
If judging to know that described first resolution is more than or equal to default resolution threshold, by sweeping of the photographic head of mobile terminal Retouch resolution and be reduced to second resolution from first resolution;
Wherein, described second resolution is less than described default resolution threshold.
3. method according to claim 2 is it is characterised in that methods described also includes:
If judging to know that described first resolution is less than default resolution threshold, the scanning of the photographic head of mobile terminal is differentiated Rate is maintained described first resolution.
4. according to the method in claim 2 or 3 it is characterised in that described default resolution threshold is 1280 × 720.
If 5. method according to claim 1 is it is characterised in that described judge to know that first resolution meets default rule Then, then the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution, including:
Show multiple available resolution to user, these resolution are respectively less than described first resolution;
If receiving the selection instruction of user input, using selected for described selection instruction resolution as second resolution, And the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution.
6. method according to claim 1 is it is characterised in that the photographic head of described mobile terminal is given tacit consent to is used for being scanned Resolution be described mobile terminal photographic head highest resolution.
7. a kind of mobile terminal is it is characterised in that include:
Receiver module, for receiving the trigger action that target Quick Response Code is scanned;
Adjusting module, if for judging to know that first resolution meets preset rules, by the scanning of the photographic head of mobile terminal Resolution is reduced to second resolution from described first resolution;Wherein, described first resolution is taking the photograph of described mobile terminal As head gives tacit consent to the resolution for being scanned, described second resolution is less than described first resolution;
First scan module, for being scanned to described target Quick Response Code using described second resolution.
8. mobile terminal according to claim 7 is it is characterised in that described adjusting module, specifically for
If judging to know that described first resolution is more than or equal to default resolution threshold, by sweeping of the photographic head of mobile terminal Retouch resolution and be reduced to second resolution from first resolution;
Wherein, described second resolution is less than described default resolution threshold.
9. mobile terminal according to claim 8 is it is characterised in that described mobile terminal also includes:
Second scan module, if for judging to know that described first resolution is less than default resolution threshold, by mobile terminal The scanning resolution of photographic head be maintained described first resolution.
10. mobile terminal according to claim 8 or claim 9 it is characterised in that described default resolution threshold be 1280 × 720.
11. mobile terminals according to claim 7 it is characterised in that described adjusting module, specifically for
Show multiple available resolution to user, these resolution are respectively less than described first resolution;
If receiving the selection instruction of user input, using selected for described selection instruction resolution as second resolution, And the scanning resolution of the photographic head of mobile terminal is reduced to second resolution from described first resolution.
12. mobile terminals according to claim 7 it is characterised in that the photographic head of described mobile terminal give tacit consent to be used for into The resolution of row scanning is the highest resolution of the photographic head of described mobile terminal.
CN201610743067.3A 2016-08-26 2016-08-26 Two-dimensional scanning processing method and mobile terminal Pending CN106407868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610743067.3A CN106407868A (en) 2016-08-26 2016-08-26 Two-dimensional scanning processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610743067.3A CN106407868A (en) 2016-08-26 2016-08-26 Two-dimensional scanning processing method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106407868A true CN106407868A (en) 2017-02-15

Family

ID=58003433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610743067.3A Pending CN106407868A (en) 2016-08-26 2016-08-26 Two-dimensional scanning processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106407868A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033913A (en) * 2018-07-25 2018-12-18 维沃移动通信有限公司 A kind of recognition methods of identification code and mobile terminal
CN109361875A (en) * 2018-12-19 2019-02-19 努比亚技术有限公司 A kind of shooting storage method, equipment and computer readable storage medium
CN113505685A (en) * 2021-07-06 2021-10-15 浙江大华技术股份有限公司 Monitoring equipment installation positioning method and device, electronic equipment and storage medium
CN113919382A (en) * 2021-04-29 2022-01-11 荣耀终端有限公司 Code scanning method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100163632A1 (en) * 2008-12-31 2010-07-01 Chun-Shun Tseng Method for fast locating decipherable pattern
CN102164246A (en) * 2011-03-08 2011-08-24 青岛海信移动通信技术股份有限公司 Realization method and device for generating photo meeting set solution by mobile terminal
CN103345390A (en) * 2013-06-17 2013-10-09 北京金山安全软件有限公司 Picture output method and device for mobile terminal and mobile terminal
CN103729610A (en) * 2013-12-24 2014-04-16 北京握奇智能科技有限公司 Two-dimension code focusing displaying method and system
CN104410785A (en) * 2014-11-17 2015-03-11 联想(北京)有限公司 An information processing method and electronic device
CN104573674A (en) * 2015-01-29 2015-04-29 杨克己 1D (one-dimensional) barcode recognition for real-time embedded system
US20150382059A1 (en) * 2013-03-13 2015-12-31 Ricoh Company, Ltd. Information processing apparatus, program, and video output system
CN105578049A (en) * 2015-12-24 2016-05-11 深圳市金立通信设备有限公司 Camera control method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100163632A1 (en) * 2008-12-31 2010-07-01 Chun-Shun Tseng Method for fast locating decipherable pattern
CN102164246A (en) * 2011-03-08 2011-08-24 青岛海信移动通信技术股份有限公司 Realization method and device for generating photo meeting set solution by mobile terminal
US20150382059A1 (en) * 2013-03-13 2015-12-31 Ricoh Company, Ltd. Information processing apparatus, program, and video output system
CN103345390A (en) * 2013-06-17 2013-10-09 北京金山安全软件有限公司 Picture output method and device for mobile terminal and mobile terminal
CN103729610A (en) * 2013-12-24 2014-04-16 北京握奇智能科技有限公司 Two-dimension code focusing displaying method and system
CN104410785A (en) * 2014-11-17 2015-03-11 联想(北京)有限公司 An information processing method and electronic device
CN104573674A (en) * 2015-01-29 2015-04-29 杨克己 1D (one-dimensional) barcode recognition for real-time embedded system
CN105578049A (en) * 2015-12-24 2016-05-11 深圳市金立通信设备有限公司 Camera control method and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033913A (en) * 2018-07-25 2018-12-18 维沃移动通信有限公司 A kind of recognition methods of identification code and mobile terminal
CN109361875A (en) * 2018-12-19 2019-02-19 努比亚技术有限公司 A kind of shooting storage method, equipment and computer readable storage medium
CN109361875B (en) * 2018-12-19 2021-07-23 努比亚技术有限公司 Shooting storage method and device and computer readable storage medium
CN113919382A (en) * 2021-04-29 2022-01-11 荣耀终端有限公司 Code scanning method and device
CN113505685A (en) * 2021-07-06 2021-10-15 浙江大华技术股份有限公司 Monitoring equipment installation positioning method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11222211B2 (en) Method and apparatus for segmenting video object, electronic device, and storage medium
CN108024065B (en) Terminal shooting method, terminal and computer readable storage medium
CN109829850B (en) Image processing method, device, equipment and computer readable medium
JP5985622B2 (en) Content adaptive system, method and apparatus for determining optical flow
CN111989711B (en) Object segmentation in color image frame sequences based on adaptive foreground mask upsampling
CN102918545B (en) For the method and apparatus of visual search stability
CN109951635B (en) Photographing processing method and device, mobile terminal and storage medium
CN106407868A (en) Two-dimensional scanning processing method and mobile terminal
KR101620933B1 (en) Method and apparatus for providing a mechanism for gesture recognition
AU2017244245A1 (en) Electronic device and operating method thereof
Kim et al. Multiple level feature-based universal blind image quality assessment model
WO2011120206A1 (en) Methods and apparatuses for face detection
CN108647351B (en) Text image processing method and device, storage medium and terminal
WO2018133717A1 (en) Image thresholding method and device, and terminal
CN110009004B (en) Image data processing method, computer device, and storage medium
WO2021179856A1 (en) Content recognition method and apparatus, electronic device, and storage medium
CN111507122A (en) Graphic code identification method and device, storage medium and terminal
CN111028276A (en) Image alignment method and device, storage medium and electronic equipment
CN111144156B (en) Image data processing method and related device
CN106570437A (en) Two-dimensional code scanning processing method and mobile terminal thereof
CN113421211B (en) Method for blurring light spots, terminal equipment and storage medium
CN105120153A (en) Image photographing method and device
CN113256643A (en) Portrait segmentation model training method, storage medium and terminal equipment
CN109672829B (en) Image brightness adjusting method and device, storage medium and terminal
CN115188000A (en) Text recognition method and device based on OCR (optical character recognition), storage medium and electronic equipment

Legal Events

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

Application publication date: 20170215

WD01 Invention patent application deemed withdrawn after publication