Touch data compression method, device, storage medium and interactive tablet

By distinguishing and compressing the effective and invalid touch data of the touch screen, the problem of large and time-consuming data transmission of the touch screen is solved, and efficient data transmission and accurate touch positioning are achieved.

CN115390689BActive Publication Date: 2025-08-12GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110564067.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-24
Publication Date
2025-08-12
Estimated Expiration
2041-05-24

AI Technical Summary

Technical Problem

The data transmission volume of touch screens is large and takes a long time. In the prior art, microcontrollers need to process a large amount of invalid touch data, resulting in low data transmission efficiency.

Method used

By obtaining the touch data of the first and second frames of the touch screen, using the touch data numbering rules and threshold ranges, the effective and invalid touch data are distinguished, and different compression strategies are used to compress it, and the first and second sets of compressed data are obtained respectively.

Benefits of technology

It reduces the transmission amount of invalid touch data, improves data transmission efficiency, and ensures the accuracy of effective touch data, reducing the performance requirements for microcontrollers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115390689B_ABST
    Figure CN115390689B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a touch data compression method, device, storage medium, and interactive tablet. The method includes: obtaining a first frame of touch data from a touch screen; obtaining a target touch data group and a corresponding touch data number based on the first frame of touch data, a preset second frame of touch data, and a preset touch data numbering rule; obtaining a valid touch data group and an invalid touch data group in the target touch data group based on a preset first touch threshold; compressing the invalid touch data group based on a preset first compression strategy and the corresponding touch data number to obtain a first group of compressed data; compressing the valid touch data group based on a preset second compression strategy to obtain a second group of compressed data; and performing touch point reporting on the first and second groups of compressed data. The embodiments of the present application can reduce the amount of data transmission, improve data transmission efficiency, and improve the accuracy of touch positioning by ensuring valid touch data as much as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of touch screens, and in particular to a touch data compression method, device, storage medium, and interactive tablet. Background Art

[0002] Touch screens are increasingly being used in computers, mobile terminals, interactive tablets, and other devices. They are currently the simplest, most convenient, and most natural way of human-computer interaction, with users simply touching icons or text on the touch screen to control the device.

[0003] For large touchscreens, such as 75-inch or 86-inch ones, the number of transmit and receive channels is generally over 200. Even smaller touchscreens require around 100 channels. According to touchscreen implementation principles, each transmit channel and each receive channel can generate one touch data point. Therefore, the total amount of touch data is the product of the number of transmit channels and the number of receive channels. For an 86-inch touchscreen, for example, there are 246 transmit and 246 receive channels. Therefore, the data volume per frame is: 246 * 246 = 60516. If each data point is a single byte, the total data volume is 60516 bytes. If each data point is a double byte, the total data volume is 121032 bytes.

[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in traditional technology: since touch positioning usually needs to be performed based on the touch data generated by each transmitting channel and each receiving channel, when the touch data generated by each transmitting channel and each receiving channel are transmitted to the host of the touch screen for processing, the transmitted data is large and time-consuming. Summary of the Invention

[0005] In order to overcome the problems existing in the related art, the present application provides a touch data compression method, device, storage medium and interactive tablet, which have the advantages of reducing data volume and improving data transmission efficiency.

[0006] According to a first aspect of an embodiment of the present application, a touch data compression method is provided, comprising the following steps:

[0007] Acquire a first frame of touch data of the touch screen; the first frame of touch data is data when a touch is applied to the touch screen;

[0008] Obtaining a target touch data group and a corresponding touch data number according to the first frame of touch data, a preset second frame of touch data, and a preset touch data numbering rule; the second frame of touch data is data when no touch is applied to the touch screen;

[0009] In the target touch data group, data within a preset first touch threshold range is determined as a valid touch data group, and data outside the preset first touch threshold range is determined as an invalid touch data group;

[0010] compressing the invalid touch data group according to a preset first compression strategy and a corresponding touch data number to obtain a first group of compressed data;

[0011] Compressing the valid touch data group according to a preset second compression strategy to obtain a second set of compressed data; wherein the compression ratio of the first compression strategy is greater than the compression ratio of the second compression strategy;

[0012] The first set of compressed data and the second set of compressed data are reported by touch.

[0013] According to a second aspect of an embodiment of the present application, a touch data compression device is provided, comprising:

[0014] A first data acquisition module is configured to acquire a first frame of touch data of the touch screen; the first frame of touch data is data when a touch is applied to the touch screen;

[0015] a second data acquisition module, configured to obtain a target touch data group and a corresponding touch data number based on the first frame of touch data, a preset second frame of touch data, and a preset touch data numbering rule; the second frame of touch data is data obtained when no touch is applied to the touch screen;

[0016] a touch data classification module, configured to, in the target touch data group, determine data within a preset first touch threshold range as a valid touch data group, and determine data outside the preset first touch threshold range as an invalid touch data group;

[0017] A first group of compressed data acquisition module is used to compress the invalid touch data group according to a preset first compression strategy and a corresponding touch data number to obtain a first group of compressed data;

[0018] a second group of compressed data acquisition module, configured to compress the valid touch data group according to a preset second compression strategy to obtain a second group of compressed data; wherein the compression ratio of the first compression strategy is greater than the compression ratio of the second compression strategy;

[0019] The touch-control point reporting module is used to perform touch-control point reporting on the first group of compressed data and the second group of compressed data.

[0020] According to a third aspect of an embodiment of the present application, an interactive tablet is provided, comprising a touch screen; the touch screen comprises a touch layer, a display layer, a processor and a memory; the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the touch data compression method described above.

[0021] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. The computer program is characterized in that when executed by a processor, the touch data compression method as described above is implemented.

[0022] The embodiment of the present application obtains a target touch data group and a corresponding touch data number based on the first frame touch data, the preset second frame touch data, and the preset touch data numbering rule, and then determines the data within the preset first touch threshold range as a valid touch data group, and determines the data outside the preset first touch threshold range as an invalid touch data group, so that the invalid touch data group and the valid touch data group are compressed using a first compression strategy and a second compression strategy with different compression ratios, respectively, to obtain a first group of compressed data and a second group of compressed data, and then the first group of compressed data and the second group of compressed data are used for touch point positioning, thereby eliminating the need for a high-performance microcontroller, reducing the amount of invalid touch data transmission and improving data transmission efficiency, and improving the accuracy of touch positioning by ensuring valid touch data as much as possible.

[0023] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application.

[0024] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0026] Figure 1 This is a flow chart of a touch data compression method according to an embodiment of the present application;

[0027] Figure 2 This is a flow chart of a method for obtaining a touch data serial number according to one embodiment of the present application;

[0028] Figure 3This is a flow chart of a method for obtaining a target touch data set according to one embodiment of the present application;

[0029] Figure 4 This is a flow chart of a method for compressing the invalid touch data according to an embodiment of the present application;

[0030] Figure 5 This is a flowchart of a method for obtaining a first set of compressed data according to an embodiment of the present application;

[0031] Figure 6 This is a schematic block diagram of a touch data compression device according to an embodiment of the present application;

[0032] Figure 7 This is a schematic diagram of the structure of an interactive tablet shown in one embodiment of the present application; DETAILED DESCRIPTION

[0033] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

[0034] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0035] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0036] In the description of this application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances. The singular forms "a", "said", and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. The words "if" / "if" used herein can be interpreted as "at the time of" or "when" or "in response to determination". In addition, in the description of this application, unless otherwise specified, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0037] In order to better understand the solutions of this application, some technical solutions will be described below.

[0038] In order to better understand the solutions of this application, some technical solutions will be described below.

[0039] Some technologies use two methods to report touch points on touch screens. The first method involves a microcontroller acquiring touch data and simultaneously compressing all of the touch data according to a preset compression ratio. The data is then transmitted to a higher-level host via a hardware interface, such as USB. The host's touch algorithm then reports the touch points, thereby achieving touch location. The second method involves a touch algorithm built into the microcontroller. The microcontroller directly uses the acquired touch data to locate the touch points using the algorithm and then reports the points to the upper-level host. During the implementation of the present invention, the inventors discovered that while the first method places less stringent performance requirements on the microcontroller, since some of the touch data received by the microprocessor is valid touch data indicating a touch event and some is invalid touch data indicating no touch event, compressing all of the touch data simultaneously according to the preset compression ratio still results in a relatively large amount of transmitted touch data to preserve the valid touch data. This second method places high demands on the microcontroller and is also very costly. Therefore, the present application proposes a touch data compression method.

[0040] The touch data compression method provided in the embodiments of the present application can be executed by a touch data compression device. The touch data compression device can be implemented through software and / or hardware. The touch data compression device can be composed of two or more physical entities, or a single physical entity. For example, the touch data compression device can be a smart device such as a computer, mobile phone, tablet, or interactive tablet.

[0041] For ease of understanding, the embodiments are described using an interactive tablet as an example touch-sensitive data compression device. An interactive tablet can be an all-in-one device that uses touch technology to control content displayed on the display tablet and implement human-computer interaction. It can integrate one or more functions such as a projector, electronic whiteboard, screen, audio system, television, and video conferencing terminal.

[0042] Generally speaking, an interactive tablet includes at least one display screen. For example, the interactive tablet is equipped with a display screen with a touch function, and the display screen can be resistive, capacitive, infrared, electromagnetic, surface acoustic wave, etc. In one embodiment, the user can implement touch operations by touching the display screen with a finger or a stylus. Accordingly, the interactive tablet detects the touch position and determines a response scheme based on the display content corresponding to the touch position, and then responds to implement the touch function. For example, according to the touch position, the corresponding display content is determined to be a control for a certain function. In this case, the response scheme is to execute the function. It is understandable that in actual applications, users can also implement control operations through keyboards, mice, physical buttons, etc.

[0043] Typically, the interactive tablet is installed with at least one type of operating system, wherein the operating system includes but is not limited to the Android system, the Linux system and the Windows system. In one embodiment, the interactive tablet can install at least one application based on the operating system. For example, an electronic whiteboard application with a drawing function is installed in the interactive tablet. The application can be an application that comes with the operating system, or it can be an application downloaded from a third-party device or server, and the touch data compression device can also be the application itself. Optionally, in addition to the drawing function, the application also has other editing functions, such as writing, inserting tables, inserting pictures, inserting multimedia, inserting graphics, drawing tables, etc.

[0044] The interactive tablet may include one or more processing cores, which may implement the touch data compression method of the present application through pure software or a combination of software and hardware. For example, the method may be implemented using at least one of a digital signal processing, a field programmable gate array, and a programmable logic array; or may integrate one or a combination of a central processing unit, an image processor, and a modem. The interactive tablet may run an application for the touch data compression method, which may be presented in a format suitable for the interactive tablet, such as an app. In some examples, the method may also be presented in the form of a system plug-in, a web page plug-in, or the like.

[0045] Example 1

[0046] The touch data compression method disclosed in the embodiments of the present application is applied to an electronic device, and the following description will be made using the electronic device as an interactive tablet.

[0047] The following will be combined with the Figures 1 to 5 , the touch data compression method provided in the embodiment of the present application is introduced in detail.

[0048] See also Figure 1 The touch data compression method provided in the embodiment of the present application includes the following steps:

[0049] Step S110: Acquire a first frame of touch data of the touch screen; the first frame of touch data is data when a touch is applied to the touch screen.

[0050] The touch screen is provided with a plurality of transmitting channels TX for transmitting signals and a plurality of receiving channels RX for receiving signals. The plurality of transmitting channels RX and the plurality of receiving channels RX can function in a one-to-one correspondence to generate touch data.

[0051] When the touch screen is in a touch state, that is, a state where a touch is applied to the touch screen, the touch data received by the microcontroller of the touch screen after the transmitting channel RX and the receiving channel RX are applied is the first frame of touch data.

[0052] Step S120: Obtain a target touch data group and corresponding touch data numbers according to the first frame touch data, the preset second frame touch data and the preset touch data numbering rule; the second frame touch data is data when no touch is applied to the touch screen.

[0053] When the touch screen is in an initial state, i.e., when no touch is applied to the touch screen, the microcontroller of the touch screen will still receive touch data after the transmission channel RX and the reception channel RX are applied, i.e., the second frame of touch data. The touch data in the second frame of touch data generally remains unchanged. Even if there is a slight change, it is only signal noise and can be filtered out by a preset data processing strategy.

[0054] The target touch data group is used to identify the difference between the first frame touch data and the second frame touch data. For example, the difference, variance, standard deviation, etc. between the first frame touch data and the second frame touch data can be used as the third touch data.

[0055] Step S130: In the target touch data set, data within a preset first touch threshold range is determined as a valid touch data set, and data outside the preset first touch threshold range is determined as an invalid touch data set.

[0056] Valid touch data and invalid touch data are distinguished by a preset first touch threshold. In the target touch data group, the target touch data corresponding to the untouched area is smaller and has little effect on touch positioning, while the target touch data corresponding to the touched area is larger and has a greater effect on touch positioning. Therefore, the preset first touch threshold can be used to distinguish valid touch data from invalid touch data. Specifically, data within the preset first touch threshold range, such as data greater than the preset first touch threshold, can be determined as valid touch data, and data outside the preset first touch threshold range, such as data less than the preset touch threshold, can be determined as invalid touch data. For example, if the first touch threshold is 20, touch data greater than 20 is determined as valid touch data, and then all valid touch data combinations can be used to obtain a valid touch data group; touch data less than 20 is determined as invalid touch data, and then all invalid touch data combinations can be used to obtain an invalid touch data group.

[0057] Step S140: compressing the invalid touch data group according to a preset first compression strategy and the corresponding touch data number to obtain a first group of compressed data.

[0058] Step S150: compressing the valid touch data set according to a preset second compression strategy to obtain a second set of compressed data; wherein the compression ratio of the first compression strategy is greater than the compression ratio of the second compression strategy.

[0059] The compression ratio is the ratio of the data before compression to the data after compression. In the embodiment of the present application, a high compression ratio is used to compress invalid touch data to reduce the amount of invalid touch data transmitted and improve data transmission efficiency. A low compression ratio is used to compress valid touch data to ensure the accuracy of the valid touch data as much as possible.

[0060] Step S160: reporting points of the first set of compressed data and the second set of compressed data by touch.

[0061] The embodiment of the present application obtains a target touch data group and a corresponding touch data number based on the first frame touch data, the preset second frame touch data, and the preset touch data numbering rule, and then determines the data within the preset first touch threshold range as a valid touch data group, and determines the data outside the preset first touch threshold range as an invalid touch data group, so that the invalid touch data group and the valid touch data group are compressed using a first compression strategy and a second compression strategy with different compression ratios, respectively, to obtain a first group of compressed data and a second group of compressed data, and then the first group of compressed data and the second group of compressed data are used for touch point positioning, thereby eliminating the need for a high-performance microcontroller, reducing the amount of invalid touch data transmission and improving data transmission efficiency, and improving the accuracy of touch positioning by ensuring valid touch data as much as possible.

[0062] See also Figure 2 In one embodiment, the step S110 of obtaining the target touch data group and the corresponding touch data number according to the first frame touch data, the preset second frame touch data, and the preset touch data numbering rule includes:

[0063] Step S111: obtaining the target touch data set according to the first frame touch data and the preset second frame touch data;

[0064] Step S112: Arrange the transmitting channels in the touch screen in rows and the receiving channels in columns according to a preset numbering rule to obtain a touch array.

[0065] Among them, the devices arranged in rows in the embodiments of the present application are also applicable to arrangement in columns, that is, the transmitting channels in the touch screen can also be arranged in columns and the receiving channels can be arranged in rows to obtain the touch array.

[0066] The following example illustrates the touch position array of the present application: for a touch screen with 246 transmitting channels TX and 246 receiving channels RX, the arrangement can be designed as follows: the multiple transmitting channels TX are sequentially identified as T0, T1, ... T245, corresponding to the 1st row, 2nd row, ... 246th row of the touch position array of the touch screen; the multiple receiving channels RX are sequentially identified as R0, R1, ... R245, corresponding to the 1st column, 2nd column, ... 246th column of the touch position array of the touch screen, thereby obtaining a touch array.

[0067] Step S113: numbering the touch array according to a preset sequence, and recording the touch data of the corresponding transmitting channel and receiving channel at the intersection of rows and columns in the touch array to obtain the corresponding touch data number in the target touch data group.

[0068] The preset order can be any method that can uniquely identify each touch data item in the touch position array, such as from top to bottom and left to right, or from top to bottom and right to left. For example, for a touch screen with 246 transmit channels TX and 246 receive channels RX, the touch data items can be numbered from top to bottom and left to right, and the touch data items affected by the corresponding transmit channels and receive channels can be recorded at the intersection of rows and columns in the touch array. Then, from the first touch data item in the first row to the last touch data item in the last row, the touch data items are numbered 0, 1, 2, ..., 60515 from top to bottom and left to right. According to the above numbering method, the number of each touch data item in the touch array can be obtained. Since the embodiment of the present application numbers the touch data item based on the row where the transmit channel is located and the column where the receive channel is located, the corresponding number can also be obtained for each touch data item in the target touch data obtained based on the first frame of touch data and the second frame of touch data.

[0069] The embodiment of the present application obtains the corresponding touch data number according to a preset numbering rule, and then uniquely identifies each touch data by the number, thereby facilitating subsequent compression and touch point positioning according to the number.

[0070] See also Figure 3 In one embodiment, in step S111, obtaining the target touch data set according to the first frame touch data and the preset second frame touch data includes:

[0071] Step S1111: Subtracting a first preset value from each touch data item in the first frame of touch data, dividing the difference by a second preset value, and adding the difference by a third preset value to determine the difference as first processed data, so that each touch data item in the first frame of touch data is less than a preset second touch threshold value;

[0072] Step S1112: Subtracting the first preset value from each touch data item in the preset second frame of touch data, dividing the result by the second preset value, and adding the result to the third preset value to determine the result as second processed data, so that each touch data item in the second frame of touch data is less than a preset second touch threshold value;

[0073] Step S1113: obtaining the target touch data group according to the first processed data and the second processed data; wherein each touch data in the target touch data group is smaller than a preset second touch threshold.

[0074] During the implementation of the present invention, the inventors discovered that the touch data in the first frame of touch data and the preset second frame of touch data generally range from 4080 to 4500. Data within this range requires 13 bits to represent. However, for convenience, touch data is typically stored using 16 bits, or 2 bytes, during storage and transmission. If there are 246 transmit channels TX and 246 receive channels RX, the total data volume is 246 * 246 * 2 = 121032 bytes. This amount of data consumes a significant amount of storage space and transmission time for the MCU. The inventors further discovered that some of the touch data in the first frame of touch data and the preset second frame of touch data may have some small fluctuations. For example, the original touch data 4102 may become 4101, 4102, 4103, and 4104 due to small fluctuations. However, these fluctuations are usually caused by noise, which is ineffective for touch positioning and even needs to be removed. That is, these four consecutive data can be converted into a corresponding value for representation, and then these character bits can be converted into 8 bits, i.e., 1 byte. Furthermore, for the convenience of calculation, the touch data can be further processed to obtain data within the preset second touch threshold.

[0075] The first preset value may range from 4050 to 4100; the second preset value may range from 3 to 8; and the third preset value may range from 10 to 30. In an embodiment of the present application, the second touch threshold is preset to 128. By setting the second preset value to 4, the touch data is converted into 8 bits, i.e., 1 byte. Furthermore, by adjusting the ranges of the first and third preset values, all touch data is adjusted to be within the range of the second touch threshold, i.e., all touch data is adjusted to be within the range of 0 to 127. Specifically, the first preset value may be 4096, the second preset value may be 4, and the third preset value may range from 20. The relationship between touch data B processed by the preset data processing strategy and touch data A not processed by the preset data processing strategy can be expressed as: B = (A-4096) / 4+20.

[0076] The embodiment of the present application obtains a target touch data group according to a preset data processing strategy, so that the touch data in the target touch data group is within a preset maximum first touch threshold, thereby reducing the amount of data while minimizing the loss of valid data, thereby reducing storage and transmission resource consumption.

[0077] In one embodiment, obtaining the target touch data set based on the first processed data and the second processed data in step S1113 includes determining the target touch data set as the difference between the first processed data and the second processed data. Identifying the difference between the touch state and the no-touch state using the difference can improve data processing efficiency while reducing data loss.

[0078] See also Figure 4 In one embodiment, in step S140, the invalid touch data group is compressed according to a preset first compression strategy and a corresponding touch data number to obtain a first set of compressed data, including:

[0079] Step S141 : In the invalid touch data group, group invalid touch data with consecutive numbers into one group to obtain multiple groups of first data.

[0080] As can be seen from the foregoing description, after the corresponding touch data number in the target touch data group, the invalid touch data group obtained by dividing it according to the preset touch threshold can also obtain the corresponding touch data number in the invalid touch data group. However, since the actual touch area is generally larger than the adjacent transmitting and receiving channels, and the actual touch area generally does not cover the entire touch screen, there may be multiple consecutive groups of invalid touch data in the invalid touch data group outside the preset first touch threshold. Invalid touch data with consecutive numbers can then be divided into one group to obtain multiple groups of first data.

[0081] Step S142: According to a preset first compression strategy, compress the plurality of groups of the first data into corresponding compression values to obtain a first group of compressed data.

[0082] In the embodiment of the present application, invalid touch data with consecutive numbers are grouped together in the invalid touch data group to obtain multiple groups of first data, and the multiple groups of first data are respectively compressed into corresponding compression values, thereby greatly reducing the amount of data transmission.

[0083] See also Figure 5 In one embodiment, the step S142 compresses the plurality of first data sets into corresponding compression values according to a preset first compression strategy to obtain a first set of compressed data, including:

[0084] Step S1421: Obtain the data volume of the first data.

[0085] Step S1422: When the data volume is less than a preset second touch threshold, the sum of the data volume and the second touch threshold is determined as the compression value corresponding to the first data to obtain a first set of compressed data; wherein each touch data value in the first data is less than the second touch threshold.

[0086] For example, the preset first touch threshold is 20, the preset second touch threshold is 128, and the amount of the first data is 60, that is, there are 60 consecutive touch data less than the first touch threshold, that is, there are 60 consecutive touch data less than 20, and at the same time, the amount of the first data 60 is also less than the preset second touch threshold 128. Then, the compression value corresponding to the first data is 128+60=188, and its corresponding binary value is: 1000 0000+0011 1100(60)=10111100=188. By combining the compression values corresponding to multiple groups of first data, the first group of compressed data can be obtained.

[0087] In the embodiment of the present application, the sum of the data amount and the second touch threshold is determined as the compression value corresponding to the first data, and multiple invalid touch data can be converted into one compression value, thereby greatly reducing the amount of data transmission.

[0088] Based on the above embodiment, the following steps are further included: Step S1423-Step S1424:

[0089] Step S1423: when the data volume is greater than a preset second touch threshold, splitting the first data into multiple groups of second data; wherein the data volume of each of the second data is less than the second touch threshold;

[0090] Step S1424: Determine the sum of the data volume of the second data and the second touch threshold as the compression value of the second data to obtain a first set of compressed data.

[0091] For example, the preset first touch threshold is 20, the preset second touch threshold is 128, and the data volume of the first data is 280, that is, there are 280 consecutive touch data less than the first touch threshold, that is, there are 280 consecutive touch thresholds less than the first touch threshold, and at the same time, the data volume of the first data 280 is also greater than the preset second touch threshold. Then, 280 can be split, that is, 280=127+127+26, that is, split into 127 consecutive numbers not exceeding the second touch threshold, 127 consecutive numbers not exceeding the second touch threshold, and 26 consecutive numbers not exceeding the second touch threshold, that is, 3 groups of second data are obtained. Then, these 3 groups of second data are compressed as follows: the compression value corresponding to the first group of 127 consecutive numbers not exceeding the second touch threshold is 127+128=255, and the corresponding binary is: 1000 0000+0111 1111(127)=1111 1111=255; the compression value corresponding to the second group of 127 consecutive numbers that do not exceed the second touch threshold is 127+128=255, and the corresponding binary value is: 10000000+0111 1111(127)=1111 1111=255; the compression value corresponding to the third group of 26 consecutive numbers that do not exceed the second touch threshold is 128+26=154, and the corresponding binary value is: 1000 0000+0001 1010(26)=1001 1010=154, and the compression values corresponding to the second data obtained by dividing multiple groups of first data are combined to obtain the first group of compressed data.

[0092] In an embodiment of the present application, when the data volume is greater than a preset second touch threshold, the first data is split into multiple groups of second data so that the data volume of each second data is less than the second touch threshold. The sum of the data volume of the second data and the second touch threshold is then determined as the compression value of the second data to obtain a first group of compressed data. This can effectively distinguish the compression value corresponding to invalid touch data from valid touch data, thereby achieving accurate identification of valid data.

[0093] In one embodiment, compressing the valid touch data set according to a preset second compression strategy to obtain a second set of compressed data in step S150 includes: determining the valid touch data set as the second set of compressed data according to the preset second compression strategy. By retaining the touch data in the valid touch data set without compression, the reliability of the valid touch data is ensured, thereby improving the accuracy of touch positioning.

[0094] Some examples are listed below to further illustrate the touch data compression method of the present application.

[0095] Assume that the preset first touch threshold is 20 and the preset second touch threshold is 128. After obtaining the target touch data group and the corresponding touch data number according to the first frame touch data, the preset second frame touch data, and the preset touch data numbering rule, the touch data in the target touch data group are traversed in sequence according to the touch data number order. For example, starting from the first number of the touch data in the target touch data group, it is determined whether the touch data corresponding to the first number is greater than the preset first touch threshold. If the touch data is greater than the first touch threshold, the touch data is valid touch data, and the touch data is output as the compressed value of the valid touch data. If the touch data is less than the first touch threshold, the touch data is invalid touch data. Then, the accumulated amount of data that is continuously less than the first touch threshold is num=num+1. Initially, num=0. Then, whether the touch data corresponding to the second number is greater than the preset first touch threshold is determined. If the touch data corresponding to the second number is also less than the first touch threshold, whether the touch data corresponding to the third number is greater than the preset first touch threshold is determined again. This process continues until the touch data corresponding to the next number is less than the preset first touch threshold, or when the accumulated amount of data that exceeds the touch threshold, num=127, the accumulated touch data is considered an invalid touch data group, and the value of 128+num is output as the compressed data value of the invalid touch data. Then, num=0 is set and accumulated again until all touch data of all target touch data groups are traversed.

[0096] The following examples specifically illustrate the method for compressing valid touch data and invalid touch data in this application:

[0097] For example, the preset first touch threshold is 20, the preset second touch threshold is 128, and when traversing the target touch data, 60 consecutive invalid touch data, 78, 82, 96 consecutive invalid touch data, and 85 are found. Then, according to the compression method, it can be:

[0098] The compressed value of 60 consecutive invalid touch data is 128+60=188, and the corresponding binary value is: 10000000+0011 1100(60)=1011 1100=188; 78: still 78 after compression; 82: still 82 after compression; The compressed value of 96 consecutive invalid touch data is 128+96=224, and the corresponding binary value is: 1000 0000+0110 0000(96)=11100000=224; 85: still 85 after compression.

[0099] The compression ratio this time is: (60+1+1+96+1) / 5=31.8.

[0100] For another example, when traversing the target touch data, 280 consecutive invalid touch data, 71, 18 consecutive invalid touch data, and 32 are found. Then, according to the compression method, the following may be obtained:

[0101] Split 280 into 280 = 127 + 127 + 26, that is, split into 127 consecutive numbers that do not exceed the second touch threshold, 127 consecutive numbers that do not exceed the second touch threshold, and 26 consecutive numbers that do not exceed the second touch threshold;

[0102] The compression value corresponding to the first group of 127 consecutive numbers that do not exceed the second touch threshold is 127+128=255, and the corresponding binary is: 1000 0000+0111 1111(127)=1111 1111=255; the compression value corresponding to the second group of 127 consecutive numbers that do not exceed the second touch threshold is 127+128=255, and the corresponding binary is: 1000 0000+0111 1111(127)=1111 1111=255; the compression value corresponding to the third group of 26 consecutive numbers that do not exceed the second touch threshold is 127+128=255, and the corresponding binary is: 1000 0000+0001 1010(26)=1001 1010=154; 71: still 71 after compression; the compression value corresponding to 18 consecutive numbers not exceeding the second touch threshold is 128+18=146, and the corresponding binary value is: 1000 0000+00010010(18)=1001 0010=146; 32: still 32 after compression.

[0103] The compression ratio this time is: (280+1+18+1) / 6=50

[0104] As can be seen, the maximum compression ratio of this application can reach 127:1. That is, when all data does not exceed the threshold, every 127 bytes of data can be compressed into 1 byte of data, that is, represented by 255. According to actual writing conditions, the compression ratio can also reach about 90 when writing multiple strokes in a normal single stroke. Therefore, data transmission can be greatly reduced while retaining valid data as much as possible.

[0105] Example 2

[0106] The following is an embodiment of the device of the present application, which can be used to execute the content of the method in Example 1 of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the content of the method in Example 1 of the present application.

[0107] See also Figure 6, a touch data compression device 200 disclosed in an embodiment of the present application includes:

[0108] The first data acquisition module 210 is configured to acquire a first frame of touch data of the touch screen; the first frame of touch data is data when a touch is applied to the touch screen;

[0109] A second data acquisition module 220 is configured to obtain a target touch data group and a corresponding touch data number based on the first frame of touch data, a preset second frame of touch data, and a preset touch data numbering rule; the second frame of touch data is data obtained when no touch is applied to the touch screen;

[0110] A touch data classification module 230 is configured to determine, in the target touch data group, data within a preset first touch threshold range as a valid touch data group, and determine data outside the preset first touch threshold range as an invalid touch data group;

[0111] A first group of compressed data acquisition module 240 is configured to compress the invalid touch data group according to a preset first compression strategy and a corresponding touch data number to obtain a first group of compressed data;

[0112] A second set of compressed data acquisition module 250 is configured to compress the valid touch data set according to a preset second compression strategy to obtain a second set of compressed data; wherein the compression ratio of the first compression strategy is greater than the compression ratio of the second compression strategy;

[0113] The touch-control point reporting module 260 is used to perform touch-control point reporting on the first set of compressed data and the second set of compressed data.

[0114] The embodiment of the present application obtains a target touch data group and a corresponding touch data number based on the first frame touch data, the preset second frame touch data, and the preset touch data numbering rule, and then determines the data within the preset first touch threshold range as a valid touch data group, and determines the data outside the preset first touch threshold range as an invalid touch data group, so that the invalid touch data group and the valid touch data group are compressed using a first compression strategy and a second compression strategy with different compression ratios, respectively, to obtain a first group of compressed data and a second group of compressed data, and then the first group of compressed data and the second group of compressed data are used for touch point positioning, thereby eliminating the need for a high-performance microcontroller, reducing the amount of invalid touch data transmission and improving data transmission efficiency, and improving the accuracy of touch positioning by ensuring valid touch data as much as possible.

[0115] In one embodiment, the first data acquisition module 210 includes:

[0116] a target touch data group acquisition module, configured to obtain the target touch data group according to the first frame touch data and the preset second frame touch data;

[0117] The touch position array acquisition module is used to arrange the transmitting channels in the touch screen in rows and the receiving channels in columns according to a preset numbering rule to obtain a touch array.

[0118] The touch data number acquisition module is used to number the touch array according to a preset sequence, and record the touch data of the corresponding transmitting channel and receiving channel at the intersection of the row and column in the touch array to obtain the corresponding touch data number in the target touch data group.

[0119] The embodiment of the present application obtains the corresponding touch data number according to a preset numbering rule, and then uniquely identifies each touch data by the number, thereby facilitating subsequent compression and touch point positioning according to the number.

[0120] In one embodiment, the target touch data set acquisition module includes:

[0121] a first processed data acquisition module, configured to determine the difference between each touch data in the first frame of touch data and the first preset value, divide the difference by the second preset value, and add the difference to the third preset value, and determine the difference as first processed data, so that each touch data in the first frame of touch data is less than a preset second touch threshold;

[0122] a second processed data acquisition module, configured to determine the difference between each touch data in the preset second frame of touch data and the first preset value, divide the difference by the second preset value, and then add the difference to the third preset value, and determine the difference as second processed data, so that each touch data in the second frame of touch data is less than a preset second touch threshold;

[0123] The target touch data determination module is configured to obtain the target touch data group according to the first processed data and the second processed data; wherein each touch data in the target touch data group is smaller than a preset second touch threshold.

[0124] The embodiment of the present application obtains a target touch data group according to a preset data processing strategy, so that the touch data in the target touch data group is within a preset maximum first touch threshold, thereby reducing the amount of data while minimizing the loss of valid data, thereby reducing storage and transmission resource consumption.

[0125] In one embodiment, the target touch data determination module is configured to obtain the target touch data set based on the first processed data and the second processed data, including determining the target touch data set as the difference between the first processed data and the second processed data. Identifying the difference between the touch state and the no-touch state using the difference can improve data processing efficiency while reducing data loss.

[0126] In one embodiment, the first group of compressed data acquisition modules includes:

[0127] The first data acquisition module is configured to group invalid touch data with consecutive numbers into one group in the invalid touch data group to obtain multiple groups of first data.

[0128] The compression value acquisition module is used to compress multiple groups of the first data into corresponding compression values according to a preset first compression strategy to obtain a first group of compressed data.

[0129] In the embodiment of the present application, invalid touch data with consecutive numbers are grouped together in the invalid touch data group to obtain multiple groups of first data, and the multiple groups of first data are respectively compressed into corresponding compression values, thereby greatly reducing the amount of data transmission.

[0130] In one embodiment, the compression value acquisition module includes:

[0131] The quantity acquisition module is used to obtain the data volume of the first data.

[0132] a first compression value calculation module configured to, when the data amount is less than a preset second touch threshold, determine the sum of the data amount and the second touch threshold as the compression value corresponding to the first data, thereby obtaining a first set of compressed data; each touch data value in the first data is less than the preset second touch threshold;

[0133] In the embodiment of the present application, the sum of the data amount and the second touch threshold is determined as the compression value corresponding to the first data, and multiple invalid touch data can be converted into one compression value, thereby greatly reducing the amount of data transmission.

[0134] Based on the above embodiment, the compression value acquisition module includes:

[0135] a second data acquisition module, configured to split the first data into multiple groups of second data when the amount of the data is greater than a preset second touch threshold; wherein the amount of the second data is all less than the second touch threshold;

[0136] The second compression value calculation module is configured to determine the sum of the data volume of the second data and the second touch threshold as the compression value of the second data, so as to obtain a first set of compressed data.

[0137] In an embodiment of the present application, when the data volume is greater than a preset second touch threshold, the first data is split into multiple groups of second data so that the data volume of each second data is less than the second touch threshold. The sum of the data volume of the second data and the second touch threshold is then determined as the compression value of the second data to obtain a first group of compressed data. This can effectively distinguish the compression value corresponding to invalid touch data from valid touch data, thereby achieving accurate identification of valid data.

[0138] In one embodiment, the second set of compressed data acquisition module is configured to compress the valid touch data set according to a preset second compression strategy to obtain the second set of compressed data, and includes determining the valid touch data set as the second set of compressed data according to the preset second compression strategy. By retaining the touch data in the valid touch data set uncompressed, the reliability of the valid touch data is ensured, thereby improving the accuracy of touch positioning.

[0139] Example 3

[0140] The following is an embodiment of the device of the present application, which can be used to execute the content of the method in Example 1 of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the content of the method in Example 1 of the present application.

[0141] See also Figure 7 The present application also provides an electronic device 300, which can be any smart terminal including a touch display screen, for example, it can be specifically a computer, a mobile phone, a tablet computer, an interactive tablet, etc. In an exemplary embodiment of the present application, the electronic device 300 is an interactive tablet, which can include: at least one processor 310, at least one memory 320, at least one display 330, at least one network interface 340, a user interface 350 and at least one communication bus 360.

[0142] Among them, the display 330 includes a display layer and a touch layer. The display layer is used to display data processed by the processor; the touch layer may include: a capacitive screen, an electromagnetic screen or an infrared screen, etc. Generally speaking, the touch layer can receive touch operations or writing operations input by the user through fingers or input devices.

[0143] The user interface 350 is mainly used to provide an input interface for the user and obtain data input by the user. Optionally, the user interface 350 may also include a standard wired interface or a wireless interface.

[0144] The network interface 340 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0145] The communication bus 360 is used to realize the connection and communication between these components.

[0146] The processor 310 may include one or more processing cores. The processor 310 utilizes various interfaces and circuits to connect various components within the electronic device 300. It executes instructions, programs, code sets, or instruction sets stored in the memory 320, as well as accesses data stored in the memory 320, to perform various functions of the electronic device 300 and process data. Optionally, the processor 310 may be implemented using at least one hardware form factor of a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 310 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content displayed by the display layer; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 310 and may be implemented as a separate chip.

[0147] Among them, the memory 320 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 320 includes a non-transitory computer-readable storage medium. The memory 320 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 320 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 320 may also be optionally at least one storage device located away from the aforementioned processor 310. As Figure 7As shown, the memory 320 as a computer storage medium may include an operating system, a network communication module, and a user.

[0148] The processor 310 can be used to call the application of the touch data compression method stored in the memory 320 and specifically execute the method steps of the above-mentioned embodiment 1. The specific execution process can be referred to the specific description shown in embodiment 1 and will not be repeated here.

[0149] Example 4

[0150] This application also provides a computer-readable storage medium having a computer program stored thereon. The instructions are suitable for being loaded by a processor and executing the method steps of the above-described embodiment 1. The specific execution process can be referred to the specific description of embodiment 1 and is not described in detail here. The device where the storage medium is located can be a personal computer, laptop computer, smartphone, tablet computer, or other electronic device.

[0151] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the components described as separate parts may or may not be physically separated, and the parts displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0152] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0153] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the function selected in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 function selected in a box or multiple boxes.

[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 steps for the function selected in a box or multiple boxes.

[0155] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0156] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0157] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0158] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0159] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A touch data compression method, characterized in that: The steps include: Acquire a first frame of touch data of the touch screen; the first frame of touch data is data when a touch is applied to the touch screen; Obtaining a target touch data group and a corresponding touch data number according to the first frame of touch data, a preset second frame of touch data, and a preset touch data numbering rule; the second frame of touch data is data when no touch is applied to the touch screen; In the target touch data group, data within a preset first touch threshold range is determined as a valid touch data group, and data outside the preset first touch threshold range is determined as an invalid touch data group; compressing the invalid touch data group according to a preset first compression strategy and a corresponding touch data number to obtain a first group of compressed data; Compressing the valid touch data group according to a preset second compression strategy to obtain a second set of compressed data; wherein the compression ratio of the first compression strategy is greater than the compression ratio of the second compression strategy; The first set of compressed data and the second set of compressed data are reported by touch.

2. The touch data compression method according to claim 1, wherein: The step of compressing the invalid touch data group according to a preset first compression strategy and a corresponding touch data number to obtain a first group of compressed data includes: In the invalid touch data group, the invalid touch data with consecutive numbers are divided into one group to obtain multiple groups of first data; According to a preset first compression strategy, multiple groups of the first data are respectively compressed into corresponding compression values to obtain a first group of compressed data.

3. The touch data compression method according to claim 2, wherein: The step of compressing the plurality of first data sets into corresponding compression values according to a preset first compression strategy to obtain a first set of compressed data includes: Acquire the data volume of the first data; When the data amount is less than a preset second touch threshold, the sum of the data amount and the second touch threshold is determined as the compression value corresponding to the first data to obtain a first set of compressed data; wherein, the touch data values in the first data are all outside the range of the first touch threshold.

4. The touch data compression method according to claim 3, wherein: When the amount of the data is greater than a preset second touch threshold, splitting the first data into multiple groups of second data; wherein the amount of the second data is all less than the second touch threshold; The sum of the data volume of the second data and the second touch threshold is determined as the compression value of the second data to obtain a first set of compressed data.

5. The touch data compression method according to claim 1, wherein: The step of compressing the valid touch data group according to a preset second compression strategy to obtain a second set of compressed data includes: According to a preset second compression strategy, the valid touch data group is determined as the second group of compressed data.

6. The touch data compression method according to claim 1, wherein: The obtaining of a target touch data group and a corresponding touch data number according to the first frame touch data, the preset second frame touch data and a preset touch data numbering rule includes: Obtaining the target touch data group according to the first frame touch data and the preset second frame touch data; Arranging the transmitting channels in the touch screen in rows and the receiving channels in columns according to a preset numbering rule to obtain a touch array; The touch array is numbered according to a preset sequence, and touch data corresponding to the transmitting channel and the receiving channel are recorded at the intersection of rows and columns in the touch array to obtain corresponding touch data numbers in the target touch data group.

7. The touch data compression method according to claim 6, wherein: The step of obtaining the target touch data set according to the first frame touch data and the preset second frame touch data includes: Determine the difference between each touch data in the first frame of touch data and the first preset value as first processed data by dividing the difference by the second preset value and adding the difference to the third preset value, so that each touch data in the first frame of touch data is less than a preset second touch threshold; Determine the difference between each touch data in the preset second frame of touch data and the first preset value, divide the difference by the second preset value, and add the difference to the third preset value to form the second processed data, so that each touch data in the second frame of touch data is less than a preset second touch threshold; The target touch data group is obtained according to the first processed data and the second processed data; wherein each touch data in the target touch data group is smaller than a preset second touch threshold.

8. The touch data compression method according to claim 7, wherein: The obtaining of the target touch data set according to the first processed data and the second processed data includes: The difference between the first processed data and the second processed data is determined as the target touch data set.

9. A touch data compression device, characterized in that: include: A first data acquisition module, configured to acquire a first frame of touch data of the touch screen; The first frame of touch data is data when a touch is applied to the touch screen; a second data acquisition module, configured to obtain a target touch data group and a corresponding touch data number based on the first frame of touch data, a preset second frame of touch data, and a preset touch data numbering rule; the second frame of touch data is data obtained when no touch is applied to the touch screen; a touch data classification module, configured to, in the target touch data group, determine data within a preset first touch threshold range as a valid touch data group, and determine data outside the preset first touch threshold range as an invalid touch data group; A first group of compressed data acquisition module is used to compress the invalid touch data group according to a preset first compression strategy and a corresponding touch data number to obtain a first group of compressed data; a second group of compressed data acquisition module, configured to compress the valid touch data group according to a preset second compression strategy to obtain a second group of compressed data; wherein the compression ratio of the first compression strategy is greater than the compression ratio of the second compression strategy; The touch-control point reporting module is used to perform touch-control point reporting on the first group of compressed data and the second group of compressed data.

10. An interactive tablet comprising a touch screen; the touch screen comprising a touch layer, a display layer, a processor and a memory; characterized in that: The memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the touch data compression method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the touch data compression method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Data compression method and mobile terminal

    CN105677185A

  • Signal reporting method and apparatus

    CN108700977A