[go: up one dir, main page]

WO2014019124A1 - 触摸事件上报方法、装置及移动终端 - Google Patents

触摸事件上报方法、装置及移动终端 Download PDF

Info

Publication number
WO2014019124A1
WO2014019124A1 PCT/CN2012/079370 CN2012079370W WO2014019124A1 WO 2014019124 A1 WO2014019124 A1 WO 2014019124A1 CN 2012079370 W CN2012079370 W CN 2012079370W WO 2014019124 A1 WO2014019124 A1 WO 2014019124A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
event
touch screen
screen
self
Prior art date
Application number
PCT/CN2012/079370
Other languages
English (en)
French (fr)
Inventor
陈磊
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to PCT/CN2012/079370 priority Critical patent/WO2014019124A1/zh
Priority to EP12876591.4A priority patent/EP2713254A4/en
Priority to CN201280014333.9A priority patent/CN103620536B/zh
Priority to US13/731,833 priority patent/US20140028611A1/en
Publication of WO2014019124A1 publication Critical patent/WO2014019124A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • G06F3/041662Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving using alternate mutual and self-capacitive scanning

Definitions

  • the present invention relates to the field of data processing technologies, and in particular, to a touch event reporting method, device, and mobile terminal. Background technique
  • Capacitive touch screens are divided into two types: mutual capacitive touch screens and self-capacitive touch screens. Among them, the mutual capacitance touch screen can realize multi-touch detection; the self-capacitance touch screen can realize floating touch detection.
  • the mutual capacitance touch screen or the self-capacitive touch screen sends an interrupt signal to the driving layer when the touch data is collected.
  • the driving layer receives the touch data, and determines, according to the interrupt signal, the touch data is the touch data collected by the mutual capacitance touch screen. , or touch data collected by a capacitive touch screen;
  • the driving layer encapsulates the touch data according to an event corresponding to the mutual capacitive touch screen, and reports the touch event to the application by using an interface corresponding to the mutual capacitive touch screen; If it is determined that the touch data is collected by the self-capacitive touch screen, the driving layer encapsulates the touch data according to an event corresponding to the self-capacitive touch screen, and reports the touch event to the application by using an interface corresponding to the self-capacitive touch screen.
  • the embodiment of the invention provides a touch event reporting method, device and mobile terminal.
  • the technical solution is as follows:
  • a method for reporting a touch event is provided, where the method includes:
  • the touch data collected by the self-capacitance touch screen is encapsulated into a touch event corresponding to the mutual capacitance touch screen and reported to the application program.
  • the touch data collected by the self-capacitive touch screen includes coordinates of a touch point, and the touch event corresponding to the mutual capacitance touch screen includes coordinates of the touch point;
  • the method of the present invention includes: the method of: applying the touch data collected by the self-capacitive touch screen to a touch event corresponding to the mutual-capacitive touch screen, and the method includes:
  • the touch event is reported to the application by using an interface corresponding to the mutual capacitance touch screen.
  • the touch data collected by the self-capacitive touch screen further includes a touch distance
  • the touch corresponding to the mutual capacitance touch screen Events also include touch point area, touch pressure, and touch direction;
  • the method of the present invention includes: the method of: applying the touch data collected by the self-capacitive touch screen to a touch event corresponding to the mutual-capacitive touch screen, and the method includes:
  • a touch point area, a touch pressure, and a touch direction in the touch event to respective preset values; or, according to a preset correspondence between the touch distance and the touch point area and the touch pressure Querying a value of a touch point area corresponding to the touch distance and a value of a touch pressure; setting a value of the touched touch point area to a value of a touch point area in the touch event, and querying the The value of the touch pressure is set to a value of the touch pressure in the touch event; setting a touch direction in the touch event as a preset value;
  • the touch event is reported to the application by using an interface corresponding to the mutual capacitance touch screen;
  • the preset correspondence includes: the magnitude of the touch distance is inversely related to the area of the touch point, and the size of the touch distance is inversely related to the touch pressure.
  • the self-capacitive touch screen is collected Touch data includes touch distance;
  • the method of the present invention includes: the method of: applying the touch data collected by the self-capacitive touch screen to a touch event corresponding to the mutual-capacitive touch screen, and the method includes:
  • the touch data corresponding to the first predetermined condition is encapsulated into a touch event corresponding to the mutual capacitive touch screen, and the first predetermined condition is that the touch distance of the touch data is greater than a first threshold and less than a second threshold.
  • the fourth possibility in the first aspect the touch data collected by the self-capacitive touch screen includes a touch distance; and the touch data collected by the self-capacitance touch screen is encapsulated into a touch event corresponding to the mutual capacitance touch screen and reported to the application program, and include:
  • the step of encapsulating the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen is reported to the application.
  • the touch data collected by the self-capacitive touch screen includes a touch distance; and the touch data collected by the self-capacitance touch screen is encapsulated into a touch event corresponding to the mutual capacitance touch screen and reported to the application program, and Includes:
  • the package indication signal is that the preset application receives only the touch event corresponding to the self-capacitive touch screen within a predetermined time period, and the touch distance in the touch event is greater than the first threshold and less than the second a signal that is triggered at a threshold;
  • the step of encapsulating the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen is reported to the application.
  • the preset application is a screen unlocking application
  • the predetermined time period is a time period corresponding to the screen unlocking process
  • a seventh possible implementation of the first aspect After the touch data collected by the self-capacitive touch screen is encapsulated into a touch event corresponding to the mutual capacitive touch screen, the touch event is further reported to:
  • the touch data collected by the self-capacitive touch screen is encapsulated into a touch event corresponding to the self-capacitive touch screen for reporting.
  • the touch data collected by the self-capacitive touch screen is encapsulated as corresponding to the mutual capacitance touch screen
  • the reporting of the touch event to the application specifically includes: setting a touch point area, a touch pressure, and a touch direction in the touch event to respective preset values;
  • the touch data collected by the self-capacitive touch screen is encapsulated into a touch event corresponding to the mutual capacitance touch screen After reporting to the application, it also includes:
  • the package recovery signal is a signal that is triggered when the preset application receives the touch event corresponding to the mutual capacitance touch screen, and the touch event meets a second predetermined condition, where the second predetermined condition is Any one of the touch point area, the touch pressure, and the touch direction in the touch event is not a preset value;
  • the touch data collected by the self-capacitive touch screen is encapsulated into a touch event corresponding to the self-capacitive touch screen for reporting.
  • a touch event reporting device comprising:
  • a data receiving module configured to receive touch data collected by the self-capacitive touch screen
  • the event reporting module is configured to package the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen and report the touch event to the application.
  • the touch data collected by the self-capacitive touch screen includes coordinates of a touch point, and the touch event corresponding to the mutual capacitance touch screen includes coordinates of the touch point;
  • the event reporting module specifically includes: an event encapsulating unit and an event reporting unit;
  • the event encapsulating unit is configured to use coordinates of a touch point in the touch data as coordinates of a touch point in the touch event;
  • the event reporting unit is configured to report the touch event obtained by the event packaging unit to an application by using an interface corresponding to the mutual capacitance touch screen.
  • the touch data collected by the self-capacitive touch screen further includes a touch distance
  • the touch corresponding to the mutual capacitance touch screen Events also include touch point area, touch pressure, and touch direction
  • the event encapsulating unit is specifically configured to use coordinates of a touch point in the touch data as coordinates of a touch point in the touch event; set a touch point area, a touch pressure, and a touch direction in the touch event Or a preset value corresponding to the touch distance and the touch pressure, and a value of the touch point area corresponding to the touch distance and a touch pressure according to a preset correspondence between the touch distance and the touch pressure a value; setting a value of the touched touch point area to a value of a touch point area in the touch event, and setting a value of the touch pressure to a value of the touch pressure in the touch event;
  • the touch direction of the touch event is set to a preset value;
  • the event reporting unit is configured to report the touch event obtained by the event packaging unit to an application by using an interface corresponding to the mutual capacitance touch screen;
  • the preset correspondence includes: the magnitude of the touch distance is inversely related to the area of the touch point, and the size of the touch distance is inversely related to the touch pressure.
  • the touch data collected by the self-capacitive touch screen includes a touch distance
  • the event reporting module is configured to report the touch data corresponding to the first predetermined condition to a touch event corresponding to the mutual capacitive touch screen, and the first predetermined condition is that the touch distance of the touch data is greater than The first threshold is less than the second threshold.
  • the touch data collected by the self-capacitive touch screen includes a touch distance
  • the touch event reporting device further includes: a data determining module
  • the data judging module is configured to determine whether the touch data collected by the self-capacitive touch screen is received only in a predetermined time period, and the touch distance in the touch data is greater than a first threshold and less than a second threshold;
  • the event reporting module is specifically configured to: if the determination result of the data determining module is yes, perform the step of encapsulating the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitive touch screen and reporting the touch event to the application program. step.
  • the touch data collected by the self-capacitive touch screen includes a touch distance
  • the touch event reporting device further includes: an indication receiving module;
  • the indication receiving module is configured to receive a package indication signal, where the package indication signal is that the preset application receives only the touch event corresponding to the self-capacitive touch screen within a predetermined time period, and the touch distance in the touch event a signal that is greater than the first threshold and less than the second threshold;
  • the event reporting module is configured to: after the receiving the module receives the encapsulation indication signal, perform the step of encapsulating the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen and reporting the application to the application The steps of the program.
  • the preset application is a screen unlocking application, where the predetermined time period is corresponding to a screen unlocking process Time period.
  • the touch event reporting device further includes: a data monitoring module and a data encapsulation module;
  • the data monitoring module is configured to determine whether the touch data collected by the mutual capacitance touch screen is received; the data encapsulating module is configured to: if the judgment result of the data monitoring module is yes, the self-capacitance touch The touch data package collected by the touch screen is reported as a touch event corresponding to the self-capacitance touch screen.
  • the event encapsulating unit is specifically configured to use, as the Touching the coordinates of the touch point in the event; setting the touch point area, the touch pressure, and the touch direction in the touch event to respective preset values;
  • the touch event reporting device further includes: a recovery receiving module and a data package Module
  • the recovery receiving module is configured to receive a package recovery signal, where the package recovery signal is a signal that is triggered when the preset application receives the touch event corresponding to the mutual capacitance touch screen, and the touch event meets the second predetermined condition.
  • the second predetermined condition is that any one of the touch point area, the touch pressure, and the touch direction in the touch event is not a preset value;
  • the data encapsulating module after the recovery receiving module receives the encapsulation recovery signal, encapsulates the touch data collected by the self-capacitive touch screen into a touch event corresponding to the self-capacitive touch screen for reporting.
  • a mobile terminal in a third aspect, includes any one of the touch event reporting devices provided in the foregoing technical solutions.
  • a mobile terminal in a fourth aspect, includes a self-capacitance touch screen, a mutual capacitance touch screen, a memory, and a processor, and is configured to perform a touch event reporting method as described above.
  • FIG. 1 is a flowchart of a method for reporting a touch event according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for reporting a touch event according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for reporting a touch event according to Embodiment 3 of the present invention.
  • Embodiment 4 is a flowchart of a method for reporting a touch event according to Embodiment 4 of the present invention.
  • FIG. 5 is a block diagram showing the structure of a touch event reporting apparatus according to Embodiment 5 of the present invention
  • FIG. 6 is a block diagram showing another structure of a touch event reporting apparatus according to Embodiment 5 of the present invention
  • FIG. 7 is a block diagram showing a structure of a touch event reporting apparatus according to Embodiment 6 of the present invention
  • FIG. 8 is another structural block diagram of a touch event reporting apparatus according to Embodiment 6 of the present invention.
  • FIG. 9 is a block diagram showing still another structure of a touch event reporting apparatus according to Embodiment 6 of the present invention.
  • FIG. 10 is a structural block diagram of a touch event reporting apparatus according to Embodiment 7 of the present invention.
  • FIG. 11 is a block diagram showing still another structure of a touch event reporting apparatus according to Embodiment 7 of the present invention.
  • FIG. 12 is a block diagram showing the structure of a mobile terminal according to Embodiment 8 of the present invention. detailed description
  • the event form of the touch event corresponding to the mutual capacitance touch screen and the self-capacitive touch screen is as follows: First, the mutual capacitance reporting mode;
  • the touch data is encapsulated into a mutual capacitance event form at the driving layer, and then the touch event is uploaded to the application layer through a predetermined interface.
  • the specific mutual capacitance event form includes the following data:
  • the specific self-capacitance event form includes the following data:
  • FIG. 1 is a flowchart of a method for reporting a touch event according to Embodiment 1 of the present invention.
  • the method for reporting the touch event may specifically include:
  • Step 101 Receive touch data collected by a self-capacitive touch screen.
  • the driver layer in the mobile terminal can receive touch data collected from the capacitive touch screen.
  • Step 102 The touch data collected by the self-capacitance touch screen is encapsulated into a touch event corresponding to the mutual capacitance touch screen and reported to the application.
  • the driving layer in the mobile terminal can encapsulate the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitive touch screen and report it to the application in the mobile terminal.
  • the step of the driver layer encapsulating the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen may include: corresponding to the coordinates of the touch point in the touch data collected by the self-capacitive touch screen as the mutual capacitance touch screen
  • the coordinates of the touch point in the touch event for example, the touch data collected by the self-capacitance includes touch coordinates (X 1 , Y 1 ), and the touch distance L; then the driving layer may encapsulate the touch data into a touch corresponding to the mutual capacitance touch screen.
  • the driving layer reports the touch event to the application through the interface corresponding to the mutual capacitance touch screen, and the application that only supports the touch event reported by the mutual capacitance touch screen, after receiving the touch event, considers that the mutual capacitance touch screen is reported. The touch event, so you can continue to run normally.
  • the touch event reporting method is configured to report the touch data collected by the self-capacitive touch screen as a touch event corresponding to the mutual capacitance touch screen, and solve the problem that when the mobile terminal can only receive the self-capacitive touch screen.
  • the problem of the earlier version of the application cannot be used, and even if the mobile terminal can only receive the touch data collected by the self-capacitive touch screen, it can continue to use the application that only supports the touch event reported by the mutual capacitance touch screen.
  • the technical effect of the program is configured to report the touch data collected by the self-capacitive touch screen as a touch event corresponding to the mutual capacitance touch screen, and solve the problem that when the mobile terminal can only receive the self-capacitive touch screen.
  • the mobile terminal can only receive the touch data collected by the self-capacitive touch screen, which may be two cases: First, the user deliberately uses the floating touch The mobile terminal is operated in a controlled manner; second, the user operates the mobile terminal with gloves. In both cases, due to the insulation of the air and the glove, the finger cannot directly touch the mutual capacitance touch screen, so the mutual capacitance touch screen cannot be triggered to collect the touch data.
  • Embodiment 2 Please refer to FIG. 2, which is a flowchart of a method for reporting a touch event according to Embodiment 2 of the present invention.
  • the touch event reporting method can be used in a mobile terminal that simultaneously uses a mutual capacitance touch screen and a self capacitance touch screen.
  • the method for reporting the touch event may specifically include:
  • Step 201 Receive touch data collected by a self-capacitive touch screen.
  • the driver layer in the mobile terminal can receive touch data collected from the capacitive touch screen.
  • Step 202 The touch data corresponding to the first predetermined condition is encapsulated into a touch event corresponding to the mutual capacitive touch screen, and the first predetermined condition is that the touch distance in the touch data is greater than the first threshold and less than the second threshold.
  • the driving layer in the mobile terminal can only report the touch data corresponding to the first predetermined condition, which is collected by the self-capacitance touch screen, to the application program in the mobile terminal, and the touch event corresponding to the mutual capacitance touch screen is reported to the application in the mobile terminal. Specifically, after receiving the touch data collected by the self-capacitive touch screen, the driving layer determines whether the touch distance in the touch data is greater than a first threshold and less than a second threshold, and if yes, encapsulating is a touch event corresponding to the mutual capacitive touch screen; If not, it is also encapsulated as a touch event corresponding to the self-capacitive touch screen.
  • the first threshold and the second threshold may be preset values by the R&D engineer and may be calculated in advance based on the thickness of each glove.
  • the driving layer encapsulates the touch data collected by the capacitive touch screen into a touch event corresponding to the mutual capacitive touch screen
  • the method may include: using the coordinates of the touch point in the touch data collected by the self-capacitive touch screen as a mutual capacitance touch screen
  • the coordinates of the touch point in the corresponding touch event may further include any one of the following two steps: First, the touch point area, the touch pressure, and the touch direction in the touch event are all set to respective preset values.
  • the touch data collected by the self-capacitance includes touch coordinates (X 1 , Y 1 ) and the touch distance L; then the driving layer may encapsulate the touch data into a touch event corresponding to the mutual capacitance touch screen: touch coordinates (X 1 , Y 1 ) , touch point area (preset value), touch pressure (preset value), and touch direction (preset value).
  • the preset value can be a value that remains unchanged.
  • the value of the touch point area corresponding to the touch distance and the value of the touch pressure are queried; the value of the touch touch area is set to Touching the value of the touch point area in the event, and setting the value of the query touch pressure to the value of the touch pressure in the touch event; setting the touch direction in the touch event to the preset value.
  • the preset correspondence relationship includes: The size of the touch distance is inversely related to the area of the touch point, and the size of the touch distance is inversely related to the touch pressure.
  • the touch data collected by the self-capacitance includes touch coordinates (X 1 , Y 1 ) and the touch distance L; then the driving layer can be based on the preset correspondence between the touch distance and the touch point area and the touch pressure, and the query The value S of the touch point area corresponding to L and the touch pressure P, and then the driving layer encapsulates the touch data as a touch event corresponding to the mutual capacitance touch screen: touch coordinates (X 1 , Y 1 ), touch point area (S), touch pressure (P) and touch direction (preset value).
  • the preset correspondence between the size of the touch distance and the touch point area and the touch pressure may be obtained by the R&D engineer according to the multiple touch data when the user touches the screen.
  • the touch event reporting method determines the touch distance in the touch data collected by the self-capacitive touch screen, and can distinguish whether the user moves with the glove operation.
  • the terminal can operate the mobile terminal without touching the screen surface, and can selectively encapsulate the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen, and can ensure the touch event corresponding to the self-capacitive touch screen as much as possible.
  • the effect of the application being processed.
  • the touch distance in the touch data collected by the self-capacitive touch screen may also be greater than the first threshold and less than the second threshold. In order to more accurately determine whether the user is operating the mobile terminal with gloves. Reference can be continued to the following embodiments: Embodiment 3
  • FIG. 3 is a flowchart of a method for reporting a touch event according to Embodiment 3 of the present invention.
  • the touch event reporting method can be used in a mobile terminal that uses both a mutual capacitive touch screen and a self-capacitive touch screen.
  • the method for reporting the touch event may specifically include:
  • Step 301 Determine whether the touch data collected by the self-capacitive touch screen is received only in the predetermined time period, and the touch distance in the touch data is greater than the first threshold and less than the second threshold; if yes, proceed to step 302; if not, Go to step 303;
  • the driving layer in the mobile terminal can continuously receive the touch data collected by the self-capacitive touch screen and the mutual capacitance touch screen, and determine whether the touch data is from the self-capacitive touch screen or the mutual capacitance touch screen according to the interrupt signal, and then through the background technology.
  • the touch event reporting method described in the above reports the touch event to the application.
  • the driving layer in the mobile terminal can determine whether the touch data collected by the self-capacitive touch screen is received only in the predetermined time period, and the touch distance in the touch data is greater than the first threshold and less than the second threshold.
  • the predetermined time period may be 30 seconds, that is, the drive layer may detect every 30 seconds whether the touch data received during this time period is from the self-capacitance touch screen.
  • the first threshold and the second threshold may be preset values of the R&D engineer, and may be calculated in advance according to the thickness of each glove.
  • the driving layer in the mobile terminal determines that only the touch data collected by the self-capacitive touch screen is received within the predetermined time period, and the touch distance in the touch data is greater than the first threshold and less than the second threshold, then the user may be considered to be carrying The glove operates the mobile terminal.
  • Step 302 The touch data collected by the self-capacitance touch screen is encapsulated into a touch event corresponding to the mutual capacitance touch screen.
  • the driving layer in the mobile terminal determines that only the touch data collected by the self-capacitive touch screen is received in the predetermined time period, and the touch distance in the touch data is greater than the first threshold and less than the second threshold, the self-capacitive touch screen may be collected.
  • the touch data package is reported to the application for the touch event corresponding to the mutual capacitance touch screen.
  • the driving layer encapsulates the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen, and may include the following steps:
  • the coordinates of the touched point in the touch data are taken as the coordinates of the touched point in the touch event
  • the touch point area, the touch pressure, and the touch direction in the touch event are all set to respective preset values.
  • the touch event is reported to the application by using an interface corresponding to the mutual capacitance touch screen.
  • the touch data collected by the self-capacitance includes touch coordinates (X 1 , Y 1 ) and the touch distance L; then the driving layer may encapsulate the touch data as a touch event corresponding to the mutual capacitance touch screen: touch coordinates (X 1 , Y 1 ), touch point area (preset value), touch pressure (preset value), and touch direction (preset value).
  • the driving layer encapsulates the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen, and may also include the following steps:
  • the coordinates of the touched point in the touch data are taken as the coordinates of the touched point in the touch event
  • the value of the touch point area corresponding to the touch distance and the value of the touch pressure are queried; the value of the touch touch area is set to Touching the value of the touch point area in the event, and setting the value of the query touch pressure to the value of the touch pressure in the touch event; setting the touch direction in the touch event to a preset value; the preset correspondence includes: The size of the touch is inversely proportional to the area of the touched point. The size of the touch distance is inversely related to the touch pressure.
  • the touch event is reported to the application by using an interface corresponding to the mutual capacitance touch screen.
  • the touch data collected by the self-capacitance includes touch coordinates (X 1 , Y 1 ) and the touch distance L; then the driving layer may according to the preset correspondence between the touch distance and the touch point area and the touch pressure, and the query The value S of the touch point area corresponding to L and the touch pressure P, and then the driving layer encapsulates the touch data into a touch event corresponding to the mutual capacitance touch screen: touch coordinates (X 1 , Y 1 ), touch point area (S), touch pressure (P) and touch direction (preset value).
  • the preset correspondence between the size of the touch distance and the touch point area and the touch pressure can be obtained by the R&D engineer according to the data statistics when the user touches the screen.
  • one of the above two methods may be selected.
  • the glove is operated without touching the surface of the screen; at this time, the user thinks that he is performing a normal hovering touch operation;
  • the mobile terminal is operated with gloves and touching the surface of the screen; at this time, the user thinks that he is performing a normal touch operation.
  • the driver layer can only encapsulate the touch data meeting the predetermined condition into a touch event corresponding to the mutual capacitance touch screen.
  • the predetermined condition is that the touch distance of the touch data is greater than the first threshold and less than the second threshold. That is to say, in the second case, the driving layer encapsulates the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen. In the first case, the driver layer still encapsulates the touch data collected from the capacitive touch screen into a touch event corresponding to the self-capacitance touch screen.
  • Step 303 the touch data collected by the self-capacitance touch screen is encapsulated into a touch event corresponding to the self-capacitive touch screen and reported to the application program;
  • the driving layer in the mobile terminal determines that the touch data collected by the self-capacitive touch screen is not received in the predetermined time period, or the touch distance in the touch data is less than the first threshold or greater than the second threshold, the subsequently received self-capacitance may be The touch data package collected by the touch screen is reported to the application by a touch event corresponding to the self-capacitive touch screen. For this reason, the user may use the self-capacitance touch screen and the mutual capacitance touch screen at the same time, or the user may use the self-capacitance touch screen to suspend the touch function.
  • step 302 a scene in which the user removes the glove may occur. If the user removes the glove, when the user touches the screen, the self-capacitive touch screen and the mutual capacitance touch screen simultaneously collect the touch data corresponding to the operation, and then the driving layer encapsulates the two touch data into a mutual capacitance touch screen. The touch event is reported to the app. This is obviously unreasonable. To this end, the embodiment further includes the following steps:
  • Step 304 Determine whether the touch data collected by the mutual capacitance touch screen is received; if yes, proceed to step 305; if no, return to step 302.
  • the driver layer can determine in real time whether the touch data collected by the mutual capacitance touch screen is received. Specifically, the driving layer can determine the touch data collected by the mutual capacitance touch screen through the interrupt signal triggered by the mutual capacitance touch screen.
  • Step 305 The touch data collected by the self-capacitive touch screen is encapsulated into a touch event corresponding to the self-capacitive touch screen for reporting.
  • the driving layer does not continue to package the touch data collected by the self-capacitance touch screen into a touch event corresponding to the mutual capacitance touch screen, and the touch data collected by the self-capacitance touch screen is packaged as a touch corresponding to the self-capacitive touch screen.
  • the incident is reported. That is, the mobile terminal is restored to the initial state shown in step 301.
  • the method for reporting the touch event provided by the embodiment is based on whether the touch data collected by the self-capacitive touch screen is received only for a period of time, and the touch data collected by the self-capacitive touch screen is Touch
  • the distance is determined to distinguish whether the user operates the mobile terminal with gloves or does not touch the screen surface to operate the mobile terminal, and can selectively encapsulate the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen.
  • the effect of the application that supports the processing of the touch event corresponding to the self-capacitive touch screen can be guaranteed as much as possible.
  • the driving layer in the mobile terminal determines whether the self-capacitive touch screen is only received within the predetermined time period.
  • the data is touched, and the touch distance in the touch data is greater than the first threshold and less than the second threshold.
  • determining whether the touch data collected by the self-capacitive touch screen is received only in the predetermined time period, and the touch distance in the touch data is greater than the first threshold and less than the second threshold may also be determined by the preset application, and then the application is preset.
  • the driving layer is instructed to work according to the judgment result. Please continue to refer to the following examples: Embodiment 4
  • FIG. 4 is a flowchart of a method for reporting a touch event according to Embodiment 4 of the present invention.
  • the touch event reporting method can be used in a mobile terminal that uses both a mutual capacitive touch screen and a self-capacitive touch screen.
  • the touch event reporting method may include:
  • Step 401 Receive a package indication signal, where the package indication signal is that the preset application receives only the touch event corresponding to the self-capacitive touch screen within a predetermined time period, and the touch distance in the touch event is greater than the first threshold and less than the second threshold signal of;
  • the foregoing determining process is completed by a preset application in the mobile terminal.
  • the preset application may be a screen unlocking application or a program running in the background dedicated to completing the determining process.
  • the preset application is a screen unlocking application
  • the predetermined time period may be a screen. Unlock the process.
  • the screen unlock application is exemplified below:
  • the mobile terminal can be pre-installed with a screen unlocking application, which supports both the floating touch unlocking mode and the normal touch touch unlocking mode, that is, the screen unlocking application supports both the self-capacitive touch screen and the mutual capacitance touch screen.
  • the reported touch event is processed.
  • the screen unlocking application can receive a series of touch events reported by the driver layer during the screen unlocking process, and the touch event may be touch data collected by the self-capacitive touch screen, the driven layer The touch event corresponding to the self-capacitive touch screen obtained after the normal mode is packaged; or the touch data collected by the mutual-capacitive touch screen, and the touch event corresponding to the mutual-capacitive touch screen obtained by the driven layer according to the normal mode.
  • the touch event received by the screen unlocking application is all touch events corresponding to the self-capacitive touch screen during the screen unlocking process, and the touch distance in the touch event is greater than the first threshold and less than the second threshold, then It is considered that the current user is operating the mobile terminal with gloves.
  • the preset application can issue a package indication signal to the driver layer.
  • Step 402 After receiving the package indication signal, the touch data collected by the self-capacitive touch screen is encapsulated into a touch event corresponding to the mutual capacitance touch screen and reported to the application program;
  • the driver layer After receiving the package indication signal, the driver layer encapsulates the touch data collected by the subsequently received self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen and reports it to the application.
  • the driving layer encapsulates the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen, and may include the following steps:
  • the coordinates of the touched point in the touch data are taken as the coordinates of the touched point in the touch event
  • the touch point area, the touch pressure, and the touch direction in the touch event are all set to respective preset values.
  • the touch event is reported to the application by using an interface corresponding to the mutual capacitance touch screen.
  • the touch data collected by the self-capacitance includes touch coordinates (X 1 , Y 1 ) and the touch distance L; then the driving layer may encapsulate the touch data as a touch event corresponding to the mutual capacitance touch screen: touch coordinates (X 1 , Y 1 ), touch point area (preset value), touch pressure (preset value), and touch direction (preset value).
  • Step 403 Receive a package recovery signal, where the package recovery signal is a signal that is triggered when the preset application receives the touch event corresponding to the mutual capacitance touch screen, and the touch event meets the second predetermined condition, and the second predetermined condition is a touch point in the touch event. Any of the area, touch pressure, and touch direction are not preset values;
  • a scene in which the user removes the glove may occur. If the user removes the glove, when the user touches the screen, the self-capacitive touch screen and the mutual capacitance touch screen simultaneously collect the touch data corresponding to the operation, and then the driving layer encapsulates the two touch data into a mutual capacitance touch screen.
  • the touch event is reported to the app.
  • the preset application can receive the two touch events at the same time, and then recognize whether the two touch events are self-capacitance by whether the touch point area, the touch pressure, and the touch direction in the touch event are preset values.
  • the touch data collected by the touch screen is encapsulated, or the touch data collected by the mutual capacitance touch screen is encapsulated. If the preset application receives a touch event, then any of the touch point area, touch pressure, and touch direction in the touch event If one item is not a preset value, it means that the user has removed the glove.
  • the preset application can send a package recovery signal to the driver layer.
  • Step 404 After receiving the package recovery signal, the touch data collected by the self-capacitance touch screen is encapsulated into a touch event corresponding to the self-capacitive touch screen for reporting.
  • the driver layer After receiving the package recovery signal, the driver layer encapsulates the touch data collected by the self-capacitance touch screen into a touch event corresponding to the self-capacitive touch screen.
  • step 403 and the step 404 when the driving layer is required to package the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen, the touch point area and the touch pressure in the touch event must be The touch directions are set to the respective preset values, and may not be encapsulated into the touch events corresponding to the mutual capacitance touch screen according to another implementation manner provided in the third embodiment. Therefore, after step 401 and step 402, the embodiment may also be executed. Steps 304 and 305, provided in the third, are combined into a new embodiment. Obviously, step 301, step 302, step 404 and step 405 can also be combined into a new embodiment. I will not go into details here.
  • the touch event reporting method provided by the embodiment is configured by the preset application program to receive only the touch data collected by the self-capacitive touch screen for a period of time, and the self-capacitance touch screen.
  • the touch distance in the collected touch data is used for judging whether the user operates the mobile terminal with gloves or does not touch the screen surface to operate the mobile terminal, and can selectively encapsulate the touch data collected by the self-capacitive touch screen into The effect of the touch event corresponding to the mutual capacitance touch screen can ensure the operation effect of the application that supports the touch event corresponding to the self-capacitive touch screen as much as possible.
  • Embodiment 5 Embodiment 5
  • FIG. 5 is a structural block diagram of a touch event reporting apparatus according to Embodiment 4 of the present invention.
  • the touch event reporting device can be used in a mobile terminal.
  • the touch event reporting device can include a data receiving module 520 and an event reporting module 540.
  • the data receiving module 520 is configured to receive touch data collected by the self-capacitive touch screen.
  • the event reporting module 540 is configured to encapsulate the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen and report the touch event to the application.
  • the touch data collected by the self-capacitive touch screen includes the coordinates of the touch point and the touch distance
  • the touch events corresponding to the mutual capacitance touch screen include the coordinates of the touch point, the touch point area, the touch pressure, and the touch direction;
  • the event reporting module 540 may specifically include an event encapsulating unit 542 and an event reporting unit 544, as shown in FIG. 6.
  • the event encapsulating unit 542 is configured to use the coordinates of the touch point in the touch data as the coordinates of the touch point in the touch event;
  • the event reporting unit 544 is configured to use the touch event obtained by the event encapsulating unit 542 by using the mutual capacitance touch screen. The interface is reported to the application.
  • the touch event reporting apparatus configured to report the touch data collected by the self-capacitive touch screen as a touch event corresponding to the mutual capacitance touch screen, and solves the problem that when the mobile terminal can only receive the self-capacitive touch screen.
  • the problem of the earlier version of the application cannot be used, and even if the mobile terminal can only receive the touch data collected by the self-capacitive touch screen, it can continue to use the application that only supports the touch event reported by the mutual capacitance touch screen.
  • the touch event reporting device can be used in a mobile terminal.
  • the touch event reporting device can include a data receiving module 520, a data determining module 530, and an event reporting module 544.
  • the data receiving module 520 is configured to receive touch data collected by the self-capacitive touch screen.
  • the touch data collected by the self-capacitive touch screen includes the coordinates of the touch point and the touch distance.
  • the data judging module 530a is configured to determine whether the touch data collected by the self-capacitive touch screen is received only in the predetermined time period, and the touch distance in the touch data is greater than the first threshold and less than the second threshold.
  • the event reporting module 540 is configured to: when the determination result of the data determination module 530 is YES, package the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen and report it to the application.
  • the event reporting unit 540 may include an event encapsulating unit 542 and an event reporting unit 544, where the event encapsulating unit 542 is specifically configured to use the coordinates of the touched point in the touch data as the coordinates of the touched point in the touch event;
  • the dot area, the touch pressure, and the touch direction are all set to respective preset values; or, according to the preset correspondence relationship between the touch distance and the touch point area and the touch pressure, the value of the touch point area corresponding to the touch distance is queried.
  • the value of the touch pressure set the value of the touched touch point area to the value of the touch point area in the touch event, and set the value of the query touch pressure to the value of the touch pressure in the touch event;
  • the touch direction is set to a preset value;
  • the event reporting unit 544 is configured to report the touch event obtained by the event encapsulating unit 542 to the application by using an interface corresponding to the mutual capacitive touch screen; wherein the preset correspondence includes: the size of the touch distance and the touch point The area is inversely proportional, the size and touch of the touch distance It is inversely proportional to pressure.
  • the event reporting module 540 is configured to report the touch data corresponding to the first predetermined condition to a touch event corresponding to the mutual capacitive touch screen, and the first predetermined condition is that the touch distance of the touch data is greater than the first threshold and is less than Second threshold.
  • the touch event reporting device may further include: a data monitoring module 560a and a data encapsulating module 580a, as shown in FIG.
  • the data monitoring module 560a is configured to determine whether the touch data collected by the mutual capacitance touch screen is received;
  • the encapsulation module 580a is configured to encapsulate the touch data collected by the self-capacitive touch screen into a touch event corresponding to the self-capacitive touch screen, if the result of the determination by the data monitoring module 560a is YES.
  • the touch event reporting device provided by the embodiment can distinguish whether the user operates the mobile terminal with gloves or does not touch the screen surface to operate the mobile terminal through the data judging module and the specific encapsulation unit.
  • the effect of selectively touching the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitive touch screen can be achieved, and the running effect of the application supporting the touch event corresponding to the self-capacitive touch screen can be ensured as much as possible.
  • FIG. 10 is a structural block diagram of a touch event reporting apparatus according to Embodiment 7 of the present invention.
  • the touch event reporting device can be used in a mobile terminal.
  • the touch event reporting device can include a data receiving module 520, a receiving indication module 530b, and an event reporting module 540.
  • the data receiving module 520 is configured to receive touch data collected by the self-capacitive touch screen.
  • the touch data collected by the self-capacitive touch screen includes the coordinates of the touch point and the touch distance.
  • the indication receiving module 530b is configured to receive a package indication signal, where the preset indication application receives only the touch event corresponding to the self-capacitive touch screen within a predetermined time period, and the touch distance in the touch event is greater than the first threshold and less than the second The signal that is triggered when the threshold is reached.
  • the preset application can unlock the application for the screen, and the predetermined time period can be the time period corresponding to the screen unlocking process.
  • the event reporting module 540 is specifically configured to instruct the receiving module 530b to encapsulate the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen and report it to the application.
  • the event reporting module 540 may include an event encapsulating unit 542 and an event reporting unit 544, where the event encapsulating unit 542 is specifically configured to use the coordinates of the touched point in the touch data as the coordinates of the touched point in the touch event;
  • the point area, the touch pressure, and the touch direction are all set to respective preset values;
  • the event reporting unit 544 is configured to report the touch event obtained by the event encapsulating unit 542 to the application by using an interface corresponding to the mutual capacitance touch screen; wherein, the preset correspondence Including:
  • the size of the touch distance is inversely related to the area of the touch point, and the size of the touch distance is inversely related to the touch pressure.
  • the event reporting module 540 is configured to report the touch data corresponding to the first predetermined condition to a touch event corresponding to the mutual capacitive touch screen, and the first predetermined condition is that the touch distance of the touch data is greater than the first threshold and is less than Second threshold.
  • the touch event reporting device may further include: a recovery receiving module 560b and a data encapsulating module 580b, as shown in FIG.
  • the recovery receiving module 560b is configured to receive a package recovery signal, and the package recovery signal is a preset application connection.
  • the data encapsulation module 580b is configured to restore the touch data collected by the self-capacitive touch screen to a touch event corresponding to the self-capacitive touch screen after the receiving module 560b receives the package recovery signal.
  • the touch event reporting apparatus provided in this embodiment can judge the touch event more accurately by the preset application program, especially the screen unlocking application program. Whether the user is operating the mobile terminal with gloves.
  • touch event reporting device provided by the foregoing embodiment reports the touch event
  • only the division of each functional module is illustrated.
  • the function may be assigned different functions according to requirements.
  • the module is completed, dividing the internal structure of the device into different functional modules to perform all or part of the functions described above.
  • touch event reporting device and the touch event reporting method are provided in the same manner. For the specific implementation process, refer to the method embodiment, and details are not described herein again.
  • FIG. 12 shows a structural block diagram of a mobile terminal according to Embodiment 7 of the present invention.
  • the mobile terminal can be used to implement the method of the first embodiment of the present invention.
  • Only the parts related to the embodiment of the present invention are shown.
  • the mobile terminal can include a mobile phone, a tablet, an e-book reader, etc., and the mobile terminal 600 includes a memory.
  • Fig. 12 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the components of the mobile terminal 600 will be specifically described below with reference to FIG. 12:
  • the memory 610 can be used to store software programs and modules, and the processor 620 executes various functional applications and data processing of the mobile terminal 600 by running software programs and modules stored in the memory 610.
  • the memory 610 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a screen unlocking function, a touch corresponding function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile terminal 600 (such as data collected by a touch screen, etc.) and the like.
  • memory 610 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 620 is a control center of the mobile terminal 600, and connects each of the entire mobile terminal by using various interfaces and lines.
  • the mobile terminal is integrally monitored by executing or executing software programs and/or modules stored in the memory 610, and invoking data stored in the memory 610, performing various functions and processing data of the mobile terminal 600.
  • the processor 620 may include one or more processing units.
  • the processor 620 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 620.
  • WiFi is a short-range wireless transmission technology
  • the mobile terminal 600 can help users to send and receive e-mails, browse web pages, and access streaming media through the WiFi module 630, which provides users with wireless broadband Internet access.
  • FIG. 11 shows the WiFi module 630, it can be understood that it does not belong to the essential configuration of the mobile terminal 600, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the input unit 640 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal 600.
  • input unit 640 can include touch screen 641 and other input devices 642.
  • the touch screen 641 can collect touch operations on or near the user (e.g., the user operates on or near the touch screen 641 using any suitable object or accessory such as a finger, stylus, etc.).
  • the touch screen 641 includes both a self-capacitive touch screen 641a and a mutual capacitance touch screen 641b.
  • the data collected by touch screen 641 can be stored in memory 610.
  • input unit 640 can also include other input devices 642.
  • other input devices 642 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 650 can be used to display information input by the user or information provided to the user and various menus of the mobile terminal 600.
  • the display unit 650 can include a display panel 651.
  • the display panel 651 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch screen 641 can cover the display panel 651. When the touch screen 641 detects a touch operation thereon or nearby, the touch screen 641 transmits to the processor 620 to determine the type of the touch event, and then the processor 20 displays the panel according to the type of the touch event. A corresponding visual output is provided on the 651.
  • touch screen 641 and the display panel 651 are two separate components to implement the input and input functions of the mobile terminal 600 in FIG. 12, in some embodiments, the touch screen 641 may be integrated with the display panel 651 to implement the movement. The input and output functions of the terminal 600.
  • the mobile terminal 600 further includes a power source 660 (such as a battery) for supplying power to various components.
  • a power source 660 such as a battery
  • the power source can be logically connected to the processor 620 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the mobile terminal 600 may further include a camera, a Bluetooth module, an audio circuit, a speaker, and the like, and details are not described herein.
  • the memory 610, the processor 620 and the touch screen 641 included in the terminal further have the following functions:
  • the processor 620 is configured to receive touch data collected by the self-capacitive touch screen 641a;
  • the processor 620 is further configured to package the touch data collected by the self-capacitive touch screen 641a into a touch event corresponding to the mutual capacitance touch screen and report the touch event to the application.
  • the processor 620 is configured to use coordinates of a touch point in the touch data as coordinates of a touch point in the touch event, and report the touch event to an interface corresponding to the mutual capacitance touch screen 641b. application.
  • the touch events corresponding to the mutual capacitance touch screen 641b include the coordinates of the touch point, the touch point area, the touch pressure, and the touch direction;
  • the processor 620 is specifically configured to use coordinates of a touch point in the touch data as coordinates of a touch point in the touch event; and touch area and touch in the touch event
  • the pressure and the touch direction are both set to respective preset values; or, according to the preset correspondence between the touch distance and the touch point area and the touch pressure, the touch point area corresponding to the touch distance is queried.
  • a numerical value and a value of the touch pressure setting a value of the touched touch point area to a value of the touch point area in the touch event, and setting the queried value of the touch pressure as the touch event
  • the value of the touch pressure is set to a preset value; the touch event is reported to the application by using the interface corresponding to the mutual capacitance touch screen; wherein the preset correspondence includes The magnitude of the touch distance is inversely proportional to the area of the touch point, and the magnitude of the touch distance is different from the touch pressure.
  • touch event using the touch screen 641b of the mutual capacitance interface corresponding to the application program is
  • the processor 620 is configured to: report the touch data corresponding to the first predetermined condition to the application, and the touch event corresponding to the mutual capacitance touch screen 641b is reported to the application, where the first predetermined condition is The touch distance of the touch data is greater than the first threshold and less than the second threshold.
  • the touch event is reported to the application program.
  • the processor 620 is further configured to determine whether the touch data collected by the self-capacitive touch screen 641a is received only within a predetermined time period, and the touch distance in the touch data is greater than a first threshold and less than a second threshold; If yes, the step of encapsulating the touch data collected by the self-capacitive touch screen into a touch event corresponding to the mutual capacitance touch screen is reported to the application.
  • the touch event is reported to the application program.
  • the processor 620 is further configured to receive a package indication signal, where the package indication signal is a preset application at a predetermined time a signal that is received only when the touch event corresponding to the self-capacitive touch screen is received, and the touch distance in the touch event is greater than the first threshold and less than the second threshold; after receiving the package indication signal,
  • the touch data package collected by the self-capacitive touch screen is a step of reporting the touch event corresponding to the mutual capacitance touch screen to an application.
  • the preset application is a screen unlocking application
  • the predetermined time period is a time period corresponding to the screen unlocking process
  • the touch event is reported to the application program.
  • the processor 620 is further configured to determine whether the touch data collected by the mutual capacitive touch screen is received. If the determination result is yes, the touch data collected by the self-capacitive touch screen is encapsulated into a touch corresponding to the self-capacitive touch screen. The incident is reported.
  • the touch event is reported to the application program.
  • the processor 620 is further configured to receive a package recovery signal, where the package recovery signal is a signal that is triggered when the application receives the touch event corresponding to the mutual capacitance touch screen, and the touch event meets a second predetermined condition,
  • the second predetermined condition is that any one of the touch point area, the touch pressure, and the touch direction in the touch event is not a preset value; after receiving the package recovery signal, the touch collected by the self-capacitive touch screen is The data package is reported as a touch event corresponding to the self-capacitive touch screen.
  • the mobile terminal provided in this embodiment is configured to report the touch data collected by the self-capacitive touch screen as a touch event corresponding to the mutual capacitance touch screen, and solves the problem that the mobile terminal can only receive the touch data collected by the self-capacitive touch screen.
  • the application of the earlier version of the application cannot be used, even if the mobile terminal can only receive the touch data collected by the self-capacitive touch screen, it can continue to use the application that only supports the touch event reported by the mutual capacitance touch screen.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

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)
  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种触摸事件上报方法、装置及移动终端,涉及数据处理技术领域,所述触摸事件上报方法包括:接收所述自电容触摸屏采集到的触摸数据;将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序。本发明通过将自电容触摸屏采集的触摸数据封装为互电容触摸屏对应的触摸事件进行上报,解决了当移动终端只能接收到自电容触摸屏采集的触摸数据,无法使用较早版本的应用程序的问题,达到了即便移动终端只能接收到自电容触摸屏采集的触摸数据,还可以继续使用只支持对互电容触摸屏上报的触摸事件进行处理的应用程序的技术效果。

Description

触摸事件上报方法、 装置及移动终端
技术领域
本发明涉及数据处理技术领域, 特别涉及一种触摸事件上报方法、 装置及移动终端。 背景技术
诸如智能手机、 平板电脑和电子书阅读器之类的移动终端越来越多地使用电容式触摸 屏作为与用户交互的外设。 电容式触摸屏又分为互电容触摸屏和自电容触摸屏两种类型。 其中, 互电容触摸屏可以实现多点触摸检测; 自电容触摸屏可以实现悬浮触摸检测。
较早的移动终端通常只采用一个互电容触摸屏, 而随着触摸技术的发展, 后续的移动 终端上常使用互电容触摸屏和自电容触摸屏两者的结合来同时实现多点触控和单点悬浮触 控。 此时, 互电容触摸屏和自电容触摸屏采集到的触摸数据将在驱动层分别由两种不同的 接口和事件形式上报给应用程序, 具体的触摸事件上报方法为:
第一, 互电容触摸屏或自电容触摸屏在采集到触摸数据时, 向驱动层发出中断信号; 第二, 驱动层接收触摸数据, 并根据中断信号来判断该触摸数据是互电容触摸屏采集 的触摸数据, 还是电容触摸屏采集的触摸数据;
第三, 如果判断到是互电容触摸屏采集的触摸数据, 则驱动层将触摸数据按照互电容 触摸屏对应的事件形式封装, 并利用互电容触摸屏对应的接口上报该触摸事件给应用程序; 第四, 如果判断到是自电容触摸屏采集的触摸数据, 则驱动层将触摸数据按照自电容 触摸屏对应的事件形式封装, 并利用自电容触摸屏对应的接口上报该触摸事件给应用程序。
但是在实际使用过程中会出现如下场景: 因为较早版本的应用程序只支持对互电容触 摸屏上报的触摸事件进行处理; 较后版本的应用程序才同时支持对互电容触摸屏和自电容 触摸屏两者上报的触摸事件进行处理。 当移动终端只能接收到自电容触摸屏采集的触摸数 据时, 较早版本的应用程序就无法使用, 换句话说, 只支持对互电容触摸屏上报的触摸事 件进行处理的应用程序就无法被使用。 发明内容
为了解决移动终端只能接收到自电容触摸屏采集的触摸数据时, 无法使用较早版本的 应用程序的问题, 本发明实施例提供了一种触摸事件上报方法、 装置及移动终端。 所述技 术方案如下: 第一方面, 提供了一种触摸事件上报方法, 所述方法包括:
接收自电容触摸屏采集到的触摸数据;
将所述自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸事件上报给应 用程序。
在第一方面的第一种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触 摸点的坐标, 所述互电容触摸屏对应的触摸事件包括触摸点的坐标;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件 上报给应用程序, 具体包括:
将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触摸点的坐标;
将所述触摸事件利用所述互电容触摸屏对应的接口上报给应用程序。
结合第一方面的第一种可能的实现方式, 在第一方面的第二种可能的实现方式中, 所 述自电容触摸屏采集到的触摸数据还包括触摸距离, 所述互电容触摸屏对应的触摸事件还 包括触摸点面积、 触摸压力和触摸方向;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件 上报给应用程序, 具体包括:
将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触摸点的坐标;
将所述触摸事件中的触摸点面积、触摸压力和触摸方向均设置为各自的预设值;或者, 根据所述触摸距离的大小与所述触摸点面积和触摸压力之间的预设对应关系, 查询与所述 触摸距离对应的触摸点面积的数值和触摸压力的数值; 将查询到所述触摸点面积的数值设 置为所述触摸事件中的触摸点面积的数值, 并将查询到所述触摸压力的数值设置为所述触 摸事件中的触摸压力的数值; 将所述触摸事件中的触摸方向设置为预设值;
将所述触摸事件利用所述互电容触摸屏对应的接口上报给应用程序;
其中, 所述预设对应关系包括: 所述触摸距离的大小与所述触摸点面积呈反比关系, 所述触摸距离的大小与所述触摸压力呈反比关系。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方 式, 在第一方面的第三种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触 摸距离;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件 上报给应用程序, 具体包括:
只将符合第一预定条件的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应 用程序, 所述第一预定条件为所述触摸数据的触摸距离大于第一阈值且小于第二阈值。 结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实 现方式或者第一方面的第三种可能的实现方式, 在第一方面的第四种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触摸距离; 所述将所述自电容触摸屏采集到的触 摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序之前, 还包括:
判断预定时间段内是否只接收到所述自电容触摸屏采集到的触摸数据, 且所述触摸数 据中的触摸距离大于第一阈值且小于第二阈值;
如果判断结果为是, 则执行将所述自电容触摸屏采集到的触摸数据封装为所述互电容 触摸屏对应的触摸事件上报给应用程序的步骤。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实 现方式或者第一方面的第三种可能的实现方式, 在第一方面的第五种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触摸距离; 所述将所述自电容触摸屏采集到的触 摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序之前, 还包括:
接收封装指示信号, 所述封装指示信号为预置应用程序在预定时间段内只接收到所述 自电容触摸屏对应的触摸事件, 且所述触摸事件中的触摸距离大于第一阈值且小于第二阈 值时触发的信号;
接收到所述封装指示信号之后, 则执行将所述自电容触摸屏采集到的触摸数据封装为 所述互电容触摸屏对应的触摸事件上报给应用程序的步骤。
结合第一方面的第五种可能的实现方式, 在第六种可能的实现方式中, 所述预置应用 程序为屏幕解锁应用程序, 所述预定时间段为屏幕解锁过程所对应的时间段。
结合第一方面的第四种可能的实现方式或第一方面的第五种可能的实现方式或者第一 方面的第六种可能的实现方式, 在第一方面的第七种可能的实现方式中, 所述将所述自电 容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序之后, 还包括:
判断是否接收到所述互电容触摸屏采集到的触摸数据;
如果判断结果为是, 则将所述自电容触摸屏采集到的触摸数据封装为所述自电容触摸 屏对应的触摸事件进行上报。
结合第一方面的第五种可能的实现方式, 在第一方面的第八种可能的实现方式中, 若 所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报 给应用程序, 具体包括: 将所述触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为 各自的预设值;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件 上报给应用程序之后, 还包括:
接收封装恢复信号, 所述封装恢复信号为预置应用程序接收到所述互电容触摸屏对应 的触摸事件, 且所述触摸事件符合第二预定条件时触发的信号, 所述第二预定条件为所述 触摸事件中的触摸点面积、 触摸压力和触摸方向中的任意一项不为预设值;
接收到所述封装恢复信号之后, 则将所述自电容触摸屏采集到的触摸数据封装为所述 自电容触摸屏对应的触摸事件进行上报。
第二方面, 提供了一种触摸事件上报装置, 所述装置包括:
数据接收模块, 用于接收所述自电容触摸屏采集到的触摸数据;
事件上报模块, 用于将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏 对应的触摸事件上报给应用程序。
在第二方面的第一种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触 摸点的坐标, 所述互电容触摸屏对应的触摸事件包括触摸点的坐标;
所述事件上报模块, 具体包括: 事件封装单元和事件上报单元;
所述事件封装单元, 用于将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触 摸点的坐标;
所述事件上报单元, 用于将所述事件封装单元得到的触摸事件利用所述互电容触摸屏 对应的接口上报给应用程序。
结合第二方面的第一种可能的实现方式, 在第二方面的第二种可能的实现方式中, 所 述自电容触摸屏采集到的触摸数据还包括触摸距离, 所述互电容触摸屏对应的触摸事件还 包括触摸点面积、 触摸压力和触摸方向;
所述事件封装单元, 具体用于将所述触摸数据中的触摸点的坐标作为所述触摸事件中 的触摸点的坐标; 将所述触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的 预设值; 或者, 根据所述触摸距离的大小与所述触摸点面积和触摸压力之间的预设对应关 系, 查询与所述触摸距离对应的触摸点面积的数值和触摸压力的数值; 将查询到所述触摸 点面积的数值设置为所述触摸事件中的触摸点面积的数值, 并将查询到所述触摸压力的数 值设置为所述触摸事件中的触摸压力的数值; 将所述触摸事件中的触摸方向设置为预设值; 所述事件上报单元, 用于将所述事件封装单元得到的触摸事件利用所述互电容触摸屏 对应的接口上报给应用程序;
其中, 所述预设对应关系包括: 所述触摸距离的大小与所述触摸点面积呈反比关系, 所述触摸距离的大小与所述触摸压力呈反比关系。
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种可能的实现方 式, 在第二方面的第三种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触 摸距离;
所述事件上报模块, 具体用于只将符合第一预定条件的触摸数据封装为所述互电容触 摸屏对应的触摸事件上报给应用程序, 所述第一预定条件为所述触摸数据的触摸距离大于 第一阈值且小于第二阈值。
结合第二方面或者第二方面的第一种可能的实现方式或者第二方面的第二种可能的实 现方式或者第二方面的第三种可能的实现方式, 在第二方面的第四种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触摸距离;
所述触摸事件上报装置, 还包括: 数据判断模块;
所述数据判断模块, 用于判断预定时间段内是否只接收到所述自电容触摸屏采集到的 触摸数据, 且所述触摸数据中的触摸距离大于第一阈值且小于第二阈值;
所述事件上报模块, 具体用于如果所述数据判断模块的判断结果为是, 则执行将所述 自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序 的步骤。
结合第二方面或者第二方面的第一种可能的实现方式或者第二方面的第二种可能的实 现方式或者第二方面的第三种可能的实现方式, 在第二方面的第五种可能的实现方式中, 所述自电容触摸屏采集到的触摸数据包括触摸距离;
所述触摸事件上报装置, 还包括: 指示接收模块;
所述指示接收模块, 用于接收封装指示信号, 所述封装指示信号为预置应用程序在预 定时间段内只接收到所述自电容触摸屏对应的触摸事件, 且所述触摸事件中的触摸距离大 于第一阈值且小于第二阈值时触发的信号;
所述事件上报模块, 具体用于所述指示接收模块接收到所述封装指示信号之后, 则执 行将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给 应用程序的步骤。
结合第二方面的第五种可能的实现方式, 在第二方面的第六种可能的实现方式中, 所 述预置应用程序为屏幕解锁应用程序, 所述预定时间段为屏幕解锁过程所对应的时间段。
结合第二方面的第四种可能的实现方式或第二方面的第五种可能的实现方式或者第一 方面的第六种可能的实现方式, 在第二方面的第七种可能的实现方式中, 所述触摸事件上 报装置, 还包括: 数据监测模块和数据封装模块;
所述数据监测模块, 用于判断是否接收到所述互电容触摸屏采集到的触摸数据; 所述数据封装模块, 用于如果所述数据监测模块的判断结果为是, 则将所述自电容触 摸屏采集到的触摸数据封装为所述自电容触摸屏对应的触摸事件进行上报。
结合第二方面的第五种可能的实现方式, 在第二方面的第八种可能的实现方式中, 所 述事件封装单元, 具体用于将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触摸 点的坐标;将所述触摸事件中的触摸点面积、触摸压力和触摸方向均设置为各自的预设值; 所述触摸事件上报装置, 还包括: 恢复接收模块和数据封装模块;
所述恢复接收模块, 用于接收封装恢复信号, 所述封装恢复信号为预置应用程序接收 到所述互电容触摸屏对应的触摸事件, 且所述触摸事件符合第二预定条件时触发的信号, 所述第二预定条件为所述触摸事件中的触摸点面积、 触摸压力和触摸方向中的任意一项不 为预设值;
所述数据封装模块, 用于所述恢复接收模块接收到所述封装恢复信号之后, 则将所述 自电容触摸屏采集到的触摸数据封装为所述自电容触摸屏对应的触摸事件进行上报。
第三方面, 提供了一种移动终端, 所述移动终端包括上述技术方案中提供的任一种触 摸事件上报装置。
第四方面, 提供了一种移动终端, 所述移动终端包括自电容触摸屏、 互电容触摸屏、 存储器和处理器, 用于执行如上所述的触摸事件上报方法。
本发明实施例提供的技术方案的有益效果是:
通过将自电容触摸屏采集的触摸数据封装为互电容触摸屏对应的触摸事件进行上报, 解决了当移动终端只能接收到自电容触摸屏采集的触摸数据时, 无法使用较早版本的应用 程序的问题, 达到了即便移动终端只能接收到自电容触摸屏采集的触摸数据, 还可以继续 使用只支持对互电容触摸屏上报的触摸事件进行处理的应用程序的技术效果。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是本发明实施例一提供的触摸事件上报方法的方法流程图;
图 2是本发明实施例二提供的触摸事件上报方法的方法流程图;
图 3是本发明实施例三提供的触摸事件上报方法的方法流程图;
图 4是本发明实施例四提供的触摸事件上报方法的方法流程图
图 5是本发明实施例五提供的触摸事件上报装置的结构方框图; 图 6是本发明实施例五提供的触摸事件上报装置的另一种结构方框图; 图 7是本发明实施例六提供的触摸事件上报装置的一种结构方框图;
图 8是本发明实施例六提供的触摸事件上报装置的另一种结构方框图。
图 9是本发明实施例六提供的触摸事件上报装置的再一种结构方框图;
图 10是本发明实施例七提供的触摸事件上报装置的一种结构方框图;
图 11是本发明实施例七提供的触摸事件上报装置的再一种结构方框图;
图 12是本发明实施例八提供的移动终端的结构方框图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
首先描述在正常情况下, 互电容触摸屏和自电容触摸屏对应的触摸事件的事件形式: 第一, 互电容上报模式;
当互电容触摸屏采集到触摸数据时, 在驱动层将触摸数据封装为互电容事件形式, 然 后经过一个预定接口上传该触摸事件给应用层, 具体的互电容事件形式包括如下数据:
1、 触摸点的坐标: X-Y;
2、 触摸点面积;
3、 触摸压力;
4、 触摸方向。
第二, 自电容上报模式;
当自电容触摸屏采集到触摸数据时, 在驱动层将触摸数据封装为自电容事件形式, 然 后通过另一个不同的预定接口上传该触摸事件给应用层, 具体的自电容事件形式包括如下 数据:
1、 触摸点的坐标: X-Y;
2、 触摸距离, 也即用户手指离屏幕表面的距离。 实施例一
请参考图 1, 其示出了本发明实施例一提供的触摸事件上报方法的方法流程图。该触摸 事件上报方法可以具体包括:
步骤 101, 接收自电容触摸屏采集到的触摸数据;
移动终端中的驱动层可以接收自电容触摸屏采集到的触摸数据。 步骤 102,将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸事件上报 给应用程序。
移动终端中的驱动层可以将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应 的触摸事件上报给移动终端中的应用程序。 具体地讲, 驱动层将自电容触摸屏采集到的触 摸数据封装为互电容触摸屏对应的触摸事件的步骤, 可以包括: 将自电容触摸屏采集到的 触摸数据中的触摸点的坐标作为互电容触摸屏对应的触摸事件中的触摸点的坐标, 比如, 自电容采集到的触摸数据包括触摸坐标 (X1, Y1 ), 触摸距离 L; 则驱动层可以将该触摸数 据封装为互电容触摸屏对应的触摸事件: 触摸坐标 (X1, Y1 ), 触摸点面积 (空)、 触摸压 力 (空) 和触摸方向 (空)。
然后, 驱动层将该触摸事件通过互电容触摸屏对应的接口上报给应用程序, 只支持对 互电容触摸屏上报的触摸事件进行处理的应用程序在接收到该触摸事件之后, 认为这是互 电容触摸屏上报的触摸事件, 所以可以继续正常运行。
综上所述, 本实施例提供的触摸事件上报方法, 通过将自电容触摸屏采集的触摸数据 封装为互电容触摸屏对应的触摸事件进行上报, 解决了当移动终端只能接收到自电容触摸 屏采集的触摸数据时, 无法使用较早版本的应用程序的问题, 达到了即便移动终端只能接 收到自电容触摸屏采集的触摸数据, 还可以继续使用只支持对互电容触摸屏上报的触摸事 件进行处理的应用程序的技术效果。 由于实际使用过程中, 如果移动终端同时采用互电容触摸屏和自电容触摸屏, 那么, 移动终端只能接收到自电容触摸屏采集的触摸数据, 可能是两种情况: 第一, 用户故意一 直使用悬浮触控方式操作移动终端; 第二, 用户戴着手套操作移动终端。 这两种情况下, 由于空气和手套的绝缘作用, 手指无法直接接触到互电容触摸屏, 所以无法触发互电容触 摸屏采集触摸数据。
对于第一种情况, 如果使用实施例一所提供的触摸事件上报方法, 虽然只支持对互电 容触摸屏上报的触摸事件进行处理的应用程序仍然能够使用, 但是有一个缺点是: 自电容 触摸屏采集的触摸数据中的触摸距离被丢弃了, 对于同时支持对互电容触摸屏和自电容触 摸屏两者上报的触摸事件进行处理的应用程序来讲, 运行效果可能会欠佳。 所以, 只有在 用户戴着手套操作移动终端的场景下, 使用实施例一所提供的触摸事件上报方法才是较为 合理的。 为此, 可继续参考下述实施例: 实施例二 请参考图 2, 其示出了本发明实施例二提供的触摸事件上报方法的方法流程图。该触摸 事件上报方法可以用于同时采用互电容触摸屏和自电容触摸屏的移动终端中。 该触摸事件 上报方法可以具体包括:
步骤 201, 接收自电容触摸屏采集到的触摸数据;
移动终端中的驱动层可以接收自电容触摸屏采集到的触摸数据。
步骤 202,将符合第一预定条件的触摸数据封装为互电容触摸屏对应的触摸事件上报给 应用程序, 第一预定条件为触摸数据中的触摸距离大于第一阈值且小于第二阈值。
移动终端中的驱动层可以只将自电容触摸屏采集到的符合第一预定条件的触摸数据封 装为互电容触摸屏对应的触摸事件上报给移动终端中的应用程序。 具体地讲, 驱动层接收 到自电容触摸屏采集到的触摸数据之后, 判断触摸数据中的触摸距离是否大于第一阈值且 小于第二阈值, 如果是, 则封装为互电容触摸屏对应的触摸事件; 如果否, 则还封装为自 电容触摸屏对应的触摸事件。 第一阈值和第二阈值可以是研发工程师预设的值, 可以预先 根据各种手套的厚度来统计计算得出。
具体地讲, 驱动层将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸 事件的步骤, 除了可以包括: 将自电容触摸屏采集到的触摸数据中的触摸点的坐标作为互 电容触摸屏对应的触摸事件中的触摸点的坐标, 还可以包括以下两个步骤中的任一个: 第一, 将触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设值。 比如, 自电容采集到的触摸数据包括触摸坐标 (X1 , Y1 ) , 触摸距离 L; 则驱动层可以 将该触摸数据封装为互电容触摸屏对应的触摸事件: 触摸坐标 (X1 , Y1 ) , 触摸点面积 (预 设值)、 触摸压力 (预设值) 和触摸方向 (预设值)。 预设值可以是保持不变的值。
第二, 根据触摸距离的大小与触摸点面积和触摸压力之间的预设对应关系, 查询与触 摸距离对应的触摸点面积的数值和触摸压力的数值; 将查询到触摸点面积的数值设置为触 摸事件中的触摸点面积的数值, 并将查询到触摸压力的数值设置为触摸事件中的触摸压力 的数值; 将触摸事件中的触摸方向设置为预设值。 其中, 预设对应关系包括: 触摸距离的 大小与触摸点面积呈反比关系, 触摸距离的大小与触摸压力呈反比关系。
比如, 自电容采集到的触摸数据包括触摸坐标 (X1 , Y1 ) , 触摸距离 L; 则驱动层可以 根据触摸距离的大小与触摸点面积和触摸压力之间的预设对应关系, 查询与 L对应的触摸 点面积的数值 S和触摸压力 P,然后驱动层将该触摸数据封装为互电容触摸屏对应的触摸事 件: 触摸坐标 (X1 , Y1 ) , 触摸点面积 (S)、 触摸压力 (P) 和触摸方向 (预设值)。 其中, 触摸距离的大小与触摸点面积和触摸压力之间的预设对应关系可以由研发工程师根据用户 手指触摸屏幕时的多次触摸数据统计得出。 综上所述, 与实施例一相比, 本实施例提供的触摸事件上报方法, 通过对自电容触摸 屏采集的触摸数据中的触摸距离来进行判断, 可以区分用户的是否为带着手套操作移动终 端或者不接触屏幕表面操作移动终端, 可以达到有选择性地将自电容触摸屏采集到的触摸 数据封装为互电容触摸屏对应的触摸事件的效果, 能够尽量地保证支持对自电容触摸屏对 应的触摸事件进行处理的应用程序的运行效果。 但是实际使用过程中, 在用户使用悬浮触控方式而非戴着手套操作移动终端时, 自电 容触摸屏采集到的触摸数据中的触摸距离也有可能会大于第一阈值且小于第二阈值。 为了 更为准确地判断用户是否为戴着手套操作移动终端。 可以继续参考如下实施例: 实施例三
请参考图 3, 其示出了本发明实施例三提供的触摸事件上报方法的方法流程图。该触摸 事件上报方法可以用于同时采用互电容触摸屏和自电容触摸屏的移动终端中。 该触摸事件 上报方法可以具体包括:
步骤 301, 判断预定时间段内是否只接收到自电容触摸屏采集到的触摸数据, 且触摸数 据中的触摸距离大于第一阈值且小于第二阈值; 如果是, 则进入步骤 302; 如果否, 则进入 步骤 303;
初始情况下, 移动终端中的驱动层可以不断地接收自电容触摸屏和互电容触摸屏采集 到的触摸数据, 并且根据中断信号来判断触摸数据是来自自电容触摸屏, 还是互电容触摸 屏, 然后通过背景技术中所述的触摸事件上报方法将触摸事件上报给应用程序。
在上述过程中, 移动终端中的驱动层可以判断预定时间段内是否只接收到自电容触摸 屏采集到的触摸数据, 且触摸数据中的触摸距离大于第一阈值且小于第二阈值。 该预定时 间段可以是 30秒钟, 也即驱动层可以每隔 30秒检测一次在这段时间内接收到的触摸数据 是否都是来自自电容触摸屏。 而第一阈值和第二阈值可以是研发工程师预设的值, 可以预 先根据各种手套的厚度来统计计算得出。
如果移动终端中的驱动层判断预定时间段内只接收到自电容触摸屏采集到的触摸数据, 且触摸数据中的触摸距离大于第一阈值且小于第二阈值, 那么可以认为用户当前是在带着 手套操作移动终端。
需要说明的是, 上述判断结果只能表明, 用户当前有极大可能是在带着手套操作移动 终端, 而并非是一定在带着手套操作移动终端。
步骤 302,将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸事件上报 给应用程序;
如果移动终端中的驱动层判断预定时间段内只接收到自电容触摸屏采集到的触摸数据, 且触摸数据中的触摸距离大于第一阈值且小于第二阈值, 则可以将自电容触摸屏采集到的 触摸数据封装为互电容触摸屏对应的触摸事件上报给应用程序。
具体地讲, 驱动层将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸 事件, 可以包括如下步骤:
第一, 将触摸数据中的触摸点的坐标作为触摸事件中的触摸点的坐标;
第二, 将触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设值; 第三, 将触摸事件利用互电容触摸屏对应的接口上报给应用程序。
比如, 自电容采集到的触摸数据包括触摸坐标 (X1, Y1 ), 触摸距离 L; 则驱动层可以 将该触摸数据封装为互电容触摸屏对应的触摸事件: 触摸坐标 (X1, Y1 ), 触摸点面积 (预 设值)、 触摸压力 (预设值) 和触摸方向 (预设值)。
作为另一种实现方式, 驱动层将自电容触摸屏采集到的触摸数据封装为互电容触摸屏 对应的触摸事件, 也可以包括如下步骤:
第一, 将触摸数据中的触摸点的坐标作为触摸事件中的触摸点的坐标;
第二, 根据触摸距离的大小与触摸点面积和触摸压力之间的预设对应关系, 查询与触 摸距离对应的触摸点面积的数值和触摸压力的数值; 将查询到触摸点面积的数值设置为触 摸事件中的触摸点面积的数值, 并将查询到触摸压力的数值设置为触摸事件中的触摸压力 的数值; 将触摸事件中的触摸方向设置为预设值; 预设对应关系包括: 触摸距离的大小与 触摸点面积呈反比关系, 触摸距离的大小与触摸压力呈反比关系
第三, 将触摸事件利用互电容触摸屏对应的接口上报给应用程序。
比如, 自电容采集到的触摸数据包括触摸坐标 (X1, Y1 ), 触摸距离 L; 则驱动层可以 根据触摸距离的大小与触摸点面积和触摸压力之间的预设对应关系, 查询与 L对应的触摸 点面积的数值 S和触摸压力 P,然后驱动层将该触摸数据封装为互电容触摸屏对应的触摸事 件: 触摸坐标 (X1, Y1 ), 触摸点面积 (S)、 触摸压力 (P) 和触摸方向 (预设值)。 其中, 触摸距离的大小与触摸点面积和触摸压力之间的预设对应关系可以由研发工程师根据用户 手指触摸屏幕时的数据统计得出。
本实施例中, 可以任选上述两种方式中的一种。
优选地, 即便用户是带着手套操作移动终端, 也分为两种情况:
第一, 带着手套且不接触屏幕表面来操作移动终端; 此时, 用户认为自己在进行普通 的悬浮触控操作; 第二, 带着手套且接触屏幕表面来操作移动终端; 此时, 用户认为自己在进行普通的 接触触控操作。
为了能够尽量保证第一种情况下, 仍然能够将 "触摸距离"这个参数上报给应用程序, 驱动层在本步骤 302 中可以只将符合预定条件的触摸数据封装为互电容触摸屏对应的触摸 事件, 预定条件为触摸数据的触摸距离大于第一阈值且小于第二阈值。 也就是说, 驱动层 仅在第二种情况下, 将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸事 件。 而对于第一种情况下, 驱动层仍然将自电容触摸屏采集到的触摸数据封装为自电容触 摸屏对应的触摸事件。
步骤 303,将自电容触摸屏采集到的触摸数据封装为自电容触摸屏对应的触摸事件上报 给应用程序;
如果移动终端中的驱动层判断预定时间段内不止接收到自电容触摸屏采集到的触摸数 据, 或者触摸数据中的触摸距离小于第一阈值或者大于第二阈值, 则可以将后续接收到的 自电容触摸屏采集到的触摸数据封装为自电容触摸屏对应的触摸事件上报给应用程序。 因 为此时可能是用户在同时使用自电容触摸屏和互电容触摸屏, 或者用户在使用自电容触摸 屏的悬浮触控功能。
在步骤 302之后, 可能会发生用户摘除手套的场景。 如果用户摘除了手套, 则用户在 接触屏幕进行操作时, 自电容触摸屏和互电容触摸屏同时会采集到这个操作对应的触摸数 据, 然后驱动层会将这两个触摸数据都封装为互电容触摸屏对应的触摸事件来上报给应用 程序。 这显然是不合理的, 为此, 本实施例还包括下述步骤:
步骤 304,判断是否接收到互电容触摸屏采集到的触摸数据;如果是,则进入步骤 305; 如果否, 则返回步骤 302。
在步骤 302之后, 驱动层可以实时判断是否接收到互电容触摸屏采集到的触摸数据。 具体地讲, 驱动层可以通过互电容触摸屏触发的中断信号来判断接收到了互电容触摸屏采 集到的触摸数据。
步骤 305,将自电容触摸屏采集到的触摸数据封装为自电容触摸屏对应的触摸事件进行 上报。
此时, 驱动层不再继续将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的 触摸事件上报给应用程序, 而恢复为自电容触摸屏采集到的触摸数据封装为自电容触摸屏 对应的触摸事件进行上报。 也即, 移动终端又恢复到了步骤 301中所示的初始状态。
综上所述, 与实施例二相比, 本实施例提供的触摸事件上报方法, 通过对一段时间内 是否只接收到自电容触摸屏采集的触摸数据, 且对自电容触摸屏采集的触摸数据中的触摸 距离来进行判断, 可以区分用户的是否为带着手套操作移动终端或者不接触屏幕表面操作 移动终端, 可以达到有选择性地将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对 应的触摸事件的效果, 能够尽量地保证支持对自电容触摸屏对应的触摸事件进行处理的应 用程序的运行效果。
在实施例三中, 由移动终端中的驱动层来判断用户是否为带着手套操作移动终端, 也 即由移动终端中的驱动层来判断预定时间段内是否只接收到自电容触摸屏采集到的触摸数 据, 且触摸数据中的触摸距离大于第一阈值且小于第二阈值。 而判断预定时间段内是否只 接收到自电容触摸屏采集到的触摸数据, 且触摸数据中的触摸距离大于第一阈值且小于第 二阈值也可以由预置应用程序来判断, 然后预置应用程序根据判断结果来指示驱动层进行 工作。 请继续参考如下实施例: 实施例四
请参考图 4, 其示出了本发明实施例四提供的触控事件上报方法的方法流程图。该触摸 事件上报方法可以用于同时采用互电容触摸屏和自电容触摸屏的移动终端中。 该触摸事件 上报方法可以包括:
步骤 401, 接收封装指示信号, 封装指示信号为预置应用程序在预定时间段内只接收到 自电容触摸屏对应的触摸事件, 且触摸事件中的触摸距离大于第一阈值且小于第二阈值时 触发的信号;
本实施例中, 由移动终端中的预置应用程序来完成上述判断过程。 优选地, 该预置应 用程序可以是屏幕解锁应用程序或者是一直运行于后台的专用于完成上述判断过程的程序, 当该预置应用程序是屏幕解锁应用程序时, 该预定时间段可以是屏幕解锁过程。 为了便于 描述, 下文中均以屏幕解锁应用程序为例:
移动终端可以预先安装一个屏幕解锁应用程序, 该屏幕解锁应用程序同时支持悬浮触 控解锁方式和普通接触触控解锁方式, 也即, 该屏幕解锁应用程序同时支持对自电容触摸 屏和互电容触摸屏两者上报的触摸事件进行处理。
由于屏幕解锁应用程序通常为滑动解锁, 那么在屏幕解锁过程中, 该屏幕解锁应用程 序可以接收到一系列驱动层上报的触摸事件, 该触摸事件可能是自电容触摸屏采集的触摸 数据, 被驱动层按照正常模式封装后得到的自电容触摸屏对应的触摸事件; 也可能是互电 容触摸屏采集的触摸数据, 被驱动层按照正常模式封装后得到的互电容触摸屏对应的触摸 事件。 如果在屏幕解锁过程中, 该屏幕解锁应用程序接收到的触摸事件, 全部是自电容触 摸屏对应的触摸事件, 且触摸事件中的触摸距离大于第一阈值且小于第二阈值, 那么可以 认为当前用户是在戴着手套操作移动终端。
因为, 即便用户是在使用悬浮触控方式进行滑动解锁过程, 也很难保证在滑动解锁过 程中,上报的所有触摸事件中的触摸距离均能够满足大于第一阈值且小于第二阈值。也即, 采用诸如屏幕解锁应用程序之类的预置应用程序判断在一段时间段内的一系列驱动层上报 的触摸事件均为自电容触摸屏对应的触摸事件, 且触摸事件中的触摸距离大于第一阈值且 小于第二阈值, 那么正确率会比较高。
此时, 预置应用程序可以向驱动层发出封装指示信号。
仍然需要说明的是, 上述判断结果只能表明, 用户当前有极大可能是在带着手套操作 移动终端, 而并非是一定在带着手套操作移动终端。
步骤 402, 接收到封装指示信号之后, 则将自电容触摸屏采集到的触摸数据封装为互电 容触摸屏对应的触摸事件上报给应用程序;
驱动层接收到封装指示信号之后, 则将后续接收到的自电容触摸屏采集到的触摸数据 封装为互电容触摸屏对应的触摸事件上报给应用程序。
具体地讲, 驱动层将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸 事件, 可以包括如下步骤:
第一, 将触摸数据中的触摸点的坐标作为触摸事件中的触摸点的坐标;
第二, 将触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设值; 第四, 将触摸事件利用互电容触摸屏对应的接口上报给应用程序。
比如, 自电容采集到的触摸数据包括触摸坐标 (X1, Y1 ), 触摸距离 L; 则驱动层可以 将该触摸数据封装为互电容触摸屏对应的触摸事件: 触摸坐标 (X1 , Y1 ), 触摸点面积 (预 设值)、 触摸压力 (预设值) 和触摸方向 (预设值)。
步骤 403, 接收封装恢复信号, 封装恢复信号为预置应用程序接收到互电容触摸屏对应 的触摸事件, 且触摸事件符合第二预定条件时触发的信号, 第二预定条件为触摸事件中的 触摸点面积、 触摸压力和触摸方向中的任意一项不为预设值;
在步骤 402之后, 可能会发生用户摘除手套的场景。 如果用户摘除了手套, 则用户在 接触屏幕进行操作时, 自电容触摸屏和互电容触摸屏同时会采集到这个操作对应的触摸数 据, 然后驱动层会将这两个触摸数据都封装为互电容触摸屏对应的触摸事件来上报给应用 程序。 此时, 预置应用程序可以同时接收到这两个触摸事件, 然后通过触摸事件中的触摸 点面积、 触摸压力和触摸方向是否均为预设值来识别出这两个触摸事件是由自电容触摸屏 采集的触摸数据封装而来, 还是互电容触摸屏采集的触摸数据封装而来。 如果预置应用程 序接收到一个触摸事件, 然后该触摸事件中的触摸点面积、 触摸压力和触摸方向中的任意 一项不为预设值, 则表示用户已经摘除了手套。
此时, 预置应用程序可以向驱动层发送封装恢复信号。
步骤 404, 接收到封装恢复信号之后, 则将自电容触摸屏采集到的触摸数据封装为自电 容触摸屏对应的触摸事件进行上报。
驱动层在接收到封装恢复信号之后, 则将自电容触摸屏采集到的触摸数据封装为自电 容触摸屏对应的触摸事件进行上报。
需要说明的是, 由于步骤 403和步骤 404执行时, 需要驱动层将自电容触摸屏采集到 的触摸数据封装为互电容触摸屏对应的触摸事件时, 必须将触摸事件中的触摸点面积、 触 摸压力和触摸方向均设置为各自的预设值, 而不可以按照实施例三中提供的另一种实现方 式来封装为互电容触摸屏对应的触摸事件, 所以步骤 401和步骤 402之后, 也可以执行实 施例三中提供的步骤 304和步骤 305, 从而组合成为新的实施例。 显然, 易于思及的, 步骤 301、 步骤 302、 步骤 404和步骤 405也可以组合成为新的实施例。 对此不再一一赘述。
综上所述, 与实施例三相比, 本实施例提供的触控事件上报方法, 通过由预置应用程 序对一段时间内是否只接收到自电容触摸屏采集的触摸数据, 且对自电容触摸屏采集的触 摸数据中的触摸距离来进行判断, 可以区分用户的是否为带着手套操作移动终端或者不接 触屏幕表面操作移动终端, 可以达到有选择性地将自电容触摸屏采集到的触摸数据封装为 互电容触摸屏对应的触摸事件的效果, 能够尽量地保证支持对自电容触摸屏对应的触摸事 件进行处理的应用程序的运行效果。 实施例五
请参考图 5, 其示出了本发明实施例四提供的触摸事件上报装置的结构方框图。该触摸 事件上报装置可以用于移动终端中。 该触摸事件上报装置可以包括数据接收模块 520和事 件上报模块 540。
数据接收模块 520用于接收自电容触摸屏采集到的触摸数据。
事件上报模块 540用于将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的 触摸事件上报给应用程序。
具体地讲, 自电容触摸屏采集到的触摸数据包括触摸点的坐标和触摸距离, 互电容触 摸屏对应的触摸事件包括触摸点的坐标、 触摸点面积、 触摸压力和触摸方向;
事件上报模块 540可以具体包括:事件封装单元 542和事件上报单元 544,如图 6所示。 其中, 事件封装单元 542用于将触摸数据中的触摸点的坐标作为触摸事件中的触摸点的坐 标; 事件上报单元 544用于将事件封装单元 542得到的触摸事件利用互电容触摸屏对应的 接口上报给应用程序。
综上所述, 本实施例提供的触摸事件上报装置, 通过将自电容触摸屏采集的触摸数据 封装为互电容触摸屏对应的触摸事件进行上报, 解决了当移动终端只能接收到自电容触摸 屏采集的触摸数据时, 无法使用较早版本的应用程序的问题, 达到了即便移动终端只能接 收到自电容触摸屏采集的触摸数据, 还可以继续使用只支持对互电容触摸屏上报的触摸事 件进行处理的应用程序的技术效果。 实施例六
请参考图 7, 其示出了本发明实施例五提供的触摸事件上报装置的结构方框图。该触摸 事件上报装置可以用于移动终端中。该触摸事件上报装置可以包括数据接收模块 520、数据 判断模块 530和事件上报模块 544。
数据接收模块 520用于接收自电容触摸屏采集到的触摸数据。 自电容触摸屏采集到的 触摸数据包括触摸点的坐标和触摸距离。
数据判断模块 530a用于判断预定时间段内是否只接收到自电容触摸屏采集到的触摸数 据, 且触摸数据中的触摸距离大于第一阈值且小于第二阈值。
事件上报模块 540用于如果数据判断模块 530的判断结果为是, 则将自电容触摸屏采 集到的触摸数据封装为互电容触摸屏对应的触摸事件上报给应用程序。 事件上报模块 540 可以包括事件封装单元 542和事件上报单元 544, 其中, 事件封装单元 542具体用于将触摸 数据中的触摸点的坐标作为触摸事件中的触摸点的坐标; 将触摸事件中的触摸点面积、 触 摸压力和触摸方向均设置为各自的预设值; 或者, 根据触摸距离的大小与触摸点面积和触 摸压力之间的预设对应关系, 查询与触摸距离对应的触摸点面积的数值和触摸压力的数值; 将查询到触摸点面积的数值设置为触摸事件中的触摸点面积的数值, 并将查询到触摸压力 的数值设置为触摸事件中的触摸压力的数值; 将触摸事件中的触摸方向设置为预设值; 事 件上报单元 544用于将事件封装单元 542得到的触摸事件利用互电容触摸屏对应的接口上 报给应用程序; 其中, 预设对应关系包括: 触摸距离的大小与触摸点面积呈反比关系, 触 摸距离的大小与触摸压力呈反比关系。
优选地, 事件上报模块 540 具体用于只将符合第一预定条件的触摸数据封装为互电容 触摸屏对应的触摸事件上报给应用程序, 第一预定条件为触摸数据的触摸距离大于第一阈 值且小于第二阈值。
优选地, 触摸事件上报装置还可以包括: 数据监测模块 560a和数据封装模块 580a, 如 图 9所示。 数据监测模块 560a用于判断是否接收到互电容触摸屏采集到的触摸数据; 数据 封装模块 580a用于如果数据监测模块 560a的判断结果为是,则将自电容触摸屏采集到的触 摸数据封装为自电容触摸屏对应的触摸事件进行上报。
综上所述, 与实施例五相比, 本实施例提供的触摸事件上报装置, 通过数据判断模块 和特定封装单元, 可以区分用户是否为带着手套操作移动终端或者不接触屏幕表面操作移 动终端, 可以达到有选择性地将自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应 的触摸事件的效果, 能够尽量地保证支持对自电容触摸屏对应的触摸事件进行处理的应用 程序的运行效果。 实施例七
请参考图 10, 其示出了本发明实施例七提供的触摸事件上报装置的结构方框图。 该触 摸事件上报装置可以用于移动终端中。该触摸事件上报装置可以包括数据接收模块 520、接 收指示模块 530b和事件上报模块 540。
数据接收模块 520用于接收自电容触摸屏采集到的触摸数据。 自电容触摸屏采集到的 触摸数据包括触摸点的坐标和触摸距离。
指示接收模块 530b用于接收封装指示信号, 封装指示信号为预置应用程序在预定时间 段内只接收到自电容触摸屏对应的触摸事件, 且触摸事件中的触摸距离大于第一阈值且小 于第二阈值时触发的信号。 该预置应用程序可以为屏幕解锁应用程序, 该预定时间段可以 为屏幕解锁过程所对应的时间段。
事件上报模块 540具体用于指示接收模块 530b接收到封装指示信号之后, 则将自电容 触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸事件上报给应用程序。
事件上报模块 540可以包括事件封装单元 542和事件上报单元 544, 其中, 事件封装单 元 542具体用于将触摸数据中的触摸点的坐标作为触摸事件中的触摸点的坐标; 将触摸事 件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设值; 事件上报单元 544用于 将事件封装单元 542得到的触摸事件利用互电容触摸屏对应的接口上报给应用程序;其中, 预设对应关系包括: 触摸距离的大小与触摸点面积呈反比关系, 触摸距离的大小与触摸压 力呈反比关系。
优选地, 事件上报模块 540 具体用于只将符合第一预定条件的触摸数据封装为互电容 触摸屏对应的触摸事件上报给应用程序, 第一预定条件为触摸数据的触摸距离大于第一阈 值且小于第二阈值。
优选地, 触摸事件上报装置还可以包括: 恢复接收模块 560b和数据封装模块 580b, 如 图 11所示。 恢复接收模块 560b用于接收封装恢复信号, 封装恢复信号为预置应用程序接 收到互电容触摸屏对应的触摸事件, 且触摸事件符合第二预定条件时触发的信号, 第二预 定条件为触摸事件中的触摸点面积、 触摸压力和触摸方向中的任意一项不为预设值; 数据 封装模块 580b用于恢复接收模块 560b接收到封装恢复信号之后, 则将自电容触摸屏采集 到的触摸数据封装为自电容触摸屏对应的触摸事件进行上报。
综上所述, 与实施例六相比, 本实施例提供的触控事件上报装置, 通过由预置应用程 序, 特别是屏幕解锁应用程序来完成触摸事件的判断, 可以更为正确地判断到用户是否为 带着手套操作移动终端的效果。
需要说明的是: 上述实施例提供的触控事件上报装置在上报触控事件时, 仅以上述各 功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的功 能模块完成, 即将装置的内部结构划分成不同的功能模块, 以完成以上描述的全部或者部 分功能。 另外, 上述实施例提供的触控事件上报装置与触控事件上报方法属于同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。 实施例八
请参考图 12, 其示出了本发明实施例七提供的移动终端的结构方框图。 该移动终端可 以用于实施本发明实施例一至四实现的方法, 为了便于说明, 仅示出了与本发明实施例相 关的部分, 具体技术细节未揭示的, 请参考本发明实施例一至四。
该移动终端可以包括手机、 平板电脑和电子书阅读器等等, 移动终端 600包括存储器
610、 处理器 620、 WiFi(wireless fidelity, 无线保真)模块 630、 输入单元 640、 显示单元 650 以及电源 660等部件。 本领域技术人员可以理解, 图 12中示出的移动终端结构并不构成对 移动终端的限定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部 件布置。
下面结合图 12对移动终端 600的各个构成部件进行具体的介绍:
存储器 610可用于存储软件程序以及模块, 处理器 620通过运行存储在存储器 610的 软件程序以及模块, 从而执行移动终端 600的各种功能应用以及数据处理。 存储器 610可 主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能所 需的应用程序 (比如屏幕解锁功能、 触摸相应功能等) 等; 存储数据区可存储根据移动终 端 600的使用所创建的数据 (比如触摸屏采集的数据等) 等。 此外, 存储器 610可以包括 高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪存器 件、 或其他易失性固态存储器件。
处理器 620是移动终端 600的控制中心, 利用各种接口和线路连接整个移动终端的各 个部分, 通过运行或执行存储在存储器 610内的软件程序和 /或模块, 以及调用存储在存储 器 610内的数据, 执行移动终端 600的各种功能和处理数据, 从而对移动终端进行整体监 控。 可选的, 处理器 620可包括一个或多个处理单元; 优选的, 处理器 620可集成应用处 理器和调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用程序等, 调制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处理器也可以不集成到 处理器 620中。
WiFi属于短距离无线传输技术,移动终端 600通过 WiFi模块 630可以帮助用户收发电 子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网访问。 虽然图 11 示出了 WiFi模块 630, 但是可以理解的是, 其并不属于移动终端 600的必须构成, 完全可 以根据需要在不改变发明的本质的范围内而省略。
输入单元 640可用于接收输入的数字或字符信息, 以及产生与移动终端 600的用户设 置以及功能控制有关的键信号输入。 具体地, 输入单元 640可包括触摸屏 641 以及其他输 入设备 642。 触摸屏 641, 可收集用户在其上或附近的触摸操作 (比如用户使用手指、 触笔 等任何适合的物体或附件在触摸屏 641上或在触摸屏 641附近的操作)。 在本实施例中, 触 摸屏 641包括了自电容触摸屏 641a和互电容触摸屏 641b两者。触摸屏 641采集的数据可以 存储在存储器 610中。 除了触摸屏 641, 输入单元 640还可以包括其他输入设备 642。 具体 地, 其他输入设备 642可以包括但不限于物理键盘、 功能键 (比如音量控制按键、 开关按 键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 650可用于显示由用户输入的信息或提供给用户的信息以及移动终端 600的 各种菜单。显示单元 650可包括显示面板 651,可选的,可以采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板 651。 进一步的, 触摸屏 641可覆盖显示面板 651, 当触摸屏 641检测到在其上或附近的触 摸操作后, 传送给处理器 620以确定触摸事件的类型, 随后处理器 20根据触摸事件的类型 在显示面板 651上提供相应的视觉输出。 虽然在图 12中, 触摸屏 641与显示面板 651是作 为两个独立的部件来实现移动终端 600 的输入和输入功能, 但是在某些实施例中, 可以将 触摸屏 641与显示面板 651集成而实现移动终端 600的输入和输出功能。
移动终端 600还包括给各个部件供电的电源 660 (比如电池), 优选的, 电源可以通过 电源管理系统与处理器 620逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以及 功耗管理等功能。
尽管未示出, 移动终端 600还可以包括摄像头、 蓝牙模块、 音频电路及扬声器等, 在 此不再赘述。 在本发明实施例中, 该终端所包括的存储器 610、处理器 620和触摸屏 641还具有以下 功能:
处理器 620, 用于接收自电容触摸屏 641a采集到的触摸数据;
处理器 620, 还用于将所述自电容触摸屏 641a采集到的触摸数据封装为互电容触摸屏 对应的触摸事件上报给应用程序。
具体地讲, 处理器 620, 用于将所述触摸数据中的触摸点的坐标作为所述触摸事件中的 触摸点的坐标; 将所述触摸事件利用所述互电容触摸屏 641b对应的接口上报给应用程序。
由于自电容触摸屏 641a采集到的触摸数据包括触摸点的坐标和触摸距离, 互电容触摸 屏 641b对应的触摸事件包括触摸点的坐标、 触摸点面积、 触摸压力和触摸方向;
更为优选地实现方式中, 处理器 620, 具体用于将所述触摸数据中的触摸点的坐标作为 所述触摸事件中的触摸点的坐标; 将所述触摸事件中的触摸点面积、 触摸压力和触摸方向 均设置为各自的预设值; 或者, 根据所述触摸距离的大小与所述触摸点面积和触摸压力之 间的预设对应关系, 查询与所述触摸距离对应的触摸点面积的数值和触摸压力的数值; 将 查询到的所述触摸点面积的数值设置为所述触摸事件中的触摸点面积的数值, 并将查询到 的所述触摸压力的数值设置为所述触摸事件中的触摸压力的数值; 将所述触摸事件中的触 摸方向设置为预设值; 将所述触摸事件利用所述互电容触摸屏对应的接口上报给应用程序; 其中, 所述预设对应关系包括: 所述触摸距离的大小与所述触摸点面积呈反比关系, 所述 触摸距离的大小与所述触摸压力呈反比关系; 将所述触摸事件利用所述互电容触摸屏 641b 对应的接口上报给应用程序。
更为优选地实现方式中, 处理器 620, 具体用于只将符合第一预定条件的触摸数据封装 为所述互电容触摸屏 641b对应的触摸事件上报给应用程序, 所述第一预定条件为所述触摸 数据的触摸距离大于第一阈值且小于第二阈值。
更为优选地实现方式中, 所述将所述自电容触摸屏采集到的触摸数据封装为所述互电 容触摸屏对应的触摸事件上报给应用程序之前,
处理器 620, 还用于判断预定时间段内是否只接收到所述自电容触摸屏 641a采集到的 触摸数据, 且所述触摸数据中的触摸距离大于第一阈值且小于第二阈值; 如果判断结果为 是, 则执行将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事 件上报给应用程序的步骤。
更为优选地实现方式中, 所述将所述自电容触摸屏采集到的触摸数据封装为所述互电 容触摸屏对应的触摸事件上报给应用程序之前,
处理器 620, 还用于接收封装指示信号, 所述封装指示信号为预置应用程序在预定时间 段内只接收到所述自电容触摸屏对应的触摸事件, 且所述触摸事件中的触摸距离大于第一 阈值且小于第二阈值时触发的信号; 接收到所述封装指示信号之后, 则执行将所述自电容 触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序的步骤。
更为优选地, 所述预置应用程序为屏幕解锁应用程序, 所述预定时间段为屏幕解锁过 程所对应的时间段。
更为优选地实现方式中, 所述将所述自电容触摸屏采集到的触摸数据封装为所述互电 容触摸屏对应的触摸事件上报给应用程序之后,
处理器 620, 还用于判断是否接收到所述互电容触摸屏采集到的触摸数据; 如果判断结 果为是, 则将所述自电容触摸屏采集到的触摸数据封装为所述自电容触摸屏对应的触摸事 件进行上报。
更为优选地实现方式中, 所述将所述自电容触摸屏采集到的触摸数据封装为所述互电 容触摸屏对应的触摸事件上报给应用程序之后,
处理器 620, 还用于接收封装恢复信号, 所述封装恢复信号为应用程序接收到所述互电 容触摸屏对应的触摸事件, 且所述触摸事件符合第二预定条件时触发的信号, 所述第二预 定条件为所述触摸事件中的触摸点面积、 触摸压力和触摸方向中的任意一项不为预设值; 接收到所述封装恢复信号之后, 则将所述自电容触摸屏采集到的触摸数据封装为所述自电 容触摸屏对应的触摸事件进行上报。
综上所述, 本实施例提供的移动终端, 通过将自电容触摸屏采集的触摸数据封装为互 电容触摸屏对应的触摸事件进行上报, 解决了当移动终端只能接收到自电容触摸屏采集的 触摸数据时, 无法使用较早版本的应用程序的问题, 达到了即便移动终端只能接收到自电 容触摸屏采集的触摸数据, 还可以继续使用只支持对互电容触摸屏上报的触摸事件进行处 理的应用程序的技术效果。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质 中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种触摸事件上报方法, 其特征在于, 所述方法包括:
接收自电容触摸屏采集到的触摸数据;
将所述自电容触摸屏采集到的触摸数据封装为互电容触摸屏对应的触摸事件上报给应用 程序。
2、 根据权利要求 1 所述的触摸事件上报方法, 其特征在于, 所述自电容触摸屏采集到 的触摸数据包括触摸点的坐标, 所述互电容触摸屏对应的触摸事件包括触摸点的坐标; 所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上 报给应用程序, 具体包括:
将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触摸点的坐标;
将所述触摸事件利用所述互电容触摸屏对应的接口上报给应用程序。
3、 根据权利要求 2所述的触摸时间上报方法, 其特征在于, 所述自电容触摸屏采集到 的触摸数据还包括触摸距离, 所述互电容触摸屏对应的触摸事件还包括触摸点面积、 触摸压 力和触摸方向;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上 报给应用程序, 具体包括:
将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触摸点的坐标;
将所述触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设值; 或者, 根据所述触摸距离的大小与所述触摸点面积和触摸压力之间的预设对应关系, 查询与所述触 摸距离对应的触摸点面积的数值和触摸压力的数值; 将查询到的所述触摸点面积的数值设置 为所述触摸事件中的触摸点面积的数值, 并将查询到的所述触摸压力的数值设置为所述触摸 事件中的触摸压力的数值; 将所述触摸事件中的触摸方向设置为预设值;
将所述触摸事件利用所述互电容触摸屏对应的接口上报给应用程序;
其中, 所述预设对应关系包括: 所述触摸距离的大小与所述触摸点面积呈反比关系, 所 述触摸距离的大小与所述触摸压力呈反比关系。
4、 根据权利要求 1至 3任一项所述的触摸事件上报方法, 其特征在于, 所述自电容触 摸屏采集到的触摸数据包括触摸距离;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上 报给应用程序, 具体包括:
只将符合第一预定条件的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用 程序, 所述第一预定条件为所述触摸数据中的触摸距离大于第一阈值且小于第二阈值。
5、 根据权利要求 1至 4任一项所述的触摸事件上报方法, 其特征在于, 所述自电容触 摸屏采集到的触摸数据包括触摸距离;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上 报给应用程序之前, 还包括:
判断预定时间段内是否只接收到所述自电容触摸屏采集到的触摸数据, 且所述触摸数据 中的触摸距离大于第一阈值且小于第二阈值;
如果判断结果为是, 则执行将所述自电容触摸屏采集到的触摸数据封装为所述互电容触 摸屏对应的触摸事件上报给应用程序的步骤。
6、 根据权利要求 1至 4任一项所述的触摸事件上报方法, 其特征在于, 所述自电容触 摸屏采集到的触摸数据包括触摸距离;
所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上 报给应用程序之前, 还包括:
接收封装指示信号, 所述封装指示信号为预置应用程序在预定时间段内只接收到所述自 电容触摸屏对应的触摸事件, 且所述触摸事件中的触摸距离大于第一阈值且小于第二阈值时 触发的信号;
接收到所述封装指示信号之后, 则执行将所述自电容触摸屏采集到的触摸数据封装为所 述互电容触摸屏对应的触摸事件上报给应用程序的步骤。
7、 根据权利要求 6所述的触摸事件上报方法, 其特征在于, 所述预置应用程序为屏幕 解锁应用程序, 所述预定时间段为屏幕解锁过程所对应的时间段。
8、 根据权利要求 5至 7任一所述的触摸事件上报方法, 其特征在于, 所述将所述自电 容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序之后, 还包括:
判断是否接收到所述互电容触摸屏采集到的触摸数据;
如果判断结果为是, 则将所述自电容触摸屏采集到的触摸数据封装为所述自电容触摸屏 对应的触摸事件进行上报。
9、根据权利要求 6或 7所述的触摸事件上报方法, 其特征在于, 若所述将所述自电容触 摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序,具体包括: 将所述触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设值;
则所述将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件 上报给应用程序之后, 还包括:
接收封装恢复信号, 所述封装恢复信号为预置应用程序接收到所述互电容触摸屏对应的 触摸事件, 且所述触摸事件符合第二预定条件时触发的信号, 所述第二预定条件为所述触摸 事件中的触摸点面积、 触摸压力和触摸方向中的任意一项不为预设值;
接收到所述封装恢复信号之后, 则将所述自电容触摸屏采集到的触摸数据封装为所述自 电容触摸屏对应的触摸事件进行上报。
10、 一种触摸事件上报装置, 其特征在于, 所述装置包括:
数据接收模块, 用于接收所述自电容触摸屏采集到的触摸数据;
事件上报模块, 用于将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对 应的触摸事件上报给应用程序。
11、 根据权利要求 10所述的触摸事件上报装置, 其特征在于, 所述自电容触摸屏采集 到的触摸数据包括触摸点的坐标, 所述互电容触摸屏对应的触摸事件包括触摸点的坐标; 所述事件上报模块, 具体包括: 事件封装单元和事件上报单元;
所述事件封装单元, 用于将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触摸 点的坐标;
所述事件上报单元, 用于将所述事件封装单元得到的触摸事件利用所述互电容触摸屏对 应的接口上报给应用程序。
12、 根据权利要求 11 所述的触摸事件上报装置, 其特征在于, 所述自电容触摸屏采集 到的触摸数据还包括触摸距离, 所述互电容触摸屏对应的触摸事件还包括触摸点面积、 触摸 压力和触摸方向;
所述事件封装单元, 具体用于将所述触摸数据中的触摸点的坐标作为所述触摸事件中的 触摸点的坐标; 将所述触摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设 值; 或者, 根据所述触摸距离的大小与所述触摸点面积和触摸压力之间的预设对应关系, 查 询与所述触摸距离对应的触摸点面积的数值和触摸压力的数值; 将查询到所述触摸点面积的 数值设置为所述触摸事件中的触摸点面积的数值, 并将查询到所述触摸压力的数值设置为所 述触摸事件中的触摸压力的数值; 将所述触摸事件中的触摸方向设置为预设值;
所述事件上报单元, 用于将所述事件封装单元得到的触摸事件利用所述互电容触摸屏对 应的接口上报给应用程序;
其中, 所述预设对应关系包括: 所述触摸距离的大小与所述触摸点面积呈反比关系, 所 述触摸距离的大小与所述触摸压力呈反比关系。
13、 根据权利要求 10至 12任一所述的触摸事件上报装置, 其特征在于, 所述自电容触 摸屏采集到的触摸数据包括触摸距离;
所述事件上报模块, 具体用于只将符合第一预定条件的触摸数据封装为所述互电容触摸 屏对应的触摸事件上报给应用程序, 所述第一预定条件为所述触摸数据的触摸距离大于第一 阈值且小于第二阈值。
14、 根据权利要求 10至 13任一项所述的触摸事件上报装置, 其特征在于, 所述自电容 触摸屏采集到的触摸数据包括触摸距离;
所述触摸事件上报装置, 还包括: 数据判断模块;
所述数据判断模块, 用于判断预定时间段内是否只接收到所述自电容触摸屏采集到的触 摸数据, 且所述触摸数据中的触摸距离大于第一阈值且小于第二阈值;
所述事件上报模块, 具体用于如果所述数据判断模块的判断结果为是, 则执行将所述自 电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用程序的步 骤。
15、 根据权利要求 10至 13任一项所述的触摸事件上报装置, 其特征在于, 所述自电容 触摸屏采集到的触摸数据包括触摸距离; 所述触摸事件上报装置, 还包括: 指示接收模块;
所述指示接收模块, 用于接收封装指示信号, 所述封装指示信号为预置应用程序在预定 时间段内只接收到所述自电容触摸屏对应的触摸事件, 且所述触摸事件中的触摸距离大于第 一阈值且小于第二阈值时触发的信号;
所述事件上报模块, 具体用于所述指示接收模块接收到所述封装指示信号之后, 则执行 将所述自电容触摸屏采集到的触摸数据封装为所述互电容触摸屏对应的触摸事件上报给应用 程序的步骤。
16、 根据权利要求 15所述的触摸事件上报装置, 其特征在于, 所述预置应用程序为屏 幕解锁应用程序, 所述预定时间段为屏幕解锁过程所对应的时间段。
17、 根据权利要求 14至 16任一所述的触摸事件上报装置, 其特征在于, 所述触摸事件 上报装置, 还包括: 数据监测模块和数据封装模块;
所述数据监测模块, 用于判断是否接收到所述互电容触摸屏采集到的触摸数据; 所述数据封装模块, 用于如果所述数据监测模块的判断结果为是, 则将所述自电容触摸 屏采集到的触摸数据封装为所述自电容触摸屏对应的触摸事件进行上报。
18、 根据权利要求 15或 16所述的触摸事件上报装置,其特征在于,所述事件封装单元, 具体用于将所述触摸数据中的触摸点的坐标作为所述触摸事件中的触摸点的坐标; 将所述触 摸事件中的触摸点面积、 触摸压力和触摸方向均设置为各自的预设值;
所述触摸事件上报装置, 还包括: 恢复接收模块和数据封装模块;
所述恢复接收模块, 用于接收封装恢复信号, 所述封装恢复信号为预置应用程序接收到 所述互电容触摸屏对应的触摸事件, 且所述触摸事件符合第二预定条件时触发的信号, 所述 第二预定条件为所述触摸事件中的触摸点面积、 触摸压力和触摸方向中的任意一项不为预设 值;
所述数据封装模块, 用于所述恢复接收模块接收到所述封装恢复信号之后, 则将所述自 电容触摸屏采集到的触摸数据封装为所述自电容触摸屏对应的触摸事件进行上报。
19、 一种移动终端, 其特征在于, 所述移动终端包括如权利要求 10至 18任一项所述的 触摸事件上报装置。 、 一种移动终端, 其特征在于, 其包括自电容触摸屏、 互电容触摸屏、 存储器和处理 于执行如权利要求 1至 9任一所述的触摸事件上报方法。
PCT/CN2012/079370 2012-07-30 2012-07-30 触摸事件上报方法、装置及移动终端 WO2014019124A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2012/079370 WO2014019124A1 (zh) 2012-07-30 2012-07-30 触摸事件上报方法、装置及移动终端
EP12876591.4A EP2713254A4 (en) 2012-07-30 2012-07-30 METHOD, DEVICE AND DEVICE FOR NOTIFYING TOUCH EVENTS
CN201280014333.9A CN103620536B (zh) 2012-07-30 2012-07-30 触摸事件上报方法、装置及移动终端
US13/731,833 US20140028611A1 (en) 2012-07-30 2012-12-31 Method and Apparatus for Reporting Touch Event and Mobile Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/079370 WO2014019124A1 (zh) 2012-07-30 2012-07-30 触摸事件上报方法、装置及移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/731,833 Continuation US20140028611A1 (en) 2012-07-30 2012-12-31 Method and Apparatus for Reporting Touch Event and Mobile Terminal

Publications (1)

Publication Number Publication Date
WO2014019124A1 true WO2014019124A1 (zh) 2014-02-06

Family

ID=49994400

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079370 WO2014019124A1 (zh) 2012-07-30 2012-07-30 触摸事件上报方法、装置及移动终端

Country Status (4)

Country Link
US (1) US20140028611A1 (zh)
EP (1) EP2713254A4 (zh)
CN (1) CN103620536B (zh)
WO (1) WO2014019124A1 (zh)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140106097A (ko) * 2013-02-25 2014-09-03 삼성전자주식회사 전자 장치에서 터치 입력 방식을 결정하기 위한 장치 및 방법
KR102092053B1 (ko) * 2013-08-08 2020-03-23 삼성전자주식회사 전자 장치의 잠금 화면 처리 방법 및 장치
CN104516662A (zh) * 2013-09-26 2015-04-15 诺基亚公司 用于在触屏设备中输入内容的方法和装置
EP2874051A1 (en) * 2013-11-14 2015-05-20 Lg Electronics Inc. Mobile terminal and control method thereof
JP6712597B2 (ja) 2014-12-23 2020-06-24 ケンブリッジ タッチ テクノロジーズ リミテッドCambridge Touch Technologies Limited 感圧式タッチパネル
GB2533667B (en) 2014-12-23 2017-07-19 Cambridge Touch Tech Ltd Pressure-sensitive touch panel
CN105807966B (zh) * 2014-12-30 2020-06-23 鸿合科技股份有限公司 一种触摸屏事件的获取方法及装置
US10282046B2 (en) 2015-12-23 2019-05-07 Cambridge Touch Technologies Ltd. Pressure-sensitive touch panel
GB2544353B (en) 2015-12-23 2018-02-21 Cambridge Touch Tech Ltd Pressure-sensitive touch panel
CN105786389A (zh) * 2016-03-17 2016-07-20 四川长虹电器股份有限公司 一种模拟触摸压力增强触摸体验的方法
US10095341B2 (en) * 2016-06-30 2018-10-09 Synaptics Incorporated Hybrid force measurement
CN106201108B (zh) * 2016-07-29 2019-02-19 北京小米移动软件有限公司 手套触控模式控制方法和装置以及电子设备
CN106933413A (zh) * 2017-02-27 2017-07-07 上海斐讯数据通信技术有限公司 一种改进型触摸事件处理方法及系统
CN108700977A (zh) * 2017-04-20 2018-10-23 华为技术有限公司 一种信号上报方法及装置
GB2565305A (en) 2017-08-08 2019-02-13 Cambridge Touch Tech Ltd Device for processing signals from a pressure-sensing touch panel
US11093088B2 (en) 2017-08-08 2021-08-17 Cambridge Touch Technologies Ltd. Device for processing signals from a pressure-sensing touch panel
CN109885201B (zh) * 2019-02-19 2021-03-23 Oppo广东移动通信有限公司 触摸屏触摸面积检测方法、电子装置及计算机可读存储介质
CN113093932B (zh) * 2020-01-08 2024-04-09 北京小米移动软件有限公司 一种触控检测处理方法、装置、终端设备及存储介质
CN113553198A (zh) * 2021-06-01 2021-10-26 刘启成 一种数据处理方法和装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840293A (zh) * 2010-01-21 2010-09-22 宸鸿科技(厦门)有限公司 投射电容式触控面板的扫描方法
CN102023768A (zh) * 2009-09-09 2011-04-20 比亚迪股份有限公司 触摸点定位方法、系统及显示终端

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8482545B2 (en) * 2008-10-02 2013-07-09 Wacom Co., Ltd. Combination touch and transducer input system and method
CN101393502B (zh) * 2008-10-31 2012-03-07 敦泰科技有限公司 互电容式触摸屏及组合式互电容触摸屏
US8519966B2 (en) * 2009-04-28 2013-08-27 Broadcom Corporation Capacitor for use in a communication device and methods for use therewith
US20100328249A1 (en) * 2009-06-25 2010-12-30 Stmicroelecronics Asia Pacific Pte Ltd. Capacitive-inductive touch screen
US8334849B2 (en) * 2009-08-25 2012-12-18 Pixart Imaging Inc. Firmware methods and devices for a mutual capacitance touch sensing device
US9753586B2 (en) * 2009-10-08 2017-09-05 3M Innovative Properties Company Multi-touch touch device with multiple drive frequencies and maximum likelihood estimation
KR101073309B1 (ko) * 2009-11-24 2011-10-12 삼성모바일디스플레이주식회사 터치 스크린 시스템 및 그 구동방법
TWI419037B (zh) * 2010-01-18 2013-12-11 Wistron Corp 觸控系統、觸控操作方法與電腦系統
US9268431B2 (en) * 2010-08-27 2016-02-23 Apple Inc. Touch and hover switching

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023768A (zh) * 2009-09-09 2011-04-20 比亚迪股份有限公司 触摸点定位方法、系统及显示终端
CN101840293A (zh) * 2010-01-21 2010-09-22 宸鸿科技(厦门)有限公司 投射电容式触控面板的扫描方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2713254A4 *

Also Published As

Publication number Publication date
CN103620536B (zh) 2016-11-02
EP2713254A4 (en) 2015-01-28
CN103620536A (zh) 2014-03-05
EP2713254A1 (en) 2014-04-02
US20140028611A1 (en) 2014-01-30

Similar Documents

Publication Publication Date Title
WO2014019124A1 (zh) 触摸事件上报方法、装置及移动终端
AU2018282404B2 (en) Touch-sensitive button
EP2752749B1 (en) Processing method of touch screen device user interface and touch screen device
CN102654814B (zh) 调用应用中的功能的方法、装置和电子设备
CN103713829B (zh) 系统切换方法、装置和电子设备
US20150346895A1 (en) Low power scan for device wake up and unlock
JP6616896B2 (ja) 指紋認識方法及び電子デバイス
WO2013189396A2 (zh) 一种在触摸屏上移动应用图标的方法和系统
CN104969163A (zh) 应用界面的展示方法、装置及电子设备
CN105022955B (zh) 一种应用程序的锁定方法及移动终端
US9250801B2 (en) Unlocking method, portable electronic device and touch-sensitive device
WO2015043194A1 (zh) 虚拟键盘显示方法、装置及终端
CN106919824A (zh) 一种指纹解锁的控制方法、装置及计算机设备
CN106126101A (zh) 一种移动终端的操作方法及移动终端
CN106445721B (zh) 看门狗容错处理的方法及移动终端
CN107066860A (zh) 一种指纹识别方法及移动终端
CN106648242A (zh) 一种触控操作的控制方法及移动终端
CN108700990A (zh) 一种锁屏方法、终端及锁屏装置
CN103092491B (zh) 生成控制命令的方法和装置、以及电子设备
CN104951378B (zh) 一种控制方法及终端
CN103631499B (zh) 一种模式切换方法及电子设备
CN103809776A (zh) 一种功能执行方法及电子设备

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2012876591

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012876591

Country of ref document: EP

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

Ref document number: 12876591

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE