WO2017045094A1 - Method and terminal for controlling number of touch panel reporting points - Google Patents

Method and terminal for controlling number of touch panel reporting points Download PDF

Info

Publication number
WO2017045094A1
WO2017045094A1 PCT/CN2015/089488 CN2015089488W WO2017045094A1 WO 2017045094 A1 WO2017045094 A1 WO 2017045094A1 CN 2015089488 W CN2015089488 W CN 2015089488W WO 2017045094 A1 WO2017045094 A1 WO 2017045094A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
interface area
characteristic
mcu
identifier
Prior art date
Application number
PCT/CN2015/089488
Other languages
French (fr)
Chinese (zh)
Inventor
陈苑锋
钟光华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/089488 priority Critical patent/WO2017045094A1/en
Priority to CN201580042068.9A priority patent/CN106575177B/en
Publication of WO2017045094A1 publication Critical patent/WO2017045094A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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
    • 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

Definitions

  • the present invention relates to communication technologies, and in particular, to a method and a terminal for controlling the number of touch screens.
  • TPs capacitive touch panels
  • the TP processor obtains a coordinate information according to the user operation, and reports the coordinate information to the application processor (Application Processor, AP for short).
  • the AP responds to the user operation according to the coordinate information.
  • the coordinate information is actually a report point of the so-called TP.
  • the TP needs to report the detailed coordinate information to the AP; however, for some special scenarios, whether the TP processor reports the coordinate information, the AP makes the user operation. The response is the same. For example, if the user randomly clicks on a blank interface, if the TP processor does not report the coordinate information of the click operation, the natural AP will not respond to the click operation, if the TP process The device reports the coordinate information of the click operation, and the AP performs corresponding judgment processing according to the coordinate information, and obtains the result of “no response to the click operation”, so the AP does not respond to the click operation. Therefore, for some special scenarios, according to the prior art, the power consumption of the AP is undoubtedly increased, and system resources are wasted.
  • the method and the terminal for controlling the number of the touch screens provided by the embodiments of the present invention are used to solve the technical problem that the number of the TPs in the prior art cannot be controlled, thereby increasing the power consumption of the AP and wasting system resources.
  • the present invention provides a method for controlling the number of touch screens, including:
  • the microprocessor MCU acquires interface area information of the current interface; the current interface includes at least one interface area; wherein the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas a first mapping relationship, and a second mapping relationship between the identifier of each of the interface areas and a report result corresponding to each of the interface areas; the reporting result is that the MCU does not report to the application processor AP Or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
  • the MCU determines a report result corresponding to the first interface area according to the identifier of the first interface area and the second mapping relationship.
  • the MCU acquires interface area information of the current interface, including:
  • the MCU divides the current interface into at least one interface area according to a touch characteristic, and establishes an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; wherein the touch characteristic includes: no AP response required At least one of a characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic;
  • the MCU establishes the first mapping relationship according to the coordinate information of each of the interface regions acquired and the identifier of each of the interface regions;
  • the MCU establishes the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
  • the MCU determines, according to the identifier of the first interface area and the second mapping relationship
  • the report result corresponding to an interface area includes:
  • the report result determined by the MCU according to the second mapping relationship is not The AP reports
  • the reported result is that the report information is reported to the AP;
  • the MCU Determining, by the MCU, the touch characteristic of the first interface area according to the identifier of the first interface area as any one of the touch characteristics except the non-AP response characteristic and the click sliding composite characteristic
  • the event content that is determined by the MCU according to the second mapping relationship is that the event content corresponding to the report information is reported to the AP, where the event content corresponding to the report information is used to
  • the AP indicates a user operation corresponding to the report information and indicates that the AP responds to the user operation.
  • the MCU determines, according to the identifier of the first interface, the touch characteristic of the first interface region is In the touch characteristic, the reporting result determined by the MCU according to the second mapping relationship is reported to the AP, except for the feature that does not need the AP response characteristic and the click-slip composite characteristic.
  • the content of the event corresponding to the report information includes:
  • the reporting result determined by the MCU according to the second mapping relationship is to the AP. Reporting a click event, the click event being used to indicate to the AP that the user operation is a click operation and instructing the AP to make a first response to the click operation;
  • the report result determined by the MCU according to the second mapping relationship is The AP reports a left and right sliding event, and the left and right sliding events are used to indicate to the AP that the user operation is a left and right sliding operation and that the AP responds to the left and right sliding operations.
  • the report result determined by the MCU according to the second mapping relationship is The AP reports an up and down sliding event, and the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and instruct the AP to make a third response to the up and down sliding operation.
  • the interface area information further includes: a third mapping relationship between the identifier of each of the interface areas and a touch speed recognition operation, and a TP gesture recognition operation; and the MCU receives And the report information reported by the touch screen TP processor, and after determining that the location information is located in the first interface area according to the first mapping relationship, the method further includes:
  • the MCU acquires interface area information of a current interface After the MCU acquires interface area information of a current interface, the method also includes:
  • the MCU configures an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to the touch characteristic of each of the interface areas, where the ASRC parameter is used to filter out the coordinate that the change trend in the report information is less than a preset threshold. information.
  • the MCU determines, according to the first mapping relationship, that the report information corresponds to the current interface After the location is located in the first interface area, the method further includes:
  • the MCU filters the coordinate information in the report information that is smaller than a preset threshold according to the ASRC parameter corresponding to the first interface area.
  • the present invention provides a terminal, including:
  • An acquiring module configured to acquire interface area information of the current interface; the current interface includes at least one interface area; wherein the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas The first mapping relationship between the first mapping relationship and the mapping result of each of the interface areas and the reporting result corresponding to each of the interface areas; the reporting result is that the MCU does not report to the application processor AP, Or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
  • a first determining module configured to receive the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, that the location of the report information corresponding to the current interface is located in the first interface area;
  • a second determining module configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
  • the acquiring module includes:
  • An interface area dividing unit configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas;
  • the touch characteristic includes : at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic;
  • the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic;
  • a first mapping relationship establishing unit configured to establish the first mapping relationship according to the obtained coordinate information of each of the interface regions and an identifier of each of the interface regions;
  • the second mapping relationship establishing unit is configured to establish the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
  • the second determining module is configured to determine, according to the identifier of the first interface area, If the touch characteristic of the first interface area is that the AP response characteristic is not required, the report result determined according to the second mapping relationship is not reported to the AP; or, specifically, according to the first interface area.
  • the reporting result determined according to the second mapping relationship is to report the report information to the AP; or, specifically, if Determining, according to the identifier of the first interface area, the touch characteristic of the first interface area is any one of the touch characteristics except the non-AP response characteristic and the click sliding composite characteristic;
  • the report result determined by the second mapping relationship is that the event content corresponding to the report information is reported to the AP; wherein the event content corresponding to the report information is used for the AP Illustrates the message information corresponding to a user operation point indicating the AP responsive to the user operation.
  • the touch characteristic of the first interface region is Any one of the touch characteristics other than the AP response characteristic and the click sliding composite characteristic.
  • the second determining module is configured to determine, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click characteristic, according to the second mapping relationship.
  • the reporting result is that the click event is reported to the AP; or, if it is determined that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, according to the second
  • the reporting result determined by the mapping relationship is that the left and right sliding events are reported to the AP, or specifically, if the touch characteristic of the first interface area is determined to be an up and down sliding characteristic according to the identifier of the first interface area,
  • the reporting result determined by the second mapping relationship is to report an up and down sliding event to the AP;
  • the click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation;
  • the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations;
  • the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair
  • the up and down sliding operation makes a third response.
  • the interface area information further includes: each of the interface areas a third mapping relationship between the identifier and the touch speed recognition operation and the TP gesture recognition operation;
  • the second determining module is further configured to: receive, by the first determining module, the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, the location of the report information corresponding to the current interface. After being located in the first interface area, determining whether to perform the touch speed recognition operation and the TP gesture recognition operation according to the identifier of the first interface area and the third mapping relationship.
  • the terminal further includes:
  • a configuration module configured to: after the acquiring module acquires interface area information of the current interface, configure an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to a touch characteristic of each of the interface areas, where the ASRC parameter is used
  • the coordinate information in the report information whose change trend is less than a preset threshold is filtered out.
  • the terminal further includes:
  • a screening module configured to determine, according to the first mapping relationship, that the report information corresponding to the first interface region is corresponding to the first interface region after the location of the current interface is located in the first interface region
  • the ASRC parameter filters coordinate information in the report information whose change trend is less than a preset threshold.
  • the present invention provides a terminal, including: a touch screen TP processor, a microprocessor MCU, and an application processor AP;
  • the TP processor is configured to report point information to the MCU
  • the MCU is configured to acquire interface area information of a current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas. a first mapping relationship between the first mapping relationship and an identifier of each of the interface areas and a report result corresponding to each of the interface areas; the reporting result is that the MCU does not send to the AP Reporting, or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
  • the MCU is further configured to receive the report information reported by the TP processor, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area, and according to the The identifier of the first interface area and the second mapping relationship determine a report result corresponding to the first interface area.
  • the MCU is configured to obtain interface area information of the current interface, and specifically includes:
  • the MCU is specifically configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas, and according to each acquired Establishing the first mapping relationship by using the coordinate information of the interface area and the identifier of each of the interface areas, and establishing the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface.
  • the touch characteristic includes: at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic;
  • the click sliding composite characteristic is a click characteristic, an up and down sliding characteristic, and a left and right a combination of sliding characteristics;
  • the reported result set includes at least one reported result.
  • the MCU is configured to determine, according to the identifier of the first interface area and the second mapping relationship
  • the report result corresponding to the first interface area specifically includes:
  • the MCU is specifically configured to determine, according to the identifier of the first interface area, that the touch characteristic of the first interface area is that the AP response characteristic is not required, the report result determined according to the second mapping relationship is not Reporting to the AP; or specifically, if it is determined that the touch characteristic of the first interface area is a click-slip composite characteristic according to the identifier of the first interface area, the MCU root
  • the reporting result determined by the second mapping relationship is to report the report information to the AP; or, specifically, determining, according to the identifier of the first interface area, the touch characteristic of the first interface area
  • the reporting result determined by the second mapping relationship is that the report is reported to the AP, where the feature is not required to be the AP-reactive feature, and the click-slip composite feature.
  • the event content corresponding to the report information wherein the event content corresponding to the report information is used to indicate to the AP the user operation corresponding to the report information and to instruct the AP to respond to the user operation.
  • the MCU determines, according to the identifier of the first interface, the touch characteristic of the first interface region is The MCU is specifically configured to determine the first according to the identifier of the first interface area, in the touch characteristic, in addition to the feature that does not need the AP response characteristic or the click-slip composite feature.
  • the report result determined according to the second mapping relationship is to report a click event to the AP; or, specifically, to determine, according to the identifier of the first interface area
  • the report result determined according to the second mapping relationship is to report a left-right sliding event to the AP; or, specifically, according to the first interface.
  • the report result determined according to the second mapping relationship is reported to the AP. Moving events;
  • the click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation;
  • the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations;
  • the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair
  • the up and down sliding operation makes a third response.
  • the interface area information further includes: each of the interface areas The third mapping relationship between the identifier and the touch speed recognition operation and the TP gesture recognition operation; the MCU is further configured to receive the report information reported by the TP processor, and determine according to the first mapping relationship After the location information of the current interface is located in the first interface area, determining, according to the identifier of the first interface area and the third mapping relationship, whether to perform the touch speed recognition operation and the TP Gesture recognition operation.
  • the MCU is further configured to acquire an interface area of the current interface.
  • the asynchronous sampling rate conversion ASRC parameter is configured for each of the interface areas according to the touch characteristic of each of the interface areas, where the ASRC parameter is used to filter out the coordinate in the report information that the change trend is less than a preset threshold. information.
  • the MCU is further configured to determine, according to the first mapping relationship, that the report information corresponds to After the location of the current interface is located in the first interface region, the coordinate information in the report information that is smaller than the preset threshold is filtered according to the ASRC parameter corresponding to the first interface region.
  • the method and the terminal for controlling the number of the touch screens of the touch screen provided by the embodiment of the present invention acquire the interface area information of the current interface including the first mapping relationship and the second mapping relationship, and receive the report points reported by the TP processor in the MCU. After the information, the location of the current interface is determined to be located in the first interface area according to the first mapping relationship, and the MCU determines, according to the identifier of the first interface area and the second mapping relationship, the first interface area. Report the results.
  • the method provided by the embodiment of the present invention determines the report information reported by the TP processor through the MCU, and filters the partially redundant report information, so that the AP does not need to process the redundant report information, thereby reducing the AP.
  • the power consumption saves the resources of the system.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a method for controlling a number of touch screens for a touch screen according to the present invention
  • FIG. 2 is a schematic diagram 1 of an interface provided by the present invention.
  • FIG. 3 is a schematic flowchart diagram of Embodiment 2 of a method for controlling the number of the touch screens of the touch screen provided by the present invention
  • Figure 4 is a schematic diagram 2 of the interface provided by the present invention.
  • FIG. 5 is a schematic flowchart diagram of Embodiment 3 of a method for controlling the number of a touch screen report points according to the present invention
  • FIG. 6 is a schematic flowchart diagram of Embodiment 4 of a method for controlling a number of touch screens for a touch screen according to the present invention
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention.
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a terminal provided by the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 3 of a terminal provided by the present invention.
  • FIG. 10 is a schematic structural diagram of Embodiment 4 of a terminal provided by the present invention.
  • the terminal involved in the embodiments of the present invention may include, but is not limited to, a mobile communication device such as a mobile phone, a personal digital assistant (PDA), a tablet computer, a portable device (for example, a portable computer), and an automatic teller machine (Automatic).
  • a mobile communication device such as a mobile phone, a personal digital assistant (PDA), a tablet computer, a portable device (for example, a portable computer), and an automatic teller machine (Automatic).
  • a device with a touch screen such as a Tel ler machine (ATM)
  • ATM Tel ler machine
  • the method of the embodiment of the present invention is to solve the problem that the number of the TPs in the prior art cannot be controlled. As long as the user performs the operation on the TP, the AP needs to process the report information reported by the TP processor, thereby making the AP Technical problems of increased power consumption and wasted system resources.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a method for controlling a number of touch screens for a touch screen according to the present invention.
  • a microprocessor Microcontroller Unit, MCU for short
  • MCU Microcontroller Unit
  • the TP processor obtains a report information according to the operation of the user (the report information is coordinate information)
  • the TP is reported to the TP through the MCU.
  • the reporting information is used to determine the specific process of the AP power consumption increase by reporting the redundant reporting information to the AP by the TP processor.
  • the method includes:
  • the MCU acquires interface area information of the current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier and each of the interface areas. a first mapping relationship between the coordinate information of the interface area, and a second mapping relationship between the identifier of each of the interface areas and a report result corresponding to each of the interface areas;
  • the MCU does not report to the application processor AP, or the MCU reports the content reported to the AP and reports to the AP, and the identifier of the interface area carries the touch characteristics of the interface area.
  • the current interface operated by the user may include at least one interface region, each interface region having a respective touch characteristic, where the touch characteristic may be a click characteristic or a sliding characteristic.
  • the touch characteristic may be a click characteristic or a sliding characteristic.
  • FIG. 2 which includes 33 interface areas, namely, interface area 1, interface area 2, interface area 3, interface area 4, ..., interface area 32, and interface area. 33, wherein the interface area 1 has a sliding characteristic, the interface area 2 and the interface area 5 have characteristics that do not require an AP response, and the remaining other interface areas have a click characteristic, and each interface area has its own identification, and each interface area
  • the identifier carries the touch characteristics of the interface area.
  • the MCU actively acquires the interface area information of the current interface operated by the user.
  • the interface area information may include a first mapping relationship between an identifier of each interface area under the current interface and coordinate information of each interface area, and an identifier of each interface area under the current interface and corresponding to each interface area.
  • the reporting result corresponding to each interface area may be that the MCU does not report to the AP, or may be reported to the AP by the MCU and reported to the AP. It should be noted that, if the reported result is reported by the MCU to the AP, the specific content reported by the MCU to the AP may be the coordinate information corresponding to the specific user operation, or may be a specific operation event of the user on the current interface.
  • the interface area information of the current interface acquired by the MCU may be sent to the MCU by the upper layer application of the terminal, or may be directly obtained by the MCU according to the interface area of the current interface.
  • the MCU receives the report information reported by the touch screen TP processor, and determines that the location of the report information corresponding to the current interface is located in the first interface area according to the first mapping relationship.
  • the MCU After the MCU obtains the interface area information of the current interface, the operation of the user on the current interface may be recognized by the TP processor as the report point information, and then the TP processor reports the report information to the MCU. Therefore, when the MCU receives the report information, it determines, according to the coordinate information of each interface region in the first mapping relationship, which interface the report information reported by the TP processor corresponds to at the current interface. within the area. After the MCU determines that the location information corresponding to the current interface is located in the first interface area, S103 is performed.
  • the MCU involved in the embodiment of the present invention may be an independent device or a micro control unit integrated in the TP processor.
  • S103 The MCU determines, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
  • the MCU determines that the location information corresponding to the current interface is located in the first interface area, and compares the identifier of the first interface area with the second mapping relationship to obtain a report result corresponding to the first interface area, that is, And determining, according to the touch characteristic of the first interface area and the second mapping relationship, that the MCU does not need to report to the AP, or the specific content that is reported when the MCU needs to report the AP.
  • the TP processor obtains the report information corresponding to the click operation according to the click operation. Then, the TP processor reports the report information corresponding to the click operation to the MCU, and the MCU determines whether it needs to report to the AP according to the report information. Therefore, after the MCU receives the report information reported by the TP processor, the MCU determines, according to the coordinate information of each interface region in the first mapping relationship, which coordinate region the report information is located in, and when the MCU It is determined that the report information is located in the coordinate range of the first interface area, and it is determined that the location of the report information corresponding to the current interface is located in the first interface area.
  • the MCU determines the report result corresponding to the identifier of the first interface area according to the identifier of the first interface area and the second mapping relationship, that is, the report result corresponding to the report information is determined. It is assumed that the MCU determines that the reporting result corresponding to the foregoing report information is that the MCU does not need to report the report to the AP, and the MCU does not need to report the report information to the AP, so that the AP does not need to process the report information. The AP's power consumption and system resources are saved, and such processing does not affect the AP's response to user operations.
  • the TP processor reports the specific report information of the click operation to the AP, and then the AP processes the coordinate information to determine that the user does not need to
  • the MCU does not need to report the report information to the AP at all, because the AP does not need to perform any processing on the AP, so the AP does not need to be in the interface area.
  • the click operation on 2 responds. That is to say, the same click operation, the same AP processing result, but the AP needs to process the report information in the prior art.
  • the AP does not need to report the report information because of the MCU's judgment screening. Process it. Therefore, the method provided by the embodiment of the present invention saves power consumption and system resources of the AP.
  • the method for controlling the number of the touch screen report points obtained by the embodiment of the present invention obtains the interface area information of the current interface including the first mapping relationship and the second mapping relationship by using the MCU, and after the MCU receives the report information reported by the TP processor, Determining, according to the first mapping relationship, that the location of the current interface is located in the first interface area, and the MCU determines, according to the identifier of the first interface area and the second mapping relationship, the report result corresponding to the first interface area. .
  • the method provided by the embodiment of the present invention determines the report information reported by the TP processor through the MCU, and filters the partially redundant report information, so that the AP does not need to process the redundant report information, thereby reducing the AP.
  • the power consumption saves the resources of the system.
  • FIG. 3 is a schematic flowchart diagram of Embodiment 2 of a method for controlling the number of touch screens of the touch screen provided by the present invention.
  • This embodiment relates to a specific process for the MCU to obtain the information about the interface area.
  • the foregoing S101 specifically includes:
  • the MCU divides the current interface into at least one interface area according to a touch characteristic, and establishes an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; wherein the touch characteristic includes: no AP response required At least one of a characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic.
  • the MCU obtains the current interface in real time, and divides the current interface into at least one interface region according to the touch characteristics, and establishes corresponding information for each of the divided interface regions according to the touch characteristics of each interface region.
  • the identifier of each interface area may carry the touch characteristic of the interface area, that is, the touch characteristic of the interface area may be determined by the identifier.
  • the identifier may be a specific digital bit, and may also be other labels with a touch characteristic identifier of the interface area.
  • the touch characteristic used when the MCU divides the current interface into at least one interface area may include at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic, and the click sliding composite
  • the characteristics are a combination of click characteristics, up and down sliding characteristics, and left and right sliding characteristics. For example, referring to the example shown in FIG.
  • the MCU divides it into an interface area; the interface area 2 and the interface area 5 have no AP response characteristics, so the MCU divides the interface area 2 into An interface area divides the interface area 5 into an interface area (of course, the interface area 2 and the interface area 5 may also be divided into one interface area, which is simply exemplified here); the remaining interfaces in FIG. 2 have click characteristics. , so the MCU also divides its correspondence into multiple boundaries. Area.
  • each of the divided interface areas has only one response result corresponding to the AP, that is, any operation performed by the user on one interface area, and only one AP is used. Response result.
  • the TP processor operates according to the operation of the user in any position in the interface area 2, it is reported to
  • the MCU's report information may be different, but the MCU determines only one result according to the different report information, that is, the location information of the report information is located in the interface area 2, and the MCU determines according to the second mapping relationship.
  • the result of the report is that "there is no content reported to the AP for the information of the report", so that the AP does not respond to any user operation in the interface area 2, that is, the AP has only one response result (that is, the response result of the AP) It is not responding to any user operation of interface area 2).
  • the TP processor operates according to the operation of the user in any position in the interface area 4
  • the MCU's report information may be different, but the MCU determines only one result according to the different report information, that is, the location information of the report information is located in the interface area 4, and the MCU is based on the second mapping relationship.
  • the result of the report is as follows: "The information for these reports will be reported to the AP.”
  • the content reported by the MCU to the AP may be a specific click coordinate of the user on the interface area 4, or may be an event content of “the user clicks the contact icon”.
  • the present invention does not limit the form of the content of the event, as long as the AP can learn the specific operation event of the user on the current interface according to the content of the event, and can correctly respond according to the specific operation event of the user. can.
  • the AP After the AP receives the content reported by the MCU, the AP responds by displaying the contact information in the address book to the user. It can be seen that the response result of the AP corresponding to the interface area 4 is only one type, that is, the contact information in the address book is displayed to the user.
  • the interface area 1, the interface area 2, and the interface area 5 are removed, and other remaining interface areas having click characteristics, although these interface areas have the same click characteristics,
  • the response result of the AP is different for each of the remaining interface areas.
  • the user's response in the two interface areas is different. , therefore, although both It has a click feature, but it still has to be divided into two interface areas independently.
  • S202 The MCU establishes the first mapping relationship according to the obtained coordinate information of each of the interface areas and the identifier of each of the interface areas.
  • the MCU when the MCU divides the current interface into at least one interface area according to the touch characteristic, and establishes an identifier for each interface area, the MCU acquires coordinate information of each interface area, and establishes according to the identifier of each interface area.
  • the first mapping relationship may be a mapping relationship in a tabular form, and may also be a mapping relationship in another form. The form of the first mapping relationship is not limited by the present invention.
  • S203 The MCU establishes the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
  • the MCU determines the report result set corresponding to the current interface according to the mapping relationship between each interface and the report result set, and the report result set includes the current interface.
  • the report result corresponding to all the interface areas, that is, the report result set may include that the MCU does not report to the AP, and the MCU reports the event content corresponding to the point information to the AP.
  • the event content corresponding to the report point information reported by the MCU to the AP may include multiple event contents.
  • the MCU divides the current interface into at least one interface area according to the touch characteristics, and proposes an identifier for each interface area
  • the MCU determines, according to the report result set corresponding to the current interface and the touch characteristics of each interface area, The identifier of each interface area corresponds to a report result, and the second mapping relationship is obtained.
  • the MCU obtains the interface area information of the current interface. Therefore, on the basis of the foregoing embodiment 1-2 and the second embodiment, the foregoing S103 can be specifically divided into three different scenarios, namely:
  • the first type if the MCU determines that the touch characteristic of the first interface area is that the AP response characteristic is not required, the MCU determines that the report result is not in accordance with the second mapping relationship. The AP is reported.
  • the first implementation manner is filtered by the MCU, and the AP does not need to process the redundant report information, which reduces the power consumption of the AP and saves resources of the system.
  • the second type is: if the MCU determines, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click-slip composite characteristic, the MCU determines the upper end according to the second mapping relationship. The result of the report is that the report information is reported to the AP.
  • the MCU determines the touch of the first interface area according to the identifier of the first interface area. characteristic.
  • the report result corresponding to the first interface area determined by the MCU according to the second mapping relationship is “reporting the specific to the AP.
  • the touch characteristic of the first interface area is a click-slip composite characteristic
  • the user performs a complicated operation on the first interface area (the complicated operation includes a click operation, an up-and-down sliding operation, and a left-right sliding operation.
  • the operation of the combination, or the combination of the two operations is required to report the specific report information to the AP, and the AP recognizes and responds to the complex operation corresponding to the report information.
  • the interface includes an interface area A, which is a stroke input interface area, and the operation of the user on the interface area A is complicated.
  • the MCU determines, according to the report information reported by the TP processor, that the location information corresponding to the current interface is located in the interface area A (the interface area A is the first interface area, and the identifier is A), and then The MCU determines, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click-slip composite feature, and the report result corresponding to the interface area A determined by the MCU according to the second mapping relationship is “reporting a specific report point to the AP.
  • the information enables the AP to respond to complex user operations corresponding to the report information, such as displaying the text corresponding to the stroke input by the user on the current interface.
  • the MCU of the present invention reports the specific report information to the AP, which is judged by the MCU, and only the touch characteristic of the interface area corresponding to the MCU in determining the report information is the click slide composite feature.
  • the MCU reports the specific report information to the AP, instead of reporting to the AP in any case. Therefore, in this scenario, the MCU can save part of the power consumption due to the MCU's judgment and screening.
  • a third type determining, by the MCU, the touch characteristic of the first interface area according to the identifier of the first interface area as any one of the touch characteristics except the non-AP response characteristic and the click sliding composite characteristic
  • the event content that is determined by the MCU according to the second mapping relationship is that the event content corresponding to the report information is reported to the AP, where the event content corresponding to the report information is used to
  • the AP indicates a user operation corresponding to the report information and indicates that the AP responds to the user operation.
  • the MCU determines that the location of the current interface is located in the first interface area according to the report information reported by the TP processor, and the MCU determines the touch of the first interface area according to the identifier of the first interface area. And the MCU determines that the touch characteristic of the first interface area is any one of the touch characteristics except the AP response characteristic and the click sliding composite characteristic, and the MCU determines the report result according to the second mapping relationship.
  • the MCU reports the event content corresponding to the point information to the AP.
  • the event content corresponding to the report information may be a specific description of the operation of the user on a certain interface area.
  • the MCU determines that the location of the corresponding interface on the current interface is lower than the first interface area according to the report information and the first mapping relationship, and when the MCU When the touch characteristic of the first interface area is determined as the click characteristic according to the identifier of the first interface area, the report reported by the MCU to the AP is “the user performs a click operation in the first interface area”. Content, and the event content is used to instruct the AP to respond to the user operation in time.
  • the MCU reports the event content corresponding to the point information to the AP, instead of the specific report information, so that the AP does not need to identify the processing of the report information, and can directly know which interface area the user has occurred. What operation can respond to the user's operation in time, which not only improves the response speed of the AP, but also reduces the power consumption of the AP.
  • the MCU determines that the touch characteristic of the first interface area is a click characteristic according to the identifier of the first interface area, the reporting result determined by the MCU according to the second mapping relationship is The AP reports a click event, the click event is used to indicate to the AP that the user operation is a click operation and instruct the AP to make a first response to the click operation.
  • the click event reported by the MCU to the AP may indicate to the AP what the user is currently doing in the first interface area, and indicate that the AP responds to the user's operation in a timely manner, so that the AP does not need to report to the AP.
  • the point information By identifying and processing the point information, it is possible to directly know which operation area the user has performed on the interface area, so that the user's operation can be responded in time, which not only improves the response speed of the AP, but also reduces the power consumption of the AP. .
  • the reporting result determined by the MCU according to the second mapping relationship is The AP reports a left and right sliding event, and the left and right sliding events are used to indicate to the AP that the user operation is a left and right sliding operation and that the AP is made to the left and right sliding operations. Second response.
  • the MCU determines the report according to the report information and the coordinate information of each interface region in the first mapping relationship.
  • the point information is located in the first interface area corresponding to the current interface.
  • the reporting result corresponding to the first interface area determined by the second mapping relationship is “reporting the left and right sliding events to the AP”, and the left and right sliding events may be “the user performs a left and right sliding operation in the first interface area”, so that the AP can be based on
  • the left and right sliding events timely respond to the user's action sliding operation, so that the AP does not need to identify the processing of the report information, and can directly know which operation area the user has performed on which interface area, so that the user can timely
  • the user's operation responds, which not only improves the response speed of the AP, but also reduces the power consumption of the AP.
  • the report information (x1, y1) and (x2, y1) in the above example are only an example.
  • the ordinate y1 may be varied within a certain range.
  • the MCU determines that the touch characteristic of the first interface area is an up-and-down sliding characteristic according to the identifier of the first interface area
  • the reporting result determined by the MCU according to the second mapping relationship is The AP reports an up and down sliding event
  • the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and instruct the AP to make a third response to the up and down sliding operation.
  • the MCU determines the report according to the report information and the coordinate information of each interface region in the first mapping relationship.
  • the point information corresponds to the position of the current interface in the first interface area.
  • the reporting result corresponding to the first interface area determined by the second mapping relationship is “upper and lower sliding events reported to the AP”, and the up and down sliding event may be “the user performs an up and down sliding operation in the first interface area”, so that the AP can be based on
  • the up and down sliding event timely responds to the user's action sliding operation, so that the AP does not need to identify and process the report information, and can directly know which operation area the user has performed on which interface area, so that the user can timely
  • the user's operation responds, which not only improves the response speed of the AP, but also reduces the power consumption of the AP.
  • the report information (x1, y1) and (x1, y2) in the above example are only an example.
  • the abscissa x1 can be changed within a certain range.
  • the method for controlling the number of the touch screen report points obtains the interface area information of the current interface including the first mapping relationship and the second mapping relationship by using the MCU, and receives the report reported by the TP processor in the MCU. After the information is obtained, the location of the current interface is determined to be located in the first interface area according to the first mapping relationship, and the MCU determines, according to the identifier of the first interface area and the second mapping relationship, that the first interface area is corresponding. Reported results.
  • the method provided by the embodiment of the present invention can determine the report information reported by the TP processor by using the MCU, and can not only filter the partially redundant report information, but also convert part of the report information into an event form and provide the AP to the AP.
  • the AP does not need to process the redundant report information, and the AP can directly learn which interface area the user performs in some scenarios, and does not need the AP to report the part.
  • the point information is used for identification processing. Therefore, the method provided by the present invention not only reduces the power consumption of the AP, but also saves the resources of the system, and also improves the response speed of the AP.
  • FIG. 5 is a schematic flowchart diagram of Embodiment 3 of a method for controlling the number of the touch screens of the touch screen provided by the present invention.
  • the embodiment relates to determining, by the MCU, the touch characteristic of the first interface area according to the identifier of the first interface area, thereby determining whether the MCU performs the touch speed recognition operation and the TP gesture recognition according to the touch characteristic of the first interface area and the third mapping relationship.
  • the specific process of operation may further include:
  • S301 The MCU determines, according to the identifier of the first interface area and the third mapping relationship, whether to perform the touch speed recognition operation and the TP gesture recognition operation.
  • S301 can be performed simultaneously with S103, and can also be performed before S103.
  • the interface area information acquired by the MCU may further include a third mapping relationship between the identifier of each interface area and a touch speed recognition operation and a TP gesture recognition operation, where the third mapping relationship is used to represent an interface.
  • the MCU does not need to perform the touch speed recognition operation, or the MCU does not need to perform the TP gesture recognition operation. Therefore, for the third mapping relationship, when the corresponding touch speed recognition operation is 1 for an interface area, the MCU is required to perform the touch speed recognition operation when the corresponding touch speed recognition operation is 0, The MCU is not required to perform the touch speed recognition operation, and vice versa; when the corresponding TP gesture recognition operation is 1, the MCU is required to perform the TP gesture recognition operation when the interface area is represented.
  • the MCU When the TP gesture recognition operation is 0, the MCU is not required to perform the TP gesture recognition operation, and vice versa.
  • the third mapping relationship may be a mapping relationship between an identifier of each interface region established by the MCU according to a touch characteristic of each interface region, a touch speed recognition operation, and a TP gesture recognition operation.
  • the current interface can be divided into three interface areas, namely, interface area a (the interface area identifier is a, the interface area has no AP response characteristic), and the interface area b (the interface area identifier is b, The interface area has a click characteristic), the interface area c (the identifier of the interface area is c, the interface area has left and right sliding characteristics), and the interface area d (the identifier of the interface area is d, and the interface area has a click sliding composite characteristic),
  • the three mapping relationship can be seen in Table 1 below:
  • the MCU determines that the location information reported by the TP corresponds to the location of the current interface in the interface area a (the interface area a is the first interface area). It is determined that the MCU does not need to perform a touch speed recognition operation and a TP gesture recognition operation.
  • the MCU determines that the report information reported by the TP corresponds to the location of the current interface in the interface area c (the interface area c is the first interface area)
  • the MCU determines the identifier and the third mapping according to the first interface area. The relationship is determined, the MCU needs to perform the touch speed recognition operation and the TP gesture recognition operation to obtain the sliding speed of the user and the sliding track corresponding to the user gesture, and the MCU can report the sliding speed of the user and the sliding track corresponding to the user gesture to the AP. Provide a reference for the AP to respond.
  • such a process can make the MCU not need to perform a touch speed recognition operation or a TP gesture recognition operation for each interface area, thereby improving the response speed of the MCU.
  • the MCU determines the touch characteristics of the first interface area according to the identifier of the first interface area, so as to determine whether the MCU is executed according to the touch characteristics of the first interface area and the third mapping relationship. Touch speed recognition operation and TP gesture recognition operation Therefore, the MCU does not need to perform a touch speed recognition operation or a TP gesture recognition operation for each interface area, thereby improving the response speed of the MCU.
  • FIG. 6 is a schematic flowchart diagram of Embodiment 4 of a method for controlling the number of touch screens of the touch screen provided by the present invention.
  • This embodiment relates to a specific process in which the MCU filters out coordinate information whose change trend is smaller than a preset threshold according to an Asynchronous Sample Rate Convert (ASRC) parameter corresponding to each interface region.
  • ASRC Asynchronous Sample Rate Convert
  • S401 The MCU acquires interface area information of the current interface.
  • the MCU configures an ASRC parameter for each of the interface areas according to the touch characteristic of each of the interface areas, where the ASRC parameter is used to filter out coordinate information in the report information that the change trend is less than a preset threshold.
  • the MCU determines the touch characteristics of each interface area according to the identifier of each interface area, and then configures the ASRC parameters for each interface area for the touch characteristics of each interface area.
  • the value of the ASRC parameter configured by the MCU is small, and the value of the ASRC parameter configured by the MCU is relatively large for the interface area having the “click-slip composite characteristic”.
  • S403 The MCU determines, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area.
  • S404 The MCU filters, according to the ASRC parameter corresponding to the first interface area, coordinate information that the change trend in the report information is less than a preset threshold.
  • the information of the report collected by the TP should include: initial coordinate information of the sliding operation and coordinate information when the jitter occurs.
  • the MCU determines, according to the report information, that the position of the report information corresponding to the current interface is located in the first interface area, and the MCU according to the first interface area
  • the ASRC parameter determines that the coordinate information when the jitter occurs is smaller than the initial coordinate information of the sliding operation or the change of the cutoff coordinate information of the sliding operation is less than a preset threshold, and the MCU filters out the coordinate information when the jitter occurs to obtain the first
  • the report information includes the initial coordinate information of the sliding operation and the cutoff coordinate information of the sliding operation, so that the terminal can display according to the first report point information, so that the display screen of the terminal does not need to display unnecessary lines. Optimized the processing performance of the display system.
  • S405 The MCU determines, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
  • the MCU filters out the coordinate information of the report information reported by the TP processor that is smaller than the preset threshold according to the ASRC parameters corresponding to each interface area, and obtains the first report. Point information, so that the terminal can display according to the first report point information, thereby avoiding unnecessary display of the display screen of the terminal, and optimizing the processing performance of the display system.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention. As shown in FIG. 7, the terminal may include: an obtaining module 10, a first determining module 11, and a second determining module 12.
  • the obtaining module 10 is configured to obtain interface area information of the current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier of each of the interface areas and each of the interface areas. a first mapping relationship between the coordinate information and a second mapping relationship between the identifier of each of the interface regions and a report result corresponding to each of the interface regions; the reported result is that the MCU does not apply to the application processor
  • the first determining module 11 is configured to receive the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first boundary Within the area;
  • the second determining module 12 is configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a terminal provided by the present invention.
  • the acquiring module 10 includes: an interface region dividing unit 101 , a first mapping relationship establishing unit 102 , and a second mapping relationship establishing unit 103 . .
  • the interface area dividing unit 101 is configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas;
  • the touch characteristics include: at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic. ;
  • the first mapping relationship establishing unit 102 is configured to establish the first mapping relationship according to the obtained coordinate information of each of the interface regions and an identifier of each of the interface regions;
  • the second mapping relationship establishing unit 103 is configured to establish the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the second determining module 12 is further configured to: if it is determined that the touch characteristic of the first interface area is not required to be an AP response characteristic according to the identifier of the first interface area, The reporting result determined by the second mapping relationship is not reported to the AP; or, specifically, determining, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click sliding composite If the feature is used, the reporting result that is determined according to the second mapping relationship is that the report information is reported to the AP; or, specifically, that the first interface is determined according to the identifier of the first interface area.
  • the touch characteristic of the area is any one of the touch characteristics except the AP response characteristic and the click sliding composite characteristic, and the report result determined according to the second mapping relationship is
  • the AP reports the event content corresponding to the report information, where the event content corresponding to the report information is used to indicate to the AP that the report information corresponds to User operations and instructing the AP to respond to the user operation.
  • the second determining module 12 determines, according to the identifier of the first interface, that the touch characteristic of the first interface area is the touch characteristic, the click sliding composite characteristic of the touch characteristic Any feature other than
  • the second determining module 12 is configured to: if the touch characteristic of the first interface area is determined as a click characteristic according to the identifier of the first interface area, the report is determined according to the second mapping relationship The result is that the click event is reported to the AP; or, if it is determined that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, determining according to the second mapping relationship The reporting result is that the left and right sliding events are reported to the AP, or specifically, if the touch characteristic of the first interface area is determined to be an up and down sliding characteristic according to the identifier of the first interface area, The reporting result determined by the second mapping relationship is that the up and down sliding event is reported to the AP;
  • the click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation;
  • the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations;
  • the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair
  • the up and down sliding operation makes a third response.
  • the interface area information further includes: a third mapping relationship between the identifier of each of the interface areas and a touch speed recognition operation, and a TP gesture recognition operation; and the second determining module 12 is further configured to The first determining module 11 receives the report information reported by the touch screen TP processor, and determines that the report information corresponds to the location of the current interface in the first interface area according to the first mapping relationship, according to the The identifier of the first interface area and the third mapping relationship determine whether to perform the touch speed recognition operation and the TP gesture recognition operation.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 3 of a terminal provided by the present invention.
  • the terminal may further include: a configuration module 13 , configured to: after the acquiring module 10 acquires interface area information of the current interface, Configuring, according to the touch characteristic of each of the interface areas, an asynchronous sampling rate conversion ASRC parameter for each of the interface areas, where the ASRC parameter is used to filter out the coordinate in the report information that the change trend is less than a preset threshold.
  • the first screening module 14 is configured to determine, according to the first mapping relationship, that the report information corresponds to the location of the current interface in the first interface region, according to the first mapping module
  • the ASRC parameter corresponding to the interface area filters out the coordinate information in the report information that the change trend is less than the preset threshold.
  • FIG. 9 the above-described structure shown in FIG. 9 is shown based on the structure of FIG. 8.
  • the terminal structure of FIG. 9 can also be based on FIG.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of Embodiment 4 of a terminal provided by the present invention.
  • the terminal may include an input device 20, a TP processor 21, an MCU 22, an AP 23, a memory 24, and at least one communication bus 25.
  • the input device 20 is configured to provide an input interface to the user, and receive an operation input by the user;
  • the TP processor 21 is configured to convert the user operation of the user on the input device 20 into the report information; and the communication bus 25 is used to implement the component.
  • the memory 24 may include a high speed RAM memory, and may also include a non-volatile memory NVM, such as at least one disk memory, in which various programs for performing various processing functions may be stored; AP23, Used to respond to user actions.
  • NVM non-volatile memory
  • the TP processor 21 is configured to report the information to the MCU 22;
  • the MCU 22 is configured to acquire interface area information of the current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas.
  • the MCU 22 is further configured to receive the report information reported by the TP processor 21, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area, and And determining, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the foregoing MCU 22 is configured to obtain interface area information of the current interface, and specifically includes:
  • the MCU 22 is specifically configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas, and according to each acquired Establishing the first mapping relationship by using the coordinate information of the interface area and the identifier of each of the interface areas, and establishing the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface.
  • the touch characteristic includes: at least one of an AP23 response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic;
  • the click sliding composite characteristic is a click characteristic, an up and down sliding characteristic, and a left and right a combination of sliding characteristics;
  • the reported result set includes at least one reported result.
  • the MCU 22 is configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area, specifically:
  • the MCU 22 is specifically configured to: if the touch characteristic of the first interface area is determined according to the identifier of the first interface area, the AP23 response characteristic is not required, the report result determined according to the second mapping relationship is not Reporting to the AP23; or, if it is determined that the touch characteristic of the first interface area is a click-slip composite characteristic according to the identifier of the first interface area, the MCU 22 determines according to the second mapping relationship.
  • the report result is that the report information is reported to the AP23; or, specifically, if the touch characteristic of the first interface area is determined according to the identifier of the first interface area,
  • the result of the report that is determined according to the second mapping relationship is that the content of the event corresponding to the report information is reported to the AP23, when the AP23 response characteristic is not required, and the click-slip composite feature is used.
  • the content of the event corresponding to the report information is used to indicate to the AP 23 the user operation corresponding to the report information and to instruct the AP 23 to make a response to the user operation. .
  • the MCU 22 determines, according to the identifier of the first interface, the touch characteristic of the first interface area is any one of the touch characteristics except the AP23 response characteristic and the click sliding composite characteristic.
  • the MCU 22 is configured to: when the touch characteristic of the first interface area is determined as a click characteristic according to the identifier of the first interface area, the report is determined according to the second mapping relationship.
  • the click event is reported to the AP23; or, specifically, if the touch characteristic of the first interface area is determined according to the identifier of the first interface area
  • the reporting result determined according to the second mapping relationship is to report a left and right sliding event to the AP23; or specifically, if the first interface area is determined according to the identifier of the first interface area
  • the report result determined according to the second mapping relationship is to report an up and down sliding event to the AP 23;
  • the click event is used to indicate to the AP 23 that the user operation is a click operation and to instruct the AP 23 to make a first response to the click operation;
  • the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP 23 to make a second response to the left and right sliding operations;
  • the up and down sliding event is used to indicate to the AP 23 that the user operation is an up and down sliding operation and indicates that the AP 23 is opposite
  • the up and down sliding operation makes a third response.
  • the interface area information further includes: a third mapping relationship between the identifier of each of the interface areas and a touch speed recognition operation, and a TP gesture recognition operation; and the MCU 22 is further configured to receive the And the report information reported by the TP processor 21, and determining, according to the first mapping relationship, that the location information is located in the first interface area after the location of the current interface, according to the identifier of the first interface area.
  • the third mapping relationship determines whether the touch speed recognition operation and the TP gesture recognition operation are performed.
  • the MCU 22 is further configured to: after obtaining the interface area information of the current interface, configure an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to a touch characteristic of each of the interface areas, where the ASRC parameter is And filtering the coordinate information that the change trend in the report information is less than a preset threshold.
  • the MCU 22 is further configured to: after determining, according to the first mapping relationship, that the location information corresponds to being located in the first interface area, and corresponding to the first interface area,
  • the ASRC parameter filters coordinate information in the report information whose change trend is less than a preset threshold.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.

Landscapes

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

Abstract

Provided in the present invention are a method and terminal for controlling the number of touch panel reporting points, the method comprising: an MCU acquires interface area information of a current interface; the interface area information comprises a first mapping relationship between an identifier of every interface area and coordinate information of every interface area, and a second mapping relationship between an identifier of every interface area and reporting results corresponding to every interface area; the MCU receives reporting information reported by a touch panel TP processor, and on the basis of the first mapping relationship determines that a position of the current interface corresponding to the reporting information is positioned in a first interface area; and, on the basis of the identifier of the first interface area and the second mapping relationship, the MCU determines the reporting results corresponding to the first interface area. The method provided in the embodiments of the present invention reduces the power consumption of an AP, saving system resources.

Description

触摸屏报点数量的控制方法和终端Touch screen number control method and terminal 技术领域Technical field
本发明涉及通信技术,尤其涉及一种触摸屏报点数量的控制方法和终端。The present invention relates to communication technologies, and in particular, to a method and a terminal for controlling the number of touch screens.
背景技术Background technique
随着智能手机的发展,电容式触摸屏(Touch Panel,简称TP)得到广泛的应用,越来越多的手机应用使用到TP操作,如输入法、游戏按键等。With the development of smart phones, capacitive touch panels (TPs) have been widely used, and more and more mobile applications use TP operations, such as input methods and game buttons.
通常的,用户在TP上的任一操作(例如点击、滑动等),TP处理器会根据用户操作得到一坐标信息,并将该坐标信息上报给终端内部的应用处理器(Application Processor,简称AP),由AP根据该坐标信息对用户操作做出响应。需要说明的是,该坐标信息实际上就是通常所说的TP的报点。In general, any operation of the user on the TP (such as clicking, sliding, etc.), the TP processor obtains a coordinate information according to the user operation, and reports the coordinate information to the application processor (Application Processor, AP for short). ), the AP responds to the user operation according to the coordinate information. It should be noted that the coordinate information is actually a report point of the so-called TP.
现有技术中,只要用户在TP上进行了相应的操作,TP均需要向AP上报详细的坐标信息;但是,对于一些特殊的场景,无论TP处理器是否上报坐标信息,AP对用户操作做出的响应都是相同的,例如,用户在一页空界面上随便进行点击,如果TP处理器不上报该点击操作的坐标信息,那么自然AP就不会对该点击操作做出响应,如果TP处理器上报了该点击操作的坐标信息,AP就会根据该坐标信息进行相应的判断处理,得到“无需响应点击操作”的结果,因此AP也不会对该点击操作做出响应。由此可知,对于一些特殊的场景,按照现有技术的做法,无疑导致了AP的功耗增加,系统资源浪费。In the prior art, as long as the user performs the corresponding operation on the TP, the TP needs to report the detailed coordinate information to the AP; however, for some special scenarios, whether the TP processor reports the coordinate information, the AP makes the user operation. The response is the same. For example, if the user randomly clicks on a blank interface, if the TP processor does not report the coordinate information of the click operation, the natural AP will not respond to the click operation, if the TP process The device reports the coordinate information of the click operation, and the AP performs corresponding judgment processing according to the coordinate information, and obtains the result of “no response to the click operation”, so the AP does not respond to the click operation. Therefore, for some special scenarios, according to the prior art, the power consumption of the AP is undoubtedly increased, and system resources are wasted.
因此,如何控制TP的报点数量(即控制上报的坐标信息的数量),以降低AP的功耗,节省系统资源,成为目前亟待解决的技术问题。Therefore, how to control the number of TP reporting points (that is, control the number of reported coordinate information) to reduce the power consumption of the AP and save system resources has become a technical problem to be solved.
发明内容Summary of the invention
本发明实施例提供的触摸屏报点数量的控制方法和终端,用以解决现有技术中TP的报点数量无法控制,从而使得AP功耗增加,系统资源浪费的技术问题。The method and the terminal for controlling the number of the touch screens provided by the embodiments of the present invention are used to solve the technical problem that the number of the TPs in the prior art cannot be controlled, thereby increasing the power consumption of the AP and wasting system resources.
第一方面,本发明提供一种触摸屏报点数量的控制方法,包括: In a first aspect, the present invention provides a method for controlling the number of touch screens, including:
微处理器MCU获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为所述MCU不向应用处理器AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;The microprocessor MCU acquires interface area information of the current interface; the current interface includes at least one interface area; wherein the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas a first mapping relationship, and a second mapping relationship between the identifier of each of the interface areas and a report result corresponding to each of the interface areas; the reporting result is that the MCU does not report to the application processor AP Or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
所述MCU接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内;Receiving, by the MCU, the report information reported by the touch screen TP processor, and determining, according to the first mapping relationship, that the location of the report information corresponding to the current interface is located in the first interface area;
所述MCU根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。The MCU determines a report result corresponding to the first interface area according to the identifier of the first interface area and the second mapping relationship.
结合第一方面,在第一方面的第一种可能的实施方式中,所述MCU获取当前界面的界面区域信息,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the MCU acquires interface area information of the current interface, including:
所述MCU根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;The MCU divides the current interface into at least one interface area according to a touch characteristic, and establishes an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; wherein the touch characteristic includes: no AP response required At least one of a characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic;
所述MCU根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系;The MCU establishes the first mapping relationship according to the coordinate information of each of the interface regions acquired and the identifier of each of the interface regions;
所述MCU根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系,所述上报结果集合包括至少一个上报结果。And the MCU establishes the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,所述MCU根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果,具体包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the MCU determines, according to the identifier of the first interface area and the second mapping relationship The report result corresponding to an interface area includes:
若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为不向所述AP上报;If the MCU determines that the touch characteristic of the first interface area is an AP response-free characteristic according to the identifier of the first interface area, the report result determined by the MCU according to the second mapping relationship is not The AP reports;
或者,or,
若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则所述MCU根据所述第二映射关系确定的所述 上报结果为向所述AP上报所述报点信息;And determining, by the MCU, that the touch characteristic of the first interface area is a click-slip composite characteristic according to the identifier of the first interface area, where the MCU determines the second mapping relationship The reported result is that the report information is reported to the AP;
或者,or,
若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的用户操作以及指示所述AP对所述用户操作做出响应。Determining, by the MCU, the touch characteristic of the first interface area according to the identifier of the first interface area as any one of the touch characteristics except the non-AP response characteristic and the click sliding composite characteristic And the event content that is determined by the MCU according to the second mapping relationship is that the event content corresponding to the report information is reported to the AP, where the event content corresponding to the report information is used to The AP indicates a user operation corresponding to the report information and indicates that the AP responds to the user operation.
结合第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,若所述MCU根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容,具体包括:With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, if the MCU determines, according to the identifier of the first interface, the touch characteristic of the first interface region is In the touch characteristic, the reporting result determined by the MCU according to the second mapping relationship is reported to the AP, except for the feature that does not need the AP response characteristic and the click-slip composite characteristic. The content of the event corresponding to the report information includes:
若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报点击事件,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应;If the MCU determines that the touch characteristic of the first interface area is a click characteristic according to the identifier of the first interface area, the reporting result determined by the MCU according to the second mapping relationship is to the AP. Reporting a click event, the click event being used to indicate to the AP that the user operation is a click operation and instructing the AP to make a first response to the click operation;
或者,or,
若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件,所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出第二响应;If the MCU determines that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, the report result determined by the MCU according to the second mapping relationship is The AP reports a left and right sliding event, and the left and right sliding events are used to indicate to the AP that the user operation is a left and right sliding operation and that the AP responds to the left and right sliding operations.
或者,or,
若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件,所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第三响应。If the MCU determines that the touch characteristic of the first interface area is an up-and-down sliding characteristic according to the identifier of the first interface area, the report result determined by the MCU according to the second mapping relationship is The AP reports an up and down sliding event, and the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and instruct the AP to make a third response to the up and down sliding operation.
结合第一方面至第一方面的第三种可能的实施方式中的任一项,在第一 方面的第四种可能的实施方式中,所述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;则所述MCU接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,还包括:In combination with any of the first aspect to the third possible implementation of the first aspect, at the first In a fourth possible implementation manner of the aspect, the interface area information further includes: a third mapping relationship between the identifier of each of the interface areas and a touch speed recognition operation, and a TP gesture recognition operation; and the MCU receives And the report information reported by the touch screen TP processor, and after determining that the location information is located in the first interface area according to the first mapping relationship, the method further includes:
所述MCU根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。Determining, by the MCU, whether the touch speed recognition operation and the TP gesture recognition operation are performed according to the identifier of the first interface area and the third mapping relationship.
结合第一方面至第一方面的第四种可能的实施方式中的任一项,在第一方面的第五种可能的实施方式中,所述MCU获取当前界面的界面区域信息之后,所述方法还包括:With reference to the first aspect to any one of the fourth possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, after the MCU acquires interface area information of a current interface, The method also includes:
所述MCU根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。The MCU configures an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to the touch characteristic of each of the interface areas, where the ASRC parameter is used to filter out the coordinate that the change trend in the report information is less than a preset threshold. information.
结合第一方面的第五种可能的实施方式,在第一方面的第六种可能的实施方式中,所述MCU根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,所述方法还包括:With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the MCU determines, according to the first mapping relationship, that the report information corresponds to the current interface After the location is located in the first interface area, the method further includes:
所述MCU根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。And the MCU filters the coordinate information in the report information that is smaller than a preset threshold according to the ASRC parameter corresponding to the first interface area.
第二方面,本发明提供一种终端,包括:In a second aspect, the present invention provides a terminal, including:
获取模块,用于获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为MCU不向应用处理器AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;An acquiring module, configured to acquire interface area information of the current interface; the current interface includes at least one interface area; wherein the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas The first mapping relationship between the first mapping relationship and the mapping result of each of the interface areas and the reporting result corresponding to each of the interface areas; the reporting result is that the MCU does not report to the application processor AP, Or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
第一确定模块,用于接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内;a first determining module, configured to receive the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, that the location of the report information corresponding to the current interface is located in the first interface area;
第二确定模块,用于根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。 And a second determining module, configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
结合第二方面,在第二方面的第一种可能的实施方式中,所述获取模块,具体包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the acquiring module includes:
界面区域划分单元,用于根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;An interface area dividing unit, configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; wherein the touch characteristic includes : at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic;
第一映射关系建立单元,用于根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系;a first mapping relationship establishing unit, configured to establish the first mapping relationship according to the obtained coordinate information of each of the interface regions and an identifier of each of the interface regions;
第二映射关系建立单元,用于根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系,所述上报结果集合包括至少一个上报结果。The second mapping relationship establishing unit is configured to establish the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
结合第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,所述第二确定模块,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性时,则根据所述第二映射关系确定的所述上报结果为不向所述AP上报;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的用户操作以及指示所述AP对所述用户操作做出响应。With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the second determining module is configured to determine, according to the identifier of the first interface area, If the touch characteristic of the first interface area is that the AP response characteristic is not required, the report result determined according to the second mapping relationship is not reported to the AP; or, specifically, according to the first interface area. When the identifier determines that the touch characteristic of the first interface area is a click-slip composite feature, the reporting result determined according to the second mapping relationship is to report the report information to the AP; or, specifically, if Determining, according to the identifier of the first interface area, the touch characteristic of the first interface area is any one of the touch characteristics except the non-AP response characteristic and the click sliding composite characteristic; The report result determined by the second mapping relationship is that the event content corresponding to the report information is reported to the AP; wherein the event content corresponding to the report information is used for the AP Illustrates the message information corresponding to a user operation point indicating the AP responsive to the user operation.
结合第二方面的第二种可能的实施方式,在第二方面的第三种可能的实施方式中,若所述MCU根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性,With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, if the MCU determines, according to the identifier of the first interface, the touch characteristic of the first interface region is Any one of the touch characteristics other than the AP response characteristic and the click sliding composite characteristic.
则所述第二确定模块,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则根据所述第二映射关系确定的 所述上报结果为向所述AP上报点击事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件,或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件;The second determining module is configured to determine, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click characteristic, according to the second mapping relationship. The reporting result is that the click event is reported to the AP; or, if it is determined that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, according to the second The reporting result determined by the mapping relationship is that the left and right sliding events are reported to the AP, or specifically, if the touch characteristic of the first interface area is determined to be an up and down sliding characteristic according to the identifier of the first interface area, The reporting result determined by the second mapping relationship is to report an up and down sliding event to the AP;
其中,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应;所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出第二响应;所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第三响应。The click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation; the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations; the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair The up and down sliding operation makes a third response.
结合第二方面至第二方面的第三种可能的实施方式中的任一项,在第二方面的第四种可能的实施方式中,所述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;In conjunction with the second aspect, the third possible implementation of the second aspect, in the fourth possible implementation of the second aspect, the interface area information further includes: each of the interface areas a third mapping relationship between the identifier and the touch speed recognition operation and the TP gesture recognition operation;
所述第二确定模块,还用于在所述第一确定模块接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。The second determining module is further configured to: receive, by the first determining module, the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, the location of the report information corresponding to the current interface. After being located in the first interface area, determining whether to perform the touch speed recognition operation and the TP gesture recognition operation according to the identifier of the first interface area and the third mapping relationship.
结合第二方面至第二方面的第四种可能的实施方式中的任一项,在第二方面的第五种可能的实施方式中,所述终端还包括:In conjunction with the second aspect, the fourth possible implementation manner of the second aspect, in the fifth possible implementation manner of the second aspect, the terminal further includes:
配置模块,用于在所述获取模块获取当前界面的界面区域信息之后,根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。a configuration module, configured to: after the acquiring module acquires interface area information of the current interface, configure an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to a touch characteristic of each of the interface areas, where the ASRC parameter is used The coordinate information in the report information whose change trend is less than a preset threshold is filtered out.
结合第二方面的第五种可能的实施方式,在第二方面的第六种可能的实施方式中,所述终端还包括:With reference to the fifth possible implementation of the second aspect, in a sixth possible implementation manner of the second aspect, the terminal further includes:
筛选模块,用于在所述第一确定模块根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。 a screening module, configured to determine, according to the first mapping relationship, that the report information corresponding to the first interface region is corresponding to the first interface region after the location of the current interface is located in the first interface region The ASRC parameter filters coordinate information in the report information whose change trend is less than a preset threshold.
第三方面,本发明提供一种终端,包括:触摸屏TP处理器、微处理器MCU和应用处理器AP;In a third aspect, the present invention provides a terminal, including: a touch screen TP processor, a microprocessor MCU, and an application processor AP;
所述TP处理器,用于向所述MCU上报报点信息;The TP processor is configured to report point information to the MCU;
所述MCU,用于获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为所述MCU不向所述AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;The MCU is configured to acquire interface area information of a current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas. a first mapping relationship between the first mapping relationship and an identifier of each of the interface areas and a report result corresponding to each of the interface areas; the reporting result is that the MCU does not send to the AP Reporting, or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
所述MCU,还用于接收所述TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内,并根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。The MCU is further configured to receive the report information reported by the TP processor, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area, and according to the The identifier of the first interface area and the second mapping relationship determine a report result corresponding to the first interface area.
结合第三方面,在第三方面的第一种可能的实施方式中,所述MCU,用于获取当前界面的界面区域信息,具体包括:With reference to the third aspect, in a first possible implementation manner of the third aspect, the MCU is configured to obtain interface area information of the current interface, and specifically includes:
所述MCU,具体用于根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识,并根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系,以及根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;所述上报结果集合包括至少一个上报结果。The MCU is specifically configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas, and according to each acquired Establishing the first mapping relationship by using the coordinate information of the interface area and the identifier of each of the interface areas, and establishing the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface. The touch characteristic includes: at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a click characteristic, an up and down sliding characteristic, and a left and right a combination of sliding characteristics; the reported result set includes at least one reported result.
结合第三方面的第一种可能的实施方式,在第三方面的第二种可能的实施方式中,所述MCU,用于根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果,具体包括:With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the MCU is configured to determine, according to the identifier of the first interface area and the second mapping relationship The report result corresponding to the first interface area specifically includes:
所述MCU,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性时,则根据所述第二映射关系确定的所述上报结果为不向所述AP上报;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则所述MCU根 据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的用户操作以及指示所述AP对所述用户操作做出响应。The MCU is specifically configured to determine, according to the identifier of the first interface area, that the touch characteristic of the first interface area is that the AP response characteristic is not required, the report result determined according to the second mapping relationship is not Reporting to the AP; or specifically, if it is determined that the touch characteristic of the first interface area is a click-slip composite characteristic according to the identifier of the first interface area, the MCU root The reporting result determined by the second mapping relationship is to report the report information to the AP; or, specifically, determining, according to the identifier of the first interface area, the touch characteristic of the first interface area And the reporting result determined by the second mapping relationship is that the report is reported to the AP, where the feature is not required to be the AP-reactive feature, and the click-slip composite feature. The event content corresponding to the report information, wherein the event content corresponding to the report information is used to indicate to the AP the user operation corresponding to the report information and to instruct the AP to respond to the user operation.
结合第三方面的第二种可能的实施方式,在第三方面的第三种可能的实施方式中,若所述MCU根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则所述MCU,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报点击事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件;With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, if the MCU determines, according to the identifier of the first interface, the touch characteristic of the first interface region is The MCU is specifically configured to determine the first according to the identifier of the first interface area, in the touch characteristic, in addition to the feature that does not need the AP response characteristic or the click-slip composite feature. When the touch characteristic of the interface area is a click characteristic, the report result determined according to the second mapping relationship is to report a click event to the AP; or, specifically, to determine, according to the identifier of the first interface area, When the touch characteristic of the first interface area is a left-right sliding characteristic, the report result determined according to the second mapping relationship is to report a left-right sliding event to the AP; or, specifically, according to the first interface. When the identifier of the area determines that the touch characteristic of the first interface area is an up-and-down sliding characteristic, the report result determined according to the second mapping relationship is reported to the AP. Moving events;
其中,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应;所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出第二响应;所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第三响应。The click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation; the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations; the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair The up and down sliding operation makes a third response.
结合第三方面至第三方面的第三种可能的实施方式中的任一项,在第三方面的第四种可能的实施方式中,所述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;则所述MCU,还用于在接收所述TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。 With reference to any one of the third aspect to the third possible implementation manner of the third aspect, in the fourth possible implementation manner of the third aspect, the interface area information further includes: each of the interface areas The third mapping relationship between the identifier and the touch speed recognition operation and the TP gesture recognition operation; the MCU is further configured to receive the report information reported by the TP processor, and determine according to the first mapping relationship After the location information of the current interface is located in the first interface area, determining, according to the identifier of the first interface area and the third mapping relationship, whether to perform the touch speed recognition operation and the TP Gesture recognition operation.
结合第三方面至第三方面的第四种可能的实施方式中的任一项,在第三方面的第五种可能的实施方式中,所述MCU,还用于在获取当前界面的界面区域信息之后,根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。With reference to any one of the third aspect to the fourth possible implementation manner of the third aspect, in the fifth possible implementation manner of the third aspect, the MCU is further configured to acquire an interface area of the current interface. After the information, the asynchronous sampling rate conversion ASRC parameter is configured for each of the interface areas according to the touch characteristic of each of the interface areas, where the ASRC parameter is used to filter out the coordinate in the report information that the change trend is less than a preset threshold. information.
结合第三方面的第五种可能的实施方式,在第三方面的第六种可能的实施方式中,所述MCU,还用于在根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。With reference to the fifth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, the MCU is further configured to determine, according to the first mapping relationship, that the report information corresponds to After the location of the current interface is located in the first interface region, the coordinate information in the report information that is smaller than the preset threshold is filtered according to the ASRC parameter corresponding to the first interface region.
本发明实施例提供的触摸屏报点数量的控制方法和终端,通过MCU获取包含有第一映射关系和第二映射关系的当前界面的界面区域信息,并在MCU接收到TP处理器上报的报点信息后,根据该第一映射关系确定该报点信息对应在当前界面的位置位于第一界面区域内,进而MCU根据该第一界面区域的标识以及第二映射关系确定该第一界面区域对应的上报结果。本发明实施例提供的方法,通过MCU对TP处理器上报的报点信息进行判断,将部分冗余的报点信息进行过滤,从而无需AP对该冗余的报点信息进行处理,降低了AP的功耗,节省了系统的资源。The method and the terminal for controlling the number of the touch screens of the touch screen provided by the embodiment of the present invention acquire the interface area information of the current interface including the first mapping relationship and the second mapping relationship, and receive the report points reported by the TP processor in the MCU. After the information, the location of the current interface is determined to be located in the first interface area according to the first mapping relationship, and the MCU determines, according to the identifier of the first interface area and the second mapping relationship, the first interface area. Report the results. The method provided by the embodiment of the present invention determines the report information reported by the TP processor through the MCU, and filters the partially redundant report information, so that the AP does not need to process the redundant report information, thereby reducing the AP. The power consumption saves the resources of the system.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明提供的触摸屏报点数量的控制方法实施例一的流程示意图;FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a method for controlling a number of touch screens for a touch screen according to the present invention;
图2为本发明提供的界面示意图一;2 is a schematic diagram 1 of an interface provided by the present invention;
图3为本发明提供的触摸屏报点数量的控制方法实施例二的流程示意图;FIG. 3 is a schematic flowchart diagram of Embodiment 2 of a method for controlling the number of the touch screens of the touch screen provided by the present invention;
图4为本发明提供的界面示意图二; Figure 4 is a schematic diagram 2 of the interface provided by the present invention;
图5为本发明提供的触摸屏报点数量的控制方法实施例三的流程示意图;FIG. 5 is a schematic flowchart diagram of Embodiment 3 of a method for controlling the number of a touch screen report points according to the present invention;
图6为本发明提供的触摸屏报点数量的控制方法实施例四的流程示意图;FIG. 6 is a schematic flowchart diagram of Embodiment 4 of a method for controlling a number of touch screens for a touch screen according to the present invention;
图7为本发明提供的终端实施例一的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention;
图8为本发明提供的终端实施例二的结构示意图;FIG. 8 is a schematic structural diagram of Embodiment 2 of a terminal provided by the present invention;
图9为本发明提供的终端实施例三的结构示意图;9 is a schematic structural diagram of Embodiment 3 of a terminal provided by the present invention;
图10为本发明提供的终端实施例四的结构示意图。FIG. 10 is a schematic structural diagram of Embodiment 4 of a terminal provided by the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例所涉及的终端,可以包括但不限于手机、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑、便携设备(例如,便携式计算机)等移动通讯设备,也包括自动柜员机(Automatic Tel ler Machine,ATM)等具有触摸屏的设备,还可以包括即具有触摸屏也具有物理按键的终端,本发明实施例并不限定。The terminal involved in the embodiments of the present invention may include, but is not limited to, a mobile communication device such as a mobile phone, a personal digital assistant (PDA), a tablet computer, a portable device (for example, a portable computer), and an automatic teller machine (Automatic). A device with a touch screen, such as a Tel ler machine (ATM), may also include a terminal having a touch screen and a physical button, which is not limited in the embodiment of the present invention.
本发明实施例涉及的方法,旨在解决现有技术中TP的报点数量无法控制,只要用户在TP上进行了操作,均需要AP对TP处理器上报的报点信息进行处理,从而使得AP功耗增加,系统资源浪费的技术问题。The method of the embodiment of the present invention is to solve the problem that the number of the TPs in the prior art cannot be controlled. As long as the user performs the operation on the TP, the AP needs to process the report information reported by the TP processor, thereby making the AP Technical problems of increased power consumption and wasted system resources.
图1为本发明提供的触摸屏报点数量的控制方法实施例一的流程示意图。本实施例涉及的是在终端内部增加一微处理器(Microcontroller Unit,简称MCU),当TP处理器根据用户的操作得到一报点信息后(报点信息即坐标信息),通过MCU对TP上报的报点信息进行判断,以避免TP处理器向AP上报冗余的报点信息导致AP功耗增加的具体过程。如图1所示,该方法包括:FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a method for controlling a number of touch screens for a touch screen according to the present invention. In this embodiment, a microprocessor (Microcontroller Unit, MCU for short) is added to the terminal. When the TP processor obtains a report information according to the operation of the user (the report information is coordinate information), the TP is reported to the TP through the MCU. The reporting information is used to determine the specific process of the AP power consumption increase by reporting the redundant reporting information to the AP by the TP processor. As shown in Figure 1, the method includes:
S101:MCU获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所 述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为所述MCU不向应用处理器AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容,所述界面区域的标识携带所述界面区域的触摸特性。S101: The MCU acquires interface area information of the current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier and each of the interface areas. a first mapping relationship between the coordinate information of the interface area, and a second mapping relationship between the identifier of each of the interface areas and a report result corresponding to each of the interface areas; The MCU does not report to the application processor AP, or the MCU reports the content reported to the AP and reports to the AP, and the identifier of the interface area carries the touch characteristics of the interface area.
具体的,当用户在终端的触摸屏上进行操作时,该用户所操作的当前界面可以包括至少一个界面区域,每个界面区域具有各自的触摸特性,这里的触摸特性可以为点击特性或者滑动特性等。例如,参见图2所示的新建信息的界面,该界面上包括了33个界面区域,分别为界面区域1、界面区域2、界面区域3、界面区域4、……、界面区域32和界面区域33,其中,界面区域1具有滑动特性,界面区域2和界面区域5具有无需AP响应的特性,剩余的其他界面区域均具有点击特性,并且每个界面区域均具有自己的标识,每个界面区域的标识携带该界面区域的触摸特性。因此,当用户在当前界面进行操作时,MCU会主动获取用户所操作的当前界面的界面区域信息。该界面区域信息可以包括当前界面下的每个界面区域的标识与每个界面区域的坐标信息之间的第一映射关系,以及,当前界面下的每个界面区域的标识和每个界面区域对应的上报结果之间的第二映射关系。可选的,每个界面区域对应的上报结果可以为MCU不向AP上报,或者,还可以为MCU向AP上报以及向AP上报的具体内容。需要说明的是,假设上报结果为MCU向AP上报,那么MCU向AP上报的具体内容可以是具体的用户操作所对应的坐标信息,还可以是用户在当前界面上的具体操作事件。Specifically, when the user operates on the touch screen of the terminal, the current interface operated by the user may include at least one interface region, each interface region having a respective touch characteristic, where the touch characteristic may be a click characteristic or a sliding characteristic. . For example, refer to the interface for creating new information shown in FIG. 2, which includes 33 interface areas, namely, interface area 1, interface area 2, interface area 3, interface area 4, ..., interface area 32, and interface area. 33, wherein the interface area 1 has a sliding characteristic, the interface area 2 and the interface area 5 have characteristics that do not require an AP response, and the remaining other interface areas have a click characteristic, and each interface area has its own identification, and each interface area The identifier carries the touch characteristics of the interface area. Therefore, when the user operates on the current interface, the MCU actively acquires the interface area information of the current interface operated by the user. The interface area information may include a first mapping relationship between an identifier of each interface area under the current interface and coordinate information of each interface area, and an identifier of each interface area under the current interface and corresponding to each interface area. The second mapping relationship between the reported results. Optionally, the reporting result corresponding to each interface area may be that the MCU does not report to the AP, or may be reported to the AP by the MCU and reported to the AP. It should be noted that, if the reported result is reported by the MCU to the AP, the specific content reported by the MCU to the AP may be the coordinate information corresponding to the specific user operation, or may be a specific operation event of the user on the current interface.
可选的,上述MCU所获取的当前界面的界面区域信息,可以是终端的上层应用发送给MCU的,还可以是MCU根据当前界面的界面区域直接获取的。Optionally, the interface area information of the current interface acquired by the MCU may be sent to the MCU by the upper layer application of the terminal, or may be directly obtained by the MCU according to the interface area of the current interface.
S102:MCU接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内。S102: The MCU receives the report information reported by the touch screen TP processor, and determines that the location of the report information corresponding to the current interface is located in the first interface area according to the first mapping relationship.
具体的,当MCU获取到当前界面的界面区域信息之后,用户在当前界面上的操作可以被TP处理器识别成报点信息,然后,TP处理器上报该报点信息给MCU。因而,当MCU接收到该报点信息后,会结合上述第一映射关系中的每个界面区域的坐标信息确定TP处理器所上报的该报点信息对应在当前界面的位置具体位于哪一个界面区域内。当MCU判断上述报点信息对应在当前界面的位置位于第一界面区域后,执行S103。 Specifically, after the MCU obtains the interface area information of the current interface, the operation of the user on the current interface may be recognized by the TP processor as the report point information, and then the TP processor reports the report information to the MCU. Therefore, when the MCU receives the report information, it determines, according to the coordinate information of each interface region in the first mapping relationship, which interface the report information reported by the TP processor corresponds to at the current interface. within the area. After the MCU determines that the location information corresponding to the current interface is located in the first interface area, S103 is performed.
需要说明的是,本发明实施例涉及的MCU,可以是独立的器件,也可以是集成在TP处理器内部的一个微控制单元。It should be noted that the MCU involved in the embodiment of the present invention may be an independent device or a micro control unit integrated in the TP processor.
S103:MCU根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。S103: The MCU determines, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
具体的,当MCU判断上述报点信息对应在当前界面的位置位于第一界面区域后,会根据该第一界面区域的标识对照上述第二映射关系,获得第一界面区域对应的上报结果,即根据该第一界面区域的触摸特性和上述第二映射关系确定MCU需不需要向AP上报,或者在确定MCU需要上AP上报时所上报的具体内容。Specifically, the MCU determines that the location information corresponding to the current interface is located in the first interface area, and compares the identifier of the first interface area with the second mapping relationship to obtain a report result corresponding to the first interface area, that is, And determining, according to the touch characteristic of the first interface area and the second mapping relationship, that the MCU does not need to report to the AP, or the specific content that is reported when the MCU needs to report the AP.
例如,假设用户在界面区域2上进行了点击操作,TP处理器根据该点击操作获得该该点击操作所对应的报点信息。之后,TP处理器将该点击操作对应的报点信息上报给MCU,由MCU根据该报点信息判断是否需要向AP上报。因此,当MCU接收到TP处理器上报的该报点信息后,MCU根据上述第一映射关系中的每个界面区域的坐标信息确定该报点信息位于哪一个界面区域的坐标范围内,当MCU判断该报点信息位于第一界面区域的坐标范围内,则确定该报点信息对应在当前界面上的位置位于第一界面区域内。因此,MCU根据该第一界面区域的标识和上述第二映射关系确定出该第一界面区域标识对应的上报结果(即确定出上述报点信息对应的上报结果)。假设MCU根据上述第二映射关系确定出上述报点信息对应的上报结果为不需要MCU向AP上报,则此时MCU就不用向AP上报该报点信息,从而AP无需对该报点信息进行处理,节省了AP的功耗和系统资源,并且,这样的处理也不会影响AP对用户操作的响应。这是因为,在现有技术中,如果用户点击了界面区域2,TP处理器会将该点击操作的具体报点信息上报给AP,然后AP对该坐标信息进行处理后确定无需对该用户的点击操作做出响应,但是在本发明实施例中,因为有MCU的判断过程,MCU根本无需向AP上报该报点信息,因此AP也无需做任何处理,故AP也就无需对用户在界面区域2上的点击操作做出响应。也就是说,同样的点击操作,同样的AP处理结果,但是现有技术中需要AP对报点信息进行处理,但是本发明实施例中,因为有MCU的判断筛选,AP无需对该报点信息进行处理。因此,本发明实施例提供的方法,节省了AP的功耗和系统资源。 For example, if the user performs a click operation on the interface area 2, the TP processor obtains the report information corresponding to the click operation according to the click operation. Then, the TP processor reports the report information corresponding to the click operation to the MCU, and the MCU determines whether it needs to report to the AP according to the report information. Therefore, after the MCU receives the report information reported by the TP processor, the MCU determines, according to the coordinate information of each interface region in the first mapping relationship, which coordinate region the report information is located in, and when the MCU It is determined that the report information is located in the coordinate range of the first interface area, and it is determined that the location of the report information corresponding to the current interface is located in the first interface area. Therefore, the MCU determines the report result corresponding to the identifier of the first interface area according to the identifier of the first interface area and the second mapping relationship, that is, the report result corresponding to the report information is determined. It is assumed that the MCU determines that the reporting result corresponding to the foregoing report information is that the MCU does not need to report the report to the AP, and the MCU does not need to report the report information to the AP, so that the AP does not need to process the report information. The AP's power consumption and system resources are saved, and such processing does not affect the AP's response to user operations. The reason is that, in the prior art, if the user clicks on the interface area 2, the TP processor reports the specific report information of the click operation to the AP, and then the AP processes the coordinate information to determine that the user does not need to In the embodiment of the present invention, the MCU does not need to report the report information to the AP at all, because the AP does not need to perform any processing on the AP, so the AP does not need to be in the interface area. The click operation on 2 responds. That is to say, the same click operation, the same AP processing result, but the AP needs to process the report information in the prior art. However, in the embodiment of the present invention, the AP does not need to report the report information because of the MCU's judgment screening. Process it. Therefore, the method provided by the embodiment of the present invention saves power consumption and system resources of the AP.
本发明实施例提供的触摸屏报点数量的控制方法,通过MCU获取包含有第一映射关系和第二映射关系的当前界面的界面区域信息,并在MCU接收到TP处理器上报的报点信息后,根据该第一映射关系确定该报点信息对应在当前界面的位置位于第一界面区域内,进而MCU根据该第一界面区域的标识以及第二映射关系确定该第一界面区域对应的上报结果。本发明实施例提供的方法,通过MCU对TP处理器上报的报点信息进行判断,将部分冗余的报点信息进行过滤,从而无需AP对该冗余的报点信息进行处理,降低了AP的功耗,节省了系统的资源。The method for controlling the number of the touch screen report points provided by the embodiment of the present invention obtains the interface area information of the current interface including the first mapping relationship and the second mapping relationship by using the MCU, and after the MCU receives the report information reported by the TP processor, Determining, according to the first mapping relationship, that the location of the current interface is located in the first interface area, and the MCU determines, according to the identifier of the first interface area and the second mapping relationship, the report result corresponding to the first interface area. . The method provided by the embodiment of the present invention determines the report information reported by the TP processor through the MCU, and filters the partially redundant report information, so that the AP does not need to process the redundant report information, thereby reducing the AP. The power consumption saves the resources of the system.
图3为本发明提供的触摸屏报点数量的控制方法实施例二的流程示意图。本实施例涉及的是MCU获取上述界面区域信息的具体过程。在上述实施例一的基础上,进一步地,参见图3所示,上述S101具体包括:FIG. 3 is a schematic flowchart diagram of Embodiment 2 of a method for controlling the number of touch screens of the touch screen provided by the present invention. This embodiment relates to a specific process for the MCU to obtain the information about the interface area. On the basis of the foregoing embodiment 1, further, referring to FIG. 3, the foregoing S101 specifically includes:
S201:MCU根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性。S201: The MCU divides the current interface into at least one interface area according to a touch characteristic, and establishes an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; wherein the touch characteristic includes: no AP response required At least one of a characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic.
具体的,当用户在当前界面操作时,MCU实时获取当前界面,并根据触摸特性将当前界面划分为至少一个界面区域,并根据每个界面区域的触摸特性为所划分的每个界面区域建立相应的标识,该每个界面区域的标识中可以携带该界面区域的触摸特性,即通过该标识就可以确定该界面区域的触摸特性。可选的,该标识可以为具体的数字比特,还可以为其他的具有界面区域的触摸特性识别度的标签。上述MCU将当前界面划分为至少一个界面区域时所使用的触摸特性可以为包括无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种,该点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性。例如,参见图2所示的例子,因为界面区域1具有上下滑动特性,因此MCU将其划分为一个界面区域;界面区域2和界面区域5具有无需AP响应特性,因此MCU将界面区域2划分为一个界面区域,将界面区域5划分为一个界面区域(当然,也可以将界面区域2和界面区域5划分为一个界面区域,这里只是简单地举例);图2中剩余的其他界面均具有点击特性,因此MCU也将其对应划分为多个界 面区域。Specifically, when the user operates on the current interface, the MCU obtains the current interface in real time, and divides the current interface into at least one interface region according to the touch characteristics, and establishes corresponding information for each of the divided interface regions according to the touch characteristics of each interface region. The identifier of each interface area may carry the touch characteristic of the interface area, that is, the touch characteristic of the interface area may be determined by the identifier. Optionally, the identifier may be a specific digital bit, and may also be other labels with a touch characteristic identifier of the interface area. The touch characteristic used when the MCU divides the current interface into at least one interface area may include at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic, and the click sliding composite The characteristics are a combination of click characteristics, up and down sliding characteristics, and left and right sliding characteristics. For example, referring to the example shown in FIG. 2, since the interface area 1 has an up-and-down sliding characteristic, the MCU divides it into an interface area; the interface area 2 and the interface area 5 have no AP response characteristics, so the MCU divides the interface area 2 into An interface area divides the interface area 5 into an interface area (of course, the interface area 2 and the interface area 5 may also be divided into one interface area, which is simply exemplified here); the remaining interfaces in FIG. 2 have click characteristics. , so the MCU also divides its correspondence into multiple boundaries. Area.
需要说明的是,上述MCU在根据触摸特性对当前界面进行划分时,所划分的每个界面区域对应在AP上只有一个响应结果,即用户在一个界面区域上进行的任何操作,AP只有一种响应结果。It should be noted that, when the MCU divides the current interface according to the touch characteristics, each of the divided interface areas has only one response result corresponding to the AP, that is, any operation performed by the user on one interface area, and only one AP is used. Response result.
例如,继续参见上述图2所示的例子,对于界面区域2,无论用户点击界面区域2内的哪一个位置,虽然TP处理器根据用户在界面区域2内的任一个位置的操作,其上报给MCU的报点信息可能不同,但是MCU根据这些不同的报点信息所确定的结果只有一个,即这些报点信息对应在当前界面的位置均位于界面区域2内,那么MCU根据第二映射关系确定上报结果为“针对这些报点信息均不会向AP上报任何内容”,从而使得AP针对该界面区域2内的任何用户操作均不会响应,即AP只有一种响应结果(即AP的响应结果就是不响应界面区域2的任何用户操作)。For example, referring to the example shown in FIG. 2 above, for the interface area 2, regardless of which position in the interface area 2 the user clicks, although the TP processor operates according to the operation of the user in any position in the interface area 2, it is reported to The MCU's report information may be different, but the MCU determines only one result according to the different report information, that is, the location information of the report information is located in the interface area 2, and the MCU determines according to the second mapping relationship. The result of the report is that "there is no content reported to the AP for the information of the report", so that the AP does not respond to any user operation in the interface area 2, that is, the AP has only one response result (that is, the response result of the AP) It is not responding to any user operation of interface area 2).
又例如,继续参见上述图2所示的例子,对于界面区域4,无论用户点击界面区域4内的哪一个位置,虽然TP处理器根据用户在界面区域4内的任一个位置的操作,其上报给MCU的报点信息可能不同,但是MCU根据这些不同的报点信息所确定的结果只有一个,即这些报点信息对应在当前界面的位置均位于界面区域4内,那么MCU根据第二映射关系确定上报结果为“针对这些报点信息均会向AP上报”。可选的,MCU向AP上报的内容可以为用户在界面区域4上的具体点击坐标,还可以为“用户点击了联系人图标”这一事件内容。需要说明的是,本发明对该事件内容的形式并不做限定,只要AP能够根据该事件内容获知用户在当前界面上的具体操作事件,并可以根据用户的具体操作事件做出正确的响应即可。当AP接收到MCU上报的内容之后,AP就会做出响应,即向用户显示出通讯录中的联系人信息。由此可知,界面区域4对应的AP的响应结果只有一种,即向用户显示出通讯录中的联系人信息。For another example, referring to the example shown in FIG. 2 above, for the interface area 4, regardless of which position in the interface area 4 the user clicks, although the TP processor operates according to the operation of the user in any position in the interface area 4, The MCU's report information may be different, but the MCU determines only one result according to the different report information, that is, the location information of the report information is located in the interface area 4, and the MCU is based on the second mapping relationship. The result of the report is as follows: "The information for these reports will be reported to the AP." Optionally, the content reported by the MCU to the AP may be a specific click coordinate of the user on the interface area 4, or may be an event content of “the user clicks the contact icon”. It should be noted that the present invention does not limit the form of the content of the event, as long as the AP can learn the specific operation event of the user on the current interface according to the content of the event, and can correctly respond according to the specific operation event of the user. can. After the AP receives the content reported by the MCU, the AP responds by displaying the contact information in the address book to the user. It can be seen that the response result of the AP corresponding to the interface area 4 is only one type, that is, the contact information in the address book is displayed to the user.
再例如,继续参见上述图2所示的例子,除去上述界面区域1、界面区域2和界面区域5,剩余的其他具有点击特性的界面区域,虽然这些界面区域具有相同的点击特性,但是因为针对这些剩余的其他界面区域中的每个界面区域,AP的响应结果是不同的,例如,对于界面区域3和界面区域4,用户在这两个界面区域内的操作,AP的响应结果就是不同的,故,虽然二者均 具有点击特性,但是在划分时依然要独立划分为两个界面区域。For example, continuing to refer to the example shown in FIG. 2 above, the interface area 1, the interface area 2, and the interface area 5 are removed, and other remaining interface areas having click characteristics, although these interface areas have the same click characteristics, The response result of the AP is different for each of the remaining interface areas. For example, for the interface area 3 and the interface area 4, the user's response in the two interface areas is different. , therefore, although both It has a click feature, but it still has to be divided into two interface areas independently.
S202:MCU根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系。S202: The MCU establishes the first mapping relationship according to the obtained coordinate information of each of the interface areas and the identifier of each of the interface areas.
具体的,当MCU根据触摸特性将当前界面划分为至少一个界面区域,并为每个界面区域建立标识后,MCU会获取该每个界面区域的坐标信息,并根据上述每个界面区域的标识建立第一映射关系。可选的,该第一映射关系可以为表格形式的映射关系,还可以为其他形式的映射关系,本发明对该第一映射关系的形式并不做限定。Specifically, when the MCU divides the current interface into at least one interface area according to the touch characteristic, and establishes an identifier for each interface area, the MCU acquires coordinate information of each interface area, and establishes according to the identifier of each interface area. The first mapping relationship. Optionally, the first mapping relationship may be a mapping relationship in a tabular form, and may also be a mapping relationship in another form. The form of the first mapping relationship is not limited by the present invention.
S203:MCU根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系,所述上报结果集合包括至少一个上报结果。S203: The MCU establishes the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
具体的,当MCU实时获取用户操作的当前界面后,MCU根据预先存储的每个界面与上报结果集合的映射关系确定出该当前界面对应的上报结果集合,该上报结果集合包括了该当前界面下的所有界面区域对应的上报结果,即该上报结果集合中可以包括MCU不向AP上报,以及,MCU向AP上报报点信息对应的事件内容。需要说明的是,该MCU向AP上报报点信息对应的事件内容可以包括多种事件内容。故,当MCU根据触摸特性将当前界面划分为至少一个界面区域,并为每个界面区域建议标识后,MCU就会根据该当前界面所对应的上报结果集合以及每个界面区域的触摸特性,为每个界面区域的标识对应一个上报结果,获得第二映射关系。Specifically, after the MCU obtains the current interface of the user operation in real time, the MCU determines the report result set corresponding to the current interface according to the mapping relationship between each interface and the report result set, and the report result set includes the current interface. The report result corresponding to all the interface areas, that is, the report result set may include that the MCU does not report to the AP, and the MCU reports the event content corresponding to the point information to the AP. It should be noted that the event content corresponding to the report point information reported by the MCU to the AP may include multiple event contents. Therefore, when the MCU divides the current interface into at least one interface area according to the touch characteristics, and proposes an identifier for each interface area, the MCU determines, according to the report result set corresponding to the current interface and the touch characteristics of each interface area, The identifier of each interface area corresponds to a report result, and the second mapping relationship is obtained.
综上,MCU就获取了当前界面的界面区域信息。故,在上述实施例一二和实施例二的基础上,上述S103具体可以分为三种不同的场景,分别为:In summary, the MCU obtains the interface area information of the current interface. Therefore, on the basis of the foregoing embodiment 1-2 and the second embodiment, the foregoing S103 can be specifically divided into three different scenarios, namely:
第一种:若MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性,则MCU根据所述第二映射关系确定的所述上报结果为不向所述AP上报。The first type: if the MCU determines that the touch characteristic of the first interface area is that the AP response characteristic is not required, the MCU determines that the report result is not in accordance with the second mapping relationship. The AP is reported.
具体的,第一种场景可以参见上述实施例一和实施例二中的针对图2中的界面区域2所举的例子,在此不再赘述。该第一种实现方式通过MCU的判断筛选,AP无需对冗余的报点信息进行处理,降低了AP的功耗,节省了系统的资源。Specifically, for the first scenario, refer to the examples in the foregoing Embodiment 1 and Embodiment 2 for the interface area 2 in FIG. 2, and details are not described herein again. The first implementation manner is filtered by the MCU, and the AP does not need to process the redundant report information, which reduces the power consumption of the AP and saves resources of the system.
第二种:若MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性,则MCU根据所述第二映射关系确定的所述上 报结果为向所述AP上报所述报点信息。The second type is: if the MCU determines, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click-slip composite characteristic, the MCU determines the upper end according to the second mapping relationship. The result of the report is that the report information is reported to the AP.
具体的,当MCU根据TP处理器上报的报点信息确定该报点信息对应在当前界面的位置位于第一界面区域内时,MCU根据该第一界面区域的标识确定该第一界面区域的触摸特性。当MCU根据第一界面区域的标识确定该第一界面区域的触摸特性为点击滑动复合特性时,MCU根据上述第二映射关系确定的该第一界面区域对应的上报结果为“向AP上报具体的报点信息”。这是因为,当第一界面区域的触摸特性为点击滑动复合特性时,说明用户在该第一界面区域上进行了复杂的操作(该复杂的操作包括点击操作、上下滑动操作、左右滑动操作三者组合的操作,或者包括两种组合的操作),因此,需要MCU将该具体的报点信息上上报给AP,由AP对该报点信息对应的复杂的操作进行识别和响应。例如,参见图4所示的界面,该界面中包括了界面区域A,该界面区域A为笔画输入界面区域,用户在该界面区域A上的操作较为复杂,因此,当用户在该界面区域A进行了笔画输入后,MCU根据TP处理器上报的报点信息确定该报点信息对应在当前界面的位置位于界面区域A内(界面区域A即就是第一界面区域,其标识为A),然后MCU根据第一界面区域的标识确定该第一界面区域的触摸特性为点击滑动复合特性,则MCU根据上述第二映射关系确定的该界面区域A对应的上报结果为“向AP上报具体的报点信息”,进而使得AP可以对该报点信息对应的复杂的用户操作进行响应,例如在当前界面上显示用户进行的笔画输入所对应的文字。Specifically, when the MCU determines, according to the report information reported by the TP processor, that the location information is located in the first interface area, the MCU determines the touch of the first interface area according to the identifier of the first interface area. characteristic. When the MCU determines that the touch characteristic of the first interface area is a click-slip composite feature according to the identifier of the first interface area, the report result corresponding to the first interface area determined by the MCU according to the second mapping relationship is “reporting the specific to the AP. Report information." This is because when the touch characteristic of the first interface area is a click-slip composite characteristic, the user performs a complicated operation on the first interface area (the complicated operation includes a click operation, an up-and-down sliding operation, and a left-right sliding operation. The operation of the combination, or the combination of the two operations, is required to report the specific report information to the AP, and the AP recognizes and responds to the complex operation corresponding to the report information. For example, referring to the interface shown in FIG. 4, the interface includes an interface area A, which is a stroke input interface area, and the operation of the user on the interface area A is complicated. Therefore, when the user is in the interface area A, After the stroke input is performed, the MCU determines, according to the report information reported by the TP processor, that the location information corresponding to the current interface is located in the interface area A (the interface area A is the first interface area, and the identifier is A), and then The MCU determines, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click-slip composite feature, and the report result corresponding to the interface area A determined by the MCU according to the second mapping relationship is “reporting a specific report point to the AP. The information, in turn, enables the AP to respond to complex user operations corresponding to the report information, such as displaying the text corresponding to the stroke input by the user on the current interface.
也就是说,不同于现有技术的是,本发明MCU向AP上报具体的报点信息,是经过了MCU的判断,只有MCU在判断报点信息对应的界面区域的触摸特性为点击滑动复合特性时,MCU才会向AP上报具体的报点信息,而不是任一种情况下都向AP上报,因而,本场景中正是由于MCU的判断筛选,才使得AP可以节省部分的功耗。That is to say, unlike the prior art, the MCU of the present invention reports the specific report information to the AP, which is judged by the MCU, and only the touch characteristic of the interface area corresponding to the MCU in determining the report information is the click slide composite feature. In this case, the MCU reports the specific report information to the AP, instead of reporting to the AP in any case. Therefore, in this scenario, the MCU can save part of the power consumption due to the MCU's judgment and screening.
第三种:若MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的用户操作以及指示所述AP对所述用户操作做出响应。 a third type: determining, by the MCU, the touch characteristic of the first interface area according to the identifier of the first interface area as any one of the touch characteristics except the non-AP response characteristic and the click sliding composite characteristic And the event content that is determined by the MCU according to the second mapping relationship is that the event content corresponding to the report information is reported to the AP, where the event content corresponding to the report information is used to The AP indicates a user operation corresponding to the report information and indicates that the AP responds to the user operation.
具体的,当MCU根据TP处理器上报的报点信息确定该报点信息对应在当前界面的位置位于第一界面区域内,则MCU根据该第一界面区域的标识确定该第一界面区域的触摸特性,当MCU确定该第一界面区域的触摸特性为上述触摸特性中除所述无需AP响应特性、点击滑动复合特性之外的任一特性时,则MCU根据上述第二映射关系确定的上报结果为MCU向AP上报报点信息对应的事件内容。可选的,该报点信息对应的事件内容可以是对用户在某个界面区域上的操作的具体描述。例如,假设TP处理器上报的报点信息为(x1,y1),则MCU根据该报点信息以及第一映射关系确定其对应在当前界面上的位置低于第一界面区域内,并且当MCU根据该第一界面区域的标识确定该第一界面区域的触摸特性为点击特性时,则MCU最终确定的向AP上报的上报结果为“用户在第一界面区域内进行了点击操作”这一事件内容,并且该事件内容用于指示AP及时对该用户操作做出响应。Specifically, the MCU determines that the location of the current interface is located in the first interface area according to the report information reported by the TP processor, and the MCU determines the touch of the first interface area according to the identifier of the first interface area. And the MCU determines that the touch characteristic of the first interface area is any one of the touch characteristics except the AP response characteristic and the click sliding composite characteristic, and the MCU determines the report result according to the second mapping relationship. The MCU reports the event content corresponding to the point information to the AP. Optionally, the event content corresponding to the report information may be a specific description of the operation of the user on a certain interface area. For example, if the report information reported by the TP processor is (x1, y1), the MCU determines that the location of the corresponding interface on the current interface is lower than the first interface area according to the report information and the first mapping relationship, and when the MCU When the touch characteristic of the first interface area is determined as the click characteristic according to the identifier of the first interface area, the report reported by the MCU to the AP is “the user performs a click operation in the first interface area”. Content, and the event content is used to instruct the AP to respond to the user operation in time.
因此,本场景中,MCU向AP上报报点信息对应的事件内容,而不是具体的报点信息,使得AP无需对报点信息进行识别处理,就可以直接获知用户在哪一个界面区域上发生了什么操作,从而可以及时对该用户的操作做出响应,不仅提升了AP的响应速度,而且更加降低了AP的功耗。Therefore, in this scenario, the MCU reports the event content corresponding to the point information to the AP, instead of the specific report information, so that the AP does not need to identify the processing of the report information, and can directly know which interface area the user has occurred. What operation can respond to the user's operation in time, which not only improves the response speed of the AP, but also reduces the power consumption of the AP.
上述第三种场景的具体可以分为下述A、B、C三种不同的情况,具体为:The specifics of the above third scenario can be divided into three different situations: A, B, and C, which are specifically as follows:
A:若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报点击事件,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应。A: if the MCU determines that the touch characteristic of the first interface area is a click characteristic according to the identifier of the first interface area, the reporting result determined by the MCU according to the second mapping relationship is The AP reports a click event, the click event is used to indicate to the AP that the user operation is a click operation and instruct the AP to make a first response to the click operation.
具体的,上述MCU向AP上报的点击事件,其可以向AP指示用户当前在第一界面区域内具体做了什么操作,以及指示AP及时对用户的操作做出第一响应,使得AP无需对报点信息进行识别处理,就可以直接获知用户在哪一个界面区域上发生了什么操作,从而可以及时对该用户的操作做出响应,不仅提升了AP的响应速度,而且更加降低了AP的功耗。Specifically, the click event reported by the MCU to the AP may indicate to the AP what the user is currently doing in the first interface area, and indicate that the AP responds to the user's operation in a timely manner, so that the AP does not need to report to the AP. By identifying and processing the point information, it is possible to directly know which operation area the user has performed on the interface area, so that the user's operation can be responded in time, which not only improves the response speed of the AP, but also reduces the power consumption of the AP. .
B:若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件,所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出 第二响应。B: if the MCU determines that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, the reporting result determined by the MCU according to the second mapping relationship is The AP reports a left and right sliding event, and the left and right sliding events are used to indicate to the AP that the user operation is a left and right sliding operation and that the AP is made to the left and right sliding operations. Second response.
具体的,假设TP处理器上报给MCU的报点信息为(x1,y1)和(x2,y1),则MCU根据该报点信息以及第一映射关系中每个界面区域的坐标信息确定该报点信息对应在当前界面的位置位于第一界面区域内,当MCU根据该第一界面区域的标识确定第一界面区域的特性为左右滑动特性时,则MCU根据该第一界面区域的标识和第二映射关系确定的该第一界面区域对应的上报结果为“向AP上报左右滑动事件”,该左右滑动事件可以为“用户在第一界面区域内进行了左右滑动操作”,从而使得AP可以根据该左右滑动事件及时对用户的作用滑动操作做出第二响应,进而使得AP无需对报点信息进行识别处理,就可以直接获知用户在哪一个界面区域上发生了什么操作,从而可以及时对该用户的操作做出响应,不仅提升了AP的响应速度,而且更加降低了AP的功耗。Specifically, if the report information reported by the TP processor to the MCU is (x1, y1) and (x2, y1), the MCU determines the report according to the report information and the coordinate information of each interface region in the first mapping relationship. The point information is located in the first interface area corresponding to the current interface. When the MCU determines that the characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, the MCU determines the identifier according to the first interface area. The reporting result corresponding to the first interface area determined by the second mapping relationship is “reporting the left and right sliding events to the AP”, and the left and right sliding events may be “the user performs a left and right sliding operation in the first interface area”, so that the AP can be based on The left and right sliding events timely respond to the user's action sliding operation, so that the AP does not need to identify the processing of the report information, and can directly know which operation area the user has performed on which interface area, so that the user can timely The user's operation responds, which not only improves the response speed of the AP, but also reduces the power consumption of the AP.
需要说明的是,上述例子中的报点信息(x1,y1)和(x2,y1),只是一个示例,用户的左右滑动操作中,纵坐标y1在一定范围内是可以变化的。It should be noted that the report information (x1, y1) and (x2, y1) in the above example are only an example. In the left and right sliding operation of the user, the ordinate y1 may be varied within a certain range.
C:若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件,所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第三响应。C: if the MCU determines that the touch characteristic of the first interface area is an up-and-down sliding characteristic according to the identifier of the first interface area, the reporting result determined by the MCU according to the second mapping relationship is The AP reports an up and down sliding event, and the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and instruct the AP to make a third response to the up and down sliding operation.
具体的,假设TP处理器上报给MCU的报点信息为(x1,y1)和(x1,y2),则MCU根据该报点信息以及第一映射关系中每个界面区域的坐标信息确定该报点信息对应在当前界面的位置位于第一界面区域内,当MCU根据该第一界面区域的标识确定第一界面区域的特性为上下滑动特性时,则MCU根据该第一界面区域的标识和第二映射关系确定的该第一界面区域对应的上报结果为“向AP上报上下滑动事件”,该上下滑动事件可以为“用户在第一界面区域内进行了上下滑动操作”,从而使得AP可以根据该上下滑动事件及时对用户的作用滑动操作做出第三响应,进而使得AP无需对报点信息进行识别处理,就可以直接获知用户在哪一个界面区域上发生了什么操作,从而可以及时对该用户的操作做出响应,不仅提升了AP的响应速度,而且更加降低了AP的功耗。 Specifically, if the report information reported by the TP processor to the MCU is (x1, y1) and (x1, y2), the MCU determines the report according to the report information and the coordinate information of each interface region in the first mapping relationship. The point information corresponds to the position of the current interface in the first interface area. When the MCU determines the characteristic of the first interface area as the up and down sliding characteristic according to the identifier of the first interface area, the MCU determines the identifier according to the first interface area. The reporting result corresponding to the first interface area determined by the second mapping relationship is “upper and lower sliding events reported to the AP”, and the up and down sliding event may be “the user performs an up and down sliding operation in the first interface area”, so that the AP can be based on The up and down sliding event timely responds to the user's action sliding operation, so that the AP does not need to identify and process the report information, and can directly know which operation area the user has performed on which interface area, so that the user can timely The user's operation responds, which not only improves the response speed of the AP, but also reduces the power consumption of the AP.
需要说明的是,上述例子中的报点信息(x1,y1)和(x1,y2),只是一个示例,用户的上下滑动操作中,横坐标x1在一定范围内是可以变化的。It should be noted that the report information (x1, y1) and (x1, y2) in the above example are only an example. In the user's up and down sliding operation, the abscissa x1 can be changed within a certain range.
综上,本发明实施例提供的触摸屏报点数量的控制方法,通过MCU获取包含有第一映射关系和第二映射关系的当前界面的界面区域信息,并在MCU接收到TP处理器上报的报点信息后,根据该第一映射关系确定该报点信息对应在当前界面的位置位于第一界面区域内,进而MCU根据该第一界面区域的标识以及第二映射关系确定该第一界面区域对应的上报结果。本发明实施例提供的方法,通过MCU对TP处理器上报的报点信息进行判断,不仅可以将部分冗余的报点信息进行过滤,还可以将部分报点信息转换成事件的形式提供给AP,因此,其不仅使得AP无需对冗余的报点信息进行处理,而且使得AP可以在部分场景下直接获知用户在哪一个界面区域做了哪一种操作,无需AP对该部分场景下的报点信息进行识别处理,因此,本发明提供的方法,不仅降低了AP的功耗,节省了系统的资源,还提升了AP的响应速度。In summary, the method for controlling the number of the touch screen report points provided by the embodiment of the present invention obtains the interface area information of the current interface including the first mapping relationship and the second mapping relationship by using the MCU, and receives the report reported by the TP processor in the MCU. After the information is obtained, the location of the current interface is determined to be located in the first interface area according to the first mapping relationship, and the MCU determines, according to the identifier of the first interface area and the second mapping relationship, that the first interface area is corresponding. Reported results. The method provided by the embodiment of the present invention can determine the report information reported by the TP processor by using the MCU, and can not only filter the partially redundant report information, but also convert part of the report information into an event form and provide the AP to the AP. Therefore, the AP does not need to process the redundant report information, and the AP can directly learn which interface area the user performs in some scenarios, and does not need the AP to report the part. The point information is used for identification processing. Therefore, the method provided by the present invention not only reduces the power consumption of the AP, but also saves the resources of the system, and also improves the response speed of the AP.
图5为本发明提供的触摸屏报点数量的控制方法实施例三的流程示意图。本实施例涉及的是MCU根据第一界面区域的标识确定第一界面区域的触摸特性,从而根据第一界面区域的触摸特性和第三映射关系确定是否MCU是否执行触摸速度识别操作和TP手势识别操作的具体过程。在上述实施例的基础上,进一步地,在上述S102之后,该方法还可以包括:FIG. 5 is a schematic flowchart diagram of Embodiment 3 of a method for controlling the number of the touch screens of the touch screen provided by the present invention. The embodiment relates to determining, by the MCU, the touch characteristic of the first interface area according to the identifier of the first interface area, thereby determining whether the MCU performs the touch speed recognition operation and the TP gesture recognition according to the touch characteristic of the first interface area and the third mapping relationship. The specific process of operation. On the basis of the foregoing embodiment, further, after the foregoing S102, the method may further include:
S301:MCU根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。S301: The MCU determines, according to the identifier of the first interface area and the third mapping relationship, whether to perform the touch speed recognition operation and the TP gesture recognition operation.
需要说明的是,S301可以与S103同时进行,还可以在S103之前进行。It should be noted that S301 can be performed simultaneously with S103, and can also be performed before S103.
具体的,上述MCU所获取的界面区域信息还可以包括每个界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系,这里的第三映射关系用于表征针对一个界面区域,MCU需不需要执行触摸速度识别操作,或者MCU需不需要执行TP手势识别操作。因此,对于第三映射关系中,对于一个界面区域,当其对应的触摸速度识别操作为1时,表征该界面区域需要MCU执行触摸速度识别操作,当其对应的触摸速度识别操作为0时,表征该界面区域不需要MCU执行触摸速度识别操作,反之亦可;当其对应的TP手势识别操作为1时,表征该界面区域需要MCU执行TP手势识别操作,当其对应 的TP手势识别操作为0时,表征该界面区域不需要MCU执行TP手势识别操作,反之亦可。可选的,该第三映射关系可以是MCU根据每个界面区域的触摸特性建立的每个界面区域的标识和触摸速度识别操作、TP手势识别操作之间的映射关系。可选的,假设当前界面可以分为3个界面区域,分别为界面区域a(界面区域的标识为a,该界面区域具有无需AP响应特性)、界面区域b(界面区域的标识为b,该界面区域具有点击特性)、界面区域c(界面区域的标识为c,该界面区域具有左右滑动特性)、界面区域d(界面区域的标识为d,该界面区域具有点击滑动复合特性),则第三映射关系可以参见下述表1所示:Specifically, the interface area information acquired by the MCU may further include a third mapping relationship between the identifier of each interface area and a touch speed recognition operation and a TP gesture recognition operation, where the third mapping relationship is used to represent an interface. In the area, the MCU does not need to perform the touch speed recognition operation, or the MCU does not need to perform the TP gesture recognition operation. Therefore, for the third mapping relationship, when the corresponding touch speed recognition operation is 1 for an interface area, the MCU is required to perform the touch speed recognition operation when the corresponding touch speed recognition operation is 0, The MCU is not required to perform the touch speed recognition operation, and vice versa; when the corresponding TP gesture recognition operation is 1, the MCU is required to perform the TP gesture recognition operation when the interface area is represented. When the TP gesture recognition operation is 0, the MCU is not required to perform the TP gesture recognition operation, and vice versa. Optionally, the third mapping relationship may be a mapping relationship between an identifier of each interface region established by the MCU according to a touch characteristic of each interface region, a touch speed recognition operation, and a TP gesture recognition operation. Optionally, the current interface can be divided into three interface areas, namely, interface area a (the interface area identifier is a, the interface area has no AP response characteristic), and the interface area b (the interface area identifier is b, The interface area has a click characteristic), the interface area c (the identifier of the interface area is c, the interface area has left and right sliding characteristics), and the interface area d (the identifier of the interface area is d, and the interface area has a click sliding composite characteristic), The three mapping relationship can be seen in Table 1 below:
表1Table 1
界面区域Interface area 触摸速度识别操作Touch speed recognition operation TP手势识别操作TP gesture recognition operation
aa 00 00
bb 00 00
c c 11 11
d d 11 11
例如,当MCU确定TP上报的报点信息对应在当前界面的位置位于界面区域a内(该界面区域a即为第一界面区域),则MCU根据该第一界面区域的标识和第三映射关系,确定MCU无需执行触摸速度识别操作和TP手势识别操作。For example, when the MCU determines that the location information reported by the TP corresponds to the location of the current interface in the interface area a (the interface area a is the first interface area), the MCU determines the identifier and the third mapping relationship according to the first interface area. It is determined that the MCU does not need to perform a touch speed recognition operation and a TP gesture recognition operation.
又例如,当MCU确定TP上报的报点信息对应在当前界面的位置位于界面区域c内(该界面区域c即为第一界面区域),则MCU根据该第一界面区域的标识和第三映射关系,确定MCU需要执行触摸速度识别操作和TP手势识别操作,以获取用户的滑动速度和用户手势对应的滑动轨迹,进而MCU可以将该用户的滑动速度和用户手势对应的滑动轨迹上报给AP,为AP在做出响应时提供参考。For example, when the MCU determines that the report information reported by the TP corresponds to the location of the current interface in the interface area c (the interface area c is the first interface area), the MCU determines the identifier and the third mapping according to the first interface area. The relationship is determined, the MCU needs to perform the touch speed recognition operation and the TP gesture recognition operation to obtain the sliding speed of the user and the sliding track corresponding to the user gesture, and the MCU can report the sliding speed of the user and the sliding track corresponding to the user gesture to the AP. Provide a reference for the AP to respond.
因此,由上述描述可知,这样的处理,可以使得MCU无需对每个界面区域都执行触摸速度识别操作或者TP手势识别操作,提高了MCU的响应速度。Therefore, as can be seen from the above description, such a process can make the MCU not need to perform a touch speed recognition operation or a TP gesture recognition operation for each interface area, thereby improving the response speed of the MCU.
本发明实施例提供的触摸屏报点数量的控制方法,MCU根据第一界面区域的标识确定第一界面区域的触摸特性,从而根据第一界面区域的触摸特性和第三映射关系确定是否MCU是否执行触摸速度识别操作和TP手势识别操 作,使得MCU无需对每个界面区域都执行触摸速度识别操作或者TP手势识别操作,提高了MCU的响应速度。According to the method for controlling the number of the touch screens, the MCU determines the touch characteristics of the first interface area according to the identifier of the first interface area, so as to determine whether the MCU is executed according to the touch characteristics of the first interface area and the third mapping relationship. Touch speed recognition operation and TP gesture recognition operation Therefore, the MCU does not need to perform a touch speed recognition operation or a TP gesture recognition operation for each interface area, thereby improving the response speed of the MCU.
图6为本发明提供的触摸屏报点数量的控制方法实施例四的流程示意图。本实施例涉及的是MCU根据每个界面区域对应的异步采样率转换(Asynchronous Sample Rate Convert,简称ASRC)参数滤除报点信息中变化趋势小于预设阈值的坐标信息的具体过程。该方法包括:FIG. 6 is a schematic flowchart diagram of Embodiment 4 of a method for controlling the number of touch screens of the touch screen provided by the present invention. This embodiment relates to a specific process in which the MCU filters out coordinate information whose change trend is smaller than a preset threshold according to an Asynchronous Sample Rate Convert (ASRC) parameter corresponding to each interface region. The method includes:
S401:MCU获取当前界面的界面区域信息。S401: The MCU acquires interface area information of the current interface.
具体的,S401的执行过程具体可以参见上述实施例中S101的描述,在此不再赘述。For details, refer to the description of S101 in the foregoing embodiment, and details are not described herein again.
S402:MCU根据每个所述界面区域的触摸特性为每个所述界面区域配置ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。S402: The MCU configures an ASRC parameter for each of the interface areas according to the touch characteristic of each of the interface areas, where the ASRC parameter is used to filter out coordinate information in the report information that the change trend is less than a preset threshold.
具体的,MCU在获取到当前界面的界面区域信息之后,MCU根据每个界面区域的标识确定每个界面区域的触摸特性,然后针对每个界面区域的触摸特性为每个界面区域配置ASRC参数。可选的,对于具有“无需AP响应特性”的界面区域,MCU所配置ASRC参数的值较小,相对的,对于具有“点击滑动复合特性”的界面区域,MCU所配置ASRC参数的值较大。Specifically, after acquiring the interface area information of the current interface, the MCU determines the touch characteristics of each interface area according to the identifier of each interface area, and then configures the ASRC parameters for each interface area for the touch characteristics of each interface area. Optionally, for an interface area having “no AP response characteristic”, the value of the ASRC parameter configured by the MCU is small, and the value of the ASRC parameter configured by the MCU is relatively large for the interface area having the “click-slip composite characteristic”. .
S403:MCU根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内。S403: The MCU determines, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area.
具体的,S403的执行过程具体可以参见上述实施例中S102的描述,在此不再赘述。For details, refer to the description of S102 in the foregoing embodiment, and details are not described herein again.
S404:MCU根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。S404: The MCU filters, according to the ASRC parameter corresponding to the first interface area, coordinate information that the change trend in the report information is less than a preset threshold.
具体的,为了更好的理解该步骤,此处可以举一个简单的例子,具体为:假设用户需要在终端上使用画图软件进行画图,且假设用户需要画一条直线,本身只是一个从左往右的滑动,终端的显示屏仅需要显示一条直线即可,但是在滑动时用户手发生了抖动,因此,TP所采集的报点信息应该包括:滑动操作的初始坐标信息、发生抖动时的坐标信息以及滑动操作的截止坐标信息,MCU根据该报点信息确定该报点信息对应在当前界面上的位置位于第一界面区域内,则MCU会根据该第一界面区域对应的 ASRC参数判断该发生抖动时的坐标信息相较于滑动操作的初始坐标信息或者滑动操作的截止坐标信息的变化趋势小于预设阈值,则MCU将该发生抖动时的坐标信息滤除,得到第一报点信息,该第一报点信息包括滑动操作的初始坐标信息和滑动操作的截止坐标信息,使得终端可以根据第一报点信息进行显示,从而无需让终端的显示屏显示不必要的线条,优化了显示系统的处理性能。Specifically, in order to better understand the step, a simple example can be given here, specifically: suppose the user needs to draw using the drawing software on the terminal, and assuming that the user needs to draw a straight line, it is only one from left to right. The sliding of the terminal only needs to display a straight line, but the user's hand is shaken when sliding. Therefore, the information of the report collected by the TP should include: initial coordinate information of the sliding operation and coordinate information when the jitter occurs. And the cutoff coordinate information of the sliding operation, the MCU determines, according to the report information, that the position of the report information corresponding to the current interface is located in the first interface area, and the MCU according to the first interface area The ASRC parameter determines that the coordinate information when the jitter occurs is smaller than the initial coordinate information of the sliding operation or the change of the cutoff coordinate information of the sliding operation is less than a preset threshold, and the MCU filters out the coordinate information when the jitter occurs to obtain the first The report information includes the initial coordinate information of the sliding operation and the cutoff coordinate information of the sliding operation, so that the terminal can display according to the first report point information, so that the display screen of the terminal does not need to display unnecessary lines. Optimized the processing performance of the display system.
S405:MCU根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。S405: The MCU determines, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
具体的,S405的执行过程具体可以参见上述实施例中S103的描述,在此不再赘述。For details, refer to the description of S103 in the foregoing embodiment, and details are not described herein again.
本发明实施例提供的触摸屏报点数量的控制方法,MCU根据每个界面区域对应的ASRC参数,滤除TP处理器上报的报点信息中变化趋势小于预设阈值的坐标信息,得到第一报点信息,从而使得终端可以根据第一报点信息进行显示,从而避免让终端的显示屏进行不必要的显示,优化了显示系统的处理性能。According to the method for controlling the number of the touch screens, the MCU filters out the coordinate information of the report information reported by the TP processor that is smaller than the preset threshold according to the ASRC parameters corresponding to each interface area, and obtains the first report. Point information, so that the terminal can display according to the first report point information, thereby avoiding unnecessary display of the display screen of the terminal, and optimizing the processing performance of the display system.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
图7为本发明提供的终端实施例一的结构示意图。如图7所示,该终端可以包括:获取模块10、第一确定模块11和第二确定模块12。FIG. 7 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention. As shown in FIG. 7, the terminal may include: an obtaining module 10, a first determining module 11, and a second determining module 12.
其中,获取模块10,用于获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为MCU不向应用处理器AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;The obtaining module 10 is configured to obtain interface area information of the current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier of each of the interface areas and each of the interface areas. a first mapping relationship between the coordinate information and a second mapping relationship between the identifier of each of the interface regions and a report result corresponding to each of the interface regions; the reported result is that the MCU does not apply to the application processor The AP reports, or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries the touch characteristic of the interface area;
第一确定模块11,用于接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界 面区域内;The first determining module 11 is configured to receive the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first boundary Within the area;
第二确定模块12,用于根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。The second determining module 12 is configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图8为本发明提供的终端实施例二的结构示意图。在上述图7所示实施例的基础上,进一步地,如图8所示,上述获取模块10,具体包括:界面区域划分单元101、第一映射关系建立单元102和第二映射关系建立单元103。FIG. 8 is a schematic structural diagram of Embodiment 2 of a terminal provided by the present invention. On the basis of the embodiment shown in FIG. 7 , further, as shown in FIG. 8 , the acquiring module 10 includes: an interface region dividing unit 101 , a first mapping relationship establishing unit 102 , and a second mapping relationship establishing unit 103 . .
其中,界面区域划分单元101,用于根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;The interface area dividing unit 101 is configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; The touch characteristics include: at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic. ;
第一映射关系建立单元102,用于根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系;The first mapping relationship establishing unit 102 is configured to establish the first mapping relationship according to the obtained coordinate information of each of the interface regions and an identifier of each of the interface regions;
第二映射关系建立单元103,用于根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系,所述上报结果集合包括至少一个上报结果。The second mapping relationship establishing unit 103 is configured to establish the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
在上述实施例的基础上,进一步地,所述第二确定模块12,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性时,则根据所述第二映射关系确定的所述上报结果为不向所述AP上报;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的 用户操作以及指示所述AP对所述用户操作做出响应。On the basis of the foregoing embodiment, the second determining module 12 is further configured to: if it is determined that the touch characteristic of the first interface area is not required to be an AP response characteristic according to the identifier of the first interface area, The reporting result determined by the second mapping relationship is not reported to the AP; or, specifically, determining, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click sliding composite If the feature is used, the reporting result that is determined according to the second mapping relationship is that the report information is reported to the AP; or, specifically, that the first interface is determined according to the identifier of the first interface area. The touch characteristic of the area is any one of the touch characteristics except the AP response characteristic and the click sliding composite characteristic, and the report result determined according to the second mapping relationship is The AP reports the event content corresponding to the report information, where the event content corresponding to the report information is used to indicate to the AP that the report information corresponds to User operations and instructing the AP to respond to the user operation.
更进一步地,若所述第二确定模块12根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性,Further, if the second determining module 12 determines, according to the identifier of the first interface, that the touch characteristic of the first interface area is the touch characteristic, the click sliding composite characteristic of the touch characteristic Any feature other than
则所述第二确定模块12,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报点击事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件,或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件;The second determining module 12 is configured to: if the touch characteristic of the first interface area is determined as a click characteristic according to the identifier of the first interface area, the report is determined according to the second mapping relationship The result is that the click event is reported to the AP; or, if it is determined that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, determining according to the second mapping relationship The reporting result is that the left and right sliding events are reported to the AP, or specifically, if the touch characteristic of the first interface area is determined to be an up and down sliding characteristic according to the identifier of the first interface area, The reporting result determined by the second mapping relationship is that the up and down sliding event is reported to the AP;
其中,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应;所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出第二响应;所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第三响应。The click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation; the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations; the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair The up and down sliding operation makes a third response.
更进一步地,上述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;则所述第二确定模块12,还用于在所述第一确定模块11接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。Further, the interface area information further includes: a third mapping relationship between the identifier of each of the interface areas and a touch speed recognition operation, and a TP gesture recognition operation; and the second determining module 12 is further configured to The first determining module 11 receives the report information reported by the touch screen TP processor, and determines that the report information corresponds to the location of the current interface in the first interface area according to the first mapping relationship, according to the The identifier of the first interface area and the third mapping relationship determine whether to perform the touch speed recognition operation and the TP gesture recognition operation.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图9为本发明提供的终端实施例三的结构示意图。在上述图7或图8所示实施例的基础上,进一步地,如图9所示,上述终端还可以包括:配置模块13,用于在所述获取模块10获取当前界面的界面区域信息之后,根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标 信息;筛选模块14,用于在所述第一确定模块11根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。FIG. 9 is a schematic structural diagram of Embodiment 3 of a terminal provided by the present invention. On the basis of the foregoing embodiment shown in FIG. 7 or FIG. 8 , further, as shown in FIG. 9 , the terminal may further include: a configuration module 13 , configured to: after the acquiring module 10 acquires interface area information of the current interface, Configuring, according to the touch characteristic of each of the interface areas, an asynchronous sampling rate conversion ASRC parameter for each of the interface areas, where the ASRC parameter is used to filter out the coordinate in the report information that the change trend is less than a preset threshold. The first screening module 14 is configured to determine, according to the first mapping relationship, that the report information corresponds to the location of the current interface in the first interface region, according to the first mapping module The ASRC parameter corresponding to the interface area filters out the coordinate information in the report information that the change trend is less than the preset threshold.
需要说明的是,上述图9所示的结构是基于图8的结构示出的,当然,图9的终端结构也可以基于图7示出。It should be noted that the above-described structure shown in FIG. 9 is shown based on the structure of FIG. 8. Of course, the terminal structure of FIG. 9 can also be based on FIG.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图10为本发明提供的终端实施例四的结构示意图。如图10所示,该终端可以包括:输入设备20、TP处理器21、MCU22、AP23、存储器24和至少一个通信总线25。其中,输入设备20,用于向用户提供输入接口,接收用户输入的操作;TP处理器21,用于将用户在输入设备20上的用户操作转换成为报点信息;通信总线25用于实现元件之间的通信连接;存储器24可能包含高速RAM存储器,也可能还包括非易失性存储器NVM,例如至少一个磁盘存储器,存储器24中可以存储各种用于完成各种处理功能的程序;AP23,用于对用户的操作进行响应。FIG. 10 is a schematic structural diagram of Embodiment 4 of a terminal provided by the present invention. As shown in FIG. 10, the terminal may include an input device 20, a TP processor 21, an MCU 22, an AP 23, a memory 24, and at least one communication bus 25. The input device 20 is configured to provide an input interface to the user, and receive an operation input by the user; the TP processor 21 is configured to convert the user operation of the user on the input device 20 into the report information; and the communication bus 25 is used to implement the component. The communication connection between the two; the memory 24 may include a high speed RAM memory, and may also include a non-volatile memory NVM, such as at least one disk memory, in which various programs for performing various processing functions may be stored; AP23, Used to respond to user actions.
具体的,在本实施例中,上述TP处理器21,用于向所述MCU22上报报点信息;Specifically, in this embodiment, the TP processor 21 is configured to report the information to the MCU 22;
上述MCU22,用于获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为所述MCU22不向所述AP23上报,或者,所述MCU22向所述AP23上报以及向所述AP23上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;The MCU 22 is configured to acquire interface area information of the current interface, where the current interface includes at least one interface area, where the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas. The first mapping relationship between the first mapping relationship and the second mapping relationship between the identifier of each of the interface areas and the report result corresponding to each of the interface areas; the reporting result is that the MCU 22 does not report to the AP23 Or the MCU 22 reports the content reported to the AP 23 and reported to the AP 23; the identifier of the interface area carries the touch characteristic of the interface area;
所述MCU22,还用于接收所述TP处理器21上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内,并根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。 The MCU 22 is further configured to receive the report information reported by the TP processor 21, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area, and And determining, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
进一步地,上述MCU22,用于获取当前界面的界面区域信息,具体包括:Further, the foregoing MCU 22 is configured to obtain interface area information of the current interface, and specifically includes:
所述MCU22,具体用于根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识,并根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系,以及根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系;其中,所述触摸特性包括:无需AP23响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;所述上报结果集合包括至少一个上报结果。The MCU 22 is specifically configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas, and according to each acquired Establishing the first mapping relationship by using the coordinate information of the interface area and the identifier of each of the interface areas, and establishing the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface. The touch characteristic includes: at least one of an AP23 response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a click characteristic, an up and down sliding characteristic, and a left and right a combination of sliding characteristics; the reported result set includes at least one reported result.
进一步地,上述MCU22,用于根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果,具体包括:Further, the MCU 22 is configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area, specifically:
所述MCU22,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP23响应特性时,则根据所述第二映射关系确定的所述上报结果为不向所述AP23上报;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则所述MCU22根据所述第二映射关系确定的所述上报结果为向所述AP23上报所述报点信息;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP23响应特性、所述点击滑动复合特性之外的任一特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP23上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP23指示所述报点信息对应的用户操作以及指示所述AP23对所述用户操作做出响应。The MCU 22 is specifically configured to: if the touch characteristic of the first interface area is determined according to the identifier of the first interface area, the AP23 response characteristic is not required, the report result determined according to the second mapping relationship is not Reporting to the AP23; or, if it is determined that the touch characteristic of the first interface area is a click-slip composite characteristic according to the identifier of the first interface area, the MCU 22 determines according to the second mapping relationship. The report result is that the report information is reported to the AP23; or, specifically, if the touch characteristic of the first interface area is determined according to the identifier of the first interface area, The result of the report that is determined according to the second mapping relationship is that the content of the event corresponding to the report information is reported to the AP23, when the AP23 response characteristic is not required, and the click-slip composite feature is used. The content of the event corresponding to the report information is used to indicate to the AP 23 the user operation corresponding to the report information and to instruct the AP 23 to make a response to the user operation. .
更进一步地,若所述MCU22根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP23响应特性、所述点击滑动复合特性之外的任一特性时,则所述MCU22,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP23上报点击事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右 滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP23上报左右滑动事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP23上报上下滑动事件;Further, if the MCU 22 determines, according to the identifier of the first interface, the touch characteristic of the first interface area is any one of the touch characteristics except the AP23 response characteristic and the click sliding composite characteristic. The MCU 22 is configured to: when the touch characteristic of the first interface area is determined as a click characteristic according to the identifier of the first interface area, the report is determined according to the second mapping relationship. The result is that the click event is reported to the AP23; or, specifically, if the touch characteristic of the first interface area is determined according to the identifier of the first interface area When the sliding characteristic is obtained, the reporting result determined according to the second mapping relationship is to report a left and right sliding event to the AP23; or specifically, if the first interface area is determined according to the identifier of the first interface area When the touch characteristic is the up and down sliding characteristic, the report result determined according to the second mapping relationship is to report an up and down sliding event to the AP 23;
其中,所述点击事件用于向所述AP23指示所述用户操作为点击操作以及指示所述AP23对所述点击操作做出第一响应;所述左右滑动事件用于向所述AP23指示所述用户操作为左右滑动操作以及指示所述AP23对所述左右滑动操作做出第二响应;所述上下滑动事件用于向所述AP23指示所述用户操作为上下滑动操作以及指示所述AP23对所述上下滑动操作做出第三响应。The click event is used to indicate to the AP 23 that the user operation is a click operation and to instruct the AP 23 to make a first response to the click operation; the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP 23 to make a second response to the left and right sliding operations; the up and down sliding event is used to indicate to the AP 23 that the user operation is an up and down sliding operation and indicates that the AP 23 is opposite The up and down sliding operation makes a third response.
更进一步地,所述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;则所述MCU22,还用于在接收所述TP处理器21上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。Further, the interface area information further includes: a third mapping relationship between the identifier of each of the interface areas and a touch speed recognition operation, and a TP gesture recognition operation; and the MCU 22 is further configured to receive the And the report information reported by the TP processor 21, and determining, according to the first mapping relationship, that the location information is located in the first interface area after the location of the current interface, according to the identifier of the first interface area. The third mapping relationship determines whether the touch speed recognition operation and the TP gesture recognition operation are performed.
可选的,所述MCU22,还用于在获取当前界面的界面区域信息之后,根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。Optionally, the MCU 22 is further configured to: after obtaining the interface area information of the current interface, configure an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to a touch characteristic of each of the interface areas, where the ASRC parameter is And filtering the coordinate information that the change trend in the report information is less than a preset threshold.
可选的,所述MCU22,还用于在根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。Optionally, the MCU 22 is further configured to: after determining, according to the first mapping relationship, that the location information corresponds to being located in the first interface area, and corresponding to the first interface area, The ASRC parameter filters coordinate information in the report information whose change trend is less than a preset threshold.
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (21)

  1. 一种触摸屏报点数量的控制方法,其特征在于,包括:A method for controlling the number of touch screens in a touch screen, comprising:
    微处理器MCU获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为所述MCU不向应用处理器AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;The microprocessor MCU acquires interface area information of the current interface; the current interface includes at least one interface area; wherein the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas a first mapping relationship, and a second mapping relationship between the identifier of each of the interface areas and a report result corresponding to each of the interface areas; the reporting result is that the MCU does not report to the application processor AP Or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
    所述MCU接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内;Receiving, by the MCU, the report information reported by the touch screen TP processor, and determining, according to the first mapping relationship, that the location of the report information corresponding to the current interface is located in the first interface area;
    所述MCU根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。The MCU determines a report result corresponding to the first interface area according to the identifier of the first interface area and the second mapping relationship.
  2. 根据权利要求1所述的方法,其特征在于,所述MCU获取当前界面的界面区域信息,包括:The method according to claim 1, wherein the MCU acquires interface area information of the current interface, including:
    所述MCU根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;The MCU divides the current interface into at least one interface area according to a touch characteristic, and establishes an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; wherein the touch characteristic includes: no AP response required At least one of a characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic;
    所述MCU根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系;The MCU establishes the first mapping relationship according to the coordinate information of each of the interface regions acquired and the identifier of each of the interface regions;
    所述MCU根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系,所述上报结果集合包括至少一个上报结果。And the MCU establishes the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
  3. 根据权利要求2所述的方法,其特征在于,所述MCU根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果,具体包括:The method according to claim 2, wherein the determining, by the MCU, the report result corresponding to the first interface area according to the identifier of the first interface area and the second mapping relationship, specifically:
    若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为不向所述AP上报;If the MCU determines that the touch characteristic of the first interface area is an AP response-free characteristic according to the identifier of the first interface area, the report result determined by the MCU according to the second mapping relationship is not The AP reports;
    或者, Or,
    若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息;If the MCU determines that the touch characteristic of the first interface area is a click-slip composite characteristic according to the identifier of the first interface area, the reporting result determined by the MCU according to the second mapping relationship is The AP reports the report information;
    或者,or,
    若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的用户操作以及指示所述AP对所述用户操作做出响应。Determining, by the MCU, the touch characteristic of the first interface area according to the identifier of the first interface area as any one of the touch characteristics except the non-AP response characteristic and the click sliding composite characteristic And the event content that is determined by the MCU according to the second mapping relationship is that the event content corresponding to the report information is reported to the AP, where the event content corresponding to the report information is used to The AP indicates a user operation corresponding to the report information and indicates that the AP responds to the user operation.
  4. 根据权利要求3所述的方法,其特征在于,若所述MCU根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容,具体包括:The method according to claim 3, wherein the MCU determines, according to the identifier of the first interface, that a touch characteristic of the first interface region is the touch characteristic, When the click-slip composite feature is used, the MCU determines the event content corresponding to the report information to the AP according to the report, and the method includes:
    若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报点击事件,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应;If the MCU determines that the touch characteristic of the first interface area is a click characteristic according to the identifier of the first interface area, the reporting result determined by the MCU according to the second mapping relationship is to the AP. Reporting a click event, the click event being used to indicate to the AP that the user operation is a click operation and instructing the AP to make a first response to the click operation;
    或者,or,
    若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件,所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出第二响应;If the MCU determines that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, the report result determined by the MCU according to the second mapping relationship is The AP reports a left and right sliding event, and the left and right sliding events are used to indicate to the AP that the user operation is a left and right sliding operation and that the AP responds to the left and right sliding operations.
    或者,or,
    若所述MCU根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件,所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第 三响应。If the MCU determines that the touch characteristic of the first interface area is an up-and-down sliding characteristic according to the identifier of the first interface area, the report result determined by the MCU according to the second mapping relationship is The AP reports an up and down sliding event, where the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and that the AP is instructed to perform the up and down sliding operation. Three responses.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;则所述MCU接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,还包括:The method according to any one of claims 1 to 4, wherein the interface area information further comprises: a third mapping between the identification of each of the interface areas and a touch speed recognition operation, and a TP gesture recognition operation And the MCU receives the report information reported by the touch screen TP processor, and determines that the report information corresponds to the location of the current interface in the first interface area according to the first mapping relationship, and further includes:
    所述MCU根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。Determining, by the MCU, whether the touch speed recognition operation and the TP gesture recognition operation are performed according to the identifier of the first interface area and the third mapping relationship.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述MCU获取当前界面的界面区域信息之后,所述方法还包括:The method according to any one of claims 1-5, wherein after the MCU obtains the interface area information of the current interface, the method further includes:
    所述MCU根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。The MCU configures an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to the touch characteristic of each of the interface areas, where the ASRC parameter is used to filter out the coordinate that the change trend in the report information is less than a preset threshold. information.
  7. 根据权利要求6所述的方法,其特征在于,所述MCU根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,所述方法还包括:The method according to claim 6, wherein the MCU determines that the location information corresponds to the location of the current interface in the first interface region according to the first mapping relationship, and the method further includes :
    所述MCU根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。And the MCU filters the coordinate information in the report information that is smaller than a preset threshold according to the ASRC parameter corresponding to the first interface area.
  8. 一种终端,其特征在于,包括:A terminal, comprising:
    获取模块,用于获取当前界面的界面区域信息;所述当前界面包括至少一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为MCU不向应用处理器AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;An acquiring module, configured to acquire interface area information of the current interface; the current interface includes at least one interface area; wherein the interface area information includes an identifier of each of the interface areas and coordinate information of each of the interface areas The first mapping relationship between the first mapping relationship and the mapping result of each of the interface areas and the reporting result corresponding to each of the interface areas; the reporting result is that the MCU does not report to the application processor AP, Or the content reported by the MCU to the AP and reported to the AP; the identifier of the interface area carries a touch characteristic of the interface area;
    第一确定模块,用于接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内;a first determining module, configured to receive the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, that the location of the report information corresponding to the current interface is located in the first interface area;
    第二确定模块,用于根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。 And a second determining module, configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area.
  9. 根据权利要求8所述的终端,其特征在于,所述获取模块,具体包括:The terminal according to claim 8, wherein the acquiring module specifically includes:
    界面区域划分单元,用于根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;An interface area dividing unit, configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas; wherein the touch characteristic includes : at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a combination of a click characteristic, an up and down sliding characteristic, and a left and right sliding characteristic;
    第一映射关系建立单元,用于根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系;a first mapping relationship establishing unit, configured to establish the first mapping relationship according to the obtained coordinate information of each of the interface regions and an identifier of each of the interface regions;
    第二映射关系建立单元,用于根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系,所述上报结果集合包括至少一个上报结果。The second mapping relationship establishing unit is configured to establish the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface, where the report result set includes at least one report result.
  10. 根据权利要求9所述的终端,其特征在于,所述第二确定模块,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性时,则根据所述第二映射关系确定的所述上报结果为不向所述AP上报;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的用户操作以及指示所述AP对所述用户操作做出响应。The terminal according to claim 9, wherein the second determining module is configured to: if it is determined that the touch characteristic of the first interface area is not required to be an AP response characteristic according to the identifier of the first interface area, And the reporting result determined by the second mapping relationship is not reported to the AP; or, specifically, determining, according to the identifier of the first interface area, that the touch characteristic of the first interface area is a click sliding When the composite feature is used, the reporting result determined according to the second mapping relationship is to report the report information to the AP; or, specifically, determining, according to the identifier of the first interface region, the first The touch characteristic of the interface area is any one of the touch characteristics except the AP response characteristic and the click sliding composite characteristic, and the report result determined according to the second mapping relationship is The AP reports the event content corresponding to the report information, where the event content corresponding to the report information is used to indicate to the AP the user operation and the corresponding information corresponding to the report information. The AP is shown to respond to the user operation.
  11. 根据权利要求10所述的终端,其特征在于,若所述第二确定模块U根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性,The terminal according to claim 10, wherein the second determining module U determines that the touch characteristic of the first interface area is the touch characteristic except the AP is not required according to the identifier of the first interface. Response characteristics, any characteristics other than the click-slip composite feature,
    则所述第二确定模块,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报点击事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件,或 者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件;And the second determining module is configured to: if the touch characteristic of the first interface area is determined as a click characteristic according to the identifier of the first interface area, the report result determined according to the second mapping relationship In order to report a click event to the AP, or specifically, if it is determined that the touch characteristic of the first interface area is a left-right sliding characteristic according to the identifier of the first interface area, determining according to the second mapping relationship The reported result is that the left and right sliding events are reported to the AP, or Specifically, if it is determined that the touch characteristic of the first interface area is an up-and-down sliding characteristic according to the identifier of the first interface area, the report result determined according to the second mapping relationship is to the AP Report up and down sliding events;
    其中,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应;所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出第二响应;所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第三响应。The click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation; the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations; the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair The up and down sliding operation makes a third response.
  12. 根据权利要求8-11任一项所述的终端,其特征在于,所述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;The terminal according to any one of claims 8 to 11, wherein the interface area information further comprises: a third mapping between the identifier of each of the interface areas and a touch speed recognition operation and a TP gesture recognition operation. relationship;
    所述第二确定模块,还用于在所述第一确定模块接收触摸屏TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。The second determining module is further configured to: receive, by the first determining module, the report information reported by the touch screen TP processor, and determine, according to the first mapping relationship, the location of the report information corresponding to the current interface. After being located in the first interface area, determining whether to perform the touch speed recognition operation and the TP gesture recognition operation according to the identifier of the first interface area and the third mapping relationship.
  13. 根据权利要求8-12任一项所述的终端,其特征在于,所述终端还包括:The terminal according to any one of claims 8 to 12, wherein the terminal further comprises:
    配置模块,用于在所述获取模块获取当前界面的界面区域信息之后,根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。a configuration module, configured to: after the acquiring module acquires interface area information of the current interface, configure an asynchronous sampling rate conversion ASRC parameter for each of the interface areas according to a touch characteristic of each of the interface areas, where the ASRC parameter is used The coordinate information in the report information whose change trend is less than a preset threshold is filtered out.
  14. 根据权利要求13所述的终端,其特征在于,所述终端还包括:The terminal according to claim 13, wherein the terminal further comprises:
    筛选模块,用于在所述第一确定模块根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。a screening module, configured to determine, according to the first mapping relationship, that the report information corresponding to the first interface region is corresponding to the first interface region after the location of the current interface is located in the first interface region The ASRC parameter filters coordinate information in the report information whose change trend is less than a preset threshold.
  15. 一种终端,其特征在于,包括:触摸屏TP处理器、微处理器MCU和应用处理器AP;A terminal, comprising: a touch screen TP processor, a microprocessor MCU and an application processor AP;
    所述TP处理器,用于向所述MCU上报报点信息;The TP processor is configured to report point information to the MCU;
    所述MCU,用于获取当前界面的界面区域信息;所述当前界面包括至少 一个界面区域;其中,所述界面区域信息包括每个所述界面区域的标识与每个所述界面区域的坐标信息之间的第一映射关系,以及,每个所述界面区域的标识与每个所述界面区域对应的上报结果之间的第二映射关系;所述上报结果为所述MCU不向所述AP上报,或者,所述MCU向所述AP上报以及向所述AP上报的内容;所述界面区域的标识携带所述界面区域的触摸特性;The MCU is configured to obtain interface area information of a current interface, where the current interface includes at least An interface area, wherein the interface area information includes a first mapping relationship between an identifier of each of the interface areas and coordinate information of each of the interface areas, and an identifier of each of the interface areas a second mapping relationship between the report results corresponding to the interface area; the report result is that the MCU does not report to the AP, or the content reported by the MCU to the AP and reported to the AP The identifier of the interface area carries a touch characteristic of the interface area;
    所述MCU,还用于接收所述TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内,并根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果。The MCU is further configured to receive the report information reported by the TP processor, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area, and according to the The identifier of the first interface area and the second mapping relationship determine a report result corresponding to the first interface area.
  16. 根据权利要求15所述的终端,其特征在于,所述MCU,用于获取当前界面的界面区域信息,具体包括:The terminal according to claim 15, wherein the MCU is configured to obtain interface area information of the current interface, and specifically includes:
    所述MCU,具体用于根据触摸特性将所述当前界面划分为至少一个界面区域,并根据每个所述界面区域的触摸特性为每个所述界面区域建立标识,并根据所获取每个所述界面区域的坐标信息和每个所述界面区域的标识,建立所述第一映射关系,以及根据每个所述界面区域的标识和所述当前界面的上报结果集合建立所述第二映射关系;其中,所述触摸特性包括:无需AP响应特性、点击特性、左右滑动特性、上下滑动特性以及点击滑动复合特性中的至少一种;所述点击滑动复合特性为点击特性、上下滑动特性和左右滑动特性的结合特性;所述上报结果集合包括至少一个上报结果。The MCU is specifically configured to divide the current interface into at least one interface area according to a touch characteristic, and establish an identifier for each of the interface areas according to a touch characteristic of each of the interface areas, and according to each acquired Establishing the first mapping relationship by using the coordinate information of the interface area and the identifier of each of the interface areas, and establishing the second mapping relationship according to the identifier of each of the interface areas and the report result set of the current interface. The touch characteristic includes: at least one of an AP response characteristic, a click characteristic, a left and right sliding characteristic, an up and down sliding characteristic, and a click sliding composite characteristic; the click sliding composite characteristic is a click characteristic, an up and down sliding characteristic, and a left and right a combination of sliding characteristics; the reported result set includes at least one reported result.
  17. 根据权利要求16所述的终端,其特征在于,所述MCU,用于根据所述第一界面区域的标识以及所述第二映射关系确定所述第一界面区域对应的上报结果,具体包括:The terminal according to claim 16, wherein the MCU is configured to determine, according to the identifier of the first interface area and the second mapping relationship, a report result corresponding to the first interface area, specifically:
    所述MCU,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为无需AP响应特性时,则根据所述第二映射关系确定的所述上报结果为不向所述AP上报;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击滑动复合特性时,则所述MCU根据所述第二映射关系确定的所述上报结果为向所述AP上报所述报点信息;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上 报所述报点信息对应的事件内容;其中,所述报点信息对应的事件内容用于向所述AP指示所述报点信息对应的用户操作以及指示所述AP对所述用户操作做出响应。The MCU is specifically configured to determine, according to the identifier of the first interface area, that the touch characteristic of the first interface area is that the AP response characteristic is not required, the report result determined according to the second mapping relationship is not Reporting to the AP; or specifically, if it is determined that the touch characteristic of the first interface area is a click-slip composite characteristic according to the identifier of the first interface area, the MCU determines according to the second mapping relationship. The reporting result is that the report information is reported to the AP; or, specifically, if the touch characteristic of the first interface area is determined according to the identifier of the first interface area, When the AP response feature is not required, and the click-slip composite feature is not used, the report result determined according to the second mapping relationship is sent to the AP. Reporting the event content corresponding to the report information; wherein the event content corresponding to the report information is used to indicate to the AP that the user operation corresponding to the report information and the indication that the AP performs the user operation response.
  18. 根据权利要求17所述的终端,其特征在于,若所述MCU根据所述第一界面的标识确定所述第一界面区域的触摸特性为所述触摸特性中除所述无需AP响应特性、所述点击滑动复合特性之外的任一特性时,则所述MCU,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为点击特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报点击事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为左右滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报左右滑动事件;或者,具体用于若根据所述第一界面区域的标识确定所述第一界面区域的触摸特性为上下滑动特性时,则根据所述第二映射关系确定的所述上报结果为向所述AP上报上下滑动事件;The terminal according to claim 17, wherein the MCU determines, according to the identifier of the first interface, that the touch characteristic of the first interface area is the touch characteristic except the AP response characteristic. The MCU is specifically configured to determine, if the touch characteristic of the first interface area is a click characteristic according to the identifier of the first interface area, according to the feature The reporting result determined by the second mapping relationship is that the click event is reported to the AP; or, if the touch characteristic of the first interface area is determined to be a left-right sliding characteristic according to the identifier of the first interface area, And the reporting result determined by the second mapping relationship is that the left and right sliding events are reported to the AP; or, specifically, determining, according to the identifier of the first interface area, that the touch characteristic of the first interface area is And the reporting result determined by the second mapping relationship is that the up and down sliding event is reported to the AP;
    其中,所述点击事件用于向所述AP指示所述用户操作为点击操作以及指示所述AP对所述点击操作做出第一响应;所述左右滑动事件用于向所述AP指示所述用户操作为左右滑动操作以及指示所述AP对所述左右滑动操作做出第二响应;所述上下滑动事件用于向所述AP指示所述用户操作为上下滑动操作以及指示所述AP对所述上下滑动操作做出第三响应。The click event is used to indicate to the AP that the user operation is a click operation and to instruct the AP to make a first response to the click operation; the left and right sliding events are used to indicate the The user operates as a left and right sliding operation and instructs the AP to make a second response to the left and right sliding operations; the up and down sliding event is used to indicate to the AP that the user operation is an up and down sliding operation and indicates the AP pair The up and down sliding operation makes a third response.
  19. 根据权利要求15-18任一项所述的终端,其特征在于,所述界面区域信息还包括:每个所述界面区域的标识与触摸速度识别操作、TP手势识别操作之间的第三映射关系;则所述MCU,还用于在接收所述TP处理器上报的报点信息,并根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一界面区域内之后,根据所述第一界面区域的标识和所述第三映射关系确定是否执行所述触摸速度识别操作和所述TP手势识别操作。The terminal according to any one of claims 15 to 18, wherein the interface area information further comprises: a third mapping between the identifier of each of the interface areas and a touch speed recognition operation and a TP gesture recognition operation. The MCU is further configured to receive the report information reported by the TP processor, and determine, according to the first mapping relationship, that the location information corresponding to the current interface is located in the first interface area. After the determination, whether the touch speed recognition operation and the TP gesture recognition operation are performed are performed according to the identifier of the first interface area and the third mapping relationship.
  20. 根据权利要求15-19任一项所述的终端,其特征在于,所述MCU,还用于在获取当前界面的界面区域信息之后,根据每个所述界面区域的触摸特性为每个所述界面区域配置异步采样率转换ASRC参数,所述ASRC参数用于滤除所述报点信息中变化趋势小于预设阈值的坐标信息。The terminal according to any one of claims 15 to 19, wherein the MCU is further configured to: after acquiring interface area information of the current interface, according to a touch characteristic of each of the interface areas, The interface area is configured with an asynchronous sampling rate conversion ASRC parameter, and the ASRC parameter is used to filter coordinate information in the report information whose change trend is less than a preset threshold.
  21. 根据权利要求20所述的终端,其特征在于,所述MCU,还用于在根据所述第一映射关系确定所述报点信息对应在所述当前界面的位置位于第一 界面区域内之后,根据所述第一界面区域对应的ASRC参数滤除所述报点信息中变化趋势小于预设阈值的坐标信息。 The terminal according to claim 20, wherein the MCU is further configured to determine, according to the first mapping relationship, that the location information corresponds to a location at the current interface. After the interface region, the coordinate information in the report information whose change trend is less than a preset threshold is filtered according to the ASRC parameter corresponding to the first interface region.
PCT/CN2015/089488 2015-09-14 2015-09-14 Method and terminal for controlling number of touch panel reporting points WO2017045094A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/089488 WO2017045094A1 (en) 2015-09-14 2015-09-14 Method and terminal for controlling number of touch panel reporting points
CN201580042068.9A CN106575177B (en) 2015-09-14 2015-09-14 The control method and terminal of touch screen report point quantity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/089488 WO2017045094A1 (en) 2015-09-14 2015-09-14 Method and terminal for controlling number of touch panel reporting points

Publications (1)

Publication Number Publication Date
WO2017045094A1 true WO2017045094A1 (en) 2017-03-23

Family

ID=58288062

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089488 WO2017045094A1 (en) 2015-09-14 2015-09-14 Method and terminal for controlling number of touch panel reporting points

Country Status (2)

Country Link
CN (1) CN106575177B (en)
WO (1) WO2017045094A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050830A (en) * 2021-03-16 2021-06-29 上海商米科技集团股份有限公司 Anti-interference processing method for touch screen of Android desktop cash register

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108318297B (en) * 2017-12-28 2020-11-10 安徽环科检测中心有限公司 Sampling equipment for industrial sewage detection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841268A (en) * 2012-07-20 2012-12-26 敦泰科技有限公司 Method and system for detecting noises of capacitive screen
CN103235664A (en) * 2013-04-27 2013-08-07 深圳市金立通信设备有限公司 Terminal and control method of touch screen
EP2804126A1 (en) * 2013-05-14 2014-11-19 Samsung Electronics Co., Ltd Detection of loss and automatically locking of a mobile device
CN104679336A (en) * 2015-03-12 2015-06-03 深圳市欧珀通信软件有限公司 Method and device for adjusting touch screen parameters

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9519423B2 (en) * 2011-04-22 2016-12-13 Sony Corporation Information processing apparatus
CN104252273A (en) * 2013-06-27 2014-12-31 中兴通讯股份有限公司 Contact reporting rate processing method and device of touch screen
CN103955311A (en) * 2014-04-28 2014-07-30 南京九洲云拓电子信息技术有限公司 Touch screen positioning method based on partial scanning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841268A (en) * 2012-07-20 2012-12-26 敦泰科技有限公司 Method and system for detecting noises of capacitive screen
CN103235664A (en) * 2013-04-27 2013-08-07 深圳市金立通信设备有限公司 Terminal and control method of touch screen
EP2804126A1 (en) * 2013-05-14 2014-11-19 Samsung Electronics Co., Ltd Detection of loss and automatically locking of a mobile device
CN104679336A (en) * 2015-03-12 2015-06-03 深圳市欧珀通信软件有限公司 Method and device for adjusting touch screen parameters

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050830A (en) * 2021-03-16 2021-06-29 上海商米科技集团股份有限公司 Anti-interference processing method for touch screen of Android desktop cash register

Also Published As

Publication number Publication date
CN106575177B (en) 2019-09-13
CN106575177A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
EP2509390B1 (en) Method and mobile terminal for processing contacts
US20140351748A1 (en) Split-Screen Display Method and Apparatus, and Electronic Device Thereof
US9007314B2 (en) Method for touch processing and mobile terminal
CN103207750B (en) The method of icon convergent-divergent and device
CN105320417B (en) Page switching method and client
US11785132B2 (en) Information processing apparatus and non-transitory computer readable medium for processing information
WO2017063443A1 (en) Message display method and apparatus
EP2869174A1 (en) Method and device for text input and display of intelligent terminal
CN101661375A (en) Touch control method, system and display terminal
CN110493018A (en) A kind of group chat creation method and device
WO2017032307A1 (en) File folder merging method and device
WO2021203815A1 (en) Page operation method and apparatus, and terminal and storage medium
WO2015117341A1 (en) Mobile terminal and method for one-handed operation thereof, and computer storage medium
CN103809735A (en) Gesture recognition method and gesture recognition device
CN105867679A (en) Touch control method, touch control apparatus, and terminal
US20220335943A1 (en) Human-computer interaction method, apparatus, and system
WO2016173307A1 (en) Message copying method and device, and smart terminal
WO2017045094A1 (en) Method and terminal for controlling number of touch panel reporting points
CN105573646A (en) Multimedia content play progress control method and user terminal
CN105528172A (en) Method for adjusting response area of icon, and terminal
WO2017084469A1 (en) Touch control method, user equipment, input processing method and mobile terminal
WO2021092806A1 (en) Screen parameter adjustment method and apparatus, and terminal device
CN105320405A (en) Icon display method and terminal
WO2017161753A1 (en) Screen switching method and apparatus for electronic device

Legal Events

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

Ref document number: 15903785

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15903785

Country of ref document: EP

Kind code of ref document: A1