Patent Description:
As full-screen mobile terminals are widely used, full-screen gestures are supported within gesture input regions of display screens for convenient operations, so as to improve the user experience. Related technologies are known from patent publication <CIT>.

In order to overcome problems in related technologies, the present disclosure provides a method and an apparatus for processing a touch signal, and a medium.

According to an aspect of embodiments of the present disclosure, there is provided a method for processing a touch signal, which includes:
detecting, through an event dispatch process, a full-screen gesture touch signal, determining whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule; and sending, based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process.

The above method for processing a touch signal further has the following features:.

The sending, based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process preferably includes:.

The above method for processing a touch signal further has preferably the following features:.

The above method for processing a touch signal further has preferably the following features:
the full-screen gesture preferably includes at least one of a finger press-down event or a finger movement event; or the full-screen gesture preferably includes at least one of the finger press-down event or the finger movement event, and further preferably includes at least one of a finger pause event or a finger lift event.

According to another aspect of the embodiments of the present disclosure, there is provided an apparatus for processing a touch signal, which includes an event dispatch process processing module, wherein the event dispatch process processing module includes:.

The above apparatus for processing a touch signal further has the following features:.

The above apparatus for processing a touch signal further has preferably the following features:.

The above apparatus for processing a touch signal further has preferably the following features:
the full-screen gesture includes at least one of a finger press-down event or a finger movement event; or the full-screen gesture includes at least one of the finger press-down event or the finger movement event, and further includes at least one of a finger pause event or a finger lift event.

According to an aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions in the storage medium are executed by a processor of a mobile terminal such that the mobile terminal can execute the method for processing a touch signal as described above.

Technical solutions provided by the embodiments of the present disclosure may include following beneficial effects. The application process is enable to receive a complete sequence of touch operations that conforms to a processing logic, thereby effectively preventing the gesture processing process and the application processing process from simultaneously responding, such that interface switching is ensured to be stable and smooth when a user operates in a gesture input region.

It is to be understood that the above general description and the detailed description below are merely exemplary and explanatory, and do not limit the present disclosure.

The accompanying drawings herein are incorporated in and constitute a part of this specification, illustrate embodiments conforming to the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.

When accompanying figures are mentioned in the following descriptions, the same numbers in different drawings represent the same or similar elements, unless otherwise represented. The implementations set forth in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects related to the present disclosure as recited in the appended claims.

When maintaining full-screen gesture processing procedures, the following processing manners can be adopted according to some embodiments of the present disclosure: after receiving a touch signal, an event dispatch process sends the touch signal to a gesture processing process, such that the gesture processing process determines whether this touch signal conforms to a full-screen gesture trajectory determination rule. If this touch signal does not conform to the full-screen gesture trajectory determination rule, all events contained in this touch signal are sent to the event dispatch process, which will send the received events to an application processing process. In this process, the event dispatch process may also dispatch a touch signal for an application to the application processing process. The above processing manner easily leads to simultaneous response of the gesture processing process and the application processing process, which causes frequent screen interface mis-switching, and thus having a negative effect on user experience.

Various embodiments can provide a method for processing a touch signal through creative labor. As shown in <FIG>, the method for processing a touch signal includes following steps.

In step S11, a full-screen gesture touch signal is detected by an event dispatch process.

In step S12, it is determined whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule.

In step S13, the full-screen gesture touch signal or a part of events of the full-screen gesture touch signal is sent to a gesture processing process or an application processing process based on a result as determined.

The step S13 of sending a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process based on a result as determined includes:.

The event dispatch process is positioned at the bottom layer of a system, for example, at a system_server layer of the system. The application processing process is positioned at a business layer of the system and is used to process applications (such as setting applications, map applications, desktop applications, interface interactive applications, etc.). Positioned at the business layer of the system, the gesture processing process may be maintained by a certain application in the business layer, or the gesture processing process may be a separate business layer process.

According to the method, the application process is enabled to receive a complete sequence of touch operations that conforms to a processing logic, thereby effectively preventing the gesture processing process and the application processing process from simultaneously responding, such that interface switching is ensured to be stable and smooth when a user operates in a gesture input region.

Each gesture input region corresponds to a full-screen gesture trajectory determination rule. This full-screen gesture trajectory determination rule includes trajectory determination rules of one or more gestures, and different gestures have different functions. For example, the function of one gesture is to directly return to the home page, whereas the function of another gesture is to return to the previous path of the current interface path. Specifically, the step S11 of detecting a full-screen gesture touch signal by an event dispatch process includes: detecting, by the event dispatch process, a full-screen gesture touch signal within a preset screen region. The step S12 of determining whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule includes: determining whether the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule corresponding to the preset screen region.

<FIG> is a schematic diagram showing a location where a gesture input region is on a display screen of a mobile terminal. The full-screen gesture input region generally is at the edge of the display screen, such as the left edge, the right edge, or the bottom edge.

The full-screen gesture includes a series of coherent operation events. For example, the full-screen gesture includes at least one of a finger press-down event or a finger movement event. Alternatively, the full-screen gesture includes at least one of the finger press-down event or the finger movement event and further includes at least one of a finger pause event or a finger lift event.

Reference is made below based on a specific embodiment.

The right edge region of the screen of the mobile terminal is the gesture input region, and the full-screen gesture trajectory determination rule indicates to return to the home screen page when a sliding touch signal is inputted into the gesture input region.

When the mobile terminal is running a game application, the right region of the current game interface including the gesture input region is an operation region for returning to game home interface. When a user performs a double-click operation in the right region, the game application will be switched from the current game to the game home interface.

The user inputs a sliding touch signal in the gesture input region. After detecting this touch signal in the gesture input region, the event dispatch process determines that this touch signal conforms to the full-screen gesture trajectory determination rule, and sends this touch signal to the gesture processing process. After making an analysis, the gesture processing process controls the current interface to return to the home screen page.

Alternatively, the user inputs a sliding touch signal in the gesture input region, wherein this sliding signal includes one finger press-down event and five finger movement events. When it is determined that this touch signal conforms to the full-screen gesture trajectory determination rule, one finger press-down event and the first three finger movement events of this touch signal are sent to the gesture processing process. After making an analysis, the gesture processing process controls the current interface to return to the home screen page.

The user inputs a double-click touch signal in the gesture input region. After detecting this touch signal in the gesture input region, the event dispatch process determines that this touch signal does not conform to the full-screen gesture trajectory determination rule, and sends this touch signal to the application processing process. After making an analysis, the gesture processing process controls the current interface to return to the game home interface.

Alternatively, the user inputs a double-click touch signal in the gesture input region. After detecting this touch signal in the gesture input region, the event dispatch process determines that this touch signal does not conform to the full-screen gesture trajectory determination rule, and sends a part of events of this touch signal to the application processing process. That is, one single-click event of this touch signal is sent to the application processing process. After making an analysis, the gesture processing process maintains the current interface unchanged.

<FIG> illustrates a block diagram of an apparatus for processing a touch signal according to an exemplary embodiment. The apparatus includes an event dispatch process processing module, wherein the event dispatch process processing module includes:.

The processing module includes a first sending module and a second sending module.

The first sending module is configured to send, when the result indicates that the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the gesture processing process.

The second sending module is configured to send, when the result indicates that the full-screen gesture touch signal does not conform to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the application processing process.

Specifically, the detecting module is further configured to detect the full-screen gesture touch signal by detecting a full-screen gesture touch signal within a preset screen region.

The determining module is further configured to determine whether the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule by determining whether the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule corresponding to the preset screen region.

The full-screen gesture includes at least one of a finger press-down event or a finger movement event. Alternatively, the full-screen gesture includes at least one of the finger press-down event or the finger movement event and further includes at least one of a finger pause event or a finger lift event.

<FIG> illustrates a block diagram of an apparatus <NUM> for determining a performance parameter of a speech enhancement algorithm according to an exemplary embodiment. For example, the apparatus <NUM> may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical equipment, a fitness equipment, a personal digital assistant, and the like.

The memory <NUM> is configured to store various types of data to support the operation of the apparatus <NUM>. Examples of such data may include instructions for any applications or methods operated on the apparatus <NUM>, contact data, phonebook data, messages, pictures, video, etc. The memory <NUM> may be implemented using any type of volatile or non-volatile memory devices, or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk.

The power component <NUM> may provide power to various components of the apparatus <NUM>.

The multimedia component <NUM> includes a screen providing an output interface between the apparatus <NUM> and the user. In some embodiments, an organic light-emitting diode (OLED) display or other types of display screens can be adopted.

The touch panel includes one or more touch sensors to sense touches, slips, and gestures on the touch panel. The touch sensors may not only sense a boundary of a touch or slip action, but also sense a period of time and a pressure associated with the touch or slip action. In some embodiments, the multimedia component <NUM> may include a front camera and/or a rear camera. The front camera and/or the rear camera may receive an external multimedia datum while the apparatus <NUM> is in an operation mode, such as a photographing mode or a video mode.

The audio component <NUM> is configured to output and/or input audio signals. For example, the audio component <NUM> includes a microphone ("MIC") configured to receive an external audio signal when the apparatus <NUM> is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory <NUM> or transmitted via the communication component <NUM>. In some embodiments, the audio component <NUM> further includes a speaker to output audio signals.

The sensor component <NUM> includes one or more sensors to provide status assessments of various aspects of the apparatus <NUM>. For example, the sensor component <NUM> may detect the on/off state of the apparatus <NUM>, relative locations of components, for example, the components are the displayer and keypads of the apparatus <NUM>. The sensor component <NUM> may further sense the position change of a component of the apparatus <NUM> or the position change of the apparatus <NUM>, whether the touch exists between the user and the apparatus <NUM>, the direction or acceleration/deceleration of the apparatus <NUM>, and temperature change of the apparatus <NUM>.

The communication component <NUM> is configured to facilitate communication, wired or wirelessly, between the apparatus <NUM> and other devices. The apparatus <NUM> can access a wireless network based on a communication standard, such as WiFi, <NUM>, <NUM>, <NUM>, or <NUM>, or a combination thereof. In an exemplary embodiment, the communication component <NUM> receives by means of a broadcast channel the broadcast signal or broadcast-related information from external broadcast management systems. In an exemplary embodiment, the communication component <NUM> further includes a near field communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra-wideband (UWB) technology, a Bluetooth (BT) technology, and other technologies.

In exemplary embodiments, the apparatus <NUM> may be implemented with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components, for performing the above described methods.

In exemplary embodiments, there is also provided a non-transitory computer-readable storage medium including instructions, such as included in the memory <NUM>, executable by the processor <NUM> in the apparatus <NUM>, for performing the above-described methods. For example, the non-transitory computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disc, an optical data storage device, and the like.

The various circuits, device components, modules, units, blocks, or portions may have modular configurations, or are composed of discrete components, but nonetheless can be referred to as "units," "modules," or "portions" in general. In other words, the "circuits," "components," "modules," "blocks," "portions," or "units" referred to herein may or may not be in modular forms.

Those of ordinary skill in the art will understand that the above described modules/units can each be implemented by hardware, or software, or a combination of hardware and software. Those of ordinary skill in the art will also understand that multiple ones of the above described modules/units may be combined as one module/unit, and each of the above described modules/units may be further divided into a plurality of sub-modules/sub-units.

In the present disclosure, it is to be understood that the terms "lower," "upper," "center," "longitudinal," "transverse," "length," "width," "thickness," "upper," "lower," "front," "back," "left," "right," "vertical," "horizontal," "top," "bottom," "inside," "outside," "clockwise," "counterclockwise," "axial," "radial," "circumferential," "column," "row," and other orientation or positional relationships are based on example orientations illustrated in the drawings, and are merely for the convenience of the description of some embodiments, rather than indicating or implying the device or component being constructed and operated in a particular orientation. Therefore, these terms are not to be construed as limiting the scope of the present disclosure.

In the present disclosure, the terms "installed," "connected," "coupled," "fixed" and the like shall be understood broadly, and may be either a fixed connection or a detachable connection, or integrated, unless otherwise explicitly defined. These terms can refer to mechanical or electrical connections, or both. Such connections can be direct connections or indirect connections through an intermediate medium. These terms can also refer to the internal connections or the interactions between elements. The specific meanings of the above terms in the present disclosure can be understood by those of ordinary skill in the art on a case-by-case basis.

In the present disclosure, a first element being "on," "over," or "below" a second element may indicate direct contact between the first and second elements, without contact, or indirect through an intermediate medium, unless otherwise explicitly stated and defined.

Moreover, a first element being "above," "over," or "at an upper surface of" a second element may indicate that the first element is directly above the second element, or merely that the first element is at a level higher than the second element. The first element "below," "underneath," or "at a lower surface of" the second element may indicate that the first element is directly below the second element, or merely that the first element is at a level lower than the second feature. The first and second elements may or may not be in contact with each other.

In the description of the present disclosure, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," and the like may indicate a specific feature described in connection with the embodiment or example, a structure, a material or feature included in at least one embodiment or example. In the present disclosure, the schematic representation of the above terms is not necessarily directed to the same embodiment or example.

Moreover, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and reorganized.

In some embodiments, the control and/or interface software or app can be provided in a form of a non-transitory computer-readable storage medium having instructions stored thereon is further provided. For example, the non-transitory computer-readable storage medium may be a Read-Only Memory (ROM), a Random-Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, optical data storage equipment, a flash drive such as a USB drive or an SD card, and the like.

Implementations of the subject matter described in this disclosure can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on one or more computer storage medium for execution by, or to control the operation of, data processing apparatus.

Accordingly, the computer storage medium may be tangible.

For example, the devices can be controlled remotely through the Internet, on a smart phone, a tablet computer or other types of computers, with a web-based graphic user interface (GUI).

A computer program (also known as a program, software, software application, app, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a mark-up language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).

To provide for interaction with a user, implementations of the subject matter described in this specification can be implemented with a computer and/or a display device, e.g., a VR/AR device, a head-mount display (HMD) device, a head-up display (HUD) device, smart eyewear (e.g., glasses), a CRT (cathode-ray tube), LCD (liquid-crystal display), OLED (organic light emitting diode) display, other flexible configuration, or any other monitor for displaying information to the user and a keyboard, a pointing device, e.g., a mouse, trackball, etc., or a touch screen, touch pad, etc., by which the user can provide input to the computer.

Other types of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input. In an example, a user can speak commands to the audio processing device, to perform various operations.

Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombinations.

Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variations of a subcombination.

Thus, particular implementations of the subject matter have been described. In certain implementations, multitasking or parallel processing may be utilized.

Claim 1:
A method for processing a touch signal, comprising:
detecting (S11), through an event dispatch process, a full-screen gesture touch signal,
determining (S12), through the event dispatch process, whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule; and
sending (S13), based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process,
characterized in that the sending (S13), based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process comprises:
sending, when the result indicates that the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the gesture processing process; and
sending, when the result indicates that the full-screen gesture touch signal does not conform to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the application processing process,
wherein
the event dispatch process is positioned at a bottom layer of a system, the bottom layer comprising a system_server layer;
the gesture processing process is positioned at a business layer of the system;
the application processing process is positioned at the business layer of the system; and
the determining of whether the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule, and the part of events of the full-screen gesture touch signal, are processed at different layers of the system.