CN105184203A - Method and device for mobile terminal to scan two-dimension code - Google Patents
Method and device for mobile terminal to scan two-dimension code Download PDFInfo
- Publication number
- CN105184203A CN105184203A CN201510368326.4A CN201510368326A CN105184203A CN 105184203 A CN105184203 A CN 105184203A CN 201510368326 A CN201510368326 A CN 201510368326A CN 105184203 A CN105184203 A CN 105184203A
- Authority
- CN
- China
- Prior art keywords
- quick response
- response code
- mobile terminal
- scan box
- mobile
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and a device for a mobile terminal to scan a two-dimension code, and belongs to the field of mobile communication. The method comprises the steps of acquiring the pressure value of a mobile terminal screen pressure sensor, adjusting the scanning range of a scanning frame according to the pressure value, displaying the scanning frame after adjustment, and acquiring a two-dimension code to be identified in the scanning range and analyzing the two-dimension code to be identified. By adopting the method and the device of the invention, a mobile terminal can scan a two-dimension code or barcode quickly and accurately, and the scanning speed and effect are greatly enhanced. The method and the device are more user-friendly.
Description
Technical field
The present invention relates to communication technique field, particularly relate to a kind of method and apparatus of mobile scanning terminal Quick Response Code.
Background technology
Quick Response Code scanning has become the method for the quick obtaining target information chained address that a kind of people often use, the Quick Response Code scanning that current mobile phone is supported, camera focus must aim at Quick Response Code center, and Quick Response Code must be included in scan box, be that focus and focal length must suitablely just can scan in scanning like this.
And Quick Response Code scan box is the fritter on mobile phone screen, very fast scan box will be aimed at Quick Response Code is not a thing easily, often need repeatedly to adjust up and down mobile phone and Quick Response Code relative position or apart from after, just scanning can be completed, concerning people, convenient not enough, fast.
Summary of the invention
Fundamental purpose of the present invention is the method and apparatus proposing a kind of new mobile scanning terminal Quick Response Code, is intended to solve existing Quick Response Code scanning technique and people can not be made to complete the problem of scanning quickly and easily.
For achieving the above object, the method for a kind of mobile scanning terminal Quick Response Code provided by the invention, comprises following steps:
Obtain the force value of mobile terminal screen pressure transducer, according to the sweep limit of described force value adjustment scan box, and the scan box after display adjustment;
Obtain in described sweep limit and resolve Quick Response Code to be identified.
Wherein, described sweep limit increases when applied pressure value increases, and reduces when force value reduces.
Wherein, described sweep limit changes according to the change applying pressure position.
Wherein, described sweep limit is specially according to the change and changing applying pressure position, and obtain the key assignments that screen is pressed, described key assignments is fed back to scanning application program by the system interface of mobile terminal, and scan box moves to pressed position.
Wherein, described scan box is dragged and followed touch track movement arbitrarily within the scope of mobile terminal screen.
In addition, for achieving the above object, the present invention also proposes a kind of device of mobile scanning terminal Quick Response Code, also comprises:
Pressure sensitive unit, for obtaining the force value of mobile terminal screen pressure transducer;
Sweep limit adjustment unit, after being set to get the force value of mobile terminal screen, according to the sweep limit of described force value adjustment scan box, and the scan box after display adjustment;
Quick Response Code resolution unit, is set to obtain in described sweep limit and resolve Quick Response Code to be identified.
Wherein, described sweep limit increases when applied pressure value increases, and reduces when force value reduces.
Wherein, described sweep limit changes according to the change applying pressure position.
Wherein, the sweep limit of described scan box is specially according to the change and changing applying pressure position, and obtain the key assignments that screen is pressed, described key assignments is fed back to scanning application program by the system interface of mobile terminal, and scan box moves to pressed position.
Wherein, described scan box is dragged and followed touch track movement arbitrarily within the scope of mobile terminal screen.
The method and apparatus of the mobile scanning terminal Quick Response Code that the present invention proposes, when scanning Quick Response Code, finger is on screen, under, left, right four direction slides or clicks, and scan box moves to respective direction; And at screen a certain pressing screen, Quick Response Code scan box becomes large automatically according to pressing dynamics, until scan box comprises Quick Response Code, uses hommization more, realize scanning Quick Response Code fast and accurately, greatly improve sweep velocity and effect.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
The method flow schematic diagram of the mobile scanning terminal Quick Response Code that Fig. 3 provides for the embodiment of the present invention one;
The structural representation of the device of the mobile scanning terminal Quick Response Code that Fig. 4 provides for the embodiment of the present invention two;
Fig. 5 is sweep limit and Quick Response Code position relationship one schematic diagram;
Fig. 6 is sweep limit and Quick Response Code position relationship two schematic diagram;
Fig. 7 is sweep limit and Quick Response Code position relationship three schematic diagram;
Fig. 8 is sweep limit and Quick Response Code position relationship four schematic diagram.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130, sensing cell 140, output unit 150, storer 160, interface unit 170, controller 180 and power supply unit 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the wireless communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO
@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receive digital broadcasting.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in storer 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth
tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee
tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (GPS).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating position and temporal information uses three satellites and by using the error of the position that goes out of an other satellite correction calculation and temporal information.In addition, GPS module 115 can carry out computing velocity information by Continuous plus current location information in real time.
A/V input block 120 is for audio reception or vision signal.A/V input block 120 can comprise camera 121 and microphone 1220, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in storer 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 1210 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of sound signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power supply unit 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other coupling arrangement.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, sound signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input media and output unit.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific embodiment wanted, mobile terminal 100 can comprise two or more display units (or other display device), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in storer 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loudspeaker, hummer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incomingcommunication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Storer 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, storer 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of sound signal.
Storer 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type storer (such as, SD or DX storer etc.), random access storage device (RAM), static random-access memory (SRAM), ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power supply unit 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various embodiment described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, embodiment described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such embodiment can be implemented in controller 180.For implement software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in storer 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or Physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA) (TDMA), CDMA (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several GPS (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Embodiment one
As shown in Figure 3, first embodiment of the invention proposes a kind of method, comprising:
The force value of S101, acquisition mobile terminal screen pressure transducer, according to the sweep limit of described force value adjustment scan box, and the scan box after display adjustment;
Concrete, end user sends Quick Response Code scan command by the Quick Response Code scanning sequence of mobile terminal or the Quick Response Code scanning sequence be embedded in third party's program to mobile terminal, after mobile terminal receives Quick Response Code scan command, start the camera head of mobile terminal, wait to be scanned.
After camera head starts, a scan box can be there is at mobile terminal screen, described scan box generally has a default size and acquiescence to be in the middle of screen, when now scan box does not cover the Quick Response Code be in mobile terminal screen completely, can, by touching mobile described scan box, scan box any direction in screen ranges be moved.Generally may there is following several situation:
1, scan box 1 is in central authorities, the somewhere of Quick Response Code 2 outside scan box, as shown in Figure 5, such as in the screen upper right corner, now, Quick Response Code 2 position can be clicked, acquisition for mobile terminal is to the force value of screen upper sensor, feed back to Quick Response Code scanning sequence, scan box 1 moves to the clicked place of screen with jumping mode, namely reaches the position shown in Fig. 6.Now, scan box may cover Quick Response Code completely, also may partly cover.Judge whether scan box covers Quick Response Code completely, if cover completely, scan box directly can scan and resolve described Quick Response Code; If not covering completely, scan box 1 can be pulled and move, sweep limit is subjected to displacement, until the sweep limit of scan box 1 covers Quick Response Code 2 completely, to reach state as shown in Figure 6.If scan box can't be made to cover Quick Response Code completely after towing, then directly press scan box, progressively strengthen the pressure be applied on screen, now scan box can become along with the increase of the pressure be applied on screen greatly, executes stressed reduction and reduce, until scan box can cover Quick Response Code completely, to reach state as shown in Figure 6, then scan box starts to scan and resolves described Quick Response Code.
After above-mentioned click motion scan frame, 1 judges whether scan box 1 covers Quick Response Code 2 completely, fail to cover Quick Response Code 2 completely if judged result is scan box 1, also directly in scan box, some pressure can be applied, then the pressure be applied on screen is progressively strengthened, now scan box can become large along with the increase be energetically applied on screen, until scan box can cover Quick Response Code completely, also can reach state shown in Fig. 6, then scan box starts to scan and resolves described Quick Response Code.
2, scan box 1 is at center Screen, overlaps with Quick Response Code 2, but fails to cover Quick Response Code completely, state as shown in Figure 7.Now, motion scan frame 1 can be pulled.Judge whether sweep limit all can cover Quick Response Code, if can, then directly scan and resolve described Quick Response Code.If sweep limit all can't cover Quick Response Code after towing motion scan frame, then press scan box 1, and progressively increase pressure, the force value of acquisition for mobile terminal screen pressure transducer induction, scan box is increased along with the increase of force value, until Quick Response Code 2 can be covered completely, reach state as shown in Figure 8, then scan and resolve described Quick Response Code.
3, scan box is at center Screen, overlap with Quick Response Code, but fail to cover Quick Response Code completely, now, directly can also press certain point in scan box, mobile terminal gets applied pressure value by pressure transducer, and according to the size of the size adjustment scan box of force value, namely scan box sweep limit increases when applied pressure value increases, reduce when force value reduces, until Quick Response Code border can be covered completely, reach state as shown in Figure 8, then scan and resolve described Quick Response Code.
Scan box on screen towed mobile time, the key assignments that acquisition for mobile terminal screen is triggered, described key assignments is fed back to scanning application program by the system interface of mobile terminal, and scan box is followed the key value track be triggered and moved.
S102, obtain in sweep limit and resolve Quick Response Code to be identified.
Concrete, after scan box covers Quick Response Code completely, scan box is scanned the full detail of Quick Response Code, then the information scanned is carried out resolving and being presented at mobile terminal.
Pass through the present invention, when scanning Quick Response Code, do not need again as prior art, the angle of continuous adjustment mobile terminal and direction, careful aligning Quick Response Code, its Quick Response Code that makes of wasting time and energy just can complete scanning in scan box, and only needs to slide or click screen four direction, and scan box is followed the tracks of mobile; Pressing screen a bit, makes its scan box automatically become large according to dynamics, until Quick Response Code focus is in scan box, realizes scan mode quickly and easily.
Embodiment two
With reference to the device of a kind of mobile scanning terminal Quick Response Code that Fig. 4, Fig. 4 provide for the embodiment of the present invention two, described device comprises: pressure sensitive unit 10, sweep limit adjustment unit 20, Quick Response Code resolution unit 30.
Pressure sensitive unit 10, for obtaining the force value of mobile terminal screen pressure transducer;
Concrete, end user starts Quick Response Code scanning from mobile terminal, can be started by the Quick Response Code scanning sequence of mobile terminal or the Quick Response Code scanning sequence be embedded in third party's program, after mobile terminal receives the order of Quick Response Code sweep start, start the camera head of mobile terminal, wait to be scanned.After camera head starts, a scan box can be there is at mobile terminal screen, described scan box generally has a default size and acquiescence to be in the middle of screen, now scan box does not cover Quick Response Code completely, the screen clicking Quick Response Code position can be led to, pressure sensitive unit 10 obtains this and presses force value, or in scan box, certain puts continu to press, obtains increase situation or the reduction situation of this force value.
Sweep limit adjustment unit 20, is set to the force value obtaining mobile terminal screen pressure transducer, according to the sweep limit of described force value adjustment scan box, and the scan box after display adjustment;
Concrete, when scan box and Quick Response Code position generally may not exist following several situation to time corresponding:
1, as shown in Figure 5, scan box 1 is in central authorities, the somewhere of Quick Response Code 2 outside scan box, such as in the screen upper right corner, now, Quick Response Code 2 position can be clicked, acquisition for mobile terminal is to the force value of screen upper sensor, feed back to Quick Response Code scanning sequence, scan box 1 moves to the clicked place of screen with jumping mode, namely reaches the position shown in Fig. 6.Now, scan box may cover Quick Response Code completely, also may partly cover.Judge whether scan box covers Quick Response Code completely, if cover completely, scan box directly can scan and resolve described Quick Response Code; If not covering completely, scan box 1 can be pulled and move, make the sweep limit of scan box 1 cover Quick Response Code 2 completely, to reach state as shown in Figure 6.If scan box can't be made to cover Quick Response Code completely after towing, then directly press scan box, progressively strengthen the pressure be applied on screen, now scan box can become large along with the increase of the pressure be applied on screen, execute stressed reduction and reduce, until scan box can cover Quick Response Code completely, then scan box starts to scan and resolves described Quick Response Code.
After above-mentioned click motion scan frame, 1 judges whether scan box 1 covers Quick Response Code 2 completely, fail to cover Quick Response Code 2 completely if judged result is scan box 1, also directly in scan box, some pressure can be applied, then the pressure be applied on screen is progressively strengthened, now scan box can become large along with the increase be energetically applied on screen, until scan box can cover Quick Response Code completely, also can reach state shown in Fig. 6, then scan box starts to scan and resolves described Quick Response Code.
2, as shown in Figure 7, scan box 1, in central authorities, overlaps with Quick Response Code 2, but fails to cover Quick Response Code completely, now, can pull motion scan frame 1.Judge whether sweep limit all can cover Quick Response Code, if can, then directly scan and resolve described Quick Response Code.If sweep limit all can't cover Quick Response Code after towing motion scan frame, then press scan box 1, and progressively increase pressure, the force value of acquisition for mobile terminal screen pressure transducer induction, scan box is increased along with the increase of force value, until Quick Response Code 2 can be covered completely, reach state as shown in Figure 8, then scan and resolve described Quick Response Code.
3, scan box 1 is in central authorities, overlap with Quick Response Code 2, but fail to cover Quick Response Code completely, now, directly can also press certain point in scan box, mobile terminal gets applied pressure value by pressure transducer, and according to the size of the size adjustment scan box of force value, namely scan box sweep limit increases when applied pressure value increases, reduce when force value reduces, until Quick Response Code border can be covered completely, reach state as shown in Figure 8, then scan and resolve described Quick Response Code.
Scan box on screen towed mobile time, the key assignments that acquisition for mobile terminal screen is triggered, described key assignments is fed back to scanning application program by the system interface of mobile terminal, and scan box is followed the key value track be triggered and moved.
Quick Response Code resolution unit 30, is set to obtain when the Quick Response Code of covering completely of scan box and resolve Quick Response Code to be scanned.2 D code information after parsing is presented in mobile terminal screen.
The scanning Quick Response Code device that the present invention realizes, achieves items scanning Quick Response Code, or during bar code, by dragging or click motion scan frame fast, and press scan box adjustment sweep limit, realize scanning Quick Response Code fast and accurately, greatly improve sweep velocity and effect.More user-friendly design substantially increases the efficiency of scanning application software.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a method for mobile scanning terminal Quick Response Code, is characterized in that: comprise following steps:
Obtain the force value of mobile terminal screen pressure transducer, according to the sweep limit of described force value adjustment scan box, and the scan box after display adjustment;
Obtain in described sweep limit and resolve Quick Response Code to be identified.
2. the method for mobile scanning terminal Quick Response Code according to claim 1, is characterized in that: described sweep limit increases when applied pressure value increases, and reduces when force value reduces.
3. the method for mobile scanning terminal Quick Response Code according to claim 1, is characterized in that: described sweep limit changes according to the change applying pressure position.
4. the method for mobile scanning terminal Quick Response Code according to claim 3, it is characterized in that: described sweep limit is specially according to the change and changing applying pressure position, obtain the key assignments that screen is pressed, described key assignments is fed back to scanning application program by the system interface of mobile terminal, and scan box moves to pressed position.
5. the method for mobile scanning terminal Quick Response Code according to claim 1, is characterized in that: described scan box is dragged follows touch track movement arbitrarily within the scope of mobile terminal screen.
6. a device for mobile scanning terminal Quick Response Code, is characterized in that, also comprises:
Pressure sensitive unit, for obtaining the force value of mobile terminal screen pressure transducer;
Sweep limit adjustment unit, after being set to get the force value of mobile terminal screen, according to the sweep limit of described force value adjustment scan box, and the scan box after display adjustment;
Quick Response Code resolution unit, is set to obtain in described sweep limit and resolve Quick Response Code to be identified.
7. the device of mobile scanning terminal Quick Response Code according to claim 6, is characterized in that: described sweep limit increases when applied pressure value increases, and reduces when force value reduces.
8. the device of mobile scanning terminal Quick Response Code according to claim 6, is characterized in that: described sweep limit changes according to the change applying pressure position.
9. the device of mobile scanning terminal Quick Response Code according to claim 6, it is characterized in that: the sweep limit of described scan box is specially according to the change and changing applying pressure position, obtain the key assignments that screen is pressed, described key assignments is fed back to scanning application program by the system interface of mobile terminal, and scan box moves to pressed position.
10. the device of mobile scanning terminal Quick Response Code according to claim 6, is characterized in that: described scan box is dragged follows touch track movement arbitrarily within the scope of mobile terminal screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510368326.4A CN105184203A (en) | 2015-06-29 | 2015-06-29 | Method and device for mobile terminal to scan two-dimension code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510368326.4A CN105184203A (en) | 2015-06-29 | 2015-06-29 | Method and device for mobile terminal to scan two-dimension code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105184203A true CN105184203A (en) | 2015-12-23 |
Family
ID=54906274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510368326.4A Pending CN105184203A (en) | 2015-06-29 | 2015-06-29 | Method and device for mobile terminal to scan two-dimension code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105184203A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106156685A (en) * | 2016-07-07 | 2016-11-23 | 立德高科(昆山)数码科技有限责任公司 | The method of multiple Quick Response Codes, device and the terminal that recognition is in the same area |
CN106384071A (en) * | 2016-09-28 | 2017-02-08 | 乐视控股(北京)有限公司 | Two-dimensional code scanning recognition processing method and device |
CN106570437A (en) * | 2016-10-19 | 2017-04-19 | 乐视控股(北京)有限公司 | Two-dimensional code scanning processing method and mobile terminal thereof |
CN106845311A (en) * | 2016-11-09 | 2017-06-13 | 北京鼎九信息工程研究院有限公司 | A kind of reading method and device of figure Quick Response Code |
CN107886020A (en) * | 2017-10-17 | 2018-04-06 | 北京三快在线科技有限公司 | A kind of method and apparatus of barcode scanning |
CN108304744A (en) * | 2018-01-18 | 2018-07-20 | 维沃移动通信有限公司 | A kind of scan box location determining method and mobile terminal |
CN108628508A (en) * | 2018-04-25 | 2018-10-09 | 维沃移动通信有限公司 | It is a kind of to adjust the method and mobile terminal for cutting out window |
CN108830266A (en) * | 2018-03-23 | 2018-11-16 | 阿里巴巴集团控股有限公司 | A kind of method, device and equipment of image recognition |
CN108846663A (en) * | 2018-06-21 | 2018-11-20 | 维沃移动通信有限公司 | A kind of two dimensional code method of adjustment, device and mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223476A (en) * | 2010-04-13 | 2011-10-19 | 索尼公司 | Image pick-up apparatus, detection-frame adjustment method, and program |
CN103699869A (en) * | 2013-12-30 | 2014-04-02 | 优视科技有限公司 | Method and device for recognizing two-dimension codes |
CN104123520A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Two-dimensional code scanning method and device |
CN104363400A (en) * | 2014-10-29 | 2015-02-18 | 广东欧珀移动通信有限公司 | Method and device for scanning local two-dimensional codes |
-
2015
- 2015-06-29 CN CN201510368326.4A patent/CN105184203A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223476A (en) * | 2010-04-13 | 2011-10-19 | 索尼公司 | Image pick-up apparatus, detection-frame adjustment method, and program |
CN104123520A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Two-dimensional code scanning method and device |
CN103699869A (en) * | 2013-12-30 | 2014-04-02 | 优视科技有限公司 | Method and device for recognizing two-dimension codes |
CN104363400A (en) * | 2014-10-29 | 2015-02-18 | 广东欧珀移动通信有限公司 | Method and device for scanning local two-dimensional codes |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106156685A (en) * | 2016-07-07 | 2016-11-23 | 立德高科(昆山)数码科技有限责任公司 | The method of multiple Quick Response Codes, device and the terminal that recognition is in the same area |
CN106384071A (en) * | 2016-09-28 | 2017-02-08 | 乐视控股(北京)有限公司 | Two-dimensional code scanning recognition processing method and device |
CN106570437A (en) * | 2016-10-19 | 2017-04-19 | 乐视控股(北京)有限公司 | Two-dimensional code scanning processing method and mobile terminal thereof |
CN106845311A (en) * | 2016-11-09 | 2017-06-13 | 北京鼎九信息工程研究院有限公司 | A kind of reading method and device of figure Quick Response Code |
CN107886020A (en) * | 2017-10-17 | 2018-04-06 | 北京三快在线科技有限公司 | A kind of method and apparatus of barcode scanning |
CN107886020B (en) * | 2017-10-17 | 2019-03-08 | 北京三快在线科技有限公司 | A kind of method and apparatus of barcode scanning |
CN108304744A (en) * | 2018-01-18 | 2018-07-20 | 维沃移动通信有限公司 | A kind of scan box location determining method and mobile terminal |
CN108830266A (en) * | 2018-03-23 | 2018-11-16 | 阿里巴巴集团控股有限公司 | A kind of method, device and equipment of image recognition |
CN108628508A (en) * | 2018-04-25 | 2018-10-09 | 维沃移动通信有限公司 | It is a kind of to adjust the method and mobile terminal for cutting out window |
CN108846663A (en) * | 2018-06-21 | 2018-11-20 | 维沃移动通信有限公司 | A kind of two dimensional code method of adjustment, device and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105184203A (en) | Method and device for mobile terminal to scan two-dimension code | |
CN104850259A (en) | Combination operation method, combination operation apparatus, touch screen operating method and electronic device | |
CN104750420A (en) | Screen capturing method and device | |
CN105426097A (en) | Real time adjustment method for split screen size and split screen apparatus | |
CN104808944A (en) | Touch operation induction method and device | |
CN105183308A (en) | Picture display method and apparatus | |
CN104731453A (en) | Method and device for adjusting colors of terminal icon texts | |
CN104735255A (en) | Split screen display method and system | |
CN105094555A (en) | Method and device for switching application program through swipe gesture | |
CN104731512A (en) | Method, device and terminal for sharing pictures | |
CN104731480A (en) | Image display method and device based on touch screen | |
CN105389110A (en) | Fast touch apparatus and method | |
CN104793867A (en) | Mobile terminal and sliding recognition method for virtual frame area of mobile terminal | |
CN105095733A (en) | Screen display method and mobile terminal | |
CN104915140A (en) | Processing method based on virtual key touch operation data and processing device based on virtual key touch operation data | |
CN105045502A (en) | Image processing method and image processing device | |
CN104978123A (en) | Screen division method and apparatus | |
CN105243126A (en) | Cross-screen screen capture method and apparatus | |
CN105094665A (en) | Screen capturing method and apparatus | |
CN104850349A (en) | Page displaying method and apparatus | |
CN104898940A (en) | Picture processing method and device | |
CN104951236A (en) | Wallpaper configuration method for terminal device, and terminal device | |
CN104915099A (en) | Icon sorting method and terminal equipment | |
CN104853088A (en) | Method for rapidly focusing a photographing mobile terminal and mobile terminal | |
CN104915127A (en) | Touch key setting method and device, and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151223 |