CN107704182A - A kind of barcode scanning method and mobile terminal - Google Patents
A kind of barcode scanning method and mobile terminal Download PDFInfo
- Publication number
- CN107704182A CN107704182A CN201710905806.9A CN201710905806A CN107704182A CN 107704182 A CN107704182 A CN 107704182A CN 201710905806 A CN201710905806 A CN 201710905806A CN 107704182 A CN107704182 A CN 107704182A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- barcode scanning
- shelter
- preset range
- network
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Abstract
The invention provides a kind of barcode scanning method and mobile terminal, the barcode scanning method is applied to mobile terminal, and wherein the barcode scanning method includes:Detect whether the mobile terminal meets default barcode scanning condition;When the mobile terminal meets the default barcode scanning condition, detect whether to get target fingerprint information;When getting the target fingerprint information, according to the finger print information prestored and the incidence relation of application, it is determined that intended application corresponding with the target fingerprint information;Into the barcode scanning interface of the intended application.Therefore, the solution of the present invention, it is cumbersome to solve the operating process of barcode scanning method of the prior art, takes the problem of longer.
Description
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of barcode scanning method and mobile terminal.
Background technology
Quick Response Code barcode scanning has been widely used in various usage scenarios, but different scenes need to use different Quick Response Codes to sweep
Retouch application.For example, adding good friend using the two-dimensional code scanning function of wechat or carrying out wechat payment, the scanning of Alipay is utilized
Function is paid etc..
However, user wants scanning Quick Response Code, it is necessary to carry out following steps in the prior art:Unblock mobile terminal, find
And open application, enter two-dimensional code scanning interface by many more manipulations, it then could carry out two-dimensional code scanning.It is it follows that existing
Have that the operating process of the barcode scanning method in technology is comparatively laborious, take longer.
The content of the invention
The embodiment provides a kind of barcode scanning method and mobile terminal, to solve barcode scanning method of the prior art
Operating process it is cumbersome, take it is longer the problem of.
In a first aspect, the embodiment provides a kind of barcode scanning method, applied to mobile terminal, this method includes:
Detect whether the mobile terminal meets default barcode scanning condition;
When the mobile terminal meets the default barcode scanning condition, detect whether to get target fingerprint information;
When getting the target fingerprint information, according to the finger print information that prestores and the incidence relation of application, really
Fixed intended application corresponding with the target fingerprint information;
Into the barcode scanning interface of the intended application.
Second aspect, embodiments of the invention additionally provide a kind of mobile terminal, including:
Detection module, for detecting whether the mobile terminal meets default barcode scanning condition;
Finger print acquisition module, for when the mobile terminal meets the default barcode scanning condition, detecting whether to get
Target fingerprint information;
Fingerprint matching module, for when getting the target fingerprint information, according to the finger print information prestored with
The incidence relation of application, it is determined that intended application corresponding with the target fingerprint information;
Barcode scanning processing module, for entering the barcode scanning interface of the intended application.
The third aspect, embodiments of the invention additionally provide a kind of mobile terminal, including processor, memory and are stored in
On the memory and the computer program that can run on the processor, the computer program is by the computing device
The step of Shi Shixian barcode scanning methods described above.
The beneficial effect of the embodiment of the present invention is:
Embodiments of the invention are related from different finger print informations by the application on mobile terminal with barcode scanning function in advance
Connection, so as to meet default barcode scanning condition in mobile terminal, and when getting target fingerprint information, Auto-matching is believed with target fingerprint
The intended application of manner of breathing association, and then enter the barcode scanning interface of the intended application, perform barcode scanning function.It is it follows that of the invention
Embodiment, when mobile terminal meets default barcode scanning condition, user directly inputs finger print information, it is possible to so that mobile terminal
Barcode scanning interface corresponding to entering, without unlocking mobile terminal, opening the sequence of operations such as application, whole barcode scanning it is simple to operate
It is convenient, greatly save the time of barcode scanning operation.
Brief description of the drawings
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Fig. 1 represents a kind of flow chart for barcode scanning method that embodiments of the invention provide;
Fig. 2 represents the flow chart for another barcode scanning method that embodiments of the invention provide;
Fig. 3 represents a kind of one of module diagram of mobile terminal that embodiments of the invention provide;
Fig. 4 represents the two of the module diagram for a kind of mobile terminal that embodiments of the invention provide;
Fig. 5 represents a kind of hardware architecture diagram for mobile terminal that embodiments of the invention provide.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
The embodiment provides a kind of barcode scanning method, applied to mobile terminal, as shown in figure 1, this method includes:
Step 101:Detect whether the mobile terminal meets default barcode scanning condition.
Wherein, the barcode scanning method of the embodiment of the present invention is applicable for Quick Response Code and bar code.
In addition, the purpose whether detection mobile terminal meets default barcode scanning condition is to judge that mobile terminal state in which is
It is no to need to carry out barcode scanning.When judging that mobile terminal state in which needs to carry out barcode scanning by step 101, then step is performed
102。
Step 102:When the mobile terminal meets the default barcode scanning condition, detect whether to get target fingerprint letter
Breath.
Multiple applications are installed on the mobile terminal that embodiments of the invention are applied, wherein, some applications possess barcode scanning
Function, then in an embodiment of the present invention, the application with barcode scanning function is associated from different finger print informations in advance, from
And when mobile terminal meets default barcode scanning condition, corresponding tool can be directly initiated by the checking to user fingerprints information
There is the application of barcode scanning function.
In addition, for the application with barcode scanning function and the incidence relation of different finger print informations, can be according to the reality of user
Border demand is cancelled or changed at any time, so as to meet the different use habit of each user.
Step 103:When getting the target fingerprint information, associated according to the finger print information prestored with what is applied
Relation, it is determined that intended application corresponding with the target fingerprint information.
In an embodiment of the present invention, when the default barcode scanning condition of mobile terminal satisfaction, and the target of user's input is got
During finger print information, then the finger print information with the target fingerprint information match is searched from the finger print information prestored, so as to
It is associated with the finger print information of target fingerprint information match to determine that user carries out intended application used in barcode scanning
Using.
Step 104:Into the barcode scanning interface of the intended application.
In an embodiment of the present invention, it is also non-screen lock state that no matter mobile terminal, which is in screen lock state, as long as mobile whole
End meets default barcode scanning condition, then after the target fingerprint information of user's input is got, you can is directly entered and target fingerprint
The barcode scanning interface of the associated intended application of letter, so as to perform the barcode scanning function of mobile terminal.Without with the prior art that
Sample, which carries out unlocking screen and then startup intended application, could carry out barcode scanning.Therefore, the barcode scanning method of the embodiment of the present invention, its barcode scanning
Process is simple and convenient, greatlys save the time of barcode scanning operation.
From the foregoing, embodiments of the invention, in advance by the application on mobile terminal with barcode scanning function from it is different
Finger print information is associated, so as to meet default barcode scanning condition in mobile terminal, and when getting target fingerprint information, Auto-matching
The intended application associated with target fingerprint information, and then enter the barcode scanning interface of the intended application, perform barcode scanning function.Thus
Understand, embodiments of the invention, when mobile terminal meets default barcode scanning condition, user directly inputs finger print information, it is possible to
So that mobile terminal enters corresponding barcode scanning interface, without unlocking mobile terminal, opening the sequence of operations such as application, entirely sweep
Code it is simple to operate, greatly save barcode scanning operation time.
Embodiments of the invention additionally provide a kind of barcode scanning method, applied to mobile terminal, as shown in Fig. 2 this method bag
Include:
Step 201:Detect whether the mobile terminal from motion state is changed into inactive state, and detection it is described it is mobile eventually
It whether there is shelter in the preset range at end.
Step 202:When the mobile terminal is changed into inactive state, and the preset range of the mobile terminal from motion state
When shelter inside be present, determine that the mobile terminal meets default barcode scanning condition.
Step 203:When the mobile terminal is not changed into inactive state from motion state, or the mobile terminal is default
In the range of when shelter be present, determine that the mobile terminal is unsatisfactory for default barcode scanning condition.
Wherein, the barcode scanning method of the embodiment of the present invention is applicable for Quick Response Code and bar code.
In addition, detect whether mobile terminal meets that the purpose of default barcode scanning condition is to judge movement by step 201~203
Whether terminal state in which needs to carry out barcode scanning.When judging mobile terminal state in which needs by step 201~203
When carrying out barcode scanning, then step 204 is performed.
In addition, before user carries out barcode scanning using mobile terminal, it is to be scanned that user needs to pick up mobile terminal alignment
Encode (such as Quick Response Code or bar code), and " user needs to pick up mobile terminal alignment coding (such as Quick Response Code or bar shaped to be scanned
Code) " during, mobile terminal becomes for inactive state from motion state, and when mobile terminal is changed into inactive state, is moving
Shelter be present in the preset range of dynamic terminal, the shelter is coding to be scanned.Therefore, " detection mobile terminal is passed through
Whether it is changed into whether there is shelter in inactive state, and the preset range of mobile terminal from motion state ", you can judge
Whether mobile terminal meets default barcode scanning condition.
Further, the above-mentioned detection mobile terminal whether from motion state be changed into inactive state the step of, including:Obtain
Take the output signal of the acceleration transducer of the mobile terminal;When the output signal of the acceleration transducer is from there is change nothing
When, determine that the mobile terminal is changed into inactive state from motion state.
Wherein, acceleration transducer can measure the acceleration of mobile terminal, and mobile terminal moves feelings in any direction
Condition.Thus, when mobile terminal is kept in motion, acceleration transducer just has signal output, and when mobile terminal is static
Motionless brief acceleration sensor does not have signal output then.Therefore, embodiments of the invention, by detecting the acceleration on mobile terminal
Whether the output signal of sensor is spent from there is change nothing, then can determine that whether mobile terminal from motion state is changed into inactive state.
Further, the step of whether there is shelter in the preset range of the above-mentioned detection mobile terminal, including:Inspection
Survey whether the mobile terminal receives Infrared Targets line, the Infrared Targets line is the infrared module hair on the mobile terminal
The infrared ray penetrated be blocked thing reflection after infrared ray;When the mobile terminal receives the Infrared Targets line, according to institute
The intensity of Infrared Targets line is stated, determines the distance between shelter and the mobile terminal;When shelter and the mobile terminal
The distance between within the preset range when, determine shelter be present in the preset range of the mobile terminal.
Wherein, infrared transmission module set on mobile terminal can launch infrared ray.And the infrared ray is by closely thing
After body reflection, infrared module can receive the infrared ray reflected again.In addition, the intensity for the infrared ray that infrared module is received is not
Together, then object and the distance between the mobile terminal for reflecting infrared ray are then different.Thus, embodiments of the invention, pass through control
Infrared transmission module launches infrared ray, and so as to the intensity according to the received infrared ray reflected, measure shelter is with moving
The distance between dynamic terminal, and then may determine that the preset range of mobile terminal is interior and whether there is shelter.
In addition, embodiments of the invention, using original acceleration transducer and infrared transmission module on mobile terminal,
The detection for whether meeting default barcode scanning condition to mobile terminal can be achieved, without additionally increasing other devices, save
The implementation cost of the barcode scanning method of the embodiment of the present invention.
Step 204:When the mobile terminal meets the default barcode scanning condition, detect whether to get target fingerprint letter
Breath.
Multiple applications are installed on the mobile terminal that embodiments of the invention are applied, wherein, some applications possess barcode scanning
Function, then in an embodiment of the present invention, the application with barcode scanning function is associated from different finger print informations in advance, from
And when mobile terminal meets default barcode scanning condition, corresponding tool can be directly initiated by the checking to user fingerprints information
There is the application of barcode scanning function.
In addition, for the application with barcode scanning function and the incidence relation of different finger print informations, can be according to the reality of user
Border demand is cancelled or changed at any time, so as to meet the different use habit of each user.
Step 205:When getting the target fingerprint information, associated according to the finger print information prestored with what is applied
Relation, it is determined that intended application corresponding with the target fingerprint information.
In an embodiment of the present invention, when the default barcode scanning condition of mobile terminal satisfaction, and the target of user's input is got
During finger print information, then the finger print information with the target fingerprint information match is searched from the finger print information prestored, so as to
It is associated with the finger print information of target fingerprint information match to determine that user carries out intended application used in barcode scanning
Using.
Step 206:Into the barcode scanning interface of the intended application.
In an embodiment of the present invention, it is also non-screen lock state that no matter mobile terminal, which is in screen lock state, as long as mobile whole
End meets default barcode scanning condition, then after the target fingerprint information of user's input is got, you can is directly entered and target fingerprint
The barcode scanning interface of the associated intended application of letter, so as to perform the barcode scanning function of mobile terminal.Without with the prior art that
Sample, which carries out unlocking screen and then startup intended application, could carry out barcode scanning.Therefore, the barcode scanning method of the embodiment of the present invention, its barcode scanning
Process is simple and convenient, greatlys save the time of barcode scanning operation.
Moreover it is preferred that after step 206, embodiments of the invention also include:Detect whether the mobile terminal connects
It is connected to network;When the mobile terminal is not connected with network, the network connection of the mobile terminal is opened.
Wherein, after the barcode scanning interface of intended application is entered, mobile terminal could perform barcode scanning work(under networking state
Energy.And embodiments of the invention, after step 206, further detect mobile terminal and whether be connected with network, and not connected
During network, network is connected automatically, is networked manually again without user, be further simplify the operating process of user.
Further, after the network connection of the mobile terminal is opened, methods described also includes:When described mobile whole
When the intended application or the mobile terminal screen locking are exited in end, the network connection of the mobile terminal is closed.
Wherein, when completing barcode scanning using mobile terminal, and exiting with the interface of barcode scanning application or mobile terminal screen locking,
Mobile terminal, then by the network connection of automatic turning-off mobile terminal, can further save mobile terminal without using network
Power consumption, so as to extend stand-by time.
In summary, embodiments of the invention, will there is the application of barcode scanning function and different fingers on mobile terminal in advance
Line information is associated, and so as to be changed into inactive state from motion state in mobile terminal, and exists in the preset range of mobile terminal
During shelter, if getting target fingerprint information, the Auto-matching intended application associated with target fingerprint information, Jin Erjin
Enter the barcode scanning interface of the intended application, perform barcode scanning function.It follows that embodiments of the invention, in shape residing for mobile terminal
When state meets barcode scanning condition, user directly inputs finger print information, it is possible to so that mobile terminal enters corresponding barcode scanning interface,
Need not unlock mobile terminal, open application etc. sequence of operations, whole barcode scanning it is simple to operate, greatly save barcode scanning behaviour
The time of work.
The embodiment provides a kind of mobile terminal, as shown in figure 3, the mobile terminal 300 includes:
Detection module 301, for detecting whether the mobile terminal meets default barcode scanning condition;
Finger print acquisition module 302, for when the mobile terminal meets the default barcode scanning condition, detecting whether to obtain
To target fingerprint information;
Fingerprint matching module 303, for when getting the target fingerprint information, according to the finger print information prestored
With the incidence relation of application, it is determined that intended application corresponding with the target fingerprint information;
Barcode scanning processing module 304, for entering the barcode scanning interface of the intended application.
Preferably, as shown in figure 4, the detection module 301 includes:
Detection unit 3011, for detecting whether the mobile terminal from motion state is changed into inactive state, and detection
It whether there is shelter in the preset range of the mobile terminal;
First determining unit 3012, for being changed into inactive state, and the movement from motion state when the mobile terminal
When shelter be present in the preset range of terminal, determine that the mobile terminal meets the default barcode scanning condition;
Second determining unit 3013, for not being changed into inactive state from motion state when the mobile terminal, or it is described
When shelter in the preset range of mobile terminal be present, determine that the mobile terminal is unsatisfactory for the default barcode scanning condition.
Preferably, the detection unit 3011 includes:
Signal acquisition subelement, the output signal of the acceleration transducer for obtaining the mobile terminal;
State determination subelement, for when the acceleration transducer output signal from have become without when, determine the shifting
Dynamic terminal is changed into inactive state from motion state.
Preferably, as shown in figure 4, the detection unit 3011 includes:
Infrared detection subelement 30111, for detecting whether the mobile terminal receives Infrared Targets line, the target
Infrared ray be the mobile terminal on infrared module transmitting infrared ray be blocked thing reflection after infrared ray;
Apart from determination subelement 30112, for when the mobile terminal receives the Infrared Targets line, according to described
The intensity of Infrared Targets line, determine the distance between shelter and the mobile terminal;
Shelter determination subelement 30113, for being in default model when the distance between shelter and the mobile terminal
When within enclosing, determine shelter be present in the preset range of the mobile terminal.
Preferably, as shown in figure 4, the mobile terminal 300 also includes:
Network detection module 305, for detecting whether the mobile terminal is connected with network;
Network connecting module 306, for when the mobile terminal is not connected with network, opening the network of the mobile terminal
Connection.
Preferably, as shown in figure 4, the mobile terminal 300 also includes:
Network disconnects module 307, for exiting the intended application or the mobile terminal to lock when the mobile terminal
During screen, the network connection of the mobile terminal is closed.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in Fig. 1 to Fig. 2 embodiment of the method
Each process, to avoid repeating, repeat no more here.
In addition, the mobile terminal 300 of the embodiment of the present invention, in advance by the application on mobile terminal with barcode scanning function with not
With finger print information be associated, so as to meet default barcode scanning condition in mobile terminal, and when getting target fingerprint information, automatically
The matching intended application associated with target fingerprint information, and then enter the barcode scanning interface of the intended application, perform barcode scanning function.
It follows that embodiments of the invention, when mobile terminal meets default barcode scanning condition, user directly inputs finger print information, just
Mobile terminal can be caused to enter corresponding barcode scanning interface, it is whole without unlocking mobile terminal, opening the sequence of operations such as application
Individual barcode scanning it is simple to operate, greatly save barcode scanning operation time.
Embodiments of the invention additionally provide a kind of mobile terminal, as shown in figure 5, the mobile terminal 500 includes but unlimited
In:Radio frequency unit 501, mixed-media network modules mixed-media 502, audio output unit 503, input block 504, sensor 505, display unit 506,
The parts such as user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511.Art technology
Personnel are appreciated that the mobile terminal structure shown in Fig. 5 does not form the restriction to mobile terminal, and mobile terminal can include
Than illustrating more or less parts, some parts or different parts arrangement are either combined.In embodiments of the present invention,
Mobile terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, wearable device, with
And pedometer etc..
Wherein, processor 510 is used to detect whether the mobile terminal meets default barcode scanning condition, and described mobile whole
When end meets the default barcode scanning condition, detect whether to get target fingerprint information, the target fingerprint is got so as to work as
During information, according to the finger print information prestored and the incidence relation of application, it is determined that mesh corresponding with the target fingerprint information
Mark application, and then enter the barcode scanning interface of the intended application.
Therefore, the mobile terminal 500 of the embodiment of the present invention, in advance by mobile terminal have barcode scanning function application with not
With finger print information be associated, so as to meet default barcode scanning condition in mobile terminal, and when getting target fingerprint information, automatically
The matching intended application associated with target fingerprint information, and then enter the barcode scanning interface of the intended application, perform barcode scanning function.
It follows that embodiments of the invention, when mobile terminal meets default barcode scanning condition, user directly inputs finger print information, just
Mobile terminal can be caused to enter corresponding barcode scanning interface, it is whole without unlocking mobile terminal, opening the sequence of operations such as application
Individual barcode scanning it is simple to operate, greatly save barcode scanning operation time.
It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 510;In addition, will be up
Data are sent to base station.Generally, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 502 and accessed, and such as helps user to receive
Send e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be receiving by radio frequency unit 501 or mixed-media network modules mixed-media 502 or in memory 509
It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 503 can also be provided and moved
The audio output for the specific function correlation that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input block 504 is used to receive audio or video signal.Input block 504 can include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 506.Picture frame after the processing of graphics processor 5041 can be deposited
Storage is transmitted in memory 509 (or other storage mediums) or via radio frequency unit 501 or mixed-media network modules mixed-media 502.Mike
Wind 5042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be
The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 also includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity transducer can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 506 is used for the information for showing the information inputted by user or being supplied to user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 5061.
User input unit 507 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 507 include contact panel 5071 and
Other input equipments 5072.Contact panel 5071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 5071 or in contact panel 5071
Neighbouring operation).Contact panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
Manage the order that device 510 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes contact panel 5071.Except contact panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 5071 can be covered on display panel 5061, when contact panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch
The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, contact panel 5071 and display
Panel 5061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments
In, can be integrated by contact panel 5071 and display panel 5061 and realize input and the output function of mobile terminal, it is specific this
Place does not limit.
Interface unit 508 is the interface that external device (ED) is connected with mobile terminal 500.For example, external device (ED) can include
Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 500 can be used in the He of mobile terminal 500
Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 509 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 509, and call and be stored in storage
Data in device 509, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) to all parts power supply, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, will not be repeated here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium
Calculation machine program, the computer program realize each process of above-mentioned barcode scanning embodiment of the method when being executed by processor, and can reach
Identical technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, belong within the protection of the present invention.
Claims (11)
- A kind of 1. barcode scanning method, applied to mobile terminal, it is characterised in that including:Detect whether the mobile terminal meets default barcode scanning condition;When the mobile terminal meets the default barcode scanning condition, detect whether to get target fingerprint information;When getting the target fingerprint information, according to the finger print information prestored and the incidence relation of application, it is determined that with Intended application corresponding to the target fingerprint information;Into the barcode scanning interface of the intended application.
- 2. according to the method for claim 1, it is characterised in that whether the detection mobile terminal meets default barcode scanning The step of condition, including:Detect whether the mobile terminal from motion state is changed into inactive state, and the preset range of the detection mobile terminal It is interior to whether there is shelter;When the mobile terminal is changed into inactive state from motion state, and shelter be present in the preset range of the mobile terminal When, determine that the mobile terminal meets the default barcode scanning condition;When the mobile terminal is not changed into not existing in inactive state, or the preset range of the mobile terminal from motion state During shelter, determine that the mobile terminal is unsatisfactory for the default barcode scanning condition.
- 3. according to the method for claim 2, it is characterised in that in the preset range of the detection mobile terminal whether The step of shelter be present, including:Detect whether the mobile terminal receives Infrared Targets line, the Infrared Targets line is infrared on the mobile terminal Module transmitting infrared ray be blocked thing reflection after infrared ray;When the mobile terminal receives the Infrared Targets line, according to the intensity of the Infrared Targets line, shelter is determined The distance between described mobile terminal;When the distance between shelter and the mobile terminal are within preset range, the described of the mobile terminal is determined Shelter in preset range be present.
- 4. according to the method for claim 1, it is characterised in that the step of the barcode scanning interface into the intended application Afterwards, methods described also includes:Detect whether the mobile terminal is connected with network;When the mobile terminal is not connected with network, the network connection of the mobile terminal is opened.
- 5. according to the method for claim 4, it is characterised in that described after the network connection for opening the mobile terminal Method also includes:When the mobile terminal exits the intended application or the mobile terminal screen locking, the net of the mobile terminal is closed Network connects.
- A kind of 6. mobile terminal, it is characterised in that including:Detection module, for detecting whether the mobile terminal meets default barcode scanning condition;Finger print acquisition module, for when the mobile terminal meets the default barcode scanning condition, detecting whether to get target Finger print information;Fingerprint matching module, for when getting the target fingerprint information, according to the finger print information and application prestored Incidence relation, it is determined that intended application corresponding with the target fingerprint information;Barcode scanning processing module, for entering the barcode scanning interface of the intended application.
- 7. mobile terminal according to claim 6, it is characterised in that the detection module includes:Detection unit, for detecting whether the mobile terminal from motion state is changed into inactive state, and the detection movement It whether there is shelter in the preset range of terminal;First determining unit, for being changed into inactive state from motion state when the mobile terminal, and the mobile terminal is pre- If shelter in scope be present, determine that the mobile terminal meets the default barcode scanning condition;Second determining unit, for not being changed into inactive state, or the mobile terminal from motion state when the mobile terminal Preset range in when shelter be present, determine that the mobile terminal is unsatisfactory for the default barcode scanning condition.
- 8. mobile terminal according to claim 7, it is characterised in that the detection unit includes:Infrared detection subelement, for detecting whether the mobile terminal receives Infrared Targets line, the Infrared Targets line is On the mobile terminal infrared module transmitting infrared ray be blocked thing reflection after infrared ray;Apart from determination subelement, for when the mobile terminal receives the Infrared Targets line, according to the Infrared Targets The intensity of line, determine the distance between shelter and the mobile terminal;Shelter determination subelement, for when the distance between shelter and the mobile terminal are within preset range, Determine shelter be present in the preset range of the mobile terminal.
- 9. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:Network detection module, for detecting whether the mobile terminal is connected with network;Network connecting module, for when the mobile terminal is not connected with network, opening the network connection of the mobile terminal.
- 10. mobile terminal according to claim 9, it is characterised in that the mobile terminal also includes:Network disconnects module, for when the mobile terminal exits the intended application or the mobile terminal screen locking, closing Close the network connection of the mobile terminal.
- 11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 5 during the computing device Any one of barcode scanning method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710905806.9A CN107704182B (en) | 2017-09-29 | 2017-09-29 | Code scanning method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710905806.9A CN107704182B (en) | 2017-09-29 | 2017-09-29 | Code scanning method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107704182A true CN107704182A (en) | 2018-02-16 |
CN107704182B CN107704182B (en) | 2020-03-31 |
Family
ID=61175613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710905806.9A Active CN107704182B (en) | 2017-09-29 | 2017-09-29 | Code scanning method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107704182B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874467A (en) * | 2018-06-19 | 2018-11-23 | 阿里巴巴集团控股有限公司 | A kind of application function starting method, apparatus and equipment |
CN109033795A (en) * | 2018-07-24 | 2018-12-18 | 青岛海信移动通信技术股份有限公司 | A kind of method and terminal that the terminal containing camera is unlocked |
CN110363036A (en) * | 2019-07-17 | 2019-10-22 | 珠海格力电器股份有限公司 | Barcode scanning method and device based on line control machine, scan code system |
CN110837328A (en) * | 2019-10-28 | 2020-02-25 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN115841281A (en) * | 2022-11-07 | 2023-03-24 | 宁德时代新能源科技股份有限公司 | Material management method and device, computer equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528698A (en) * | 2016-02-01 | 2016-04-27 | 宇龙计算机通信科技(深圳)有限公司 | Fast code-scanning payment method and device |
CN105654012A (en) * | 2015-12-30 | 2016-06-08 | 福建联迪商用设备有限公司 | POS code scanning payment method and device |
CN106095295A (en) * | 2016-06-15 | 2016-11-09 | 维沃移动通信有限公司 | A kind of processing method based on fingerprint recognition and mobile terminal |
CN106408290A (en) * | 2016-08-26 | 2017-02-15 | 维沃移动通信有限公司 | Payment interface start method and mobile terminal |
CN106445363A (en) * | 2016-08-26 | 2017-02-22 | 维沃移动通信有限公司 | Payment interface startup method and mobile terminal |
CN106709392A (en) * | 2016-11-18 | 2017-05-24 | 广东小天才科技有限公司 | Two-dimensional code scanning method and mobile terminal |
CN106850943A (en) * | 2016-12-07 | 2017-06-13 | 努比亚技术有限公司 | A kind of apparatus and method for detecting terminal and the distance of shelter |
CN106846105A (en) * | 2017-01-13 | 2017-06-13 | 上海量明科技发展有限公司 | Share open method, client and the system of the vehicles |
CN106952089A (en) * | 2017-02-14 | 2017-07-14 | 北京奇虎科技有限公司 | A kind of startup method, device and the mobile terminal at payment interface |
CN107045682A (en) * | 2017-03-23 | 2017-08-15 | 努比亚技术有限公司 | Mobile terminal and fingerprint method of payment |
-
2017
- 2017-09-29 CN CN201710905806.9A patent/CN107704182B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105654012A (en) * | 2015-12-30 | 2016-06-08 | 福建联迪商用设备有限公司 | POS code scanning payment method and device |
CN105528698A (en) * | 2016-02-01 | 2016-04-27 | 宇龙计算机通信科技(深圳)有限公司 | Fast code-scanning payment method and device |
CN106095295A (en) * | 2016-06-15 | 2016-11-09 | 维沃移动通信有限公司 | A kind of processing method based on fingerprint recognition and mobile terminal |
CN106408290A (en) * | 2016-08-26 | 2017-02-15 | 维沃移动通信有限公司 | Payment interface start method and mobile terminal |
CN106445363A (en) * | 2016-08-26 | 2017-02-22 | 维沃移动通信有限公司 | Payment interface startup method and mobile terminal |
CN106709392A (en) * | 2016-11-18 | 2017-05-24 | 广东小天才科技有限公司 | Two-dimensional code scanning method and mobile terminal |
CN106850943A (en) * | 2016-12-07 | 2017-06-13 | 努比亚技术有限公司 | A kind of apparatus and method for detecting terminal and the distance of shelter |
CN106846105A (en) * | 2017-01-13 | 2017-06-13 | 上海量明科技发展有限公司 | Share open method, client and the system of the vehicles |
CN106952089A (en) * | 2017-02-14 | 2017-07-14 | 北京奇虎科技有限公司 | A kind of startup method, device and the mobile terminal at payment interface |
CN107045682A (en) * | 2017-03-23 | 2017-08-15 | 努比亚技术有限公司 | Mobile terminal and fingerprint method of payment |
Non-Patent Citations (1)
Title |
---|
秦湘清: "二维码扫码支付模式的探讨", 《中国金融电脑》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874467A (en) * | 2018-06-19 | 2018-11-23 | 阿里巴巴集团控股有限公司 | A kind of application function starting method, apparatus and equipment |
CN109033795A (en) * | 2018-07-24 | 2018-12-18 | 青岛海信移动通信技术股份有限公司 | A kind of method and terminal that the terminal containing camera is unlocked |
CN109033795B (en) * | 2018-07-24 | 2022-04-22 | 青岛海信移动通信技术股份有限公司 | Method for unlocking terminal with camera and terminal |
CN110363036A (en) * | 2019-07-17 | 2019-10-22 | 珠海格力电器股份有限公司 | Barcode scanning method and device based on line control machine, scan code system |
CN110837328A (en) * | 2019-10-28 | 2020-02-25 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN110837328B (en) * | 2019-10-28 | 2021-08-03 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN115841281A (en) * | 2022-11-07 | 2023-03-24 | 宁德时代新能源科技股份有限公司 | Material management method and device, computer equipment and storage medium |
CN115841281B (en) * | 2022-11-07 | 2023-11-10 | 宁德时代新能源科技股份有限公司 | Material management method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107704182B (en) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378A (en) | A kind of display control method and mobile terminal | |
CN107734179A (en) | A kind of message prompt method, mobile terminal | |
CN107704182A (en) | A kind of barcode scanning method and mobile terminal | |
CN107608514A (en) | Information processing method and mobile terminal | |
CN107707762A (en) | A kind of method for operating application program and mobile terminal | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN107835286A (en) | It is a kind of to prevent from misreading the method locked and mobile terminal | |
CN108833709A (en) | A kind of the starting method and mobile terminal of camera | |
CN107992342A (en) | A kind of application configuration change method and mobile terminal | |
CN107734170A (en) | A kind of notification message processing method, mobile terminal and wearable device | |
CN107884157A (en) | A kind of method for detecting abnormality of diffractive-optical element, mobile terminal | |
CN109743503A (en) | Reminding method and terminal | |
CN108376096A (en) | A kind of message display method and mobile terminal | |
CN107728920A (en) | A kind of clone method and mobile terminal | |
CN109190501A (en) | Operate recognition methods and terminal | |
CN109871176A (en) | A kind of object displaying method and terminal device | |
CN110517034A (en) | A kind of object identifying method and mobile terminal | |
CN108196663A (en) | A kind of face identification method, mobile terminal | |
CN107885423A (en) | The processing method and mobile terminal of a kind of picture | |
CN107809515A (en) | A kind of display control method and mobile terminal | |
CN108021315A (en) | A kind of control method and mobile terminal | |
CN107800968A (en) | A kind of image pickup method and mobile terminal | |
CN107979385A (en) | The information processing method and mobile terminal of a kind of radio-frequency devices | |
CN107704334A (en) | A kind of SDK processing method and mobile terminal | |
CN108494949B (en) | A kind of image classification method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |