CN104750418B - Recognition methods and device of the touch operation region length by operation - Google Patents

Recognition methods and device of the touch operation region length by operation Download PDF

Info

Publication number
CN104750418B
CN104750418B CN201510145383.6A CN201510145383A CN104750418B CN 104750418 B CN104750418 B CN 104750418B CN 201510145383 A CN201510145383 A CN 201510145383A CN 104750418 B CN104750418 B CN 104750418B
Authority
CN
China
Prior art keywords
touch operation
current location
location information
positional information
information
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.)
Active
Application number
CN201510145383.6A
Other languages
Chinese (zh)
Other versions
CN104750418A (en
Inventor
陈伟韬
迟建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510145383.6A priority Critical patent/CN104750418B/en
Publication of CN104750418A publication Critical patent/CN104750418A/en
Priority to PCT/CN2016/076392 priority patent/WO2016155490A1/en
Application granted granted Critical
Publication of CN104750418B publication Critical patent/CN104750418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of touch operation region length is by the recognition methods for operating, the method includes:When touch operation being received based on the fringe region in terminal touch operation region, obtain touch operation current location information in real time;When first time current location information is got, using the current location information for getting as initial position message;When current location information is got every time, the current location information for getting and initial position message are compared;When the positional information that the positional information for getting and initial acquisition are arrived is mismatched, stop obtaining touch operation current location information;The positional information for getting and initial acquisition to positional information mate when, continue to obtain touch operation current location information, until obtaining touch operation duration more than or equal to preset duration, determine current touch operation for long by operation.Invention additionally discloses a kind of identifying device of touch operation region length by operation.The present invention improves the long accuracy rate by operation.

Description

Recognition methods and device of the touch operation region length by operation
Technical field
The present invention relates to technical field of hand gesture recognition, more particularly to a kind of touch operation region length is by the recognition methods of operation And device.
Background technology
As the function of the mobile terminals such as developing rapidly for the communication technology, mobile phone is more and more, the joy that can be realized on computer Happy function, major part all can realize that people can see a film on mobile terminals, play game, browse on mobile terminals Webpage, Video chat etc..In order to improve the visual effect of mobile terminal, mobile terminal is increasingly intended to screen enlarging development, but In view of the portability feature of mobile terminal, its size infinitely can not possibly increase, and this is accomplished by the profile for making full use of mobile terminal Therefore size occurs in that the narrow frame even mobile terminal of Rimless increasing the utilization rate of screen.
Narrow frame or Rimless mobile terminal make full use of the appearance and size of mobile terminal, greatly extend mobile terminal Screen size, meet demand of the user to giant-screen, at the same cause mobile terminal profile more attractive in appearance.However, existing Narrow frame or Rimless mobile terminal recognize according only to the operation duration long by operation identification, it is easy to other are touched Operation is identified as long by operation, causes long low by operation recognition accuracy, the great puzzlement of cause the user, has a strong impact on use Experience at family.
Content of the invention
Present invention is primarily targeted at proposing recognition methods and device of a kind of touch operation region length by operation, it is intended to Solve the long technical problem low by operation recognition accuracy.
For achieving the above object, a kind of recognition methods of the touch operation region length that the present invention is provided by operation, described tactile Touching operating area length is included by the recognition methods of operation:
When touch operation being received based on the fringe region in terminal touch operation region, obtain the touch operation in real time Current location information;
When first time current location information is got, using the current location information for getting as initial position message;
After first time gets current location information, when the current location information is got every time, will obtain To the current location information compare with the initial position message;
When the positional information that the positional information for getting and initial acquisition are arrived is mismatched, stop obtaining the touch operation Current location information;
The positional information for getting and initial acquisition to positional information mate when, continue to obtain the touch operation and work as Front position information, until obtaining the touch operation duration more than or equal to preset duration, determines that current touch operation is Long pressing operates.
Preferably, described when touch operation is received based on the fringe region in terminal touch operation region, obtain in real time The step of touch operation current location information, includes:
When touch operation being received based on the fringe region in terminal touch operation region, obtain the touch operation corresponding Number of contacts;
When the number of contacts is less than predetermined threshold value, the touch operation current location information is obtained in real time.
Preferably, described when the number of contacts is less than predetermined threshold value, obtain the touch operation current location in real time The step of information, includes:
When the number of contacts is less than predetermined threshold value, the corresponding positional information in each contact is determined;
When the positional information is mismatched with default positional information, the touch operation present bit confidence is obtained in real time Breath.
Preferably, described after first time gets current location information, getting the present bit confidence every time During breath, include the step of the current location information for getting is compared with the initial position message:
After first time gets current location information, when the current location information is got every time, according to institute State corresponding with the initial position message coordinate information of the corresponding coordinate information of current location information calculate current location with first The distance between beginning position;
Whether the calculated distance is judged less than predeterminable range, wherein, the calculated distance is less than institute When stating predeterminable range, judge described in the current location information that gets and initial acquisition to positional information mate.
Preferably, after the step of current touch operation of the determination presses operation for length, the touch operation region is long Also include by the recognition methods of operation:
Determine current application scene;
Obtain long pressing described in current application scene and operate corresponding control instruction, and respond the control instruction.
Additionally, for achieving the above object, the present invention also proposes a kind of identifying device of touch operation region length by operation, institute Stating touch operation region length is included by the identifying device of operation:
Position acquisition module, for when touch operation is received based on the fringe region in terminal touch operation region, real When obtain the touch operation current location information;
Initial position definition module, for when first time current location information is got, by the current location for getting Information as initial position message,
Positional information comparing module, after getting current location information in first time, described getting every time During current location information, the current location information for getting and the initial position message are compared;
Action recognition module, when the positional information for arriving in the positional information for getting and initial acquisition is mismatched, stops The touch operation current location information is only obtained;The positional information for getting and initial acquisition to positional information mate When, continue to obtain the touch operation current location information, until obtaining the touch operation duration more than or equal to default Duration, determines current touch operation for long by operation.
Preferably, the position acquisition module includes:
Number of contacts acquiring unit, for receiving touch operation based on the fringe region in terminal touch operation region When, obtain the corresponding number of contacts of the touch operation;
Location information acquiring unit, grasps for when the number of contacts is less than predetermined threshold value, obtaining described touch in real time Make current location information.
Preferably, the location information acquiring unit is additionally operable to:
When the number of contacts is less than predetermined threshold value, the corresponding positional information in each contact is determined;
When the positional information is mismatched with default positional information, the touch operation present bit confidence is obtained in real time Breath.
Preferably, the positional information comparing module includes:
Metrics calculation unit, after getting current location information in first time, described current getting every time During positional information, according to the corresponding coordinate information of current location information coordinate information corresponding with the initial position message Calculate the distance between current location and initial position;
Distance Judgment unit, for judging that the calculated distance, whether less than predeterminable range, wherein, is calculated Distance when being less than the predeterminable range, judge that the current location information for getting is believed with the position that initial acquisition is arrived Breath coupling.
Preferably, described touch operation region length is also included by the identifying device of operation:
Operation respond module, for determining current application scene, and obtains long corresponding by operation described in current application scene Control instruction, and respond the control instruction.
When the present invention passes through touch operation to be received in the marginal zone in terminal touch operation region, obtain the touch in real time The current location information of operation, and when first time current location information is got, using the current location information for obtaining as first Beginning positional information;Then, after first time gets current location information, when current location information is got every time, will obtain The current location information that gets is compared with initial position message, in the position that the positional information for getting and initial acquisition are arrived During information matches, continue to obtain touch operation current location information, until obtaining touch operation duration more than or equal to default Duration, determines current touch operation for long by operation, the present bit that so will be obtained by real-time detection in preset duration Confidence breath is compared with initial position message, the current location information taken when harvest in preset duration and initial position message When all mating, just determine this touch operation for long by operation, it is to avoid other touch operations to be identified as length by operation, is improved The long accuracy rate by operation.
Description of the drawings
Fig. 1 is the hardware architecture diagram of the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is schematic flow sheet of the inventive touch operating area length by the recognition methods first embodiment of operation;
Fig. 4 is schematic flow sheet of the inventive touch operating area length by the recognition methods second embodiment of operation;
Fig. 5 is schematic flow sheet of the inventive touch operating area length by the recognition methods 3rd embodiment of operation;
Fig. 6 is high-level schematic functional block diagram of the inventive touch operating area length by the identifying device first embodiment of operation;
Fig. 7 is high-level schematic functional block diagram of the inventive touch operating area length by the identifying device second embodiment of operation;
Fig. 8 is high-level schematic functional block diagram of the inventive touch operating area length by the identifying device 3rd embodiment of operation.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only in order to explain the present invention.
Referring now to the mobile terminal that Description of Drawings realizes each embodiment of the invention.In follow-up description, use For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " mixedly can be used with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for illustrating Part.More or less of component can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and which allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal generated before the server or reception of broadcast singal and/or broadcast related information and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is receiving.Broadcast singal can be present in a variety of manners, and for example, which can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 is calculated from three or more satellites Range information and correct time information and for calculate Information application triangulation, so as to according to longitude, latitude Three-dimensional current location information is highly accurately calculated.Currently, defended using three for calculating the method for position and temporal information Star and the error of the position that calculated by using other satellite correction and temporal information.Additionally, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used for receiving audio or video signal.A/V input blocks 120 can include 121 He of camera Microphone 1220,121 pairs of static maps obtained by image capture apparatus in Video Capture pattern or image capture mode of camera The view data of piece or video is processed.Picture frame after process is may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memory 160 (or other storage mediums) or carry out via wireless communication unit 110 Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (voice data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be by Such acoustic processing is voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model For the form output of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can implement all kinds Noise eliminate (or suppress) algorithm with eliminate noise that (or suppression) is produced during receiving and sending audio signal or Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, and (for example, mobile terminal 1 00 opens or closes shape State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input), the mobile terminal of mobile terminal 1 00 100 orientation, the acceleration or deceleration movement of mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or is cut out.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 is coupled with external device (ED).Sensing unit 140 can will be combined below including proximity transducer 1410 Touch-screen is being described to this.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for being used for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected with mobile terminal 1 00 via port or other attachment means.Interface unit 170 can be used for receive from The input (for example, data message, electric power etc.) of external device (ED) and the input for receiving is transferred in mobile terminal 1 00 One or more elements can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing to pass through which by electricity Power provides the path of mobile terminal 1 00 from base or can serve as allowing the various command signals from base input to pass through which It is transferred to the path of mobile terminal.The various command signals or electric power being input into from base may serve as recognizing that mobile terminal is The no signal being accurately fitted within base.Output unit 150 is configured to defeated with the offer of vision, audio frequency and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include showing Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia files Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when the display unit 151 and touch pad touch-screen with formation superposed on one another as a layer, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these displays may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment that wants, mobile terminal 1 00 can include two or more display units (or other display devices), for example, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection and touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal in call signal reception pattern, call mode, logging mode, When under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memory 160 The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is executed. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 1 00.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can provide output in a different manner with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incomingcommunication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Tactile output as by providing, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the process and control operation executed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can be storing the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch-screen Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of 180 usual control mobile terminal of controller.For example, controller 180 is executed and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can include (or playback) many matchmakers for reproducing The multi-media module 1810 of volume data, multi-media module 1810 can be constructed in controller 180, or it is so structured that and control Device processed 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for executing on the touchscreen or figure Piece is drawn input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to execute function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. For software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) that is write with any appropriate programming language Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system are operating.
Referring now to the communication system that Fig. 2 descriptions are wherein operable to according to the mobile terminal of the present invention.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. If back haul link can be constructed according to any one in the interface that Ganji knows, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion that line is covered is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system 100.Broadcasting reception module 111 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295 as shown in Figure 1 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellite 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 is generally configured to coordinate to obtain the positioning that wants letter with satellite 300 as shown in Figure 1 Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can track the position of mobile terminal other Technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
Used as a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.00 usual participation call of mobile terminal 1, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti- Processed in specific BS270 to link signal.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of the coordination including the soft switching process between BS270.BSC275 is also by the number for receiving According to MSC280 is routed to, which is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, inventive touch operating area length is proposed by operation Recognition methods each embodiment.
Recognition methods of the touch operation region length of the present invention by operation, is particularly well-suited to narrow frame or Rimless movement is whole End, the mobile terminal touch operation region mentioned by the present invention is for the region of receive user touch operation, it is preferable that should Touch operation region is divided into the normal areas of fringe region and non-edge.Wherein, fringe region is that mobile terminal touches behaviour Make bar-shaped zone of the region near two longer sides frames, the size (such as width and length) of fringe region and number can adjust, should Touch operation region outside fringe region is normal areas;Normal areas are the Petting Area in touch operation region in prior art Domain, for normally receiving the touch operation of user, and executes corresponding instruction (making corresponding response).
Virtual two input equipments in the terminal, specifically, when the touch operation region of mobile terminal drives beginningization By input_register_device () instruction two input equipments (input) of registration, such as input equipment 0 (input0) and Input equipment 1 (input1).And distribute an input by input_allocate_device () instructions for each subregion The corresponding input equipment 0 of equipment, such as common subregion, the corresponding input equipment 1 of special subregion.After good two input equipments of registration, Identify that active user touch area is normal areas or marginal zone according to the name of the input equipment for driving layer to report in upper strata Domain, different region, upper strata processing mode are different.Upper strata mentioned by this is often referred to framework (Framework) layer, application layer Deng, in the system of mobile terminal, the custom-built system such as such as android, IOS, generally include bottom (physical layer, drive layer) with And upper strata (ccf layer, application layer), the trend of signal stream is:Physical layer (touch panel) receives the touch operation of user, thing Reason pressing is changed into electric signal TP, is transferred to drive layer by TP, drives layer to parse the position for pressing, obtains location point The parameter is uploaded to ccf layer by concrete coordinate, duration, pressure and other parameters, and ccf layer can pass through with the communication for driving layer Realizing, ccf layer receives the input equipment (input) for driving layer to corresponding interface, parses the input equipment, so as to select Response is not responding to the input equipment, and effectively input is passed up to which application concrete, to meet application layer root Different application operatings are executed according to different events.
Reported event is received in framework (Framework) layer, and (reported event includes input equipment and touch point or touches Touch operation parameters etc.) after, first according to the name of input equipment, which region identification is, drives layer (kernel) to know It is not to touch in special subregion, then it is input1 to drive layer to be reported to the input equipment of ccf layer, rather than is gone up with input0 Report, i.e. ccf layer need not judge current touch point in which subregion, it is not required that judge the size and location of subregion, this A little judgement operations are completed on driving layer, also, drive layer that this can be reported except specifically which input equipment reported, also to touch Parameters a little are touched to ccf layer, such as compressing time, position coordinates, pressure size etc..
It should be noted that when reported event is that the corresponding input equipment of fringe region is reported, ccf layer is being received To after reported event, multichannel mechanism is turned by single channel, application layer is reported to.Specially:A passage is registered first, is passed through The passage transmits the reported event, monitors the event by monitor (listener), by the event by different passages, passes Corresponding application module is handed to, different application operatings are produced, wherein, application module includes the conventional application such as shooting, contact person; Different application operatings are produced, such as under shooting application, user is clicked in special subregion, then can produce focusing, is shot, is taken good care of oneself As different operatings such as parameters.It should be noted that before reported event is delivered to monitor, being single channel, after monitor is monitored, reporting What event was walked is multichannel, and multichannel is while exist, which is advantageous in that can be while be transferred to different application modules, difference should Different response operations are produced with module.
Alternatively, said process is implemented as:Using the mode of object-oriented, normal areas and fringe region is defined Classification and implementation, after judging to be fringe region, the touch point of different resolution is sat by EventHub functions Mark is converted into the coordinate of LCD, defines single channel function (such as serverchannel and clientchannel etc.), the function Effect is, after reported event is received, the event is transferred to task manager by the passage (TouchEventManager), by the monitoring of monitor, the event is transferred to multiple sound simultaneously or one by one by multichannel Under the application module that answers, it is also possible to only pass to one of application module, application module such as camera, gallery etc., no Corresponding operation is produced with application module.Certainly, implementing for said process can also be realized for other modes, and the present invention is real Apply example without limitation.
Additionally, when reported event is that the corresponding input equipment of fringe region is reported, ccf layer reports thing receiving After part, multichannel mechanism is turned by single channel no longer, but directly by multichannel mechanism, monitor (listener) is supervised The event is listened, by the event by different passages, corresponding application module is transferred to, is produced different application operatings, wherein, Application module includes imaging, the conventional application such as contact person;Produce different application operatings, such as under shooting application, Yong Hu Common subregion is clicked on, then can produce focusing, is shot, and adjusts the different operatings such as camera parameter.It should be noted that the multichannel is not Exist simultaneously, but the unit interval only produces single passage.
Alternatively, said process is implemented as:After judging to be common subregion, by EventHub functions by difference The touch point coordinate transformation of resolution ratio for LCD coordinate, define single channel function (such as serverchannel and Clientchannel etc.), the effect of the function is, after reported event is received, the event is transferred to event by the passage The event, by the monitoring of monitor, is transferred to multiple sound by multichannel by manager (TouchEventManager) one by one Under the application module that answers, it is also possible to only pass to one of application module, application module such as camera, gallery etc., no Corresponding operation is produced with application module.Certainly, implementing for said process can also be realized for other modes, and the present invention is real Apply example without limitation.
As shown in figure 3, in inventive touch operating area length is by the first embodiment of the recognition methods of operation, the touch Operating area length is included by the recognition methods of operation:
Step S10, when touch operation is received based on the fringe region in terminal touch operation region, is obtained described in real time Touch operation current location information;
Terminal can be mobile terminal (such as smart mobile phone) herein, receive in the fringe region in terminal touch operation region When touch operation, start to obtain the touch operation current location information in real time, the positional information is mobile whole based on being preset in Plane coordinate system in the touch operation region of end, the position coordinates at the touch operation place of acquisition.
Step S20, when first time current location information is got, using the current location information for getting as initial bit Confidence ceases;
When first time current location information is got, using the current location information for getting as initial position message (such as initial position co-ordinates (X0, Y0)).
Step S30, after first time gets current location information, is getting the current location information every time When, the current location information for getting and the initial position message are compared;
After first gets current location information, often cross prefixed time interval and obtain working as the once touch operation Front position information, the current location information got after initial position message is compared with the initial position message Right.
Step S40, when the positional information that the positional information for getting and initial acquisition are arrived is mismatched, stops acquisition described Touch operation current location information;
When the positional information that the positional information for getting and initial acquisition are arrived is mismatched, show the shifting of this touch operation Dynamic distance is unsatisfactory for pre-conditioned, and the displacement of such as this touch operation is excessive, defines slide, then stop obtaining and touch Touch operation current location information.
Step S50, the positional information for getting and initial acquisition to positional information mate when, continue to obtain described touching Operation current location information is touched, until the touch operation duration is obtained more than or equal to preset duration, determines current touching Operation is touched for long by operation.
The positional information for getting and initial acquisition to positional information mate when, such as current location and initial position it Between distance less than preset value, show that this touch operation displacement is little, meet the long requirement by operation in displacement, But the long factor for also needing to consider to touch duration by operation, therefore continue to obtain the touch operation current location information, continuing will The current location information for getting is compared with initial position message, until being more than or equal in the touch operation duration Preset duration, and within the touch operation lasting this period, the current location information for obtaining in real time and initial position message All it is coupling, it is determined that current touch operation is for long by operation.
When in the present embodiment, by receiving touch operation in the marginal zone in terminal touch operation region, obtain in real time Take the current location information of the touch operation, and when first time current location information is got, the present bit confidence that will be obtained Breath is used as initial position message (being set to A0);Then after first time gets current location information, every between Preset Time A touch operation current location information is obtained every T0 (e.g., prefixed time interval is 50ms), described current getting every time During positional information, the current location information for getting and the initial position message are compared, for example, if distance is obtained It is A1 to get the current location information after initial position message A0 acquired in a prefixed time interval T0, two Preset Times Interval T0 acquired in current location information be A2, the like, obtain A3, A4, A5 ... An, n be equal to preset duration divided by Then A1 is compared by the business of prefixed time interval the total after rounding with A0, if A1 and A0 is mismatched, stops obtaining The current location information of the touch operation;If A1 is mated with A0, continue to be mated A2 with A0, until An and A0 are also With (obtain the touch operation duration more than or equal to preset duration and current location information all with initial position message Match somebody with somebody), it is determined that current touch operation is for long by operation, the present bit that so will be obtained by real-time detection in preset duration Confidence breath is compared with initial position message, the current location information taken when harvest in preset duration and initial position message When all mating, just determine this touch operation for long by operation, it is to avoid to be identified as other touch operations (such as slide) Long pressing operates, and improves the long accuracy rate by operation.
Further, inventive touch operating area length is proposed based on first embodiment real by the recognition methods second of operation Example is applied, with reference to Fig. 4, in the present embodiment, step S10 includes:
Step S11, when touch operation is received based on the fringe region in terminal touch operation region, obtains the touch Operate corresponding number of contacts;
Step S12, when the number of contacts is less than predetermined threshold value, obtains the touch operation present bit confidence in real time Breath.
In the present embodiment, when touch operation is received based on the fringe region in terminal touch operation region, institute is obtained The corresponding number of contacts of touch operation is stated, when the number of contacts is less than predetermined threshold value, (for example predetermined threshold value is 2, in contact When quantity is less than 2, now touch operation is most likely not that user grips the touch operation produced by terminal because user grips eventually The gesture at end is divided into vertical gripping and grips with horizontal, and vertical gripping has 3 and 3 with upper contact with horizontal gripping terminal), real When obtain the touch operation current location information, so as to avoid by user grip terminal gripping action be erroneously identified as growing By operation, the long recognition accuracy by operation is further increased.
Preferably, step S12 includes:
Step S121, when the number of contacts is less than predetermined threshold value, determines the corresponding positional information in each contact;
Step S122, when the positional information is mismatched with default positional information, obtains the touch operation in real time Current location information.
In the present embodiment, when the number of contacts of the touch operation is less than predetermined threshold value, determine that each contact is corresponding Positional information;When the positional information is mismatched with default positional information, for example default positional information is all of Contact is not located in the fringe region of terminal side, is only distributed in terminal touch operation region in the contact of the touch operation single When in the fringe region of side, the touch operation current location information is obtained in real time, so as to avoid for number of contacts being less than predetermined threshold value And special touch operation (such as 2 contacts grip terminal) again for gripping action is identified as length by operation, further increases The long recognition accuracy by operation.
Further, inventive touch operating area length is proposed based on first embodiment real by the recognition methods the 3rd of operation Example is applied, with reference to Fig. 5, in the present embodiment, step S30 includes:
Step S31, after first time gets current location information, is getting the current location information every time When, calculated according to the corresponding coordinate information of current location information coordinate information corresponding with the initial position message current The distance between position and initial position;
After first time gets current location information, when current location information is got every time, according to according to institute State corresponding with the initial position message coordinate information of the corresponding coordinate information of current location information calculate current location with first The distance between beginning position, such as initial position respective coordinates information are (X0, Y0), the current location information pair for getting every time The coordinate information that answers is (X1, Y1)、(X2, Y2) etc., according toDraw and get for the second time The distance between current location and initial position, can draw third time, the current location for getting for the 4th time and initial bit in the same manner The distance between put.
Step S32, judges the calculated distance whether less than predeterminable range, wherein, calculated described away from Described in, during less than the predeterminable range, judge the current location information that gets and initial acquisition to positional information mate.
After first time obtains current location information, judge between the current location that gets every time and initial position Whether distance is less than predeterminable range, wherein, when the calculated distance is less than the predeterminable range, gets described in judgement Positional information and initial acquisition to positional information mate.
In the present embodiment, the current location information that will be got is achieved with a kind of relatively simple calculation The step of being compared with the initial position message, by the distance between the current location that gets and initial position, is come Judge the current location information that gets whether with initial acquisition to positional information mate, improve the efficiency of matching identification.
Further, inventive touch operating area length by operation recognition methods first into 3rd embodiment, After determining current touch operation for growing by operation, also include:
Step S60, determines current application scene;
The current application scene of terminal is obtained and is determined by the built-in controller of terminal, and for example, application scenarios include phase Machine application scenarios, standby screen protection scene.
Step S70, obtains long by the corresponding control instruction of operation described in current application scene, and responds the control and refers to Order.
Different application scene length is prestored in terminal by the corresponding relation operated from different control instructions, according to current application Scene, obtains current application scene length by the corresponding control instruction of operation, and responds the control instruction, for example, shoot in camera During scene, when the fringe region in touch operation region recognizes length by operation, this duration is obtained by the corresponding control of operation Instruction, now the length under camera photographed scene is to delete photo by the corresponding control instruction of operation.
In the present embodiment, fixed in different application scene by operation by the fringe region length to terminal touch operation region The different control instruction of justice, has provided the user more interactive modes, has enriched terminal, particularly smart mobile phone, operation Mode, improves the simple operation of terminal.
The present invention further provides a kind of identifying device of touch operation region length by operation, with reference to Fig. 6, touches in the present invention Touch in first embodiment of the operating area length by the identifying device of operation, identifying device bag of the touch operation region length by operation Include:
Position acquisition module 10, for when touch operation is received based on the fringe region in terminal touch operation region, The touch operation current location information is obtained in real time;
Terminal can be mobile terminal (such as smart mobile phone) herein, receive in the fringe region in terminal touch operation region When touch operation, start to obtain the touch operation current location information in real time, the positional information is mobile whole based on being preset in Plane coordinate system in the touch operation region of end, the position coordinates at the touch operation place of acquisition.
Initial position definition module 20, for when first time current location information is got, by the present bit for getting Confidence is ceased as initial position message,
When first time current location information is got, using the current location information for getting as initial position message (such as initial position co-ordinates (X0, Y0)).
Positional information comparing module 30, after getting current location information in first time, is getting institute every time When stating current location information, the current location information for getting and the initial position message are compared;
After first gets current location information, often cross prefixed time interval and obtain working as the once touch operation Front position information, the current location information got after initial position message is compared with the initial position message Right.
Action recognition module 40, when the positional information for arriving in the positional information for getting and initial acquisition is mismatched, Stop obtaining the touch operation current location information;The positional information for getting and initial acquisition to positional information mate When, continue to obtain the touch operation current location information, until obtaining the touch operation duration more than or equal to default Duration, determines current touch operation for long by operation.
When the positional information that the positional information for getting and initial acquisition are arrived is mismatched, show the shifting of this touch operation Dynamic distance is unsatisfactory for pre-conditioned, and the displacement of such as this touch operation is excessive, defines slide, then stop obtaining and touch Touch operation current location information.
The positional information for getting and initial acquisition to positional information mate when, such as current location and initial position it Between distance less than preset value, show that this touch operation displacement is little, meet the long requirement by operation in displacement, But the long factor for also needing to consider to touch duration by operation, therefore continue to obtain the touch operation current location information, continuing will The current location information for getting is compared with initial position message, until being more than or equal in the touch operation duration Preset duration, and within the touch operation lasting this period, the current location information for obtaining in real time and initial position message All it is coupling, it is determined that current touch operation is for long by operation.
When in the present embodiment, by receiving touch operation in the marginal zone in terminal touch operation region, obtain in real time Take the current location information of the touch operation, and when first time current location information is got, the present bit confidence that will be obtained Breath is used as initial position message (being set to A0);Then after first time gets current location information, every between Preset Time A touch operation current location information is obtained every T0 (e.g., prefixed time interval is 50ms), described current getting every time During positional information, the current location information for getting and the initial position message are compared, for example, if distance is obtained It is A1 to get the current location information after initial position message A0 acquired in a prefixed time interval T0, two Preset Times Interval T0 acquired in current location information be A2, the like, obtain A3, A4, A5 ... An, n be equal to preset duration divided by Then A1 is compared by the business of prefixed time interval the total after rounding with A0, if A1 and A0 is mismatched, stops obtaining The current location information of the touch operation;If A1 is mated with A0, continue to be mated A2 with A0, until An and A0 are also With (obtain the touch operation duration more than or equal to preset duration and current location information all with initial position message Match somebody with somebody), it is determined that current touch operation is for long by operation, the present bit that so will be obtained by real-time detection in preset duration Confidence breath is compared with initial position message, the current location information taken when harvest in preset duration and initial position message When all mating, just determine this touch operation for long by operation, it is to avoid to be identified as other touch operations (such as slide) Long pressing operates, and improves the long accuracy rate by operation.
Further, inventive touch operating area length is proposed based on first embodiment real by the identifying device second of operation Example is applied, with reference to Fig. 7, in the present embodiment, position acquisition module 10 includes:
Number of contacts acquiring unit 101, for receiving touch behaviour based on the fringe region in terminal touch operation region When making, the corresponding number of contacts of the touch operation is obtained;
Location information acquiring unit 102, for when the number of contacts is less than predetermined threshold value, obtaining the touch in real time Operation current location information.
In the present embodiment, when touch operation is received based on the fringe region in terminal touch operation region, institute is obtained The corresponding number of contacts of touch operation is stated, when the number of contacts is less than predetermined threshold value, (for example predetermined threshold value is 2, in contact When quantity is less than 2, now touch operation is most likely not that user grips the touch operation produced by terminal because user grips eventually The gesture at end is divided into vertical gripping and grips with horizontal, and vertical gripping has 3 and 3 with upper contact with horizontal gripping terminal), real When obtain the touch operation current location information, so as to avoid by user grip terminal gripping action be erroneously identified as growing By operation, the long recognition accuracy by operation is further increased.
Preferably, location information acquiring unit 102 is additionally operable to:
When the number of contacts is less than predetermined threshold value, the corresponding positional information in each contact is determined;
When the positional information is mismatched with default positional information, the touch operation present bit confidence is obtained in real time Breath.
In the present embodiment, when the number of contacts of the touch operation is less than predetermined threshold value, determine that each contact is corresponding Positional information;When the positional information is mismatched with default positional information, for example default positional information is all of Contact is not located in the fringe region of terminal side, is only distributed in terminal touch operation region in the contact of the touch operation single When in the fringe region of side, the touch operation current location information is obtained in real time, so as to avoid for number of contacts being less than predetermined threshold value And special touch operation (such as 2 contacts grip terminal) again for gripping action is identified as length by operation, further increases The long recognition accuracy by operation.
Further, inventive touch operating area length is proposed based on first embodiment real by the identifying device the 3rd of operation Example is applied, with reference to Fig. 8, in the present embodiment, positional information comparing module 30 includes:
Metrics calculation unit 301, after getting current location information in first time, is getting described working as every time During the information of front position, according to the corresponding coordinate information of current location information coordinate letter corresponding with the initial position message Breath calculates the distance between current location and initial position;
After first time gets current location information, when current location information is got every time, according to according to institute State corresponding with the initial position message coordinate information of the corresponding coordinate information of current location information calculate current location with first The distance between beginning position, such as initial position respective coordinates information are (X0, Y0), the current location information pair for getting every time The coordinate information that answers is (X1, Y1)、(X2, Y2) etc., according toDraw and get for the second time The distance between current location and initial position, can draw third time, the current location for getting for the 4th time and initial bit in the same manner The distance between put.
Distance Judgment unit 302, for judging that the calculated distance, whether less than predeterminable range, wherein, is calculated When the distance for obtaining is less than the predeterminable range, the position that the current location information for getting and initial acquisition are arrived is judged Put information matches.
After first time obtains current location information, judge between the current location that gets every time and initial position Whether distance is less than predeterminable range, wherein, when the calculated distance is less than the predeterminable range, gets described in judgement Positional information and initial acquisition to positional information mate.
In the present embodiment, the current location information that will be got is achieved with a kind of relatively simple calculation The step of being compared with the initial position message, by the distance between the current location that gets and initial position, is come Judge the current location information that gets whether with initial acquisition to positional information mate, improve the efficiency of matching identification.
Further, in inventive touch operating area length by first, second, third embodiment of identifying device for operating In, the device also includes:
Operation respond module 50, for determining current application scene, and it is right by operating to obtain length described in current application scene The control instruction that answers, and respond the control instruction.
The current application scene of terminal is obtained and is determined by the built-in controller of terminal, and for example, application scenarios include phase Machine application scenarios, standby screen protection scene.
Different application scene length is prestored in terminal by the corresponding relation operated from different control instructions, according to current application Scene, obtains current application scene length by the corresponding control instruction of operation, and responds the control instruction, for example, shoot in camera During scene, when the fringe region in touch operation region recognizes length by operation, this duration is obtained by the corresponding control of operation Instruction, now the length under camera photographed scene is to delete photo by the corresponding control instruction of operation.
In the present embodiment, fixed in different application scene by operation by the fringe region length to terminal touch operation region The different control instruction of justice, has provided the user more interactive modes, has enriched terminal, particularly smart mobile phone, operation Mode, improves the simple operation of terminal.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property includes, so that a series of process, method, article or device including key elements not only includes those key elements, and And also include other key elements 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 for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 by software to realize, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Such understanding is based on, technical scheme is substantially done to prior art in other words The part for going out 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), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) execute method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. recognition methods of a kind of touch operation region length by operation, it is characterised in that touch operation region length is by operation Recognition methods include:
When touch operation being received based on the fringe region in terminal touch operation region, obtain the touch operation current in real time Positional information;
When first time current location information is got, using the current location information for getting as initial position message;
After first time gets current location information, when the current location information is got every time, by got The current location information is compared with the initial position message;
When the positional information that the positional information for getting and initial acquisition are arrived is mismatched, stop the acquisition touch operation current Positional information;
The positional information for getting and initial acquisition to positional information mate when, continue to obtain the touch operation present bit Confidence ceases, until obtaining the touch operation duration more than or equal to preset duration, determines that current touch operation is pressed for length Operation, wherein when the positional information for getting and initial acquisition to positional information mate when, current location and initial position it Between distance be less than preset value.
2. recognition methods of the touch operation region as claimed in claim 1 length by operation, it is characterised in that described based on eventually When the fringe region in end touch operation region receives touch operation, the step of the touch operation current location information is obtained in real time Suddenly include:
When touch operation being received based on the fringe region in terminal touch operation region, obtain the touch operation corresponding tactile Point quantity;
When the number of contacts is less than predetermined threshold value, the touch operation current location information is obtained in real time.
3. recognition methods of the touch operation region as claimed in claim 2 length by operation, it is characterised in that described described tactile When point quantity is less than predetermined threshold value, include the step of obtain the touch operation current location information in real time:
When the number of contacts is less than predetermined threshold value, the corresponding positional information in each contact is determined;
When the positional information is mismatched with default positional information, the touch operation current location information is obtained in real time, Wherein default positional information is that all of contact is not located in the fringe region of terminal side.
4. recognition methods of the touch operation region as claimed in claim 1 length by operation, it is characterised in that described for the first time After getting current location information, when the current location information is got every time, by the current location for getting The step of information is compared with the initial position message includes:
After first time gets current location information, when the current location information is got every time, worked as according to described The corresponding coordinate information of front position information coordinate information corresponding with the initial position message calculates current location and initial bit The distance between put;
Whether the calculated distance is judged less than predeterminable range, wherein, the calculated distance is less than described pre- If apart from when, judge described in the current location information that gets and initial acquisition to positional information mate.
5. recognition methods of the touch operation region length as described in any one of claim 1-4 by operation, it is characterised in that described Determine current touch operation for long by after the step of operation, touch operation region length is also wrapped by the recognition methods of operation Include:
Determine current application scene;
Obtain long pressing described in current application scene and operate corresponding control instruction, and respond the control instruction.
6. a kind of touch operation region length is by the identifying device for operating, it is characterised in that touch operation region length is by operation Identifying device include:
Position acquisition module, for when touch operation is received based on the fringe region in terminal touch operation region, obtaining in real time Take the touch operation current location information;
Initial position definition module, for when first time current location information is got, by the current location information for getting As initial position message,
Positional information comparing module, after getting current location information in first time, described current getting every time During positional information, the current location information for getting and the initial position message are compared;
Action recognition module, when the positional information for arriving in the positional information for getting and initial acquisition is mismatched, stops obtaining Take the touch operation current location information;The positional information for getting and initial acquisition to positional information mate when, after Continue and obtain the touch operation current location information, until obtaining the touch operation duration is more than or equal to preset duration, Determine current touch operation for long by operation, wherein when the positional information for getting and initial acquisition to positional information mate When, the distance between current location and initial position are less than preset value.
7. touch operation region as claimed in claim 6 length is by the identifying device for operating, it is characterised in that the position acquisition Module includes:
Number of contacts acquiring unit, for when touch operation is received based on the fringe region in terminal touch operation region, obtaining Take the corresponding number of contacts of the touch operation;
Location information acquiring unit, for when the number of contacts is less than predetermined threshold value, obtaining the touch operation in real time and working as Front position information.
8. touch operation region as claimed in claim 7 length is by the identifying device for operating, it is characterised in that the positional information Acquiring unit is additionally operable to:
When the number of contacts is less than predetermined threshold value, the corresponding positional information in each contact is determined;
When the positional information is mismatched with default positional information, the touch operation current location information is obtained in real time, Wherein default positional information is that all of contact is not located in the fringe region of terminal side.
9. touch operation region as claimed in claim 6 length is by the identifying device for operating, it is characterised in that the positional information Comparing module includes:
Metrics calculation unit, after getting current location information in first time, is getting the current location every time During information, calculated according to the corresponding coordinate information of current location information coordinate information corresponding with the initial position message The distance between current location and initial position;
Whether Distance Judgment unit, for judging the calculated distance less than predeterminable range, wherein, calculated institute State the positional information arrived apart from current location information and the initial acquisition for during less than the predeterminable range, getting described in judgement Match somebody with somebody.
10. the touch operation region length as described in claim 6 to 9 any one is by the identifying device for operating, it is characterised in that Described touch operation region length is also included by the identifying device of operation:
Operation respond module, for determining current application scene, and obtains long by the corresponding control of operation described in current application scene System instruction, and respond the control instruction.
CN201510145383.6A 2015-03-30 2015-03-30 Recognition methods and device of the touch operation region length by operation Active CN104750418B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510145383.6A CN104750418B (en) 2015-03-30 2015-03-30 Recognition methods and device of the touch operation region length by operation
PCT/CN2016/076392 WO2016155490A1 (en) 2015-03-30 2016-03-15 Method and apparatus for recognizing long-press operation of touch operation area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510145383.6A CN104750418B (en) 2015-03-30 2015-03-30 Recognition methods and device of the touch operation region length by operation

Publications (2)

Publication Number Publication Date
CN104750418A CN104750418A (en) 2015-07-01
CN104750418B true CN104750418B (en) 2017-03-15

Family

ID=53590185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510145383.6A Active CN104750418B (en) 2015-03-30 2015-03-30 Recognition methods and device of the touch operation region length by operation

Country Status (2)

Country Link
CN (1) CN104750418B (en)
WO (1) WO2016155490A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750418B (en) * 2015-03-30 2017-03-15 努比亚技术有限公司 Recognition methods and device of the touch operation region length by operation
CN109101132A (en) * 2018-08-07 2018-12-28 锐达互动科技股份有限公司 A kind of method that conventional teaching is switched fast with electronic white board projection teaching
RU2699392C1 (en) * 2018-10-18 2019-09-05 Данил Игоревич Симонов Recognition of one- and two-dimensional barcodes by "pull-to-scan"
CN110058755A (en) * 2019-04-15 2019-07-26 广州视源电子科技股份有限公司 A kind of method, apparatus, terminal device and the storage medium of PowerPoint interaction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963863A (en) * 2010-09-30 2011-02-02 华为终端有限公司 User touch operation mode self-adapting method and device
EP2660702A2 (en) * 2012-05-02 2013-11-06 Sony Mobile Communications AB Technique for displaying on the basis of duration of operation of an input device
CN103869940A (en) * 2012-12-13 2014-06-18 富泰华工业(深圳)有限公司 Touch feedback system, electronic device and touch feedback providing method thereof
CN104020878A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Touch input control method and device
CN104281339A (en) * 2013-07-11 2015-01-14 原相科技股份有限公司 Target location method of touch panel

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130044062A1 (en) * 2011-08-16 2013-02-21 Nokia Corporation Method and apparatus for translating between force inputs and temporal inputs
CN104750418B (en) * 2015-03-30 2017-03-15 努比亚技术有限公司 Recognition methods and device of the touch operation region length by operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963863A (en) * 2010-09-30 2011-02-02 华为终端有限公司 User touch operation mode self-adapting method and device
EP2660702A2 (en) * 2012-05-02 2013-11-06 Sony Mobile Communications AB Technique for displaying on the basis of duration of operation of an input device
CN103869940A (en) * 2012-12-13 2014-06-18 富泰华工业(深圳)有限公司 Touch feedback system, electronic device and touch feedback providing method thereof
CN104281339A (en) * 2013-07-11 2015-01-14 原相科技股份有限公司 Target location method of touch panel
CN104020878A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Touch input control method and device

Also Published As

Publication number Publication date
CN104750418A (en) 2015-07-01
WO2016155490A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
CN104731514B (en) Method and device for recognizing single-hand-holding touch operation in touch operation area
CN104808944B (en) Touch operation inducing method and device
CN104731502B (en) Double-click recognition methods, device and mobile terminal based on virtual partition touch-screen
CN104731339B (en) The holding mode recognition methods of mobile terminal and device
CN104866135B (en) A kind of utilization touch screen frame is input into the method and device of numerical chracter
CN104702795B (en) Mobile terminal and its shortcut operation method
CN104777979B (en) Terminal and its touch operation method and device
CN104731411B (en) The click action recognition methods of mobile terminal and device
CN104869230A (en) Mobile terminal control method and apparatus
CN104765543A (en) Audio playing parameter adjustment method and device
CN105117155B (en) Mobile terminal and its control method
CN106911850A (en) Mobile terminal and its screenshotss method
CN104735256A (en) Method and device for judging holding mode of mobile terminal
CN106843724A (en) A kind of mobile terminal screen anti-error-touch device and method, mobile terminal
CN104834463A (en) Holding recognition method and device of mobile terminal
CN106550126A (en) The control device and method of mobile terminal and its screen intensity
CN106527933A (en) Control method and device of edge gesture of mobile terminal
CN104750418B (en) Recognition methods and device of the touch operation region length by operation
CN106406737A (en) A screen operating method and device and a mobile terminal
CN106535227A (en) Mobile terminal channel switching method and switching device
CN106570945A (en) Terminal, check-in machine and check-in method
CN106648324A (en) Hidden icon operating method, device and terminal
CN107071161A (en) The aggregation display method and mobile terminal of icon in a kind of status bar
CN106775097A (en) A kind for the treatment of method and apparatus of neighboring edge touch-control interaction
CN104731484B (en) The method and device that picture is checked

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant