CN109240579B - Touch operation method, equipment and computer storage medium - Google Patents
Touch operation method, equipment and computer storage medium Download PDFInfo
- Publication number
- CN109240579B CN109240579B CN201811126711.8A CN201811126711A CN109240579B CN 109240579 B CN109240579 B CN 109240579B CN 201811126711 A CN201811126711 A CN 201811126711A CN 109240579 B CN109240579 B CN 109240579B
- Authority
- CN
- China
- Prior art keywords
- edge area
- touch event
- touch
- point
- edge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a touch operation method, touch operation equipment and a computer-storable medium. The method comprises the following steps: identifying a non-edge area and an edge area of the touch screen; when the touch event is detected in the non-edge area, if the touch event is also detected in the edge area within a preset time range, the touch event generated in the edge area is shielded, and the touch event generated in the non-edge area is executed. The method and the device set the non-edge area and the edge area for the touch screen, determine whether the touch event is effective according to the range of the non-edge area and the edge area, automatically eliminate invalid touch points generated by holding the edge of the touch screen of the mobile terminal by a user, shield the touch event triggered by mistake, and execute the touch event which the user really wants to execute.
Description
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a touch operation method, touch operation equipment and a computer storage medium.
Background
With the continuous progress of science and technology, intelligent terminals are gradually popularized. The existing intelligent terminal mostly adopts a touch screen, and the intelligent terminal is convenient and direct to operate by using the touch screen, so that the acceptance degree of users at all ages to the intelligent terminal is rapidly improved.
In an intelligent terminal with a touch screen, a sliding operation is an operation mode with the highest user utilization rate, and the use scenes of the sliding operation are more. For example: when browsing news, more news headlines and contents can be displayed in the page through the sliding operation. For another example: when the audio and video is played, the audio and video can be fast forwarded and fast rewound and the volume can be adjusted through sliding operation. The following steps are repeated: when browsing pictures, the pictures can be quickly viewed through sliding operation.
At present, intelligent terminal's touch-sensitive screen is bigger and bigger, and the frame is more and more narrow, and nearly all touch-sensitive screen all support the multiple touch moreover, and this has brought a problem for sliding operation: when a user holds the intelligent terminal to perform sliding operation, fingers holding the intelligent terminal may contact the edge of the screen, so that a multi-point touch effect is generated, if the other hand performs sliding operation in the middle area of the touch screen, the intelligent terminal misjudges touch actions of the two hands as the multi-point touch operation, so that operations with effects of zooming, dragging and the like are generated, but not the sliding operation effect expected by the user, so that the user experience effect is poor.
Disclosure of Invention
The invention mainly aims to provide a touch operation method, equipment and a computer storage medium, and aims to solve the problem that a touch point generated by a user holding an intelligent terminal has adverse effect on sliding operation.
Aiming at the technical problems, the invention solves the technical problems by the following technical scheme:
the invention provides a touch operation method, which comprises the following steps: identifying a non-edge area and an edge area of the touch screen; when the touch event is detected in the non-edge area, if the touch event is also detected in the edge area within a preset time range, the touch event generated in the edge area is shielded, and the touch event generated in the non-edge area is executed.
Wherein the types of touch events include: a point touch event and a slide touch event; when the touch event occurring in the non-edge area is detected, if the touch event is also detected in the edge area within a preset time range, the touch event occurring in the edge area is masked, and the touch event occurring in the non-edge area is executed, including: detecting whether a sliding touch event and/or a point touch event occurs in the non-edge area; if the non-edge area generates a sliding touch event and/or a point touch event, determining whether the edge area detects the point touch event within a preset time range; and if the edge area detects a point touch event, shielding the point touch event occurring in the edge area, and executing a sliding touch event and/or a point touch event occurring in the non-edge area.
Wherein the detecting whether the non-edge area has a sliding touch event includes: detecting continuous touch operation generated on a touch screen; judging whether the detected starting point of the continuous touch operation is located in the non-edge area; and if the starting point of the continuous touch operation is positioned in the non-edge area, judging that a sliding touch event occurs in the non-edge area.
And the end point of the continuous touch operation corresponding to the sliding touch event is positioned in the non-edge area or the edge area.
Before the identifying the non-edge area and the edge area of the touch screen, the method further comprises: setting a non-edge area and an edge area in the touch screen; wherein the non-edge region and the edge region are both regular regions or irregular regions.
Wherein the setting of the non-edge area and the edge area in the touch screen includes: determining a resolution of the touch screen; and setting the coordinate range of the non-edge area and/or the edge area in each row of pixel points or each column of pixel points of the touch screen.
Wherein the method further comprises: when the touch event of the non-edge area is detected, if the touch event is not detected by the edge area within a preset time range, executing the touch event of the non-edge area.
And the time starting point, the time ending point or the time midpoint of the preset time range is the moment when the touch event of the non-edge area is detected.
The invention also provides touch operation equipment, which comprises a processor and a memory; the processor is used for executing the touch operation program stored in the memory so as to realize the touch operation method.
The present invention also provides a computer-storable medium that stores one or more programs that are executable by one or more processors to implement the touch manipulation method described above.
The touch operation method, the touch operation equipment and the computer storage medium have the following beneficial effects:
the method and the device set the non-edge area and the edge area for the touch screen, determine whether the touch event is effective according to the range of the non-edge area and the edge area, automatically eliminate invalid touch points generated by holding the edge of the touch screen of the mobile terminal by a user, shield the touch event triggered by mistake, and execute the touch event which the user really wants to execute.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flow chart of a touch operation method according to a first embodiment of the present invention;
FIG. 4 is a flow chart of a touch operation method according to a second embodiment of the present invention;
FIG. 5 is a flowchart of a touch operation method according to a third embodiment of the present invention;
FIG. 6 is a schematic diagram of an edge area according to a third embodiment of the present invention;
FIG. 7 is a diagram illustrating a determination of an area where a touch point is located according to a third embodiment of the present invention;
fig. 8 is a structural diagram of a touch operation device according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing 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, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the 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.
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 may 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 a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, 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 a 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 an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 can receive broadcast data by using various types of broadcast systemsThe system receives a signal broadcast. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting system of a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. 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).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, 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 according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a 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, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 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 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an 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 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may 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 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, 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 UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve 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 transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, 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 may be used to detect a touch input pressure as well as a touch input position and a 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 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may 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 alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals 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 (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately 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 and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, 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 with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, 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), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
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 fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
Example one
The first embodiment of the invention provides a touch operation method. The execution subject of the invention is a mobile terminal having a touch screen.
Fig. 3 is a flowchart illustrating a touch operation method according to a first embodiment of the present invention.
In step S310, a non-edge area and an edge area of the touch screen are identified.
The edge area is located at the edge of the touch screen and has a certain width.
The non-edge area is located in the middle of the touch screen and is surrounded by the edge area.
Before identifying the non-edge area and the edge area of the touch screen, the method further comprises the following steps: setting a non-edge area and an edge area in the touch screen; the touch screen is composed of an edge area and a non-edge area, so that the non-edge area and the edge area are both regular areas or both irregular areas. That is, the edge area of the touch screen may be set as an irregular area according to the need. For example: the area of the touch screen which is easily touched by fingers when a user holds the mobile terminal is set as an edge area.
Step S320, when detecting that a touch event occurs in a non-edge region, determining whether a touch event is detected in an edge region within a preset time range; if yes, go to step S330; if not, step S340 is performed.
In this embodiment, the types of touch events include: a point touch event and a slide touch event. The point-touch event is triggered by a touch point (point-touch operation), and the slide-touch event is triggered by a continuous-touch operation (slide operation).
In this embodiment, the time start point, the time end point, or the time midpoint of the preset time range is a time when the touch event is detected in the non-edge area. Of course, if the touch event is a sliding touch event, the preset time range of the embodiment may also be a period during which the sliding touch event occurs.
And if the time starting point of the preset time range is the moment when the touch event of the non-edge area is detected, starting to detect whether the touch event occurs in the edge area when the touch event occurs in the non-edge area is detected, and enabling the detection time to last for the duration of the preset time range.
And if the time end point of the preset time range is the moment when the touch event occurs in the non-edge area, detecting whether the touch event occurs in the edge area in real time while detecting whether the touch event occurs in the non-edge area, and determining whether the touch event occurs in the edge area in the preset time range before the touch event occurs in the non-edge area according to a real-time detection result when the touch event occurs in the non-edge area.
And if the time midpoint of the preset time range is the moment when the touch event of the non-edge area is detected, detecting whether the touch event occurs in the edge area in real time while detecting whether the touch event occurs in the non-edge area, and determining whether the touch event occurs in the edge area within a half preset time range before the touch event occurs in the non-edge area and within a half preset time range after the touch event occurs in the non-edge area according to a real-time detection result when the touch event occurs in the non-edge area. For example: the preset time range is 20ms, and it is determined whether a touch event occurs in the edge area 10ms before the touch event occurs in the non-edge area is detected and 10ms after the touch event occurs in the non-edge area is detected.
In step S330, if a touch event is also detected in the edge region within the preset time range, the touch event occurring in the edge region is masked, and a touch event occurring in the non-edge region is executed.
In step S340, if the edge region does not detect a touch event within the preset time range, a touch event occurring in a non-edge region is performed.
In this embodiment, a non-edge area and an edge area are set for the touch screen, and whether the touch event is valid is determined according to the ranges of the non-edge area and the edge area, so that invalid touch points generated by a user holding the edge of the touch screen of the mobile terminal can be automatically eliminated, the touch event triggered by mistake is shielded, and the touch event which the user really wants to execute is executed.
In this embodiment, both can provide the touch-sensitive screen in open fields such as no frame, narrow frame for the user, can avoid the user again because of the operation puzzlement that grips and bring, effectively promote user experience effect.
Example two
A more detailed embodiment will be given below to further illustrate the touch operation method of the present invention. Fig. 4 is a flowchart illustrating a touch operation method according to a second embodiment of the present invention.
Step S410, detecting whether a sliding touch event and/or a point touch event occur in the non-edge area; if yes, go to step S420; if not, the process continues to step S410.
In this embodiment, the detecting whether the non-edge area has a point touch event includes: and detecting a touch point generated on the touch screen, and if the touch point is positioned in the non-edge area, judging that a point touch event occurs in the non-edge area.
In this embodiment, the detecting whether the non-edge area has the sliding touch event includes: detecting continuous touch operation generated on a touch screen; judging whether the detected starting point of the continuous touch operation is located in the non-edge area; and if the starting point of the continuous touch operation is positioned in the non-edge area, judging that a sliding touch event occurs in the non-edge area.
Further, the continuous touch operation is a sliding operation of the user on the touch screen. There are three elements of continuous touch operation, namely: start point, end point and time used. When the continuous touch operation is judged, the touch of the user needs to be detected, wherein the time spent in the period from the starting point to the end point to the continuous touch is larger than a preset time threshold value.
In this embodiment, the start point of the continuous touch operation corresponding to the sliding touch event is located in the non-edge area, and the end point is located in the non-edge area or the edge area. In other words, as long as the starting point of the continuous touch operation is not in the edge area, the continuous touch operation is considered to be a valid sliding touch event because the user cannot perform the continuous touch operation substantially with the finger holding the mobile terminal, and the sliding touch event is triggered, and even if the continuous touch operation is performed, the starting point of the continuous touch operation cannot be in the non-edge area. Therefore, the present embodiment determines whether it is a valid sliding touch event only in whether the start point of the continuous touch operation is located in the non-edge area.
Step S420, determining whether a edge region detects a point touch event within a preset time range; if yes, go to step S430; if not, step S440 is performed.
And step S430, shielding the point touch events occurring in the edge area, and executing the sliding touch events and/or the point touch events occurring in the non-edge area.
In step S440, a sliding touch event and/or a point touch event occurring in the non-edge area is performed.
In the embodiment, the misoperation caused by the fact that the user holds the mobile terminal is automatically eliminated by determining the area where the touch event occurs, so that inconvenience brought to normal operation of the user by the misoperation can be effectively avoided, and the user experience effect is improved.
EXAMPLE III
In order to make the touch operation method of the present invention more understandable, a specific application example is provided below to further describe the present invention.
Fig. 5 is a flowchart illustrating a touch operation method according to a third embodiment of the present invention.
Step S510, a range of the edge area is set for the touch screen.
In this embodiment, the range of the edge area is set only according to the requirement, and after the range of the edge area is set, the range of the middle area surrounded by the edge area is used as the range of the non-edge area, so that the setting of the non-edge area and the edge area in the touch screen is realized. Of course, only the range of the non-edge region may be provided, or both the range of the edge region and the range of the non-edge region may be provided.
Specifically, the setting of the non-edge area and the edge area in the touch screen includes: determining a resolution of the touch screen; and setting the coordinate range (pixel range) of the non-edge area and/or the edge area in each row of pixel points or each column of pixel points of the touch screen.
For example: fig. 6 is a schematic range diagram of an edge region according to a third embodiment of the invention. In fig. 6, the resolution of the touch screen is 1920 × 1080. For any line yn in the touch screen, the minimum value xmin and the maximum value xmax of the non-edge area of the yn line are recorded. For a touch screen with 1920 × 1080 resolution, 1920 groups (xmin, xmax) of values corresponding to y0 to y1919 rows respectively need to be recorded. Further, if xmin and xmax of the yn row are both 0 or 1080, it indicates that the yn row is all the edge area. The edge areas at the top and bottom of the touch screen can be defined in this way. If xmin is equal to 0 and xmax is equal to 1080, it indicates that the yn row has no edge area and is a non-edge area.
Step S520, detecting whether a sliding touch event occurs in the non-edge area; if so, go to step S530; if not, the process continues to step S520.
After the continuous touch operation is detected, whether the starting point of the continuous touch operation is located in the non-edge area or not is judged, if yes, the non-edge area is judged to generate a sliding touch event, and if not, the non-edge area is judged not to generate the sliding touch event.
In the present embodiment, it is determined whether the start point of the continuous touch operation (touch point corresponding to the start point) is located in the non-edge area according to whether the coordinates of the start point are located within the coordinate range of the non-edge area. And if the coordinates of the starting point are positioned in the coordinate range of the non-edge area, judging that the starting point is positioned in the non-edge area.
For example: fig. 7 is a schematic diagram illustrating a determination of an area where a touch point is located according to a third embodiment of the present invention. The starting points of two consecutive touch operations are illustrated in fig. 7.
The coordinate of the starting point P1 of the first continuous touch operation is (x1, yn), and it is determined whether the x coordinate value of the starting point P1 is within the coordinate range xmin and xmax of the non-edge area corresponding to the yn row. As shown in fig. 7, x1< xmin, it can be determined that the start point P1 is located within the range of the edge region.
The coordinate of the starting point P2 of the second continuous touch operation is (x2, yn), and it is determined whether the x coordinate value of the starting point P2 is within the coordinate range xmin and xmax of the non-edge area corresponding to the yn row. As shown in fig. 7, x2 ∈ (xmin, xmax), so that it can be determined that the starting point P2 is located in the non-edge region.
Step S530, detecting whether other touch points exist on the touch screen during the sliding touch event; if yes, go to step S540; if not, step S560 is performed.
In step S540, the area where the touch point is located is detected.
Step S550, masking the touch points located in the edge region, reserving the touch points located in the non-edge region, and executing the sliding touch event and the point touch event of the non-edge region.
A touch point may trigger a point-touch event. The touch points of the shielding edge area are the point touch events of the shielding edge area, and the touch points of the non-edge area are the point touch events of the non-edge area.
In the present embodiment, if a touch point exists in the non-edge area, it is considered that the user's intention is to perform a multi-touch operation. Such as: scaling, rotating, etc. operations are performed.
Since the touch points located in the edge area have been removed from the multi-touch points at this time, the possibility of a user's erroneous operation can be reduced.
In step S560, a sliding touch event of the non-edge area is performed.
In the present embodiment, a method of masking a touch operation of an edge area at the time of a slide touch is proposed. After the sliding touch event is detected, the mode of whether the sliding touch event is executed is determined by judging whether a touch point exists in the edge area range. The method can automatically eliminate the influence of the touch point generated by the user holding the mobile terminal on the execution of the sliding touch event.
Example four
The present embodiment provides a touch operation device. Fig. 8 is a block diagram of a touch operation device according to a fourth embodiment of the present invention.
In this embodiment, the touch operation device 800 includes, but is not limited to: a processor 810, a memory 820.
The processor 810 is configured to execute a touch operation program stored in the memory 820 to implement the touch operation method according to the first embodiment.
Specifically, the processor 810 is configured to execute a touch operation program stored in the memory 820, so as to implement the following steps: identifying a non-edge area and an edge area of the touch screen; when the touch event is detected in the non-edge area, if the touch event is also detected in the edge area within a preset time range, the touch event generated in the edge area is shielded, and the touch event generated in the non-edge area is executed.
Optionally, the types of the touch event include: a point touch event and a slide touch event; when the touch event occurring in the non-edge area is detected, if the touch event is also detected in the edge area within a preset time range, the touch event occurring in the edge area is masked, and the touch event occurring in the non-edge area is executed, including: detecting whether a sliding touch event and/or a point touch event occurs in the non-edge area; if the non-edge area generates a sliding touch event and/or a point touch event, determining whether the edge area detects the point touch event within a preset time range; and if the edge area detects a point touch event, shielding the point touch event occurring in the edge area, and executing a sliding touch event and/or a point touch event occurring in the non-edge area.
Optionally, the detecting whether the non-edge area has a sliding touch event includes: detecting continuous touch operation generated on a touch screen; judging whether the detected starting point of the continuous touch operation is located in the non-edge area; and if the starting point of the continuous touch operation is positioned in the non-edge area, judging that a sliding touch event occurs in the non-edge area.
Optionally, an end point of the continuous touch operation corresponding to the sliding touch event is located in the non-edge area or the edge area.
Optionally, before the identifying the non-edge area and the edge area of the touch screen, the method further includes: setting a non-edge area and an edge area in the touch screen; wherein the non-edge region and the edge region are both regular regions or irregular regions.
Optionally, the setting a non-edge area and an edge area in the touch screen includes: determining a resolution of the touch screen; and setting the coordinate range of the non-edge area and/or the edge area in each row of pixel points or each column of pixel points of the touch screen.
Optionally, the method further includes: when the touch event of the non-edge area is detected, if the touch event is not detected by the edge area within a preset time range, executing the touch event of the non-edge area.
Optionally, the time starting point, the time ending point, or the time midpoint of the preset time range is a time when the touch event occurs in the non-edge area.
EXAMPLE five
The embodiment of the invention also provides a computer storage medium. The computer-storable medium herein stores one or more programs. Among other things, computer-readable storage media may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the computer-readable storage medium are executable by one or more processors to implement the touch operation method described above.
Specifically, the processor is configured to execute a touch operation program stored in the memory to implement the following steps: identifying a non-edge area and an edge area of the touch screen; when the touch event is detected in the non-edge area, if the touch event is also detected in the edge area within a preset time range, the touch event generated in the edge area is shielded, and the touch event generated in the non-edge area is executed.
Optionally, the types of the touch event include: a point touch event and a slide touch event; when the touch event occurring in the non-edge area is detected, if the touch event is also detected in the edge area within a preset time range, the touch event occurring in the edge area is masked, and the touch event occurring in the non-edge area is executed, including: detecting whether a sliding touch event and/or a point touch event occurs in the non-edge area; if the non-edge area generates a sliding touch event and/or a point touch event, determining whether the edge area detects the point touch event within a preset time range; and if the edge area detects a point touch event, shielding the point touch event occurring in the edge area, and executing a sliding touch event and/or a point touch event occurring in the non-edge area.
Optionally, the detecting whether the non-edge area has a sliding touch event includes: detecting continuous touch operation generated on a touch screen; judging whether the detected starting point of the continuous touch operation is located in the non-edge area; and if the starting point of the continuous touch operation is positioned in the non-edge area, judging that a sliding touch event occurs in the non-edge area.
Optionally, an end point of the continuous touch operation corresponding to the sliding touch event is located in the non-edge area or the edge area.
Optionally, before the identifying the non-edge area and the edge area of the touch screen, the method further includes: setting a non-edge area and an edge area in the touch screen; wherein the non-edge region and the edge region are both regular regions or irregular regions.
Optionally, the setting a non-edge area and an edge area in the touch screen includes: determining a resolution of the touch screen; and setting the coordinate range of the non-edge area and/or the edge area in each row of pixel points or each column of pixel points of the touch screen.
Optionally, the method further includes: when the touch event of the non-edge area is detected, if the touch event is not detected by the edge area within a preset time range, executing the touch event of the non-edge area.
Optionally, the time starting point, the time ending point, or the time midpoint of the preset time range is a time when the touch event occurs in the non-edge area.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A method of touch operation, the method comprising the steps of:
identifying a non-edge area and an edge area of the touch screen;
when the touch event of the non-edge area is detected, if the touch event is also detected by the edge area within a preset time range, the touch event of the edge area is shielded, and the touch event of the non-edge area is executed, wherein the time starting point, the time ending point or the time midpoint of the preset time range is the moment when the touch event of the non-edge area is detected;
if the time starting point of the preset time range is the moment when the touch event of the non-edge area is detected, starting to detect whether the touch event occurs in the edge area when the touch event occurs in the non-edge area is detected, and the detection time lasts for the duration of the preset time range;
if the time end point of the preset time range is the moment when the touch event occurs in the non-edge area, detecting whether the touch event occurs in the edge area in real time while detecting whether the touch event occurs in the non-edge area, and determining whether the touch event occurs in the edge area in the preset time range before the touch event occurs in the non-edge area according to a real-time detection result when the touch event occurs in the non-edge area;
if the time midpoint of the preset time range is the moment when the touch event occurs in the non-edge area, detecting whether the touch event occurs in the edge area in real time while detecting whether the touch event occurs in the non-edge area, and determining whether the touch event occurs in the edge area within a half preset time range before the touch event occurs in the non-edge area and within a half preset time range after the touch event occurs in the non-edge area according to a real-time detection result when the touch event occurs in the non-edge area.
2. The method of claim 1,
the types of touch events include: a point touch event and a slide touch event;
when the touch event occurring in the non-edge area is detected, if the touch event is also detected in the edge area within a preset time range, the touch event occurring in the edge area is masked, and the touch event occurring in the non-edge area is executed, including:
detecting whether a sliding touch event and/or a point touch event occurs in the non-edge area;
if the non-edge area generates a sliding touch event and/or a point touch event, determining whether the edge area detects the point touch event within a preset time range;
and if the edge area detects a point touch event, shielding the point touch event occurring in the edge area, and executing a sliding touch event and/or a point touch event occurring in the non-edge area.
3. The method of claim 2, wherein the detecting whether the non-edge area has a sliding touch event comprises:
detecting continuous touch operation generated on a touch screen;
judging whether the detected starting point of the continuous touch operation is located in the non-edge area;
and if the starting point of the continuous touch operation is positioned in the non-edge area, judging that a sliding touch event occurs in the non-edge area.
4. The method of claim 3,
and the end point of the continuous touch operation corresponding to the sliding touch event is positioned in the non-edge area or the edge area.
5. The method of claim 1, prior to the identifying non-edge regions and edge regions of the touch screen, further comprising:
setting a non-edge area and an edge area in the touch screen; wherein the non-edge region and the edge region are both regular regions or irregular regions.
6. The method of claim 5, wherein the setting of the non-edge area and the edge area in the touch screen comprises:
determining a resolution of the touch screen;
and setting the coordinate range of the non-edge area and/or the edge area in each row of pixel points or each column of pixel points of the touch screen.
7. The method according to any one of claims 1 to 6, further comprising:
when the touch event of the non-edge area is detected, if the touch event is not detected by the edge area within a preset time range, executing the touch event of the non-edge area.
8. A touch-operated device, characterized in that the touch-operated device comprises a processor, a memory; the processor is used for executing the touch operation program stored in the memory so as to realize the touch operation method of any one of claims 1-7.
9. A computer-storable medium that stores one or more programs executable by one or more processors to implement the touch manipulation method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811126711.8A CN109240579B (en) | 2018-09-26 | 2018-09-26 | Touch operation method, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811126711.8A CN109240579B (en) | 2018-09-26 | 2018-09-26 | Touch operation method, equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109240579A CN109240579A (en) | 2019-01-18 |
CN109240579B true CN109240579B (en) | 2021-08-10 |
Family
ID=65057541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811126711.8A Active CN109240579B (en) | 2018-09-26 | 2018-09-26 | Touch operation method, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240579B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109876429B (en) * | 2019-01-24 | 2023-01-20 | 吴宏琴 | Direction control method based on game scene, mobile terminal and storage medium |
CN110503010B (en) * | 2019-08-06 | 2022-05-06 | 北京达佳互联信息技术有限公司 | Material display method, device, electronic device and storage medium |
CN112416155B (en) * | 2019-08-21 | 2024-04-16 | 北京小米移动软件有限公司 | Report point output control method, report point output control device and storage medium |
CN114356203A (en) * | 2020-09-27 | 2022-04-15 | 中兴通讯股份有限公司 | False touch prevention method, terminal device and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090174679A1 (en) * | 2008-01-04 | 2009-07-09 | Wayne Carl Westerman | Selective Rejection of Touch Contacts in an Edge Region of a Touch Surface |
JP6155872B2 (en) * | 2013-06-12 | 2017-07-05 | 富士通株式会社 | Terminal device, input correction program, and input correction method |
CN104657018A (en) * | 2015-02-02 | 2015-05-27 | 深圳市中兴移动通信有限公司 | Mobile terminal and display device thereof |
CN106598335B (en) * | 2016-12-16 | 2019-06-28 | Oppo广东移动通信有限公司 | A kind of touch screen control method, device and mobile terminal of mobile terminal |
CN106681554B (en) * | 2016-12-16 | 2019-09-06 | Oppo广东移动通信有限公司 | A kind of control method of mobile terminal touch screen, device and mobile terminal |
CN106681635B (en) * | 2016-12-16 | 2020-09-29 | Oppo广东移动通信有限公司 | Split screen false touch prevention method and device and mobile terminal |
-
2018
- 2018-09-26 CN CN201811126711.8A patent/CN109240579B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109240579A (en) | 2019-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106383647B (en) | Terminal interface control device and method | |
CN106101423B (en) | Split screen area size adjusts device and method | |
CN104731480B (en) | Image display method and device based on touch screen | |
CN106130734A (en) | The control method of mobile terminal and control device | |
CN104898970A (en) | Volume control method and apparatus | |
CN105260083A (en) | Mobile terminal and method for realizing split screens | |
CN109240579B (en) | Touch operation method, equipment and computer storage medium | |
CN106843723A (en) | A kind of application program associates application method and mobile terminal | |
CN104951229B (en) | Screenshot method and device | |
CN106648324B (en) | Hidden icon control method and device and terminal | |
CN106406621B (en) | A kind of mobile terminal and its method for handling touch control operation | |
CN105049612A (en) | Method of realizing recording and device of realizing recording | |
CN106790994A (en) | The triggering method and mobile terminal of control | |
CN106020653A (en) | Device and method for man-machine interaction | |
CN106020677A (en) | Information processing method and mobile terminal | |
CN106095308B (en) | The method of mobile terminal and dummy keyboard false-touch prevention | |
CN106484297B (en) | Character picking device and method | |
CN106020693B (en) | Desktop page entering method and electronic equipment | |
CN105183327B (en) | A kind of method of terminal and terminal operation | |
CN104850351B (en) | A kind of method and apparatus for realizing Rimless interaction | |
CN109063623B (en) | Fingerprint identification method, equipment and computer storage medium | |
CN105141834A (en) | Device and method for controlling picture shooting | |
CN106792224B (en) | Terminal and video playing method | |
CN104932711A (en) | Method and device for realizing input mode switching | |
CN105138235A (en) | Picture processing apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |