CN105205429A - Decoding control method and device for two-dimension code - Google Patents

Decoding control method and device for two-dimension code Download PDF

Info

Publication number
CN105205429A
CN105205429A CN201510590433.1A CN201510590433A CN105205429A CN 105205429 A CN105205429 A CN 105205429A CN 201510590433 A CN201510590433 A CN 201510590433A CN 105205429 A CN105205429 A CN 105205429A
Authority
CN
China
Prior art keywords
electronic equipment
parameter
quick response
response code
described electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510590433.1A
Other languages
Chinese (zh)
Other versions
CN105205429B (en
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.)
BEIJING HUIYAN ZHIXING TECHNOLOGY Co Ltd
Original Assignee
BEIJING HUIYAN ZHIXING TECHNOLOGY 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 BEIJING HUIYAN ZHIXING TECHNOLOGY Co Ltd filed Critical BEIJING HUIYAN ZHIXING TECHNOLOGY Co Ltd
Priority to CN201510590433.1A priority Critical patent/CN105205429B/en
Publication of CN105205429A publication Critical patent/CN105205429A/en
Application granted granted Critical
Publication of CN105205429B publication Critical patent/CN105205429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a decoding control method and device for a two-dimension code. The decoding control method and device are applied to electronic equipment. The method comprises the steps that motion parameters of the electronic equipment within preset time duration are monitored, and represent whether the electronic equipment is in a static state or not relative to the target two-dimensional code; when the motion parameters meet a preset relatively-static control condition, the electronic equipment is triggered to decode the target two-dimension code. The situations that in the prior art, due to the fact that equipment is in a shaking state, a lens of the equipment needs to circulate for focusing, and electric energy and memory are consumed due to picture collection can be avoided. The equipment is triggered for decoding operation only when the equipment is relatively static, that is, focusing and image collection are carried out, and then the two-dimension code is recognized. Therefore, the focusing and picture collecting operation of the equipment can be obviously reduced, and electric energy and memory consumption caused in the decoding process is reduced.

Description

A kind of decode control method of Quick Response Code and device
Technical field
The application relates to technical field, relates to a kind of decode control method and device of Quick Response Code in particular.
Background technology
At present, the terminals such as mobile phone adopt the decoding of following scheme realization to Quick Response Code usually: after opening the application of the terminal recognition Quick Response Codes such as mobile phone, applications exploiting camera camera is correctly focused and collected picture clearly, and then identifies Quick Response Code, completes decoding.
But in this process, because of terminal rock or the movement of Quick Response Code can make the camera of terminal need circulation focusing and multi collect picture, collect picture clearly until focused, and the circulation focusing of camera lens and picture collection can cause a large amount of power consumptions and memory consumption.
Summary of the invention
In view of this, this application provides a kind of decode control method and device of Quick Response Code, a large amount of power consumptions and the technical matters of memory consumption can be caused in order to the circulation focusing and picture collection solving camera lens in Quick Response Code of the prior art decoding control program,
For achieving the above object, the application provides following technical scheme:
A decode control method for Quick Response Code, is applied to electronic equipment, and described method comprises:
Monitor the kinematic parameter of described electronic equipment in Preset Time is long, whether described kinematic parameter characterizes described electronic equipment and remains static relative to target Quick Response Code;
When described kinematic parameter meets default geo-stationary controlled condition, trigger described electronic equipment and described target Quick Response Code is decoded.
Said method, preferably, the kinematic parameter of the described electronic equipment of described monitoring in Preset Time is long, comprising:
Monitor the level angle parameter of described electronic equipment in Preset Time is long and vertical angle parameter;
Based on described level angle parameter and vertical angle parameter, obtain the kinematic parameter of described electronic equipment.
Said method, preferably, the level angle parameter of the described electronic equipment of described monitoring in Preset Time is long and vertical angle parameter, comprising:
With the data acquiring frequency preset, gather the many group level angle parameter of described electronic equipment in Preset Time is long and many group vertical angle parameters.
Said method, preferably, based on described level angle parameter and vertical angle parameter, obtains the kinematic parameter of described electronic equipment, comprising:
Obtain the kinematic parameter of variance yields as described electronic equipment of described many group level angle parameters and described many group vertical angle parameters.
Said method, preferably, described geo-stationary controlled condition comprises: the variance yields in described kinematic parameter is less than default threshold value;
Accordingly, when described kinematic parameter meets default geo-stationary controlled condition, trigger described electronic equipment and described target Quick Response Code decoded, comprising:
When variance yields in described kinematic parameter is less than described threshold value, triggers described electronic equipment and described target Quick Response Code is focused and picture collection, Quick Response Code identification is carried out to the picture collected, completes decoding.
This application provides a kind of decoding controller of Quick Response Code, be applied to electronic equipment, described device comprises:
Parameter monitoring unit, for monitoring the kinematic parameter of described electronic equipment in Preset Time is long, whether described kinematic parameter characterizes described electronic equipment and remains static relative to target Quick Response Code;
Deciphering trigger element, during for meeting default geo-stationary controlled condition at described kinematic parameter, triggers described electronic equipment and decodes to described target Quick Response Code.
Said apparatus, preferably, described parameter monitoring unit comprises:
Horizontal vertical monitoring subelement, for monitoring the level angle parameter of described electronic equipment in Preset Time is long and vertical angle parameter;
Kinematic parameter obtains subelement, for based on described level angle parameter and vertical angle parameter, obtains the kinematic parameter of described electronic equipment.
Said apparatus, preferably, described horizontal vertical monitoring subelement comprises:
Parameter sampling module, for the data acquiring frequency preset, gathers the many group level angle parameter of described electronic equipment in described Preset Time is long and many group vertical angle parameters.
Said apparatus, preferably, described kinematic parameter obtains subelement and comprises:
Variance acquisition module, for obtaining the kinematic parameter of variance yields as described electronic equipment of described many group level angle parameters and described many group vertical angle parameters.
Said apparatus, preferably, described geo-stationary controlled condition comprises: the variance yields in described kinematic parameter is less than default threshold value;
Accordingly, described decoding trigger element comprises:
Focusing controls subelement, when being less than described threshold value for the variance yields in described kinematic parameter, triggering described electronic equipment and focuses and picture collection to described target Quick Response Code, carry out Quick Response Code identification, complete decoding to the picture collected.
Known via above-mentioned technical scheme, the decode control method of a kind of Quick Response Code that the application provides and device, by monitoring the kinematic parameter of electronic equipment in certain hour is long, and then monitor this electronic equipment and whether remain static relative to target Quick Response Code, only when the kinematic parameter of this electronic equipment satisfies condition that namely this electronic equipment is in relative static conditions, trigger electronics is just gone to carry out decode operation to target Quick Response Code, avoid in prior art and need the camera lens of equipment to circulate to carry out focusing and picture collection causes the situation of electric energy and memory consumption because equipment is in vibrating state, only just can carry out decode operation by trigger equipment when equipment is in geo-stationary, namely focusing and picture collection so identify Quick Response Code, thus, the application obviously can reduce focusing and the picture collection operation of equipment, reduce power consumption caused in decode procedure and memory consumption.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The process flow diagram of the decode control method embodiment one of a kind of Quick Response Code that Fig. 1 provides for the application;
The partial process view of the decode control method embodiment two of a kind of Quick Response Code that Fig. 2 provides for the application;
Fig. 3 is another part process flow diagram of the embodiment of the present application two;
The process flow diagram of the decode control method embodiment three of a kind of Quick Response Code that Fig. 4 provides for the application;
The structural representation of the decoding controller embodiment four of a kind of Quick Response Code that Fig. 5 provides for the application;
The part-structure schematic diagram of the decoding controller embodiment five of a kind of Quick Response Code that Fig. 6 provides for the application;
Fig. 7 is another part structural representation of the embodiment of the present application five;
The structural representation of the decoding controller embodiment six of a kind of Quick Response Code that Fig. 8 provides for the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
With reference to figure 1, the realization flow figure of the decode control method embodiment one of a kind of Quick Response Code provided for the application, wherein, described method goes for can carrying out in the electronic equipment of Quick Response Code scanner uni identification, as having the terminal such as mobile phone, pad of two-dimensional code authentication function APP.On described electronic equipment, be usually provided with the first-class device that can carry out picture collection or acquisition of shooting, obtain with the scanner uni picture realizing Quick Response Code.
In the present embodiment, described method can comprise the following steps:
Step 101: monitor the kinematic parameter of described electronic equipment in Preset Time is long.
Wherein, whether described kinematic parameter characterizes described electronic equipment and remains static relative to target Quick Response Code.And described Preset Time length can be arranged according to user's request, such as, be set to 1s, that is, real-time described electronic equipment is monitored in the motion state in per second in the present embodiment, so get characterize this electronic equipment whether be in the kinematic parameter with the relative static conditions of target Quick Response Code.
Such as, the kinematic parameter of described electronic equipment in described Preset Time is long can be monitored by the equipment such as acceleration transducer and/or angle displacement sensor in the present embodiment, characterize this electronic equipment and whether in described Preset Time is long, be in relative static conditions relative to described target Quick Response Code.
It should be noted that, described target Quick Response Code can be on the position of relative ground static, as the Quick Response Code below television screen, also can be on the object of relative ground motion, Quick Response Code as shown on the user be kept in motion as being carried on mobile phone terminal with it, etc., be whether remain static to the relatively described target Quick Response Code of described electronic equipment to monitor in the present embodiment, and then obtain the kinematic parameter of this electronic equipment.
Step 102: when described kinematic parameter meets default geo-stationary controlled condition, triggers described electronic equipment and decodes to described target Quick Response Code.
That is, by whether meeting to described kinematic parameter the geo-stationary controlled condition preset judge in the present embodiment, namely whether described electronic equipment is remained static relative to described target Quick Response Code and judge, and then only when the relatively described target Quick Response Code of described electronic equipment remains static, the present embodiment just can trigger described electronic equipment and decode to described target Quick Response Code, namely carry out focusing and after picture collection, scanning recognition is carried out to the Quick Response Code in picture, completes decoding.
Known via above-mentioned technical scheme, the decode control method embodiment one of a kind of Quick Response Code that the application provides, by monitoring the kinematic parameter of electronic equipment in certain hour is long, and then monitor this electronic equipment and whether remain static relative to target Quick Response Code, only when the kinematic parameter of this electronic equipment satisfies condition that namely this electronic equipment is in relative static conditions, trigger electronics is just gone to carry out decode operation to target Quick Response Code, avoid in prior art and need the camera lens of equipment to circulate to carry out focusing and picture collection causes the situation of electric energy and memory consumption because equipment is in vibrating state, only just can carry out decode operation by trigger equipment when equipment is in geo-stationary, namely focusing and picture collection so identify Quick Response Code, thus, the present embodiment obviously can reduce focusing and the picture collection operation of equipment, reduce power consumption caused in decode procedure and memory consumption, and then avoid terminal device because of the excessive and overheated situation of power consumption, also avoid memory consumption excessive and the situation of memory space inadequate.
With reference to figure 2, the realization flow figure of step 101 described in the decode control method embodiment two of a kind of Quick Response Code provided for the application, wherein, described step 101 can be realized by following steps:
Step 111: monitor the level angle parameter of described electronic equipment in Preset Time is long and vertical angle parameter.
Concrete, level angle parameter in described electronic equipment in described Preset Time is long can be monitored by angle displacement sensor in the present embodiment, the vertical angle parameter of described electronic equipment in described Preset Time is long can be monitored by gravity sensor.
Step 112: based on described level angle parameter and vertical angle parameter, obtain the kinematic parameter of described electronic equipment.
That is, based on described electronic equipment two angle parameters in the horizontal direction and the vertical direction in the present embodiment, obtain the kinematic parameter of described electronic equipment, whether the position characterizing described electronic equipment there occurs change relative to described target Quick Response Code in the horizontal direction and in vertical direction, and then when described electronic equipment change in location does not occur in described Preset Time is long namely relatively described target Quick Response Code is static, just can trigger described electronic equipment and carry out decode operation.
Concrete, as shown in Figure 3, described step 111 can be realized by following steps:
Step 301: with the data sampling frequency preset, gathers the many group level angle parameter of described electronic equipment in Preset Time is long and many group vertical angle parameters.
Accordingly, described step 112 can be realized by following steps:
Step 302: the kinematic parameter of variance yields as described electronic equipment obtaining described many group level angle parameters and described many group vertical angle parameters.
Wherein, described data sampling frequency can the degree of accuracy required for user set, such as, be set to 20 times/second, that is, in long 1 second of described Preset Time, gather level angle parameter and the vertical angle parameter of 20 described electronic equipments respectively, and then composition two comprises the array of 20 groups of supplemental characteristics respectively, the vertical angle parameter array of the level angle parameter array namely containing 20 data namely containing 20 data.
Concrete, in the present embodiment after collecting two arrays, first can ask for the mean value of 20 data in two arrays respectively, after deducting corresponding average by each data again, ask its quadratic sum, and then by this quadratic sum divided by its average, obtain the variance yields of this array, obtain the kinematic parameter of variance yields as described electronic equipment of described many group level angle parameters and described many group vertical angle parameters.
In the present embodiment, because described target Quick Response Code can be in geo-stationary or relative motion state, therefore, in the present embodiment after the kinematic parameter getting described electronic equipment, kinematic parameter that can be current by the kinematic parameter and described target Quick Response Code judging described electronic equipment is compared, judge that whether the kinematic parameter of described electronic equipment meets the geo-stationary controlled condition preset, and then just can trigger when meeting the decode operation that described electronic equipment carries out Quick Response Code.
The state of relative ground static is in for described target Quick Response Code, described kinematic parameter be described electronic equipment relative to described target Quick Response Code namely relative to the level angle parameter on ground and the variance yields of vertical angle parameter, by whether being less than default threshold value to the variance yields in described kinematic parameter can judge in the present embodiment, namely described geo-stationary controlled condition can be: the variance yields in described kinematic parameter is less than default threshold value.
Accordingly, with reference to figure 4, the realization flow figure of the decode control method embodiment three of a kind of Quick Response Code provided for the application, wherein, described step 102 can be realized by following steps:
Step 121: when the variance yields in described kinematic parameter is less than described threshold value, triggers described electronic equipment and focuses and picture collection to described target Quick Response Code, carry out Quick Response Code identification, complete decoding to the picture collected.
That is, in the present embodiment when the variance yields of described electronic equipment data that 20 times gather in 1 second is less than described threshold value, just can trigger described electronic equipment to decode, i.e. focusing and picture collection, otherwise can continue whether to be in described electronic equipment that relatively described target Quick Response Code is static monitors, the electric energy that avoid thus circulating focusing and picture collection cause and memory consumption.
In like manner, the state of relative ground motion is in for described target Quick Response Code, described kinematic parameter is the level angle parameter of described electronic equipment relative to described target Quick Response Code and the variance yields of vertical angle parameter, can by judging whether described variance yields is less than default threshold value in the present embodiment, and then judge whether described electronic equipment remains static relative to described target Quick Response Code, such as, the present embodiment adopts the variance yields of first described electronic equipment relative to described target Quick Response Code data that 20 times gather in 1 second, when described variance yields is less than described threshold value, just can trigger described electronic equipment to decode, i.e. focusing and picture collection, otherwise can continue whether to be in described electronic equipment that relatively described target Quick Response Code is static monitors, the electric energy avoiding circulation focusing and picture collection to cause thus and memory consumption.
With reference to figure 5, the structural representation of the decoding controller embodiment four of a kind of Quick Response Code provided for the application, wherein, described device goes for can carrying out in the electronic equipment of Quick Response Code scanner uni identification, as having the terminal such as mobile phone, pad of two-dimensional code authentication function APP.On described electronic equipment, be usually provided with the first-class device that can carry out picture collection or acquisition of shooting, obtain with the scanner uni picture realizing Quick Response Code.
In the present embodiment, described device can comprise following structure:
Parameter monitoring unit 501, for monitoring the kinematic parameter of described electronic equipment in Preset Time is long.
Wherein, whether described kinematic parameter characterizes described electronic equipment and remains static relative to target Quick Response Code.And described Preset Time length can be arranged according to user's request, such as, be set to 1s, that is, real-time described electronic equipment is monitored in the motion state in per second in the present embodiment, so get characterize this electronic equipment whether be in the kinematic parameter with the relative static conditions of target Quick Response Code.
Such as, the kinematic parameter of described electronic equipment in described Preset Time is long can be monitored by the equipment such as acceleration transducer and/or angle displacement sensor in the present embodiment, characterize this electronic equipment and whether in described Preset Time is long, be in relative static conditions relative to described target Quick Response Code.
It should be noted that, described target Quick Response Code can be on the position of relative ground static, as the Quick Response Code below television screen, also can be on the object of relative ground motion, Quick Response Code as shown on the user be kept in motion as being carried on mobile phone terminal with it, etc., be whether remain static to the relatively described target Quick Response Code of described electronic equipment to monitor in the present embodiment, and then obtain the kinematic parameter of this electronic equipment.
Deciphering trigger element 502, during for meeting default geo-stationary controlled condition at described kinematic parameter, triggers described electronic equipment and decodes to described target Quick Response Code.
That is, by whether meeting to described kinematic parameter the geo-stationary controlled condition preset judge in the present embodiment, namely whether described electronic equipment is remained static relative to described target Quick Response Code and judge, and then only when the relatively described target Quick Response Code of described electronic equipment remains static, the present embodiment just can trigger described electronic equipment and decode to described target Quick Response Code, namely carry out focusing and after picture collection, scanning recognition is carried out to the Quick Response Code in picture, completes decoding.
Known via above-mentioned technical scheme, the decode control method embodiment one of a kind of Quick Response Code that the application provides, by monitoring the kinematic parameter of electronic equipment in certain hour is long, and then monitor this electronic equipment and whether remain static relative to target Quick Response Code, only when the kinematic parameter of this electronic equipment satisfies condition that namely this electronic equipment is in relative static conditions, trigger electronics is just gone to carry out decode operation to target Quick Response Code, avoid in prior art and need the camera lens of equipment to circulate to carry out focusing and picture collection causes the situation of electric energy and memory consumption because equipment is in vibrating state, only just can carry out decode operation by trigger equipment when equipment is in geo-stationary, namely focusing and picture collection so identify Quick Response Code, thus, the present embodiment obviously can reduce focusing and the picture collection operation of equipment, reduce power consumption caused in decode procedure and memory consumption, and then avoid terminal device because of the excessive and overheated situation of power consumption, also avoid memory consumption excessive and the situation of memory space inadequate.
With reference to figure 6, the structural representation of parameter monitoring unit 501 described in the decoding controller embodiment five of a kind of Quick Response Code provided for the application, wherein, described parameter monitoring unit 501 can comprise following structure:
Horizontal vertical monitoring subelement 511, for monitoring the level angle parameter of described electronic equipment in Preset Time is long and vertical angle parameter.
Concrete, level angle parameter in described electronic equipment in described Preset Time is long can be monitored by angle displacement sensor in the present embodiment, the vertical angle parameter of described electronic equipment in described Preset Time is long can be monitored by gravity sensor.
Kinematic parameter obtains subelement 512, for based on described level angle parameter and vertical angle parameter, obtains the kinematic parameter of described electronic equipment.
That is, based on described electronic equipment two angle parameters in the horizontal direction and the vertical direction in the present embodiment, obtain the kinematic parameter of described electronic equipment, whether the position characterizing described electronic equipment there occurs change relative to described target Quick Response Code in the horizontal direction and in vertical direction, and then when described electronic equipment change in location does not occur in described Preset Time is long namely relatively described target Quick Response Code is static, just can trigger described electronic equipment and carry out decode operation.
Concrete, as shown in Figure 7, described horizontal vertical monitoring subelement 511 can be realized by following structure:
Parameter sampling module 701, for the data acquiring frequency preset, gathers the many group level angle parameter of described electronic equipment in described Preset Time is long and many group vertical angle parameters.
Accordingly, described kinematic parameter acquisition subelement 512 can be realized by following structure:
Variance acquisition module 702, for obtaining the kinematic parameter of variance yields as described electronic equipment of described many group level angle parameters and described many group vertical angle parameters.
Wherein, described data sampling frequency can the degree of accuracy required for user set, such as, be set to 20 times/second, that is, in long 1 second of described Preset Time, gather level angle parameter and the vertical angle parameter of 20 described electronic equipments respectively, and then composition two comprises the array of 20 groups of supplemental characteristics respectively, the vertical angle parameter array of the level angle parameter array namely containing 20 data namely containing 20 data.
Concrete, in the present embodiment after collecting two arrays, first can ask for the mean value of 20 data in two arrays respectively, after deducting corresponding average by each data again, ask its quadratic sum, and then by this quadratic sum divided by its average, obtain the variance yields of this array, obtain the kinematic parameter of variance yields as described electronic equipment of described many group level angle parameters and described many group vertical angle parameters.
In the present embodiment, because described target Quick Response Code can be in geo-stationary or relative motion state, therefore, in the present embodiment after the kinematic parameter getting described electronic equipment, kinematic parameter that can be current by the kinematic parameter and described target Quick Response Code judging described electronic equipment is compared, judge that whether the kinematic parameter of described electronic equipment meets the geo-stationary controlled condition preset, and then just can trigger when meeting the decode operation that described electronic equipment carries out Quick Response Code.
The state of relative ground static is in for described target Quick Response Code, described kinematic parameter be described electronic equipment relative to described target Quick Response Code namely relative to the level angle parameter on ground and the variance yields of vertical angle parameter, by whether being less than default threshold value to the variance yields in described kinematic parameter can judge in the present embodiment, namely described geo-stationary controlled condition can be: the variance yields in described kinematic parameter is less than default threshold value.
Accordingly, with reference to figure 8, the structural representation of the decoding controller embodiment six of a kind of Quick Response Code provided for the application, wherein, described decoding trigger element 502 can be realized by following structure:
Focusing controls subelement 521, when being less than described threshold value for the variance yields in described kinematic parameter, triggering described electronic equipment and focuses and picture collection to described target Quick Response Code, carry out Quick Response Code identification, complete decoding to the picture collected.
That is, in the present embodiment when the variance yields of described electronic equipment data that 20 times gather in 1 second is less than described threshold value, just can trigger described electronic equipment to decode, i.e. focusing and picture collection, otherwise can continue whether to be in described electronic equipment that relatively described target Quick Response Code is static monitors, the electric energy that avoid thus circulating focusing and picture collection cause and memory consumption.
In like manner, the state of relative ground motion is in for described target Quick Response Code, described kinematic parameter is the level angle parameter of described electronic equipment relative to described target Quick Response Code and the variance yields of vertical angle parameter, can by judging whether described variance yields is less than default threshold value in the present embodiment, and then judge whether described electronic equipment remains static relative to described target Quick Response Code, such as, the present embodiment adopts the variance yields of first described electronic equipment relative to described target Quick Response Code data that 20 times gather in 1 second, when described variance yields is less than described threshold value, just can trigger described electronic equipment to decode, i.e. focusing and picture collection, otherwise can continue whether to be in described electronic equipment that relatively described target Quick Response Code is static monitors, the electric energy avoiding circulation focusing and picture collection to cause thus and memory consumption.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a decode control method for Quick Response Code, is applied to electronic equipment, it is characterized in that, described method comprises:
Monitor the kinematic parameter of described electronic equipment in Preset Time is long, whether described kinematic parameter characterizes described electronic equipment and remains static relative to target Quick Response Code;
When described kinematic parameter meets default geo-stationary controlled condition, trigger described electronic equipment and described target Quick Response Code is decoded.
2. method according to claim 1, is characterized in that, the kinematic parameter of the described electronic equipment of described monitoring in Preset Time is long, comprising:
Monitor the level angle parameter of described electronic equipment in Preset Time is long and vertical angle parameter;
Based on described level angle parameter and vertical angle parameter, obtain the kinematic parameter of described electronic equipment.
3. method according to claim 2, is characterized in that, the level angle parameter of the described electronic equipment of described monitoring in Preset Time is long and vertical angle parameter, comprising:
With the data acquiring frequency preset, gather the many group level angle parameter of described electronic equipment in Preset Time is long and many group vertical angle parameters.
4. method according to claim 3, is characterized in that, based on described level angle parameter and vertical angle parameter, obtains the kinematic parameter of described electronic equipment, comprising:
Obtain the kinematic parameter of variance yields as described electronic equipment of described many group level angle parameters and described many group vertical angle parameters.
5. method according to claim 4, is characterized in that, described geo-stationary controlled condition comprises: the variance yields in described kinematic parameter is less than default threshold value;
Accordingly, when described kinematic parameter meets default geo-stationary controlled condition, trigger described electronic equipment and described target Quick Response Code decoded, comprising:
When variance yields in described kinematic parameter is less than described threshold value, triggers described electronic equipment and described target Quick Response Code is focused and picture collection, Quick Response Code identification is carried out to the picture collected, completes decoding.
6. a decoding controller for Quick Response Code, is applied to electronic equipment, it is characterized in that, described device comprises:
Parameter monitoring unit, for monitoring the kinematic parameter of described electronic equipment in Preset Time is long, whether described kinematic parameter characterizes described electronic equipment and remains static relative to target Quick Response Code;
Deciphering trigger element, during for meeting default geo-stationary controlled condition at described kinematic parameter, triggers described electronic equipment and decodes to described target Quick Response Code.
7. device according to claim 6, is characterized in that, described parameter monitoring unit comprises:
Horizontal vertical monitoring subelement, for monitoring the level angle parameter of described electronic equipment in Preset Time is long and vertical angle parameter;
Kinematic parameter obtains subelement, for based on described level angle parameter and vertical angle parameter, obtains the kinematic parameter of described electronic equipment.
8. device according to claim 7, is characterized in that, described horizontal vertical monitoring subelement comprises:
Parameter sampling module, for the data acquiring frequency preset, gathers the many group level angle parameter of described electronic equipment in described Preset Time is long and many group vertical angle parameters.
9. device according to claim 8, is characterized in that, described kinematic parameter obtains subelement and comprises:
Variance acquisition module, for obtaining the kinematic parameter of variance yields as described electronic equipment of described many group level angle parameters and described many group vertical angle parameters.
10. device according to claim 6, is characterized in that, described geo-stationary controlled condition comprises: the variance yields in described kinematic parameter is less than default threshold value;
Accordingly, described decoding trigger element comprises:
Focusing controls subelement, when being less than described threshold value for the variance yields in described kinematic parameter, triggering described electronic equipment and focuses and picture collection to described target Quick Response Code, carry out Quick Response Code identification, complete decoding to the picture collected.
CN201510590433.1A 2015-09-16 2015-09-16 A kind of decoding control method and device of two dimensional code Active CN105205429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510590433.1A CN105205429B (en) 2015-09-16 2015-09-16 A kind of decoding control method and device of two dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510590433.1A CN105205429B (en) 2015-09-16 2015-09-16 A kind of decoding control method and device of two dimensional code

Publications (2)

Publication Number Publication Date
CN105205429A true CN105205429A (en) 2015-12-30
CN105205429B CN105205429B (en) 2019-01-25

Family

ID=54953102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510590433.1A Active CN105205429B (en) 2015-09-16 2015-09-16 A kind of decoding control method and device of two dimensional code

Country Status (1)

Country Link
CN (1) CN105205429B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326491A (en) * 2016-09-14 2017-01-11 广东小天才科技有限公司 Efficient topic searching method and device
CN106530531A (en) * 2016-12-14 2017-03-22 新开普电子股份有限公司 Code-scanning payment terminal
CN106779667A (en) * 2016-12-14 2017-05-31 新开普电子股份有限公司 Bar code decoding processing unit
CN106778437A (en) * 2016-12-14 2017-05-31 新开普电子股份有限公司 Barcode scanning pays the image acquisition units of terminal
CN107870666A (en) * 2016-09-28 2018-04-03 腾讯科技(深圳)有限公司 A kind of terminal control method and terminal
CN108833786A (en) * 2018-06-29 2018-11-16 联想(北京)有限公司 One mode control method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872105A (en) * 2010-06-02 2010-10-27 华为终端有限公司 Method and device for photographing
CN201804338U (en) * 2010-06-25 2011-04-20 广州市旭龙条码设备有限公司 Barcode collection terminal
CN103581528A (en) * 2012-07-19 2014-02-12 百度在线网络技术(北京)有限公司 Method for preprocessing in photographing process of mobile terminal and mobile terminal
CN103632124A (en) * 2013-12-16 2014-03-12 百度在线网络技术(北京)有限公司 Barcode recognition method and apparatus
EP2713607A1 (en) * 2012-01-16 2014-04-02 Huawei Device Co., Ltd. Method and device for photographic processing and mobile apparatus
CN103955670A (en) * 2014-04-22 2014-07-30 广州宽度信息技术有限公司 Method for recognizing and collecting Z-codes dynamically
CN204631884U (en) * 2015-05-12 2015-09-09 北京农业信息技术研究中心 A kind of bar code scan equipment being applicable to mobile object

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872105A (en) * 2010-06-02 2010-10-27 华为终端有限公司 Method and device for photographing
CN201804338U (en) * 2010-06-25 2011-04-20 广州市旭龙条码设备有限公司 Barcode collection terminal
EP2713607A1 (en) * 2012-01-16 2014-04-02 Huawei Device Co., Ltd. Method and device for photographic processing and mobile apparatus
CN103581528A (en) * 2012-07-19 2014-02-12 百度在线网络技术(北京)有限公司 Method for preprocessing in photographing process of mobile terminal and mobile terminal
CN103632124A (en) * 2013-12-16 2014-03-12 百度在线网络技术(北京)有限公司 Barcode recognition method and apparatus
CN103955670A (en) * 2014-04-22 2014-07-30 广州宽度信息技术有限公司 Method for recognizing and collecting Z-codes dynamically
CN204631884U (en) * 2015-05-12 2015-09-09 北京农业信息技术研究中心 A kind of bar code scan equipment being applicable to mobile object

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326491A (en) * 2016-09-14 2017-01-11 广东小天才科技有限公司 Efficient topic searching method and device
CN107870666A (en) * 2016-09-28 2018-04-03 腾讯科技(深圳)有限公司 A kind of terminal control method and terminal
WO2018059328A1 (en) * 2016-09-28 2018-04-05 腾讯科技(深圳)有限公司 Terminal control method, terminal, and data storage medium
CN107870666B (en) * 2016-09-28 2020-12-29 腾讯科技(深圳)有限公司 Terminal control method and terminal
US10878070B2 (en) 2016-09-28 2020-12-29 Tencent Technology (Shenzhen) Company Limited Method of controlling a terminal based on motion of the terminal, terminal therefore, and storage medium
CN106530531A (en) * 2016-12-14 2017-03-22 新开普电子股份有限公司 Code-scanning payment terminal
CN106779667A (en) * 2016-12-14 2017-05-31 新开普电子股份有限公司 Bar code decoding processing unit
CN106778437A (en) * 2016-12-14 2017-05-31 新开普电子股份有限公司 Barcode scanning pays the image acquisition units of terminal
CN106778437B (en) * 2016-12-14 2019-04-26 新开普电子股份有限公司 Barcode scanning pays the image acquisition units of terminal
CN108833786A (en) * 2018-06-29 2018-11-16 联想(北京)有限公司 One mode control method and electronic equipment
CN108833786B (en) * 2018-06-29 2022-04-22 联想(北京)有限公司 Mode control method and electronic equipment

Also Published As

Publication number Publication date
CN105205429B (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN105205429A (en) Decoding control method and device for two-dimension code
EP3228075B1 (en) Sensor configuration switching for adaptation of video capturing frame rate
US10075651B2 (en) Methods and apparatus for capturing images using multiple camera modules in an efficient manner
US9824427B2 (en) Methods and apparatus for generating a sharp image
AU2014290798B2 (en) Wireless video camera
CN106716989B (en) Imaging device, imaging method, and program
CN106911922B (en) Depth map generated from a single sensor
CN103079036B (en) A kind of photographic camera and method thereof entering screening-mode fast
CN102572506A (en) Method and digital video camera for improving the image quality of images in a video image stream
KR20120119920A (en) Method and apparatus with depth map generation
CN108446648A (en) A kind of iris capturing system and iris authentication system
CN107211089B (en) Tracking system, terminal device, camera device, tracking photographing method, and program
CN102879976B (en) Automatic focusing method and camera device
CN103442177A (en) PTZ video camera control system and method based on gesture identification
CN110677622A (en) Camera control method and monitoring equipment
US20170048464A1 (en) Multi-lens camera and monitoring system
CN112954212B (en) Video generation method, device and equipment
CN103731630A (en) Video monitoring method, equipment and system
US11295589B2 (en) Image processing device and method for simultaneously transmitting a plurality of pieces of image data obtained from a plurality of camera modules
CN104304229A (en) Bird flock recognizing and expelling system
CN108282356A (en) A method of realizing the WIFI configurations for carrying camera device based on two-dimension code image scanning
EP3291546A1 (en) Method and system for enabling control, by a control device, of a video camera in a video surveillance system
CN104601879A (en) Focusing method
CN110798607B (en) Shooting state adjusting method and device
CN104469249B (en) A kind of information processing method and the first 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
GR01 Patent grant
GR01 Patent grant