WO2016155436A1 - Method and device for recognizing whether touch point is located in special area of left or right side of touch area of terminal - Google Patents

Method and device for recognizing whether touch point is located in special area of left or right side of touch area of terminal Download PDF

Info

Publication number
WO2016155436A1
WO2016155436A1 PCT/CN2016/074571 CN2016074571W WO2016155436A1 WO 2016155436 A1 WO2016155436 A1 WO 2016155436A1 CN 2016074571 W CN2016074571 W CN 2016074571W WO 2016155436 A1 WO2016155436 A1 WO 2016155436A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
area
special area
terminal
special
Prior art date
Application number
PCT/CN2016/074571
Other languages
French (fr)
Chinese (zh)
Inventor
迟建华
陈伟韬
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2016155436A1 publication Critical patent/WO2016155436A1/en

Links

Images

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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

Definitions

  • the present invention relates to the technical field of identifying special areas on the left and right sides of a touch area of a touch point, and more particularly to a method and apparatus for recognizing a special area on the left and right sides of a touch area of a touch point.
  • mobile phones and other mobile terminals have more and more functions.
  • Most of the entertainment functions that can be realized on computers can be realized on mobile terminals. People can watch movies and play games on mobile terminals. Browse web pages, video chats, and more.
  • mobile terminals tend to be more and more large-screen development.
  • the size of mobile terminals cannot be increased indefinitely, which requires full use of the external dimensions of mobile terminals to increase The utilization of the screen, so there is a narrow border or even a borderless mobile terminal.
  • the narrow-frame or borderless mobile terminal fully utilizes the external size of the mobile terminal, greatly expands the screen size of the mobile terminal, satisfies the user's demand for a large screen, and makes the appearance of the mobile terminal more beautiful.
  • the user holds the narrow border or the borderless mobile terminal it is easy to accidentally touch the edge of the screen, which brings a lot of misoperations. Therefore, two special areas are usually set in the touch area of the narrow border or the borderless mobile terminal, however, When the user operates in these two special areas, the terminal cannot distinguish between which operation is performed in which special area, and thus the corresponding function cannot be accurately performed.
  • the main purpose of the present invention is to provide a method and a device for identifying a special area on the left and right sides of a touch area of a touch point, and aim to solve the problem in the related art that the user cannot operate in a special area of the touch area of the terminal.
  • a method for identifying a special area on a left and a right side of a touch area of a touch point comprising:
  • the control area includes a normal area, a special area on the left side, and a special area on the right side;
  • W1 represents the width of the special area on the left side
  • W2 represents the width of the special area on the right side
  • W represents the width of the touch area of the terminal.
  • the collected user has multiple touch points on the touch area of the terminal.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the widths of the left special area and the right special area are set in advance.
  • the step of establishing a coordinate system of the touch area of the terminal includes:
  • the touch area of the terminal is located in the first quadrant, so that the coordinate data of all the touch points of the user on the touch area is 0 or a positive number.
  • the step of collecting coordinate data of a touch point of the user on the touch area of the terminal includes:
  • the coordinate data of the collected touch points includes only the x coordinate value, or both the x coordinate value and the y coordinate value.
  • the width of the special area on the left side is the same as the width of the special area on the right side.
  • the device for identifying a special area on the left and right sides of a touch area of a touch point includes: an establishing module, an acquiring module, and a first determining module, wherein
  • the establishing module is configured to: establish a coordinate system of the touch area of the terminal, where the lower left is the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y Max ); the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side;
  • the collecting module is configured to: collect coordinate data of a touch point of the user on the touch area of the terminal;
  • the first determining module is configured to: when the coordinate data of the touch point satisfies: 0 ⁇ x ⁇ W1, determine that the touch point is located in a special area on the left side; and the coordinate data at the touch point satisfies: W- When W2 ⁇ x ⁇ W, it is determined that the touch point is located in a special area on the right side;
  • W1 represents the width of the special area on the left side
  • W2 represents the width of the special area on the right side
  • W represents the width of the touch area of the terminal.
  • the collected user has multiple touch points on the touch area of the terminal.
  • the apparatus further includes a statistics module and a second determination module, wherein:
  • the statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
  • the second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is greater than the number of touch points located in the special area on the right side, determining that the user is currently holding the terminal by the right hand .
  • the apparatus further includes a statistics module and a second determination module, wherein:
  • the statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
  • the second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, determining that the user is currently Hold the terminal with your left hand.
  • the apparatus further includes a statistics module and a second determination module, wherein:
  • the statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
  • the second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, determining that the user is currently holding the two-handed terminal .
  • the device further comprises a setting module:
  • the setting module is configured to preset a width of the left special area and the right special area.
  • the establishing module is configured to establish a coordinate system of the touch area of the terminal according to the following manner:
  • the touch area of the terminal is located in the first quadrant, so that the coordinate data of all the touch points of the user on the touch area is 0 or a positive number.
  • the collecting module is configured to collect coordinate data of a touch point of the user on the touch area of the terminal according to the following manner:
  • the coordinate data of the collected touch points includes only the x coordinate value, or both the x coordinate value and the y coordinate value.
  • the width of the special area on the left side is the same as the width of the special area on the right side.
  • the method and device for identifying the touch point in the special area on the left and right sides of the touch area of the terminal, and establishing the coordinate system of the touch area of the terminal the lower left is the touch coordinate origin A0 (0, 0), the upper right
  • the touch coordinate maximum point Amax (xmax, ymax) the coordinate data of the touch point of the user on the touch area of the terminal is collected, and the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side;
  • the coordinate data of the touch point satisfies: 0 ⁇ x ⁇ W1, determining that the touch point is located in a special area on the left side; if the coordinate data of the touch point satisfies: W-W2 ⁇ x ⁇ W, determining the touch The point is located in the special area on the right; where x is the X-axis coordinate data in the coordinate data, W1 Indicates the width of the special area on the left side, W2 indicates the width of the special area on the right side
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention
  • FIG. 2 is a schematic diagram of a wireless communication system of the mobile terminal shown in FIG. 1;
  • FIG. 3 is a schematic flow chart of a first embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention
  • FIG. 4 is a schematic diagram of a touch area of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flow chart of a second embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention
  • FIG. 6 is a schematic flow chart of a third embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention
  • FIG. 7 is a flowchart of a touch event reporting according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a first embodiment of an apparatus for identifying a touch point in a special area on a left and right side of a touch area of a terminal according to the present invention
  • FIG. 9 is a schematic structural diagram of a second embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of the terminal according to the present invention.
  • FIG. 10 is a schematic structural diagram of a third embodiment of an apparatus for identifying a touch area in a special area on the left and right sides of a touch area of the terminal according to the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device Mobile terminals of the like and fixed terminals such as digital TVs, desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Tablett
  • PMP Portable Multimedia Player
  • FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network.
  • the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
  • the broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel.
  • the broadcast channel can include a satellite channel and/or a terrestrial channel.
  • the broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal.
  • the broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like.
  • the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal.
  • the broadcast associated information may also be provided via the mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112.
  • the broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like.
  • the broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast systems.
  • the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H)
  • MediaFLO forward link media
  • the digital broadcasting system of the @ ) data broadcasting system, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives digital broadcasting.
  • the broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system.
  • the broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (I rDA), ultra wideband (UWB), ZigBee, etc. TM.
  • the location information module 115 is a module for checking or acquiring location information of the mobile terminal.
  • a typical example of a location information module is GPS (Global Positioning System).
  • GPS Global Positioning System
  • the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
  • the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite.
  • the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
  • the A/V input unit 120 is for receiving an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 1220, the camera 121 being imaged in a video capture mode or an image capture mode
  • the image data of the still picture or video obtained by the capture device is processed.
  • the processed image frame can be displayed on the display unit 151.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • a touch screen can be formed.
  • the sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
  • the sensing unit 140 can sense whether the slide type phone is turned on or off.
  • the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
  • Sensing unit 140 may include proximity sensor 1410 which will be described below in connection with a touch screen.
  • the interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device.
  • the interface unit 170 can For receiving input from an external device (eg, data information, power, etc.) and transmitting the received input to one or more components within the mobile terminal 100 or for transmitting data between the mobile terminal and an external device .
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 150 includes a display unit 151, an audio output module 152, an alarm unit 153, and the like.
  • the display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UIGUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output module 152 can be packaged Includes speakers, buzzers, and more.
  • the alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alert unit 153 can provide an output in a different manner to notify of the occurrence of an event. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
  • the memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. Additionally, the controller 180 can include a multimedia module 1810 for reproducing (or playing back) multimedia data, which can be constructed within the controller 180 or can be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one of the electronic units designed to perform the functions described herein
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPD digital signal processing devices
  • PLD programmable logic device
  • FPGA field programmable gate array
  • processor controller
  • microcontroller microprocessor
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the embodiment of the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system in which a mobile terminal is operable according to an embodiment of the present invention will now be described with reference to FIG.
  • Such communication systems may use different air interfaces and/or physical layers.
  • air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc.
  • FDMA Frequency Division Multiple Access
  • TDMA Time Division Multiple Access
  • CDMA Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • LTE Long Term Evolution
  • GSM Global System for Mobile Communications
  • the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
  • a CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 2800 MSC 280 configured to communicate with a public switched telephone network (PSTN). ) 290 forms an interface.
  • the MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line.
  • the backhaul line can be constructed in accordance with any of a number of well known interfaces including, for example, E 1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 may include multiple BSC 2750s.
  • Each BS 270 can serve one or more partitions (or regions), with each partition covered by a multi-directional antenna or an antenna pointing in a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency divisions And each frequency allocation has a specific spectrum (eg, 1.25 MHz, 5 MHz, etc.).
  • BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology.
  • BTS Base Transceiver Subsystem
  • the term "base station” can be used to generally mean a single BSC 275 and at least one BS 270.
  • a base station can also be referred to as a "cell station.”
  • each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning System
  • the satellite 300 helps locate at least one of the plurality of mobile terminals 100.
  • a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites.
  • the GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
  • BS 270 receives reverse link signals from various mobile terminals 100.
  • Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular base station 270 is processed within a particular BS 270.
  • the obtained data is forwarded to the relevant BSC 275.
  • the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
  • the BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290.
  • PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
  • a first embodiment of the present invention provides a method, the method comprising:
  • a coordinate system of the touch area of the terminal is established, and the touch area of the terminal is located in the first quadrant.
  • the coordinate data of all touch points on the touch area is made 0 or a positive number.
  • the first quadrant refers to a coordinate system in which the X and Y values of the coordinates are greater than zero.
  • the terminal has a narrow border or no border. When the user holds the terminal, the finger or the palm is easily in contact with the touch area of the terminal.
  • the touch area of the terminal includes a left special area Z1, a right special area Z2, and a common area Z3 between the left special area and the right special area.
  • the zone Z1 and the right special zone Z2 are both arranged in a rectangular shape.
  • Two input devices are virtualized on the terminal, one input device is assigned to the normal zone Z3, and one input device is assigned to the left special zone Z1 and the right special zone Z2.
  • the touch screen driver of the terminal when the touch screen driver of the terminal is initialized, two input devices (input), such as input device 0 (input0) and input device 1 (input1), are registered through the input_register_device() instruction. And an input device is allocated for each partition by the input_allocate_device() instruction, for example, the common area corresponds to the input device 0, the left special area and the right special area correspond to the input device 1.
  • the upper layer After registering the two input devices, the upper layer identifies whether the current user touch area is a normal area or a special area according to the naming of the input device reported by the driver layer, and the upper layer has different processing manners.
  • the upper layer of the embodiment of the present invention generally refers to a framework layer, an application layer, and the like.
  • a customized system such as android or IOS usually includes an underlying layer (physical layer, a driving layer) and an upper layer (a framework layer, an application layer).
  • the direction of the signal flow is: the physical layer (touch panel) receives the touch operation of the user, the physical press changes to the electrical signal TP, and the TP is transmitted to the driving layer, and the driving layer analyzes the pressed position to obtain the position point.
  • the specific coordinates, duration, pressure and other parameters are uploaded to the framework layer.
  • the communication between the framework layer and the driver layer can be realized through the corresponding interface.
  • the framework layer receives the input device of the driver layer and parses the input. The device, thereby selecting to respond or not responding to the input device, and passing the valid input up to which specific application to satisfy the application layer to perform different application operations according to different events.
  • S20 Collect coordinate data of a touch point of the user on the touch area of the terminal.
  • the coordinate data of the touch point is collected, and the coordinate data may include only the x coordinate value, and the coordinate The data can also include both x-coordinate values and y-coordinate values.
  • the collected user has multiple touch points on the touch area of the terminal, such as, in general, When the terminal is held by one hand, the finger or the palm has four touch points on the touch area of the terminal.
  • the reported event includes the input device and the parameters of the touch point, etc.
  • the driver layer kernel identification in the above step
  • the input device reported to the framework layer on the driver layer is input1, instead of using input0 to report, that is, the framework layer does not need to determine which partition the current touch point is in, nor the size of the partition.
  • the judgment operation is completed on the driving layer, and the driving layer not only reports which input device is specifically, but also reports various parameters of the touch point to the frame layer, such as pressing time, position coordinates, pressure size, etc. Wait.
  • the framework layer reports to the application layer through a single-channel to multi-channel mechanism. Specifically, the channel is first registered, the reported event is transmitted through the channel, and the event is listened to by the listener, and the event is transmitted to the corresponding application module through different channels to generate different application operations, where the application
  • the module includes common applications such as camera and contacts; it generates different application operations. For example, in the camera application, when the user clicks in a special zone, it will produce different operations such as focusing, shooting, and adjusting camera parameters.
  • the report event is delivered to the listener, it is a single channel. After the listener listens, the reported event is multi-channel, and multiple channels exist at the same time. The advantage is that it can be transmitted to different application modules at the same time, and different application modules are generated. Different response operations.
  • the specific implementation of the foregoing steps is: using an object-oriented manner, defining a category and an implementation manner of the common partition and the special partition, and after determining that the special partition is used, converting the coordinates of the touch points of different resolutions by using the EventHub function.
  • For the coordinates of the LCD define a single-channel function (such as serverchannel and clientchannel, etc.).
  • the function of this function is to pass the event to the event manager (TouchEventManager) through the channel after receiving the reported event, and listen through the listener.
  • the event is transmitted to multiple response application modules simultaneously or one by one through multiple channels, or can be transmitted only to one of the application modules, and application modules such as camera, gallery, etc., and different application modules generate corresponding operations.
  • the specific implementation of the foregoing steps may also be implemented in other manners, which is not limited by the embodiment of the present invention.
  • the coordinate data of the touched point collected in step S20 is compared with W1, W-W2, and W to determine that the touched point belongs to any one of the left special area, the right special area, and the normal area.
  • the left special area and the right special area are both rectangular, and the X-axis coordinate data in the coordinate data of the touch point is directly determined, and the area to which the touch point belongs can be determined.
  • the width W1 of the special area on the left side may be the same as the width W2 of the special area on the right side, that is, the left special area and the right special area are symmetrically distributed on the terminal touch area.
  • the coordinate data of the touch point on the touch area of the terminal is collected, and the coordinate data of the touch point and the W1, W-W2, and W are determined, and the touch point can be accurately determined.
  • the special area on the left is also the special area on the right.
  • FIG. 5 is a schematic flow chart of a second embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention.
  • the method further includes: after the step S30, the method further includes:
  • the number of touch points in the special area on the left side and the number of touch points in the special area on the right side can be calculated within a preset statistical time.
  • the preset statistical time can be set according to actual needs, for example, it can be set to 2 seconds.
  • the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is greater than the number of touch points in the special area on the right side, such as the special area on the left side.
  • the number of touch points is three, and the number of touch points in the special area on the right side is one; therefore, when the number of touch points located in the special area on the left side is larger than the number of touch points located in the special area on the right side, it can be judged The user is holding the terminal with his right hand.
  • the finger or the palm is on the left side of the touch area of the terminal.
  • the number of touch points in a special area will be smaller than the number of touch points in the special area on the right side, such as the number of touch points in the special area on the left side is 1, and the number of touch points in the special area on the right side is 3;
  • the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, it can be determined that the user is the left hand holding terminal.
  • the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is equal to the number of touch points in the special area on the right side, such as the special area on the left side.
  • the number of touch points is one, and the number of touch points in the special area on the right side is one, the left and right hands are all placed on the screen with the thumb, and the rest of the fingers are placed on the bottom surface of the terminal; therefore, the number of touch points in the special area on the left side
  • it is equal to the number of touch points located in the special area on the right side, it can be judged that the user is the left hand holding terminal.
  • FIG. 6 is a schematic flow chart of a third embodiment of a method for recognizing a touch point in a special area on a left and right side of a touch area of a terminal according to the present invention.
  • the method further includes: based on the first embodiment of the method for identifying a special area on the left and right sides of the touch area of the touch area, before the step S10, the method further includes:
  • S60 preset the width of the left special area and the right special area.
  • the interface of the terminal has an interface.
  • the upper layer can call the interface to set the width of the special area on the left side and the special area on the right side according to its own needs. For example, the width of the special area on the left side and the special area on the right side can be set equal. Both are 5mm, and the width of the special area on the left side and the special area on the right side can be set to be unequal.
  • the touch operation flow of the embodiment of the present invention will be further described in another manner.
  • the common partition is simply referred to as the A area
  • the special area is simply referred to as the C area.
  • the reporting process of the event is as follows:
  • the driving layer receives the touch event through physical hardware such as a touch screen, and determines whether the touch operation occurs in the A area or the C area, and reports the event through the device file node of the A area or the C area.
  • the Native layer reads events from device files in Areas A and C, and processes events in Areas A and C, such as coordinate calculations. The devices in the A and C areas are distinguished by the device ID, and finally the A area is distributed. And zone C events.
  • the A area event takes the original process, and the A area event is processed in the usual way; the C area event is distributed from the dedicated channel of the C area registered in the Native layer in advance, and is input by the Native port, and the system port is output to the C area.
  • the system service then reports the external interface to each application through the C area event.
  • the embodiment of the invention further provides an apparatus.
  • FIG. 8 is a schematic structural diagram of a first embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of a terminal according to the present invention.
  • the module 10 is set up to: establish a coordinate system of the touch area of the terminal, with the left bottom of the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y max )
  • the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side;
  • the collecting module 20 is configured to: collect coordinate data of a touch point of the user on a special area of the touch area of the terminal;
  • the first determining module 30 is configured to: when the coordinate data of the touch point satisfies: 0 ⁇ x ⁇ W1, determine that the touch point is located in a special area on the left side; and set: the coordinate data at the touch point satisfies: W- When W2 ⁇ x ⁇ W, it is determined that the touch point is located in a special area on the right side;
  • W1 represents the width of the special area on the left side
  • W2 represents the width of the special area on the right side
  • W represents the width of the touch area of the terminal.
  • the establishing module 10 establishes a coordinate system of the touch area of the terminal, so that the touch area of the terminal is located in the first quadrant, so that the coordinate data of all touch points on the touch area is 0 or a positive number.
  • the terminal has a narrow border or no border. When the user holds the terminal, the finger or the palm is easily in contact with the touch area of the terminal.
  • the touch area of the terminal includes a left special area Z1, a right special area Z2, and a common area Z3 between the left special area and the right special area.
  • the zone Z1 and the right special zone Z2 are both arranged in a rectangular shape.
  • Two input devices are virtualized on the terminal, one input device is assigned to the normal zone Z3, and one input device is assigned to the left special zone Z1 and the right special zone Z2.
  • the touch screen driver of the terminal when the touch screen driver of the terminal is initialized, two input devices (input), such as input device 0 (input0) and input device 1 (input1), are registered through the input_register_device() instruction. And an input device is allocated for each partition by the input_allocate_device() instruction, for example, the common area corresponds to the input device 0, the left special area and the right special area correspond to the input device 1.
  • the upper layer After registering the two input devices, the upper layer identifies whether the current user touch area is a normal area or a special area according to the naming of the input device reported by the driver layer, and the upper layer has different processing manners.
  • the upper layer of the embodiment of the present invention generally refers to a framework layer, an application layer, and the like.
  • a customized system such as android or IOS usually includes an underlying layer (physical layer, a driving layer) and an upper layer (a framework layer, an application layer).
  • the direction of the signal flow is: the physical layer (touch panel) receives the touch operation of the user, the physical press changes to the electrical signal TP, and the TP is transmitted to the driving layer, and the driving layer analyzes the pressed position to obtain the position point.
  • the specific coordinates, duration, pressure and other parameters are uploaded to the framework layer.
  • the communication between the framework layer and the driver layer can be realized through the corresponding interface.
  • the framework layer receives the input device of the driver layer and parses the input. The device, thereby selecting to respond or not responding to the input device, and passing the valid input up to which specific application to satisfy the application layer to perform different application operations according to different events.
  • the collecting module 20 collects coordinate data of the touch point, and the coordinate data may only include an x coordinate value, and the coordinate The data can also include both x-coordinate values and y-coordinate values.
  • the user collected by the collection module 20 has a plurality of touch points on the touch area of the terminal. For example, when the terminal is held by one hand, the finger or the palm has four touches on the touch area of the terminal. point.
  • the first determining module 30 compares the coordinate data of the touched point collected by the collecting module 20 with W1, W-W2, and W to determine that the touched point belongs to any one of a left special region, a right special region, and a normal region. .
  • the left special area and the right special area are both rectangular. Therefore, the first determining module 30 directly determines the X-axis coordinate data in the coordinate data of the touch point, and can determine the area to which the touch point belongs.
  • the width W1 of the special area on the left side may be the same as the width W2 of the special area on the right side, that is, the left special area and the right special area are symmetrically distributed on the terminal touch area.
  • the coordinate data of the touch point on the touch area of the terminal is collected by the acquisition module 20, and then the coordinate data of the collected touch point and the W1, W-W2, and W are determined by the first determining module 30, It can be accurately determined whether the touch point is located in a special area on the left side or a special area on the right side.
  • FIG. 9 is a schematic structural diagram of a second embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of a terminal according to the present invention.
  • the device further includes: based on the first embodiment of the device for identifying a special area on the left and right sides of the touch area of the touch area, the apparatus further includes:
  • the statistics module 40 is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
  • the second determining module 50 is configured to: when the number of touched points in the special area on the left side is greater than the number of touched points in the special area on the right side, determine that the user is currently holding the terminal by the right hand; and set: When the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, it is determined that the user is currently holding the terminal by the left hand; and is also set to: the number of touch points in the special area on the left side is equal to When the number of touch points in the special area on the right side is determined, it is determined that the user is currently holding the terminal by both hands.
  • the statistic module 40 can calculate the number of touch points in the special area on the left side and the number of touch points in the special area on the right side within a preset statistical time.
  • the preset statistical time can be set according to actual needs, for example, it can be set to 2 seconds.
  • the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is greater than the number of touch points in the special area on the right side, such as the special area on the left side.
  • the number of touch points is three, and the number of touch points in the special area on the right side is one; therefore, when the number of touch points located in the special area on the left side is larger than the number of touch points located in the special area on the right side, the first The second determining module 50 determines that the user is the right hand holding terminal; when the user holds the terminal by the left hand, the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is smaller than the touch point of the right special area. For example, the number of touch points in the special area on the left side is one, and the number of touch points in the special area on the right side is three; therefore, the number of touch points in the special area on the left side is smaller than the special area on the right side.
  • the second determining module 50 determines that the user is holding the terminal by the left hand; when the user holds the terminal by both hands, the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal will be Equal to the right side
  • the number of touch points in the domain such as the number of touch points in the special area on the left side is 1, the number of touch points in the special area on the right side is 1, the left and right hands are all placed on the screen, and the rest of the fingers are placed on the terminal.
  • the bottom surface therefore, when the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, the second determining module 50 determines that the user is the left hand holding terminal.
  • FIG. 10 is a schematic structural diagram of a third embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of a terminal according to the present invention.
  • the device further includes: based on the first embodiment of the device for identifying a special area on the left and right sides of the touch area of the touch area, the apparatus further includes:
  • the setting module 60 is configured to: preset the width of the left special area and the right special area of the touch area of the terminal.
  • the interface of the terminal has an interface.
  • the upper layer can call the setting module 60 of the interface to set the width of the special area on the left side and the special area on the right side according to its own needs.
  • the special area on the left side and the special area on the right side can be set.
  • the widths are equal, both are 5mm. It is also possible to set the width of the special area on the left side and the special area on the right side to be unequal.
  • the embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by a computer, so that the computer can perform any of the above methods for recognizing a touch point in a special area on the left and right sides of the touch area of the terminal.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the method and device for identifying the touch point in the special area on the left and right sides of the touch area of the terminal, and establishing the coordinate system of the touch area of the terminal the lower left is the touch coordinate origin A0 (0, 0), the upper right
  • the touch coordinate maximum point Amax (xmax, ymax) the coordinate data of the touch point of the user on the touch area of the terminal is collected, and the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side;
  • the coordinate data of the touch point satisfies: 0 ⁇ x ⁇ W1, determining that the touch point is located in a special area on the left side; if the coordinate data of the touch point satisfies: W-W2 ⁇ x ⁇ W, determining the The touch point is located in the special area on the right side; where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area on the left side, W2 represents the width of the special area on the right side,

Abstract

A method and device for recognizing whether a touch point is located in a special area of a left or right side of a touch area of a terminal. The method comprises: establishing a coordinate system of a touch area of a terminal, using a lower left position as an origin A0 (0,0) of touch coordinates, and using an upper right position as a maximum value point Amax (xmax, ymax) of the touch coordinates; collecting coordinate data of a touch point of a user on the touch area of the terminal; and if the coordinate data of the touch point satisfies 0<x<W1, determining that the touch point is located in a special area of a left side; and if the coordinate data of the touch point satisfies W-W2<x<W, determining that the touch point is located in a special area of a right side, wherein x represents X-axis coordinate data in the coordinate data, W1 represents the width of the special area of the left side, W2 represents the width of the special area of the right side, and W represents the width of the touch area of the terminal. By using the technical solution of the present invention, whether the touch point is located in the special area of the left or right side of the touch area of the terminal can be accurately determined.

Description

识别触摸点在终端触控区的左右侧特殊区域的方法及装置Method and device for identifying special areas on the left and right sides of a touch area of a touch point 技术领域Technical field
本文涉及识别触摸点在终端触控区的左右侧特殊区域的技术领域,尤其涉及一种识别触摸点在终端触控区的左右侧特殊区域的方法及装置。The present invention relates to the technical field of identifying special areas on the left and right sides of a touch area of a touch point, and more particularly to a method and apparatus for recognizing a special area on the left and right sides of a touch area of a touch point.
背景技术Background technique
随着通信技术的迅速发展,手机等移动终端的功能越来越多,电脑上能实现的娱乐功能,大部分都已经能在移动终端上实现,人们可以在移动终端上看电影、玩游戏、浏览网页、视频聊天等。为了提高移动终端的视觉效果,移动终端越来越趋向于大屏化发展,但鉴于移动终端的便携性特点,其尺寸不可能无限增大,这就需要充分利用移动终端的外形尺寸来增大屏幕的利用率,因此出现了窄边框甚至无边框的移动终端。With the rapid development of communication technology, mobile phones and other mobile terminals have more and more functions. Most of the entertainment functions that can be realized on computers can be realized on mobile terminals. People can watch movies and play games on mobile terminals. Browse web pages, video chats, and more. In order to improve the visual effect of mobile terminals, mobile terminals tend to be more and more large-screen development. However, in view of the portability characteristics of mobile terminals, the size of mobile terminals cannot be increased indefinitely, which requires full use of the external dimensions of mobile terminals to increase The utilization of the screen, so there is a narrow border or even a borderless mobile terminal.
窄边框或无边框移动终端充分利用移动终端的外形尺寸,极大的扩展了移动终端的屏幕尺寸,满足了用户对大屏幕的需求,同时使得移动终端的外形更加美观。但是用户在握持窄边框或无边框移动终端时,很容易误触到屏幕边缘,带来很多误操作,因此在窄边框或无边框移动终端的触控区通常设置了两个特殊区域,但是,用户在这两个特殊区域进行操作时,终端无法区别是在哪个特殊区域进行的操作,进而无法准确的执行相应功能。The narrow-frame or borderless mobile terminal fully utilizes the external size of the mobile terminal, greatly expands the screen size of the mobile terminal, satisfies the user's demand for a large screen, and makes the appearance of the mobile terminal more beautiful. However, when the user holds the narrow border or the borderless mobile terminal, it is easy to accidentally touch the edge of the screen, which brings a lot of misoperations. Therefore, two special areas are usually set in the touch area of the narrow border or the borderless mobile terminal, however, When the user operates in these two special areas, the terminal cannot distinguish between which operation is performed in which special area, and thus the corresponding function cannot be accurately performed.
发明内容Summary of the invention
本发明的主要目的在于提出一种识别触摸点在终端触控区的左右侧特殊区域的方法及装置,旨在解决相关技术中无法确定用户在终端触控区的哪个特殊区域进行操作。The main purpose of the present invention is to provide a method and a device for identifying a special area on the left and right sides of a touch area of a touch point, and aim to solve the problem in the related art that the user cannot operate in a special area of the touch area of the terminal.
为实现上述目的,采用如下技术方案:In order to achieve the above objectives, the following technical solutions are adopted:
一种识别触摸点在终端触控区的左右侧特殊区域的方法,所述方法包括:A method for identifying a special area on a left and a right side of a touch area of a touch point, the method comprising:
建立所述终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);所述终端触控区包括普通区 域、左侧特殊区域和右侧特殊区域;Establishing a coordinate system of the touch area of the terminal, where the lower left is the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y max ); The control area includes a normal area, a special area on the left side, and a special area on the right side;
采集用户在所述终端触控区上的触摸点的坐标数据;Collecting coordinate data of a touch point of the user on the touch area of the terminal;
若所述触摸点的坐标数据满足:0<x<W1,则判定所述触摸点位于所述左侧特殊区域;If the coordinate data of the touch point satisfies: 0<x<W1, it is determined that the touch point is located in the special area on the left side;
若所述触摸点的坐标数据满足:W-W2<x<W,则判定所述触摸点位于所述右侧特殊区域;If the coordinate data of the touch point satisfies: W-W2<x<W, it is determined that the touch point is located in the right special area;
其中,x表示坐标数据中的X轴坐标数据,W1表示左侧特殊区域的宽度,W2表示右侧特殊区域的宽度,W表示所述终端触控区的宽度。Where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area on the left side, W2 represents the width of the special area on the right side, and W represents the width of the touch area of the terminal.
可选地,所述采集的用户在终端触控区上的触摸点为多个。Optionally, the collected user has multiple touch points on the touch area of the terminal.
可选地,该方法还包括:Optionally, the method further includes:
统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;Counting the number of touch points located in the special area on the left side and counting the number of touch points located in the special area on the right side;
若所述位于左侧特殊区域的触摸点个数大于位于所述右侧特殊区域的触摸点个数,则判定用户当前是右手握持终端。If the number of touch points located in the special area on the left side is greater than the number of touch points located in the special area on the right side, it is determined that the user is currently the right hand holding terminal.
可选地,该方法还包括:Optionally, the method further includes:
统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;若所述位于左侧特殊区域的触摸点个数小于位于所述右侧特殊区域的触摸点个数,则判定用户当前是左手握持终端。Counting the number of touch points located in the special area on the left side and counting the number of touch points located in the special area on the right side; if the number of touch points located in the special area on the left side is smaller than that in the special area on the right side Touching the number of points, it is determined that the user is currently holding the terminal by the left hand.
可选地,该方法还包括:Optionally, the method further includes:
统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;Counting the number of touch points located in the special area on the left side and counting the number of touch points located in the special area on the right side;
若所述位于左侧特殊区域的触摸点个数等于位于所述右侧特殊区域的触摸点个数,则判定用户当前是双手握持终端。If the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, it is determined that the user is currently holding the terminal by both hands.
可选地,该方法还包括:Optionally, the method further includes:
预先设置所述左侧特殊区域和右侧特殊区域的宽度。The widths of the left special area and the right special area are set in advance.
可选地,所述建立所述终端触控区的坐标系的步骤包括:Optionally, the step of establishing a coordinate system of the touch area of the terminal includes:
将该终端触控区位于第一象限,使得用户在该触控区上的所有触摸点的坐标数据为0或正数。The touch area of the terminal is located in the first quadrant, so that the coordinate data of all the touch points of the user on the touch area is 0 or a positive number.
可选地,所述采集用户在所述终端触控区上的触摸点的坐标数据的步骤包括: Optionally, the step of collecting coordinate data of a touch point of the user on the touch area of the terminal includes:
当检测到所述终端触控区上有触摸点,且触摸时间达到预设时间阀值时,则采集该触摸点的坐标数据。When it is detected that there is a touch point on the touch area of the terminal, and the touch time reaches a preset time threshold, the coordinate data of the touch point is collected.
可选地,采集到的触摸点的坐标数据只包括x坐标值,或者同时包括x坐标值和y坐标值。Optionally, the coordinate data of the collected touch points includes only the x coordinate value, or both the x coordinate value and the y coordinate value.
可选地,该左侧特殊区域的宽度与右侧特殊区域的宽度相同。Optionally, the width of the special area on the left side is the same as the width of the special area on the right side.
一种识别触摸点在终端触控区的左右侧特殊区域的装置,包括:建立模块、采集模块和第一判定模块,其中The device for identifying a special area on the left and right sides of a touch area of a touch point includes: an establishing module, an acquiring module, and a first determining module, wherein
所述建立模块设置成:建立所述终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);所述终端触控区包括普通区域、左侧特殊区域和右侧特殊区域;The establishing module is configured to: establish a coordinate system of the touch area of the terminal, where the lower left is the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y Max ); the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side;
所述采集模块设置成:采集用户在所述终端触控区上的触摸点的坐标数据;The collecting module is configured to: collect coordinate data of a touch point of the user on the touch area of the terminal;
所述第一判定模块设置成:在所述触摸点的坐标数据满足:0<x<W1时,判定所述触摸点位于左侧特殊区域;及在所述触摸点的坐标数据满足:W-W2<x<W时,判定所述触摸点位于右侧特殊区域;The first determining module is configured to: when the coordinate data of the touch point satisfies: 0<x<W1, determine that the touch point is located in a special area on the left side; and the coordinate data at the touch point satisfies: W- When W2<x<W, it is determined that the touch point is located in a special area on the right side;
其中,x表示坐标数据中的X轴坐标数据,W1表示左侧特殊区域的宽度,W2表示右侧特殊区域的宽度,W表示终端触控区的宽度。Where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area on the left side, W2 represents the width of the special area on the right side, and W represents the width of the touch area of the terminal.
可选地,所述采集的用户在终端触控区上的触摸点为多个。Optionally, the collected user has multiple touch points on the touch area of the terminal.
可选地,该装置还包括统计模块和第二判定模块,其中:Optionally, the apparatus further includes a statistics module and a second determination module, wherein:
所述统计模块设置成:统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;The statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
所述第二判定模块设置成:在所述统计模块确定所述位于左侧特殊区域的触摸点个数大于位于所述右侧特殊区域的触摸点个数时,判定用户当前是右手握持终端。The second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is greater than the number of touch points located in the special area on the right side, determining that the user is currently holding the terminal by the right hand .
可选地,该装置还包括统计模块和第二判定模块,其中:Optionally, the apparatus further includes a statistics module and a second determination module, wherein:
所述统计模块设置成:统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;The statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
所述第二判定模块设置成:在所述统计模块确定所述位于左侧特殊区域的触摸点个数小于位于所述右侧特殊区域的触摸点个数时,判定用户当前是 左手握持终端。The second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, determining that the user is currently Hold the terminal with your left hand.
可选地,该装置还包括统计模块和第二判定模块,其中:Optionally, the apparatus further includes a statistics module and a second determination module, wherein:
所述统计模块设置成:统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;The statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
所述第二判定模块设置成:在所述统计模块确定所述位于左侧特殊区域的触摸点个数等于位于所述右侧特殊区域的触摸点个数时,判定用户当前是双手握持终端。The second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, determining that the user is currently holding the two-handed terminal .
可选地,该装置还包括设置模块:Optionally, the device further comprises a setting module:
所述设置模块设置成:预先设置所述左侧特殊区域和右侧特殊区域的宽度。The setting module is configured to preset a width of the left special area and the right special area.
可选地,所述建立模块设置成按照如下方式建立所述终端触控区的坐标系:Optionally, the establishing module is configured to establish a coordinate system of the touch area of the terminal according to the following manner:
将该终端触控区位于第一象限,使得用户在该触控区上的所有触摸点的坐标数据为0或正数。The touch area of the terminal is located in the first quadrant, so that the coordinate data of all the touch points of the user on the touch area is 0 or a positive number.
可选地,所述采集模块设置成按照如下方式采集用户在所述终端触控区上的触摸点的坐标数据:Optionally, the collecting module is configured to collect coordinate data of a touch point of the user on the touch area of the terminal according to the following manner:
当检测到所述终端触控区上有触摸点,且触摸时间达到预设时间阀值时,则采集该触摸点的坐标数据。When it is detected that there is a touch point on the touch area of the terminal, and the touch time reaches a preset time threshold, the coordinate data of the touch point is collected.
可选地,采集到的触摸点的坐标数据只包括x坐标值,或者同时包括x坐标值和y坐标值。Optionally, the coordinate data of the collected touch points includes only the x coordinate value, or both the x coordinate value and the y coordinate value.
可选地,该左侧特殊区域的宽度与右侧特殊区域的宽度相同。Optionally, the width of the special area on the left side is the same as the width of the special area on the right side.
本发明技术方案提出的识别触摸点在终端触控区的左右侧特殊区域的方法及装置,建立终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);采集用户在终端触控区上的触摸点的坐标数据,所述终端触控区包括普通区域、左侧特殊区域和右侧特殊区域;若所述触摸点的坐标数据满足:0<x<W1,则判定所述触摸点位于左侧特殊区域;若所述触摸点的坐标数据满足:W-W2<x<W,则判定所述触摸点位于右侧特殊区域;其中,x表示坐标数据中的X轴坐标数据,W1 表示左侧特殊区域的宽度,W2表示右侧特殊区域的宽度,W表示终端触控区的宽度;对采集到的触摸点的坐标数据与W1、W-W2、W进行判定,可准确的判定出该触摸点是位于左侧特殊区域还是右侧特殊区域。The method and device for identifying the touch point in the special area on the left and right sides of the touch area of the terminal, and establishing the coordinate system of the touch area of the terminal, the lower left is the touch coordinate origin A0 (0, 0), the upper right The touch coordinate maximum point Amax (xmax, ymax); the coordinate data of the touch point of the user on the touch area of the terminal is collected, and the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side; The coordinate data of the touch point satisfies: 0<x<W1, determining that the touch point is located in a special area on the left side; if the coordinate data of the touch point satisfies: W-W2<x<W, determining the touch The point is located in the special area on the right; where x is the X-axis coordinate data in the coordinate data, W1 Indicates the width of the special area on the left side, W2 indicates the width of the special area on the right side, W indicates the width of the touch area of the terminal, and determines the coordinate data of the touch points and W1, W-W2, and W, which can be accurately determined. Whether the touch point is located in the special area on the left or in the special area on the right.
附图概述BRIEF abstract
图1为实现本发明各个实施例的移动终端的硬件结构示意;1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention;
图2为如图1所示的移动终端的无线通信系统示意图;2 is a schematic diagram of a wireless communication system of the mobile terminal shown in FIG. 1;
图3为本发明识别触摸点在终端触控区的左右侧特殊区域的方法的第一实施例流程示意图;3 is a schematic flow chart of a first embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention;
图4为本发明实施例的终端触控区的示意图;4 is a schematic diagram of a touch area of a terminal according to an embodiment of the present invention;
图5为本发明识别触摸点在终端触控区的左右侧特殊区域的方法的第二实施例流程示意图;5 is a schematic flow chart of a second embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention;
图6为本发明识别触摸点在终端触控区的左右侧特殊区域的方法的第三实施例流程示意图;6 is a schematic flow chart of a third embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention;
图7为本发明实施例中触控事件上报流程图;FIG. 7 is a flowchart of a touch event reporting according to an embodiment of the present invention;
图8为本发明识别触摸点在终端触控区的左右侧特殊区域的装置的第一实施例结构示意图;FIG. 8 is a schematic structural diagram of a first embodiment of an apparatus for identifying a touch point in a special area on a left and right side of a touch area of a terminal according to the present invention; FIG.
图9为本发明识别触摸点在终端触控区的左右侧特殊区域的装置的第二实施例结构示意图;FIG. 9 is a schematic structural diagram of a second embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of the terminal according to the present invention; FIG.
图10为本发明识别触摸点在终端触控区的左右侧特殊区域的装置的第三实施例结构示意图。FIG. 10 is a schematic structural diagram of a third embodiment of an apparatus for identifying a touch area in a special area on the left and right sides of a touch area of the terminal according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的较佳实施方式Preferred embodiment of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求 的保护范围。The following is an overview of the topics detailed in this document. This summary is not intended to limit the claims The scope of protection.
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。A mobile terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
移动终端可以以各种形式来实施。例如,本发明实施例中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The mobile terminal can be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device Mobile terminals of the like and fixed terminals such as digital TVs, desktop computers, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
图1为实现本发明各个实施例的移动终端的硬件结构示意。FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。The mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more. Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括广播接收模块111、移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。 Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动 通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种类型的广播系统接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO@)的数据广播系统、地面数字广播综合服务(ISDB-T)等等的数字广播系统接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播系统以及上述数字广播系统。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel can include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Moreover, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via the mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like. . The broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast systems. In particular, the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H) The digital broadcasting system of the @ ) data broadcasting system, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives digital broadcasting. The broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。The mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。The wireless internet module 113 supports wireless internet access of the mobile terminal. The module can be internally or externally coupled to the terminal. The wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(I rDA)、超宽带(UWB)、紫蜂TM等等。The short range communication module 114 is a module for supporting short range communication. Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (I rDA), ultra wideband (UWB), ZigBee, etc. TM.
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位系统)。根据当前的技术,GPS模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块115能够通过实时地连续计算当前位置信息来计算速度信息。The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of a location information module is GPS (Global Positioning System). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude. Currently, the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite. Further, the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风1220,相机121对在视频捕获模式或图像捕获模式中由图像 捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机1210。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 120 is for receiving an audio or video signal. The A/V input unit 120 may include a camera 121 and a microphone 1220, the camera 121 being imaged in a video capture mode or an image capture mode The image data of the still picture or video obtained by the capture device is processed. The processed image frame can be displayed on the display unit 151. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the configuration of the mobile terminal. The microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data. The processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode. The microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。The user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal. The user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc. In particular, when the touch panel is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。感测单元140可以包括接近传感器1410将在下面结合触摸屏来对此进行描述。The sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal. The orientation of 100, the acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling the operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide type mobile phone, the sensing unit 140 can sense whether the slide type phone is turned on or off. In addition, the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device. Sensing unit 140 may include proximity sensor 1410 which will be described below in connection with a touch screen.
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等。另外,具有识别模块的装置(下面称为"识别装置")可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以 用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。The interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like. In addition, the device having the identification module (hereinafter referred to as "identification device") may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device. The interface unit 170 can For receiving input from an external device (eg, data information, power, etc.) and transmitting the received input to one or more components within the mobile terminal 100 or for transmitting data between the mobile terminal and an external device .
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150以包括显示单元151、音频输出模块152、警报单元153等等。In addition, when the mobile terminal 100 is connected to the external base, the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal. Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base. Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner. The output unit 150 includes a display unit 151, an audio output module 152, an alarm unit 153, and the like.
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UIGUI等等。The display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UIGUI showing a video or image and related functions, and the like.
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。Meanwhile, when the display unit 151 and the touch panel are superposed on each other in the form of a layer to form a touch screen, the display unit 151 can function as an input device and an output device. The display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like. According to a particular desired embodiment, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) . The touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包 括扬声器、蜂鸣器等等。The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like. The audio signal is output as sound. Moreover, the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100. The audio output module 152 can be packaged Includes speakers, buzzers, and more.
警报单元153可以提供输出以将事件的发生通知给移动终端100。典型的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incoming communication)时,警报单元153可以提供触觉输出(即,振动)以将其通知给用户。通过提供这样的触觉输出,即使在用户的移动电话处于用户的口袋中时,用户也能够识别出各种事件的发生。警报单元153也可以经由显示单元151或音频输出模块152提供通知事件的发生的输出。The alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alert unit 153 can provide an output in a different manner to notify of the occurrence of an event. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. Moreover, the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块1810,多媒体模块1810可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。The controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. Additionally, the controller 180 can include a multimedia module 1810 for reproducing (or playing back) multimedia data, which can be constructed within the controller 180 or can be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。The power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置 (DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。The various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof. For hardware implementations, the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one of the electronic units designed to perform the functions described herein Implemented, in some cases, such an implementation may be implemented in controller 180. For software implementations, implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by controller 180.
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明实施例能够应用于任何类型的移动终端,并且不限于滑动型移动终端。So far, the mobile terminal has been described in terms of its function. Hereinafter, for the sake of brevity, a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the embodiment of the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。The mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
现在将参考图2描述其中根据本发明实施例的移动终端能够操作的通信系统。A communication system in which a mobile terminal is operable according to an embodiment of the present invention will now be described with reference to FIG.
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。Such communication systems may use different air interfaces and/or physical layers. For example, air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc. As a non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)2800MSC 280被构造为与公共电话交换网络(PSTN)290形成接口。MSC 280还被构造为与可以经由回程线路耦接到基站270的BSC 275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E 1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC2750。Referring to FIG. 2, a CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 2800 MSC 280 configured to communicate with a public switched telephone network (PSTN). ) 290 forms an interface. The MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line. The backhaul line can be constructed in accordance with any of a number of well known interfaces including, for example, E 1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 may include multiple BSC 2750s.
每个BS 270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS 270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS 270可以被构造为支持多个频率分 配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。Each BS 270 can serve one or more partitions (or regions), with each partition covered by a multi-directional antenna or an antenna pointing in a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency divisions And each frequency allocation has a specific spectrum (eg, 1.25 MHz, 5 MHz, etc.).
分区与频率分配的交叉可以被称为CDMA信道。BS 270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC 275和至少一个BS 270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。The intersection of partitioning and frequency allocation can be referred to as a CDMA channel. BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" can be used to generally mean a single BSC 275 and at least one BS 270. A base station can also be referred to as a "cell station." Alternatively, each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT 295发送的广播信号。在图2中,示出了几个全球定位系统(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。As shown in FIG. 2, a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In Figure 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 helps locate at least one of the plurality of mobile terminals 100.
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。In Figure 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites. The GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
作为无线通信系统的一个典型操作,BS 270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS 270内进行处理。获得的数据被转发给相关的BSC 275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC 280形成接口,MSC与BSC 275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。As a typical operation of a wireless communication system, BS 270 receives reverse link signals from various mobile terminals 100. Mobile terminal 100 typically participates in calls, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within a particular BS 270. The obtained data is forwarded to the relevant BSC 275. The BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270. The BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290. Similarly, PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
基于上述移动终端硬件结构以及通信系统,提出本发明识别触摸点在终端触控区的左右侧特殊区域的方法各个实施例。Based on the hardware structure of the mobile terminal and the communication system, various embodiments of the method for identifying the touch point in the special area on the left and right sides of the touch area of the terminal are proposed.
如图3所示,本发明第一实施例提出一种方法,该方法包括:As shown in FIG. 3, a first embodiment of the present invention provides a method, the method comprising:
S10、建立终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);该终端触控区包括普通区域、左侧特殊区域和右侧特殊区域。S10. Establish a coordinate system of the touch area of the terminal, where the lower left is the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y max ); the terminal touch The area includes a normal area, a special area on the left side, and a special area on the right side.
在该步骤中,建立终端触控区的坐标系,让该终端触控区位于第一象限, 使得在该触控区上的所有触摸点的坐标数据为0或正数。第一象限指的是一个坐标系中,坐标的X,Y值均大于0。In this step, a coordinate system of the touch area of the terminal is established, and the touch area of the terminal is located in the first quadrant. The coordinate data of all touch points on the touch area is made 0 or a positive number. The first quadrant refers to a coordinate system in which the X and Y values of the coordinates are greater than zero.
该终端为窄边框或无边框,用户握持该终端时,手指或手掌与该终端触控区容易产生接触。The terminal has a narrow border or no border. When the user holds the terminal, the finger or the palm is easily in contact with the touch area of the terminal.
如图4所示,该终端触控区上包括有左侧特殊区域Z1、右侧特殊区域Z2、位于该左侧特殊区域和右侧特殊区域之间的普通区域Z3,可将该左侧特殊区域Z1和右侧特殊区域Z2均设置为长方形。As shown in FIG. 4, the touch area of the terminal includes a left special area Z1, a right special area Z2, and a common area Z3 between the left special area and the right special area. The zone Z1 and the right special zone Z2 are both arranged in a rectangular shape.
在终端上虚拟两个输入设备,一个输入设备分配给普通区域Z3,一个输入设备分配给左侧特殊区域Z1和右侧特殊区域Z2。Two input devices are virtualized on the terminal, one input device is assigned to the normal zone Z3, and one input device is assigned to the left special zone Z1 and the right special zone Z2.
具体实现上,终端的触摸屏驱动初始化时通过input_register_device()指令注册两个输入设备(input),如输入设备0(input0)和输入设备1(input1)。并通过input_allocate_device()指令为每一个分区分配一个输入设备,如普通区域对应输入设备0,左侧特殊区域和右侧特殊区域对应输入设备1。In specific implementation, when the touch screen driver of the terminal is initialized, two input devices (input), such as input device 0 (input0) and input device 1 (input1), are registered through the input_register_device() instruction. And an input device is allocated for each partition by the input_allocate_device() instruction, for example, the common area corresponds to the input device 0, the left special area and the right special area correspond to the input device 1.
在注册好该两个输入设备后,上层根据驱动层上报的输入设备的命名,识别出当前用户触摸区域是普通区域还是特殊区域,不同的分区,上层处理方式不同。After registering the two input devices, the upper layer identifies whether the current user touch area is a normal area or a special area according to the naming of the input device reported by the driver layer, and the upper layer has different processing manners.
本发明实施例的上层通常指框架(Framework)层、应用层等,在终端的系统中,例如android、IOS等定制系统,通常包括底层(物理层,驱动层)以及上层(框架层,应用层),信号流的走向为:物理层(触控面板)接收到用户的触控操作,物理按压转变为电信号TP,将TP传递至驱动层,驱动层对按压的位置进行解析,得到位置点的具体坐标,持续时间,压力等参数,将该参数上传至框架层,框架层与驱动层的通信可通过相应的接口来实现,框架层接收到驱动层的输入设备(input),解析该输入设备,从而选择响应或不响应该输入设备,并将有效的输入向上传递给具体哪一个应用,以满足应用层根据不同的事件执行不同的应用操作。The upper layer of the embodiment of the present invention generally refers to a framework layer, an application layer, and the like. In a system of a terminal, a customized system such as android or IOS usually includes an underlying layer (physical layer, a driving layer) and an upper layer (a framework layer, an application layer). The direction of the signal flow is: the physical layer (touch panel) receives the touch operation of the user, the physical press changes to the electrical signal TP, and the TP is transmitted to the driving layer, and the driving layer analyzes the pressed position to obtain the position point. The specific coordinates, duration, pressure and other parameters are uploaded to the framework layer. The communication between the framework layer and the driver layer can be realized through the corresponding interface. The framework layer receives the input device of the driver layer and parses the input. The device, thereby selecting to respond or not responding to the input device, and passing the valid input up to which specific application to satisfy the application layer to perform different application operations according to different events.
S20、采集用户在终端触控区上的触摸点的坐标数据。S20. Collect coordinate data of a touch point of the user on the touch area of the terminal.
在该步骤中,当检测到终端触控区上有触摸点时,且触摸时间达到预设时间阀值时,则采集该触摸点的坐标数据,该坐标数据可以只包括x坐标值,该坐标数据还可以同时包括x坐标值和y坐标值。In this step, when a touch point is detected on the touch area of the terminal, and the touch time reaches a preset time threshold, the coordinate data of the touch point is collected, and the coordinate data may include only the x coordinate value, and the coordinate The data can also include both x-coordinate values and y-coordinate values.
在该步骤中,采集的用户在终端触控区上的触摸点为多个,如,通常的, 用一只手握持该终端时,手指或手掌在该终端触控区上会有四个触摸点。In this step, the collected user has multiple touch points on the touch area of the terminal, such as, in general, When the terminal is held by one hand, the finger or the palm has four touch points on the touch area of the terminal.
在框架(Framework)层接收到上报事件(上报事件包括输入设备以及触控点各项参数等)后,首先根据输入设备的命名,识别是哪一个区域,如上一步骤中驱动层(kernel)识别是在特殊分区触控,则驱动层上报到框架层的输入设备是input1,而不是用input0来上报,即,框架层不需要判断当前触控点在哪一个分区,也不需要判断分区的大小和位置,这些判断操作在驱动层上完成,并且,驱动层除了上报具体是哪一个输入设备,还会上报该触控点的各项参数至框架层,例如按压时间,位置坐标,压力大小等等。After receiving the reported event in the framework layer (the reported event includes the input device and the parameters of the touch point, etc.), firstly, according to the naming of the input device, which region is identified, the driver layer (kernel) identification in the above step In the special partition touch, the input device reported to the framework layer on the driver layer is input1, instead of using input0 to report, that is, the framework layer does not need to determine which partition the current touch point is in, nor the size of the partition. And the position, the judgment operation is completed on the driving layer, and the driving layer not only reports which input device is specifically, but also reports various parameters of the touch point to the frame layer, such as pressing time, position coordinates, pressure size, etc. Wait.
需要说明的是,框架层在接收到上报事件后,通过单通道转多通道的机制,上报到应用层。具体为:先注册一个通道,通过该通道传递该上报事件,通过监听器(listener)监听该事件,将该事件通过不同的通道,传递至对应的应用模块,产生不同的应用操作,其中,应用模块包括摄像、联系人等常用应用;产生不同的应用操作,例如在摄像应用下,用户在特殊分区点击,则会产生调焦,拍摄,调摄像参数等不同操作。要注意,上报事件传递到监听器之前,是单通道,监听器监听之后,上报事件走的是多通道,且多通道同时存在,其好处在于可同时传递至不同的应用模块,不同应用模块产生不同的响应操作。It should be noted that after receiving the reported event, the framework layer reports to the application layer through a single-channel to multi-channel mechanism. Specifically, the channel is first registered, the reported event is transmitted through the channel, and the event is listened to by the listener, and the event is transmitted to the corresponding application module through different channels to generate different application operations, where the application The module includes common applications such as camera and contacts; it generates different application operations. For example, in the camera application, when the user clicks in a special zone, it will produce different operations such as focusing, shooting, and adjusting camera parameters. It should be noted that before the report event is delivered to the listener, it is a single channel. After the listener listens, the reported event is multi-channel, and multiple channels exist at the same time. The advantage is that it can be transmitted to different application modules at the same time, and different application modules are generated. Different response operations.
可选地,上述步骤的具体实现为:利用面向对象化的方式,定义普通分区和特殊分区的类别以及实现方式,在判断是特殊分区后,通过EventHub函数将不同分辨率的触控点坐标转化为LCD的坐标,定义单通道函数(例如serverchannel和clientchannel等),该函数的作用是,当收到上报事件后,将该事件通过该通道传递至事件管理器(TouchEventManager),通过监听器的监听,将该事件通过多通道同时或逐一传递至多个响应的应用模块下,也可以只传递给其中的一个应用模块,应用模块如camera,gallery等,不同应用模块产生相应的操作。当然,上述步骤的具体实现也可以为其他方式的步骤实现,本发明实施例对此不做限制。Optionally, the specific implementation of the foregoing steps is: using an object-oriented manner, defining a category and an implementation manner of the common partition and the special partition, and after determining that the special partition is used, converting the coordinates of the touch points of different resolutions by using the EventHub function. For the coordinates of the LCD, define a single-channel function (such as serverchannel and clientchannel, etc.). The function of this function is to pass the event to the event manager (TouchEventManager) through the channel after receiving the reported event, and listen through the listener. The event is transmitted to multiple response application modules simultaneously or one by one through multiple channels, or can be transmitted only to one of the application modules, and application modules such as camera, gallery, etc., and different application modules generate corresponding operations. Certainly, the specific implementation of the foregoing steps may also be implemented in other manners, which is not limited by the embodiment of the present invention.
S30、若该触摸点的坐标数据满足:0<x<W1,则判定该触摸点位于左侧特殊区域;若该触摸点的坐标数据满足:W-W2<x<W,则判定该触摸点位于右侧特殊区域;其中,x表示坐标数据中的X轴坐标数据,W1表示左侧特殊区域Z1的宽度,W2表示右侧特殊区域Z2的宽度,W表示终端触控区的 宽度。S30. If the coordinate data of the touch point satisfies: 0<x<W1, it is determined that the touch point is located in a special area on the left side; if the coordinate data of the touch point satisfies: W-W2<x<W, the touch point is determined. Located in the special area on the right side; where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area Z1 on the left side, W2 represents the width of the special area Z2 on the right side, and W represents the touch area of the terminal. width.
在该步骤中,将步骤S20采集的触摸点的坐标数据与W1、W-W2、W作比较,以确定该触摸点属于左侧特殊区域、右侧特殊区域、普通区域中的任一个。该左侧特殊区域和右侧特殊区域均为长方形,直接判断触摸点的坐标数据中的X轴坐标数据,就可确定该触摸点所属区域。该左侧特殊区域的宽度W1可以与右侧特殊区域的宽度W2相同,即该左侧特殊区域和右侧特殊区域对称的分布在终端触控区上。In this step, the coordinate data of the touched point collected in step S20 is compared with W1, W-W2, and W to determine that the touched point belongs to any one of the left special area, the right special area, and the normal area. The left special area and the right special area are both rectangular, and the X-axis coordinate data in the coordinate data of the touch point is directly determined, and the area to which the touch point belongs can be determined. The width W1 of the special area on the left side may be the same as the width W2 of the special area on the right side, that is, the left special area and the right special area are symmetrically distributed on the terminal touch area.
采用本发明实施例,采集终端触控区上的触摸点的坐标数据,再对采集到的触摸点的坐标数据与W1、W-W2、W进行判定,可准确的判定出该触摸点是位于左侧特殊区域还是右侧特殊区域。According to the embodiment of the present invention, the coordinate data of the touch point on the touch area of the terminal is collected, and the coordinate data of the touch point and the W1, W-W2, and W are determined, and the touch point can be accurately determined. The special area on the left is also the special area on the right.
参照图5,图5为本发明识别触摸点在终端触控区的左右侧特殊区域的方法的第二实施例流程示意图。Referring to FIG. 5, FIG. 5 is a schematic flow chart of a second embodiment of a method for identifying a special area on a left and right side of a touch area of a touch point according to the present invention.
基于上述识别触摸点在终端触控区的左右侧特殊区域的方法的第一实施例,在步骤S30之后,该方法还包括:The method further includes: after the step S30, the method further includes:
S40、统计位于该左侧特殊区域的触摸点个数和统计位于该右侧特殊区域的触摸点个数。S40. Count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side.
在该步骤中,可在一预设统计时间内计算在左侧特殊区域的触摸点个数和在右侧特殊区域的触摸点个数。该预设统计时间可根据实际需要设置,如可设置为2秒。In this step, the number of touch points in the special area on the left side and the number of touch points in the special area on the right side can be calculated within a preset statistical time. The preset statistical time can be set according to actual needs, for example, it can be set to 2 seconds.
S51、若该位于左侧特殊区域的触摸点个数大于位于该右侧特殊区域的触摸点个数,则判定用户当前是右手握持终端。S51. If the number of touch points located in the special area on the left side is greater than the number of touch points located in the special area on the right side, it is determined that the user is currently the right hand holding terminal.
一般的,当用户右手握持该终端时,手指或手掌在该终端触控区的左侧特殊区域的触摸点个数会大于右侧特殊区域的触摸点个数,如在左侧特殊区域的触摸点个数为3个,在右侧特殊区域的触摸点个数为1个;因此当位于左侧特殊区域的触摸点个数大于位于该右侧特殊区域的触摸点个数时,可判断用户是右手握持终端。Generally, when the user holds the terminal in the right hand, the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is greater than the number of touch points in the special area on the right side, such as the special area on the left side. The number of touch points is three, and the number of touch points in the special area on the right side is one; therefore, when the number of touch points located in the special area on the left side is larger than the number of touch points located in the special area on the right side, it can be judged The user is holding the terminal with his right hand.
S52、若该位于左侧特殊区域的触摸点个数小于位于该右侧特殊区域的触摸点个数,则判定用户当前是左手握持终端。S52. If the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, it is determined that the user is currently the left-hand holding terminal.
一般的,当用户左手握持该终端时,手指或手掌在该终端触控区的左侧 特殊区域的触摸点个数会小于右侧特殊区域的触摸点个数,如在左侧特殊区域的触摸点个数为1个,在右侧特殊区域的触摸点个数为3个;因此当位于左侧特殊区域的触摸点个数小于位于该右侧特殊区域的触摸点个数时,可判断用户是左手握持终端。Generally, when the user holds the terminal in the left hand, the finger or the palm is on the left side of the touch area of the terminal. The number of touch points in a special area will be smaller than the number of touch points in the special area on the right side, such as the number of touch points in the special area on the left side is 1, and the number of touch points in the special area on the right side is 3; When the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, it can be determined that the user is the left hand holding terminal.
S53、若该位于左侧特殊区域的触摸点个数等于位于该右侧特殊区域的触摸点个数,则判定用户当前是双手握持终端。S53. If the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, it is determined that the user is currently a two-handed holding terminal.
一般的,当用户两手握持该终端时,手指或手掌在该终端触控区的左侧特殊区域的触摸点个数会等于右侧特殊区域的触摸点个数,如在左侧特殊区域的触摸点个数为1个,在右侧特殊区域的触摸点个数为1个,左右手都是拇指放在屏幕上,其余手指托在终端底面;因此当位于左侧特殊区域的触摸点个数等于位于该右侧特殊区域的触摸点个数时,可判断用户是左手握持终端。Generally, when the user holds the terminal in both hands, the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is equal to the number of touch points in the special area on the right side, such as the special area on the left side. The number of touch points is one, and the number of touch points in the special area on the right side is one, the left and right hands are all placed on the screen with the thumb, and the rest of the fingers are placed on the bottom surface of the terminal; therefore, the number of touch points in the special area on the left side When it is equal to the number of touch points located in the special area on the right side, it can be judged that the user is the left hand holding terminal.
参照图6,图6为本发明识别触摸点在终端触控区的左右侧特殊区域的方法的第三实施例流程示意图。Referring to FIG. 6, FIG. 6 is a schematic flow chart of a third embodiment of a method for recognizing a touch point in a special area on a left and right side of a touch area of a terminal according to the present invention.
基于上述识别触摸点在终端触控区的左右侧特殊区域的方法的第一实施例,在步骤S10之前,该方法还包括:The method further includes: based on the first embodiment of the method for identifying a special area on the left and right sides of the touch area of the touch area, before the step S10, the method further includes:
S60、预先设置该左侧特殊区域和右侧特殊区域的宽度。S60: preset the width of the left special area and the right special area.
在终端的驱动层留有接口,上层根据自身需要,可随时调用该接口对左侧特殊区域和右侧特殊区域的宽度进行设置,如可设置左侧特殊区域和右侧特殊区域的宽度相等,均为5mm,也可设置左侧特殊区域和右侧特殊区域的宽度不相等。The interface of the terminal has an interface. The upper layer can call the interface to set the width of the special area on the left side and the special area on the right side according to its own needs. For example, the width of the special area on the left side and the special area on the right side can be set equal. Both are 5mm, and the width of the special area on the left side and the special area on the right side can be set to be unequal.
结合参见图7,将以另一种方式对本发明实施例的触控操作流程做进一步说明,为简化起见,图7中,将普通分区简称为A区,将特殊分区简称为C区,触控事件的上报流程如下:Referring to FIG. 7 , the touch operation flow of the embodiment of the present invention will be further described in another manner. For the sake of simplicity, in FIG. 7 , the common partition is simply referred to as the A area, and the special area is simply referred to as the C area. The reporting process of the event is as follows:
驱动层通过物理硬件如触摸屏接收触控事件,并判断触控操作发生在A区还是C区,并通过A区或C区设备文件节点上报事件。Native层从A区、C区的设备文件中读取事件,并对A区、C区的事件进行处理,如坐标计算,通过设备ID对A、C区的事件进行区分,最后分别派发A区和C区事件。 其中A区事件走原生流程,按通常的方式对A区事件进行处理;C区事件则从事先注册到Native层的C区专用通道进行派发,由Native端口输入,系统端口输出至C区事件结束系统服务,再通过C区事件接收对外接口上报至各应用。The driving layer receives the touch event through physical hardware such as a touch screen, and determines whether the touch operation occurs in the A area or the C area, and reports the event through the device file node of the A area or the C area. The Native layer reads events from device files in Areas A and C, and processes events in Areas A and C, such as coordinate calculations. The devices in the A and C areas are distinguished by the device ID, and finally the A area is distributed. And zone C events. The A area event takes the original process, and the A area event is processed in the usual way; the C area event is distributed from the dedicated channel of the C area registered in the Native layer in advance, and is input by the Native port, and the system port is output to the C area. The system service then reports the external interface to each application through the C area event.
本发明实施例进一步提供一种装置。The embodiment of the invention further provides an apparatus.
参照图8,图8为本发明识别触摸点在终端触控区的左右侧特殊区域的装置的第一实施例结构示意图。Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a first embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of a terminal according to the present invention.
本实施例一种装置,该装置包括:A device of this embodiment, the device comprising:
建立模块10,设置成:建立终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);所述终端触控区包括普通区域、左侧特殊区域和右侧特殊区域;The module 10 is set up to: establish a coordinate system of the touch area of the terminal, with the left bottom of the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y max ) The touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side;
采集模块20,设置成:采集用户在终端触控区特殊区域上的触摸点的坐标数据;The collecting module 20 is configured to: collect coordinate data of a touch point of the user on a special area of the touch area of the terminal;
第一判定模块30,设置成:在该触摸点的坐标数据满足:0<x<W1时,判定该触摸点位于左侧特殊区域;及设置成:在该触摸点的坐标数据满足:W-W2<x<W时,判定该触摸点位于右侧特殊区域;The first determining module 30 is configured to: when the coordinate data of the touch point satisfies: 0<x<W1, determine that the touch point is located in a special area on the left side; and set: the coordinate data at the touch point satisfies: W- When W2<x<W, it is determined that the touch point is located in a special area on the right side;
其中,x表示坐标数据中的X轴坐标数据,W1表示左侧特殊区域的宽度,W2表示右侧特殊区域的宽度,W表示终端触控区的宽度。Where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area on the left side, W2 represents the width of the special area on the right side, and W represents the width of the touch area of the terminal.
该建立模块10建立终端触控区的坐标系,让该终端触控区位于第一象限,使得在该触控区上的所有触摸点的坐标数据为0或正数。The establishing module 10 establishes a coordinate system of the touch area of the terminal, so that the touch area of the terminal is located in the first quadrant, so that the coordinate data of all touch points on the touch area is 0 or a positive number.
该终端为窄边框或无边框,用户握持该终端时,手指或手掌与该终端触控区容易产生接触。The terminal has a narrow border or no border. When the user holds the terminal, the finger or the palm is easily in contact with the touch area of the terminal.
如图4所示,该终端触控区上包括有左侧特殊区域Z1、右侧特殊区域Z2、位于该左侧特殊区域和右侧特殊区域之间的普通区域Z3,可将该左侧特殊区域Z1和右侧特殊区域Z2均设置为长方形。As shown in FIG. 4, the touch area of the terminal includes a left special area Z1, a right special area Z2, and a common area Z3 between the left special area and the right special area. The zone Z1 and the right special zone Z2 are both arranged in a rectangular shape.
在终端上虚拟两个输入设备,一个输入设备分配给普通区域Z3,一个输入设备分配给左侧特殊区域Z1和右侧特殊区域Z2。Two input devices are virtualized on the terminal, one input device is assigned to the normal zone Z3, and one input device is assigned to the left special zone Z1 and the right special zone Z2.
具体实现上,终端的触摸屏驱动初始化时通过input_register_device()指令注册两个输入设备(input),如输入设备0(input0)和输入设备1(input1)。 并通过input_allocate_device()指令为每一个分区分配一个输入设备,如普通区域对应输入设备0,左侧特殊区域和右侧特殊区域对应输入设备1。In specific implementation, when the touch screen driver of the terminal is initialized, two input devices (input), such as input device 0 (input0) and input device 1 (input1), are registered through the input_register_device() instruction. And an input device is allocated for each partition by the input_allocate_device() instruction, for example, the common area corresponds to the input device 0, the left special area and the right special area correspond to the input device 1.
在注册好该两个输入设备后,上层根据驱动层上报的输入设备的命名,识别出当前用户触摸区域是普通区域还是特殊区域,不同的分区,上层处理方式不同。After registering the two input devices, the upper layer identifies whether the current user touch area is a normal area or a special area according to the naming of the input device reported by the driver layer, and the upper layer has different processing manners.
本发明实施例的上层通常指框架(Framework)层、应用层等,在终端的系统中,例如android、IOS等定制系统,通常包括底层(物理层,驱动层)以及上层(框架层,应用层),信号流的走向为:物理层(触控面板)接收到用户的触控操作,物理按压转变为电信号TP,将TP传递至驱动层,驱动层对按压的位置进行解析,得到位置点的具体坐标,持续时间,压力等参数,将该参数上传至框架层,框架层与驱动层的通信可通过相应的接口来实现,框架层接收到驱动层的输入设备(input),解析该输入设备,从而选择响应或不响应该输入设备,并将有效的输入向上传递给具体哪一个应用,以满足应用层根据不同的事件执行不同的应用操作。The upper layer of the embodiment of the present invention generally refers to a framework layer, an application layer, and the like. In a system of a terminal, a customized system such as android or IOS usually includes an underlying layer (physical layer, a driving layer) and an upper layer (a framework layer, an application layer). The direction of the signal flow is: the physical layer (touch panel) receives the touch operation of the user, the physical press changes to the electrical signal TP, and the TP is transmitted to the driving layer, and the driving layer analyzes the pressed position to obtain the position point. The specific coordinates, duration, pressure and other parameters are uploaded to the framework layer. The communication between the framework layer and the driver layer can be realized through the corresponding interface. The framework layer receives the input device of the driver layer and parses the input. The device, thereby selecting to respond or not responding to the input device, and passing the valid input up to which specific application to satisfy the application layer to perform different application operations according to different events.
当检测到终端触控区特殊区域上有触摸点时,且触摸时间达到预设时间阀值时,该采集模块20采集该触摸点的坐标数据,该坐标数据可以只包括x坐标值,该坐标数据还可以同时包括x坐标值和y坐标值。When a touch point is detected on a special area of the touch area of the terminal, and the touch time reaches a preset time threshold, the collecting module 20 collects coordinate data of the touch point, and the coordinate data may only include an x coordinate value, and the coordinate The data can also include both x-coordinate values and y-coordinate values.
该采集模块20采集的用户在终端触控区上的触摸点为多个,如,通常的,用一只手握持该终端时,手指或手掌在该终端触控区上会有四个触摸点。The user collected by the collection module 20 has a plurality of touch points on the touch area of the terminal. For example, when the terminal is held by one hand, the finger or the palm has four touches on the touch area of the terminal. point.
该第一判定模块30将采集模块20采集的触摸点的坐标数据与W1、W-W2、W作比较,以确定该触摸点属于左侧特殊区域、右侧特殊区域、普通区域中的任一个。该左侧特殊区域和右侧特殊区域均为长方形,因此该第一判定模块30直接判断触摸点的坐标数据中的X轴坐标数据,就可确定该触摸点所属区域。该左侧特殊区域的宽度W1可以与右侧特殊区域的宽度W2相同,即该左侧特殊区域和右侧特殊区域对称的分布在终端触控区上。The first determining module 30 compares the coordinate data of the touched point collected by the collecting module 20 with W1, W-W2, and W to determine that the touched point belongs to any one of a left special region, a right special region, and a normal region. . The left special area and the right special area are both rectangular. Therefore, the first determining module 30 directly determines the X-axis coordinate data in the coordinate data of the touch point, and can determine the area to which the touch point belongs. The width W1 of the special area on the left side may be the same as the width W2 of the special area on the right side, that is, the left special area and the right special area are symmetrically distributed on the terminal touch area.
采用本发明实施例,通过采集模块20采集终端触控区上的触摸点的坐标数据,再通过第一判定模块30对采集到的触摸点的坐标数据与W1、W-W2、W进行判定,可准确的判定出该触摸点是位于左侧特殊区域还是右侧特殊区域。 According to the embodiment of the present invention, the coordinate data of the touch point on the touch area of the terminal is collected by the acquisition module 20, and then the coordinate data of the collected touch point and the W1, W-W2, and W are determined by the first determining module 30, It can be accurately determined whether the touch point is located in a special area on the left side or a special area on the right side.
参照图9,图9为本发明识别触摸点在终端触控区的左右侧特殊区域的装置的第二实施例结构示意图。Referring to FIG. 9, FIG. 9 is a schematic structural diagram of a second embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of a terminal according to the present invention.
基于上述识别触摸点在终端触控区的左右侧特殊区域的装置的第一实施例,该装置还包括:The device further includes: based on the first embodiment of the device for identifying a special area on the left and right sides of the touch area of the touch area, the apparatus further includes:
统计模块40,设置成:统计位于该左侧特殊区域的触摸点个数和统计位于该右侧特殊区域的触摸点个数;The statistics module 40 is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
第二判定模块50,设置成:在该位于左侧特殊区域的触摸点个数大于位于该右侧特殊区域的触摸点个数时,判定用户当前是右手握持终端;及设置成:在该位于左侧特殊区域的触摸点个数小于位于该右侧特殊区域的触摸点个数时,判定用户当前是左手握持终端;还设置成:在该位于左侧特殊区域的触摸点个数等于位于该右侧特殊区域的触摸点个数时,判定用户当前是双手握持终端。The second determining module 50 is configured to: when the number of touched points in the special area on the left side is greater than the number of touched points in the special area on the right side, determine that the user is currently holding the terminal by the right hand; and set: When the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, it is determined that the user is currently holding the terminal by the left hand; and is also set to: the number of touch points in the special area on the left side is equal to When the number of touch points in the special area on the right side is determined, it is determined that the user is currently holding the terminal by both hands.
该统计模块40可在一预设统计时间内计算在左侧特殊区域的触摸点个数和在右侧特殊区域的触摸点个数。该预设统计时间可根据实际需要设置,如可设置为2秒。The statistic module 40 can calculate the number of touch points in the special area on the left side and the number of touch points in the special area on the right side within a preset statistical time. The preset statistical time can be set according to actual needs, for example, it can be set to 2 seconds.
一般的,当用户右手握持该终端时,手指或手掌在该终端触控区的左侧特殊区域的触摸点个数会大于右侧特殊区域的触摸点个数,如在左侧特殊区域的触摸点个数为3个,在右侧特殊区域的触摸点个数为1个;因此当位于左侧特殊区域的触摸点个数大于位于该右侧特殊区域的触摸点个数时,该第二判定模块50判断用户是右手握持终端;当用户左手握持该终端时,手指或手掌在该终端触控区的左侧特殊区域的触摸点个数会小于右侧特殊区域的触摸点个数,如在左侧特殊区域的触摸点个数为1个,在右侧特殊区域的触摸点个数为3个;因此当位于左侧特殊区域的触摸点个数小于位于该右侧特殊区域的触摸点个数时,该第二判定模块50判断用户是左手握持终端;当用户两手握持该终端时,手指或手掌在该终端触控区的左侧特殊区域的触摸点个数会等于右侧特殊区域的触摸点个数,如在左侧特殊区域的触摸点个数为1个,在右侧特殊区域的触摸点个数为1个,左右手都是拇指放在屏幕上,其余手指托在终端底面;因此当位于左侧特殊区域的触摸点个数等于位于该右侧特殊区域的触摸点个数时,该第二判定模块50判断用户是左手握持终端。 Generally, when the user holds the terminal in the right hand, the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is greater than the number of touch points in the special area on the right side, such as the special area on the left side. The number of touch points is three, and the number of touch points in the special area on the right side is one; therefore, when the number of touch points located in the special area on the left side is larger than the number of touch points located in the special area on the right side, the first The second determining module 50 determines that the user is the right hand holding terminal; when the user holds the terminal by the left hand, the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal is smaller than the touch point of the right special area. For example, the number of touch points in the special area on the left side is one, and the number of touch points in the special area on the right side is three; therefore, the number of touch points in the special area on the left side is smaller than the special area on the right side. When the number of touch points is reached, the second determining module 50 determines that the user is holding the terminal by the left hand; when the user holds the terminal by both hands, the number of touch points of the finger or the palm in the special area on the left side of the touch area of the terminal will be Equal to the right side The number of touch points in the domain, such as the number of touch points in the special area on the left side is 1, the number of touch points in the special area on the right side is 1, the left and right hands are all placed on the screen, and the rest of the fingers are placed on the terminal. The bottom surface; therefore, when the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, the second determining module 50 determines that the user is the left hand holding terminal.
参照图10,图10为本发明识别触摸点在终端触控区的左右侧特殊区域的装置的第三实施例结构示意图。Referring to FIG. 10, FIG. 10 is a schematic structural diagram of a third embodiment of an apparatus for identifying a touch point in a special area on the left and right sides of a touch area of a terminal according to the present invention.
基于上述识别触摸点在终端触控区的左右侧特殊区域的装置的第一实施例,该装置还包括:The device further includes: based on the first embodiment of the device for identifying a special area on the left and right sides of the touch area of the touch area, the apparatus further includes:
设置模块60,设置成:预先设置该终端触控区的左侧特殊区域和右侧特殊区域的宽度。The setting module 60 is configured to: preset the width of the left special area and the right special area of the touch area of the terminal.
在终端的驱动层留有接口,上层根据自身需要,可随时调用该接口的设置模块60对左侧特殊区域和右侧特殊区域的宽度进行设置,如可设置左侧特殊区域和右侧特殊区域的宽度相等,均为5mm,也可设置左侧特殊区域和右侧特殊区域的宽度不相等。The interface of the terminal has an interface. The upper layer can call the setting module 60 of the interface to set the width of the special area on the left side and the special area on the right side according to its own needs. For example, the special area on the left side and the special area on the right side can be set. The widths are equal, both are 5mm. It is also possible to set the width of the special area on the left side and the special area on the right side to be unequal.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present invention.
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上述任意的识别触摸点在终端触控区的左右侧特殊区域的方法。 The embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by a computer, so that the computer can perform any of the above methods for recognizing a touch point in a special area on the left and right sides of the touch area of the terminal.
本发明实施例还公开了一种载有所述的计算机程序的载体。The embodiment of the invention also discloses a carrier carrying the computer program.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。Variations or substitutions are readily conceivable within the scope of the present invention by those skilled in the art and are within the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
工业实用性Industrial applicability
本发明技术方案提出的识别触摸点在终端触控区的左右侧特殊区域的方法及装置,建立终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);采集用户在终端触控区上的触摸点的坐标数据,所述终端触控区包括普通区域、左侧特殊区域和右侧特殊区域;若所述触摸点的坐标数据满足:0<x<W1,则判定所述触摸点位于左侧特殊区域;若所述触摸点的坐标数据满足:W-W2<x<W,则判定所述 触摸点位于右侧特殊区域;其中,x表示坐标数据中的X轴坐标数据,W1表示左侧特殊区域的宽度,W2表示右侧特殊区域的宽度,W表示终端触控区的宽度;对采集到的触摸点的坐标数据与W1、W-W2、W进行判定,可准确的判定出该触摸点是位于左侧特殊区域还是右侧特殊区域。因此本发明具有很强的工业实用性。 The method and device for identifying the touch point in the special area on the left and right sides of the touch area of the terminal, and establishing the coordinate system of the touch area of the terminal, the lower left is the touch coordinate origin A0 (0, 0), the upper right The touch coordinate maximum point Amax (xmax, ymax); the coordinate data of the touch point of the user on the touch area of the terminal is collected, and the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side; The coordinate data of the touch point satisfies: 0<x<W1, determining that the touch point is located in a special area on the left side; if the coordinate data of the touch point satisfies: W-W2<x<W, determining the The touch point is located in the special area on the right side; where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area on the left side, W2 represents the width of the special area on the right side, and W represents the width of the touch area of the terminal; The coordinate data of the touched point and the W1, W-W2, and W are determined, and it can be accurately determined whether the touched point is located in the special area on the left side or the special area on the right side. Therefore, the present invention has strong industrial applicability.

Claims (20)

  1. 一种识别触摸点在终端触控区的左右侧特殊区域的方法,所述方法包括:A method for identifying a special area on a left and a right side of a touch area of a touch point, the method comprising:
    建立所述终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);所述终端触控区包括普通区域、左侧特殊区域和右侧特殊区域;Establishing a coordinate system of the touch area of the terminal, where the lower left is the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y max ); The control area includes a normal area, a special area on the left side, and a special area on the right side;
    采集用户在所述终端触控区上的触摸点的坐标数据;Collecting coordinate data of a touch point of the user on the touch area of the terminal;
    若所述触摸点的坐标数据满足:0<x<W1,则判定所述触摸点位于所述左侧特殊区域;If the coordinate data of the touch point satisfies: 0<x<W1, it is determined that the touch point is located in the special area on the left side;
    若所述触摸点的坐标数据满足:W-W2<x<W,则判定所述触摸点位于所述右侧特殊区域;If the coordinate data of the touch point satisfies: W-W2<x<W, it is determined that the touch point is located in the right special area;
    其中,x表示坐标数据中的X轴坐标数据,W1表示左侧特殊区域的宽度,W2表示右侧特殊区域的宽度,W表示所述终端触控区的宽度。Where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area on the left side, W2 represents the width of the special area on the right side, and W represents the width of the touch area of the terminal.
  2. 如权利要求1所述的识别触摸点在终端触控区的左右侧特殊区域的方法,其中,所述采集的用户在终端触控区上的触摸点为多个。The method for identifying a special area on the left and right sides of the touch area of the terminal according to claim 1 , wherein the collected user has a plurality of touch points on the touch area of the terminal.
  3. 如权利要求2所述的识别触摸点在终端触控区的左右侧特殊区域的方法,该方法还包括:The method for identifying a special area on the left and right sides of the touch area of the terminal according to claim 2, the method further comprising:
    统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;Counting the number of touch points located in the special area on the left side and counting the number of touch points located in the special area on the right side;
    若所述位于左侧特殊区域的触摸点个数大于位于所述右侧特殊区域的触摸点个数,则判定用户当前是右手握持终端。If the number of touch points located in the special area on the left side is greater than the number of touch points located in the special area on the right side, it is determined that the user is currently the right hand holding terminal.
  4. 如权利要求2所述的识别触摸点在终端触控区的左右侧特殊区域的方法,该方法还包括:The method for identifying a special area on the left and right sides of the touch area of the terminal according to claim 2, the method further comprising:
    统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;若所述位于左侧特殊区域的触摸点个数小于位于所述右侧特殊区域的触摸点个数,则判定用户当前是左手握持终端。 Counting the number of touch points located in the special area on the left side and counting the number of touch points located in the special area on the right side; if the number of touch points located in the special area on the left side is smaller than that in the special area on the right side Touching the number of points, it is determined that the user is currently holding the terminal by the left hand.
  5. 如权利要求2所述的识别触摸点在终端触控区的左右侧特殊区域的方法,该方法还包括:The method for identifying a special area on the left and right sides of the touch area of the terminal according to claim 2, the method further comprising:
    统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;Counting the number of touch points located in the special area on the left side and counting the number of touch points located in the special area on the right side;
    若所述位于左侧特殊区域的触摸点个数等于位于所述右侧特殊区域的触摸点个数,则判定用户当前是双手握持终端。If the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, it is determined that the user is currently holding the terminal by both hands.
  6. 如权利要求1所述的识别触摸点在终端触控区的左右侧特殊区域的方法,该方法还包括:The method for identifying a special area on the left and right sides of the touch area of the terminal according to claim 1, the method further comprising:
    预先设置所述左侧特殊区域和右侧特殊区域的宽度。The widths of the left special area and the right special area are set in advance.
  7. 如权利要求1所述的识别触摸点在终端触控区的左右侧特殊区域的方法,其中,所述建立所述终端触控区的坐标系的步骤包括:The method for identifying a special area on the left and right sides of the touch area of the terminal according to claim 1, wherein the step of establishing a coordinate system of the touch area of the terminal includes:
    将该终端触控区位于第一象限,使得用户在该触控区上的所有触摸点的坐标数据为0或正数。The touch area of the terminal is located in the first quadrant, so that the coordinate data of all the touch points of the user on the touch area is 0 or a positive number.
  8. 如权利要求1所述的识别触摸点在终端触控区的左右侧特殊区域的方法,其中,所述采集用户在所述终端触控区上的触摸点的坐标数据的步骤包括:The method for identifying a special area on the left and right sides of the touch area of the terminal according to claim 1, wherein the step of collecting coordinate data of the touch point of the user on the touch area of the terminal comprises:
    当检测到所述终端触控区上有触摸点,且触摸时间达到预设时间阀值时,则采集该触摸点的坐标数据。When it is detected that there is a touch point on the touch area of the terminal, and the touch time reaches a preset time threshold, the coordinate data of the touch point is collected.
  9. 如权利要求8所述的识别触摸点在终端触控区的左右侧特殊区域的方法,其中,采集到的触摸点的坐标数据只包括x坐标值,或者同时包括x坐标值和y坐标值。The method for recognizing a special area on the left and right sides of the touch area of the terminal according to claim 8, wherein the coordinate data of the collected touch point includes only the x coordinate value, or both the x coordinate value and the y coordinate value.
  10. 如权利要求5所述的识别触摸点在终端触控区的左右侧特殊区域的方法,其中,该左侧特殊区域的宽度与右侧特殊区域的宽度相同。The method for identifying a special area on a left and right side of a touch area of a terminal according to claim 5, wherein the width of the left special area is the same as the width of the right special area.
  11. 一种识别触摸点在终端触控区的左右侧特殊区域的装置,包括:建 立模块、采集模块和第一判定模块,其中A device for recognizing a special area of a touch point in a left and right side of a touch area of a terminal, comprising: a vertical module, an acquisition module and a first determination module, wherein
    所述建立模块设置成:建立所述终端触控区的坐标系,以左下方为触控坐标原点A0(0,0),右上方为触控坐标最大值点Amax(xmax,ymax);所述终端触控区包括普通区域、左侧特殊区域和右侧特殊区域;The establishing module is configured to: establish a coordinate system of the touch area of the terminal, where the lower left is the touch coordinate origin A 0 (0, 0), and the upper right is the touch coordinate maximum point A max (x max , y Max ); the touch area of the terminal includes a common area, a special area on the left side, and a special area on the right side;
    所述采集模块设置成:采集用户在所述终端触控区上的触摸点的坐标数据;The collecting module is configured to: collect coordinate data of a touch point of the user on the touch area of the terminal;
    所述第一判定模块设置成:在所述触摸点的坐标数据满足:0<x<W1时,判定所述触摸点位于左侧特殊区域;及在所述触摸点的坐标数据满足:W-W2<x<W时,判定所述触摸点位于右侧特殊区域;The first determining module is configured to: when the coordinate data of the touch point satisfies: 0<x<W1, determine that the touch point is located in a special area on the left side; and the coordinate data at the touch point satisfies: W- When W2<x<W, it is determined that the touch point is located in a special area on the right side;
    其中,x表示坐标数据中的X轴坐标数据,W1表示左侧特殊区域的宽度,W2表示右侧特殊区域的宽度,W表示终端触控区的宽度。Where x represents the X-axis coordinate data in the coordinate data, W1 represents the width of the special area on the left side, W2 represents the width of the special area on the right side, and W represents the width of the touch area of the terminal.
  12. 如权利要求11所述的识别触摸点在终端触控区的左右侧特殊区域的装置,其中,所述采集的用户在终端触控区上的触摸点为多个。The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 11, wherein the collected user has a plurality of touch points on the touch area of the terminal.
  13. 如权利要求12所述的识别触摸点在终端触控区的左右侧特殊区域的装置,该装置还包括统计模块和第二判定模块,其中:The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 12, the apparatus further comprising a statistic module and a second determining module, wherein:
    所述统计模块设置成:统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;The statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
    所述第二判定模块设置成:在所述统计模块确定所述位于左侧特殊区域的触摸点个数大于位于所述右侧特殊区域的触摸点个数时,判定用户当前是右手握持终端。The second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is greater than the number of touch points located in the special area on the right side, determining that the user is currently holding the terminal by the right hand .
  14. 如权利要求12所述的识别触摸点在终端触控区的左右侧特殊区域的装置,该装置还包括统计模块和第二判定模块,其中:The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 12, the apparatus further comprising a statistic module and a second determining module, wherein:
    所述统计模块设置成:统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;The statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
    所述第二判定模块设置成:在所述统计模块确定所述位于左侧特殊区域的触摸点个数小于位于所述右侧特殊区域的触摸点个数时,判定用户当前是左手握持终端。 The second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is smaller than the number of touch points located in the special area on the right side, determining that the user is currently holding the terminal by the left hand .
  15. 如权利要求12所述的识别触摸点在终端触控区的左右侧特殊区域的装置,该装置还包括统计模块和第二判定模块,其中:The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 12, the apparatus further comprising a statistic module and a second determining module, wherein:
    所述统计模块设置成:统计位于所述左侧特殊区域的触摸点个数和统计位于所述右侧特殊区域的触摸点个数;The statistic module is configured to: count the number of touch points located in the special area on the left side and count the number of touch points located in the special area on the right side;
    所述第二判定模块设置成:在所述统计模块确定所述位于左侧特殊区域的触摸点个数等于位于所述右侧特殊区域的触摸点个数时,判定用户当前是双手握持终端。The second determining module is configured to: when the statistic module determines that the number of touch points located in the special area on the left side is equal to the number of touch points located in the special area on the right side, determining that the user is currently holding the two-handed terminal .
  16. 如权利要求11所述的识别触摸点在终端触控区的左右侧特殊区域的装置,该装置还包括设置模块:The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 11, the apparatus further comprising: a setting module:
    所述设置模块设置成:预先设置所述左侧特殊区域和右侧特殊区域的宽度。The setting module is configured to preset a width of the left special area and the right special area.
  17. 如权利要求11所述的识别触摸点在终端触控区的左右侧特殊区域的装置,其中,所述建立模块设置成按照如下方式建立所述终端触控区的坐标系:The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 11, wherein the establishing module is configured to establish a coordinate system of the touch area of the terminal according to the following manner:
    将该终端触控区位于第一象限,使得用户在该触控区上的所有触摸点的坐标数据为0或正数。The touch area of the terminal is located in the first quadrant, so that the coordinate data of all the touch points of the user on the touch area is 0 or a positive number.
  18. 如权利要求11所述的识别触摸点在终端触控区的左右侧特殊区域的装置,其中,所述采集模块设置成按照如下方式采集用户在所述终端触控区上的触摸点的坐标数据:The device for identifying a touch point in a special area on the left and right sides of the touch area of the terminal according to claim 11, wherein the collecting module is configured to collect coordinate data of a touch point of the user on the touch area of the terminal according to the following manner :
    当检测到所述终端触控区上有触摸点,且触摸时间达到预设时间阀值时,则采集该触摸点的坐标数据。When it is detected that there is a touch point on the touch area of the terminal, and the touch time reaches a preset time threshold, the coordinate data of the touch point is collected.
  19. 如权利要求18所述的识别触摸点在终端触控区的左右侧特殊区域的装置,其中,采集到的触摸点的坐标数据只包括x坐标值,或者同时包括x坐标值和y坐标值。 The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 18, wherein the coordinate data of the collected touch point includes only the x coordinate value, or both the x coordinate value and the y coordinate value.
  20. 如权利要求16所述的识别触摸点在终端触控区的左右侧特殊区域的装置,其中,该左侧特殊区域的宽度与右侧特殊区域的宽度相同。 The device for identifying a special area on the left and right sides of the touch area of the terminal according to claim 16, wherein the width of the left special area is the same as the width of the right special area.
PCT/CN2016/074571 2015-03-27 2016-02-25 Method and device for recognizing whether touch point is located in special area of left or right side of touch area of terminal WO2016155436A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510142455.1A CN104731479A (en) 2015-03-27 2015-03-27 Method and device for recognizing whether touch point is located in left or right side special area of terminal touch control area
CN201510142455.1 2015-03-27

Publications (1)

Publication Number Publication Date
WO2016155436A1 true WO2016155436A1 (en) 2016-10-06

Family

ID=53455421

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074571 WO2016155436A1 (en) 2015-03-27 2016-02-25 Method and device for recognizing whether touch point is located in special area of left or right side of touch area of terminal

Country Status (2)

Country Link
CN (1) CN104731479A (en)
WO (1) WO2016155436A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731479A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Method and device for recognizing whether touch point is located in left or right side special area of terminal touch control area
CN104735256B (en) * 2015-03-27 2016-05-18 努比亚技术有限公司 Holding mode determination methods and the device of mobile terminal
CN105607850A (en) * 2015-12-17 2016-05-25 小米科技有限责任公司 Gripping way determination method and device
CN105930004B (en) * 2016-04-22 2019-05-03 Oppo广东移动通信有限公司 The recognition methods of terminal use pattern and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676843A (en) * 2008-09-18 2010-03-24 联想(北京)有限公司 Touch inputting method and touch inputting device
CN102479035A (en) * 2010-11-23 2012-05-30 汉王科技股份有限公司 Electronic device with touch screen, and method for displaying left or right hand control interface
CN104731479A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Method and device for recognizing whether touch point is located in left or right side special area of terminal touch control area

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809829B (en) * 2014-02-26 2016-08-17 南京触宏微电子有限公司 Touch boundary nonlinear identification antidote based on capacitance touch screen
CN104216657A (en) * 2014-09-05 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and operating method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676843A (en) * 2008-09-18 2010-03-24 联想(北京)有限公司 Touch inputting method and touch inputting device
CN102479035A (en) * 2010-11-23 2012-05-30 汉王科技股份有限公司 Electronic device with touch screen, and method for displaying left or right hand control interface
CN104731479A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Method and device for recognizing whether touch point is located in left or right side special area of terminal touch control area

Also Published As

Publication number Publication date
CN104731479A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
WO2016155550A1 (en) Application switching method for frameless terminal and frameless terminal
WO2016173468A1 (en) Combined operation method and device, touch screen operation method and electronic device
WO2016155423A1 (en) Method and terminal for adjusting setting parameters, and computer storage medium
WO2016155509A1 (en) Method and device for determining holding mode of mobile terminal
WO2016155424A1 (en) Application switching method for mobile terminal, mobile terminal and computer storage medium
WO2016169480A1 (en) Mobile terminal control method and device and computer storage medium
WO2016169483A1 (en) Mobile terminal and function adjustment method using virtual frame region therefor
WO2017143847A1 (en) Associated application multi-screen display device and method, and terminal
WO2016034055A1 (en) Mobile terminal and operating method therefor and computer storage medium
WO2016029766A1 (en) Mobile terminal and operation method thereof and computer storage medium
WO2016173498A1 (en) Method and device for inputting number or symbol by means of frame of touchscreen, terminal, and medium
WO2017020771A1 (en) Terminal control device and method
CN106534566B (en) Frameless mobile terminal and information display method thereof
WO2016155434A1 (en) Method and device for recognizing holding of mobile terminal, storage medium, and terminal
WO2016161986A1 (en) Operation recognition method and apparatus, mobile terminal and computer storage medium
WO2017071481A1 (en) Mobile terminal and split-screen implementation method
WO2016155597A1 (en) Frameless terminal-based application control method and device
WO2016155454A1 (en) Mobile terminal and slide recognition method for virtual frame area of mobile terminal
WO2016173414A1 (en) Mobile terminal and quick start method and device for application program thereof
CN104750420A (en) Screen capturing method and device
CN106708321B (en) Touch screen touch method and device and terminal
CN105739693A (en) Method and device for horizontally and vertically switching screen and mobile terminal
CN106527933B (en) Control method and device for edge gesture of mobile terminal
WO2017088631A1 (en) Mobile terminal, increase/decrease adjusting method and apparatus therefor, and storage medium
WO2017032217A1 (en) Multi-point touch control apparatus and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16771191

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16771191

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16771191

Country of ref document: EP

Kind code of ref document: A1