Method and system for realizing software and hardware decoupling of touch display module

By decoupling the software and hardware of the touch display module through a layered architecture, standardization of interface customization and multi-vendor compatibility are achieved, solving the problems of strong coupling and maintenance difficulties in existing technologies, improving the flexibility of the equipment and lowering the introduction threshold.

CN120803413AActive Publication Date: 2025-10-17HUNAN GREATWALL INFORMATION FINANCIAL EQUIP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511282764.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-09
Publication Date
2025-10-17
Estimated Expiration
2045-09-09

AI Technical Summary

Technical Problem

Touch display modules in financial self-service equipment have problems such as strongly coupled architecture, poor compatibility with multiple suppliers, difficult maintenance, inconsistent touch data, and high technical barriers, resulting in long customization cycles, high maintenance costs, poor compatibility, and difficulty in introducing suppliers.

Method used

A layered architecture is adopted, including a drawing layer, a rebate data processing layer, and a HID communication layer, to achieve software and hardware decoupling of the touch display module. By standardizing the processing of touch data and interface drawing, it supports multi-vendor compatibility and reduces the technical threshold for suppliers to introduce.

Benefits of technology

It achieves software and hardware decoupling of the touch display module, improves interface customization efficiency and consistency, supports hot switching of multi-vendor devices, reduces software adaptation and maintenance costs, and improves system flexibility and maintainability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120803413A_ABST
    Figure CN120803413A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for realizing software and hardware decoupling of a touch display module, and relates to the technical field of touch display. According to the method, software and hardware decoupling is realized through a layered architecture of a drawing layer, a return point data processing layer and an HID communication layer; the drawing layer provides an interface drawing standard interface library; the return point data processing layer performs standardization processing on return point data of different suppliers and outputs unified screen coordinate point data; the HID communication layer obtains return data based on HID communication and transmits the return data to the return data processing layer. According to the scheme, software and hardware decoupling of the touch display module is realized, and the compatibility of multi-supplier equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch display technology, and in particular to a method and system for achieving software and hardware decoupling of a touch display module. Background Art

[0002] With the development of touch display technology, touch display modules are widely used in various applications. However, in the actual application of financial self-service devices with signature services, the device service software of the touch display module is adapted based on the WOSA / PISA protocol. Due to the strong coupling relationship between the touch display module and the device service software version, the more suppliers are introduced, the less universal the software version, and the higher the software adaptation and maintenance costs. Specifically, the touch display modules of current financial self-service devices have the following defects: (1) Strongly coupled architecture leads to long customization cycles; like Figure 1 As shown in the figure, under the traditional calling method, the touch display modules provided by suppliers A / B / C all require customized development of the host computer library (including drawing and protocol drivers), resulting in the device service layer code directly relying on the hardware implementation of different suppliers. Different customers have many customized requirements for the signature interface, which need to rely on the host computer software of each supplier to be implemented one by one before they can be integrated into the device service, which is long and inefficient.

[0003] (2) Poor compatibility among multiple suppliers leads to maintenance difficulties; Replacing devices requires rebuilding the device service layer code, which results in high maintenance costs (for example, a bank's supplier switch resulted in the rewriting of 30% of its module code).

[0004] (3) The touch data is not uniform, which makes the differentiated processing complicated; The touch coordinate data formats and standards of different manufacturers are not unified, and there is a lack of a standardized data processing layer.

[0005] The high technical threshold makes it difficult to introduce touch display module suppliers; Suppliers must possess the ability to develop host computer software; hardware introduction is limited. Even if a supplier's hardware specifications meet the requirements, it will be difficult to introduce the system without the technical capabilities to implement the host computer software. Summary of the Invention

[0006] The purpose of the present invention is to provide a method and system for realizing software and hardware decoupling of a touch display module, which can realize software and hardware decoupling of a touch display module and achieve multi-vendor compatibility.

[0007] In a first aspect, the application provides a method for realizing software and hardware decoupling of a touch display module, which realizes software and hardware decoupling of the touch display module through a layered architecture; the layered architecture comprises a drawing layer, a return point data processing layer and an HID communication layer; The drawing layer is configured to provide a standard interface library for interface drawing, so as to be called by a service layer through a driver layer. The return point data processing layer is configured to standardize return point data of the touch display module, so as to obtain screen coordinate point data, and output the screen coordinate point data to the drawing layer. The HID communication layer is configured to acquire the return point data of the touch display module based on HID communication, and deliver the return point data to the return point data processing layer.

[0008] In a possible implementation, the standardization processing of the return point data of the touch display module comprises: for a first touch display module, converting electromagnetic coordinate point data of the first touch display module into screen coordinate point data based on the HID communication layer; wherein the first touch display module is a touch display module of a supplier who does not provide a host computer library.

[0009] In a possible implementation, the standardization processing of the return point data of the touch display module further comprises: for a second touch display module, calling a host computer library provided by a corresponding supplier to analyze and acquire screen coordinate point data of the second touch display module; wherein the second touch display module is a touch display module of a supplier who provides a host computer library.

[0010] In a possible implementation, the electromagnetic coordinate point data of the first touch display module is received by the HID communication layer, which comprises: the HID communication layer receives original coordinate point data of the first touch display module, and converts the original coordinate point data into electromagnetic coordinate point data based on a rule of a corresponding supplier's original coordinate point data composition.

[0011] In a possible implementation, the conversion of the electromagnetic coordinate point data into the screen coordinate point data comprises: Firstly, a conversion factor of the conversion of the electromagnetic coordinate point data into the screen coordinate point data is calculated based on electromagnetic resolution parameters and screen resolution parameters. Then, the screen coordinate point data is calculated based on the conversion factor and the electromagnetic coordinate point data.

[0012] In a possible implementation, the screen coordinate point data comprises four parameters, which are respectively an x coordinate, a y coordinate, a pressure value and a time interval between a current return point and a first return point.

[0013] In a possible implementation, the interface drawing standard interface library provided by the drawing layer comprises a signature window drawing module and a track drawing module; the signature window drawing module draws a signature window based on window x coordinate, window y coordinate, window width, and window height parameters; and the track drawing module draws a touch track based on x coordinate, y coordinate, and pressure value parameters.

[0014] In a second aspect, the present application provides a system for realizing software and hardware decoupling of a touch display module, comprising a memory and a processor; The memory is configured to store a computer program. The processor is configured to invoke the computer program to execute the method described above.

[0015] In a third aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program, when running on an electronic device, causes the electronic device to implement the method described above.

[0016] In a fourth aspect, the present application provides a computer program product comprising a computer program, and the computer program, when running on an electronic device, causes the electronic device to implement the method described above.

[0017] The specific implementation of the second to fourth aspects of the present application described above can refer to the implementation of the first aspect described above, and will not be described here.

[0018] Advantages:

[0019] 1) Layered decoupling architecture: by introducing a drawing layer, a return point data processing layer, and an HID communication layer, complete decoupling of software and hardware is realized, and interface customization does not depend on vendor software implementation.

[0020] 2) Multi-vendor compatibility: the system can support devices of different vendors at the same time, and can be hot switched, improving the flexibility and maintainability of the system.

[0021] 3) Return point data processing standardization: the return point data processing layer is introduced to convert the return point data coordinates of touch display modules of different vendors into a standard data format.

[0022] 4) Reduction of technical threshold for vendor software implementation: as long as the return point implementation of the firmware electromagnetic coordinate point data is met, the system can be introduced even if the host computer software implementation capability is not met. BRIEF DESCRIPTION OF DRAWINGS

[0023] Figure 1 For the traditional strong coupling calling mode; Figure 2To be a layered decoupling architecture in the embodiments of the present application. DETAILED DESCRIPTION

[0024] In order to make the person skilled in the art better understand the present application, the technical scheme of the present application will be further described in detail below in combination with the embodiments of the present application and the drawings.

[0025] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0026] In the embodiments of the present disclosure, the character " / " represents a "or" relationship between the objects before and after it. For example, A / B represents: A or B.

[0027] As Figure 1 shown, in the conventional calling mode, the supplier (such as supplier A / B) of the touch display module needs to customize and develop and provide the host machine library (such as the host machine library of supplier A / B). The touch display module device service of the service layer calls the host machine library provided by the supplier through the driver layer, thereby realizing the use of the touch display module of the corresponding supplier.

[0028] Among them, the service layer: the service interface of the application system (such as signature verification, transaction confirmation) conforming to the WOSA / PISA protocol interface requirements, called by the application system.

[0029] The driver layer: the touch display module standard interface based on the WOSA / PISA protocol is met, and the driver interface library including information instructions, execution instructions, events, parameter configurations and the like is realized.

[0030] The supplier host machine library refers to the dynamic link library with drawing function developed by the supplier according to the private interface, and the functions and interfaces are defined by each supplier.

[0031] The driver layer is called by the service layer and downwardly connected to the hardware.

[0032] Due to the strong coupling of the touch display module software and hardware, the multi-supplier compatibility is poor and the technical threshold is high: the supplier needs to have the host machine software development capability, which limits the introduction of hardware.

[0033] To this end, the application provides a method and system for realizing software and hardware decoupling of a touch display module, which can be applied to financial self-service equipment (such as STM, VTM, intelligent counter, etc.), and solves the problems of strong coupling of software and hardware and compatibility of multi-vendor equipment.

[0034] Embodiment one: The embodiment of the application provides a method for realizing software and hardware decoupling of a touch display module, which realizes software and hardware decoupling of the touch display module through a layered architecture; the layered architecture comprises a drawing layer, a return point data processing layer and an HID communication layer; The drawing layer is configured to provide a standard interface library for interface drawing, for calling by a service layer via a driver layer; The return point data processing layer is configured to perform standardized processing on return point data of the touch display module to obtain screen coordinate point data, and output the screen coordinate point data to the drawing layer; The HID communication layer is configured to acquire the return point data of the touch display module based on HID communication, and deliver the return point data to the return point data processing layer.

[0035] The embodiment of the application realizes software and hardware decoupling of the touch display module as a whole by defining the layered architecture comprising the drawing layer, the return point data processing layer and the HID communication layer, breaks the strong coupling mode of the traditional "device service layer directly depending on vendor hardware implementation", and makes interface customization not dependent on vendor software, thereby shortening the customization period and reducing software adaptation and maintenance costs.

[0036] The technical means in the embodiment of the application will be described in detail below.

[0037] The drawing layer comprises core functions such as drawing of a signature window and trajectory drawing, and can particularly process customized window characteristics proposed by a customer, including transparency, border, background color, trajectory, text, background picture, button, countdown, etc.

[0038] In some embodiments, the standard interface library for interface drawing provided by the drawing layer comprises a signature window drawing module and a trajectory drawing module; the signature window drawing module draws a signature window based on window x coordinate, window y coordinate, window width and window height parameters; and the trajectory drawing module draws a touch trajectory based on x coordinate, y coordinate and pressure value parameters.

[0039] The drawing of the signature window defines four standard parameters: window x coordinate, window y coordinate, window width w and window height h. For example, the drawing function of the signature window is CreateWindow (x, y, w, h). The trajectory drawing defines three standard parameters: x coordinate, y coordinate and pressure value pressure. For example, the trajectory drawing function is DrawSignature (x, y, pressure).

[0040] The interface drawing function is standardized through a drawing layer, so that the service layer and the driver layer can call the drawing function through a unified interface, and dependence on a vendor drawing implementation is avoided, and efficiency and consistency of interface customization are improved.

[0041] In the embodiment, a return point data normalization method is introduced, and return point data of a touch display module is standardized, including: for a first touch display module, receiving electromagnetic coordinate point data of the first touch display module based on a HID communication layer, and converting the electromagnetic coordinate point data into screen coordinate point data; the first touch display module is a touch display module of a vendor that does not provide an upper computer library.

[0042] The scheme receives electromagnetic coordinate point data and converts it into screen coordinate point data through the HID communication layer for a touch display module (the first touch display module) of a vendor that does not provide an upper computer library, realizes compatibility of a vendor device without upper computer development capability, reduces technical threshold introduced by the vendor, and does not require the vendor to have upper computer software development capability.

[0043] In some embodiments, the standardized processing of the return point data of the touch display module further includes: for a second touch display module, calling an upper computer library provided by a corresponding vendor for analysis, and obtaining screen coordinate point data of the second touch display module; the second touch display module is a touch display module of a vendor that provides an upper computer library.

[0044] The scheme calls an upper computer library of a touch display module (the second touch display module) of a vendor that provides an upper computer library for data analysis, realizes compatibility of a device of an existing mature vendor, guarantees adaptation capability of the system to existing vendor resources, and further improves multi-vendor compatibility.

[0045] In some embodiments, the standard screen coordinate point data includes four parameters, namely, an x coordinate, a y coordinate, a pressure value, and a time interval between a current return point and a first return point.

[0046] The return point data normalization method has two core contents: one is to convert electromagnetic coordinate point data into original screen coordinate point data, and the other is to improve original screen coordinate point data screen_coordinates(x s ,y s ,pressure) containing three parameters into standard screen coordinate point data screen_coordinates(x s ,y s, pressure, time_interval), where time_interval is the time interval between the current return point and the first return point.

[0047] Based on the scheme, the standardized definition of touch data is realized, the problem of "differentiated processing complexity" caused by the non-uniform data format of various manufacturers in the traditional scheme is solved, and a unified data standard is provided for subsequent interface drawing of the drawing layer.

[0048] As shown in Figure 1 , the prior art is based on the supplier host library for return point data processing, and the data format of the return point is the original screen coordinate point data screen_coordinates(x s ,y s , pressure).

[0049] As shown in Figure 2 , according to the scheme provided by the embodiment of the present application, the embodiment of the present application can be based on the supplier host library for return point data processing, or can receive electromagnetic coordinate point data electromagnetic _coordinates(x e ,y e , pressure) returned by the HID communication layer; the electromagnetic coordinate point data is converted into screen coordinate point data by the return point data processing layer.

[0050] In the present application, the HID communication layer serves as the bottom layer, directly interacts with the hardware (touch display module), is responsible for receiving the original coordinate point data HIDData(b1, b2, b3,..., b8) through the HID communication, and converting it into electromagnetic coordinate point data, and then transmitting it to the return point data processing layer; the return point data processing protocol layer serves as the intermediate layer, analyzes the data received from the HID layer, and converts it into standard screen coordinate point data. The drawing layer serves as the upper layer, and realizes interface drawing (such as signature window, trajectory drawing, etc.) based on the standard screen coordinate point data.

[0051] Exemplarily, if the service layer sends a calling instruction to the drive layer: financial device service. Get touch coordinates (); After receiving the calling instruction, the drive layer forwards the calling instruction to the drawing layer; After receiving the calling instruction, the drawing layer calls the return point data processing protocol layer, and the return point data processing protocol layer performs the following judgment and processing: If the current supplier is supplier A / B, i.e. supplier_type = SupplierA / B, the output standard screen coordinate point data of the host library of supplier A / B is called, and if the current supplier is supplier C, the electromagnetic coordinate point data returned by the HID layer is received and converted into standard screen coordinate point data.

[0052] The coordinate conversion method in the embodiments of the present application is described below.

[0053] I. The HID communication layer receives original coordinate point data HIDData(b1, b2, b3, …, b8), and converts the original coordinate point data HIDData(b1, b2, b3, …, b8) into electromagnetic coordinate point data electromagnetic_coordinates(x e , y e , pressure) based on the composition rules of the original coordinate point data of different suppliers.

[0054] The return point data (original touch data) of the touch display module is the original coordinate point data HIDData(b1, b2, b3, …, b8). The HID communication layer receives the original coordinate point data HIDData(b1, b2, b3, …, b8) of the touch display module and converts it into electromagnetic coordinate point data electromagnetic_coordinates(x e , y e , pressure), which is then transmitted to the return point data processing layer.

[0055] The HID communication original coordinate point data is composed of 8 bytes, which are b1, b2, b3, …, b8.

[0056] The composition rules of the original coordinate point data of different suppliers are shown in Table 1.

[0057] .

[0058] The above conversion rules are uniformly processed as parameter configuration, which can be compatible with the data differences of different suppliers, and the calculation formula of the coordinate value is standardized as: ; For example, the parameter configuration processing is as follows, where the content after # is the annotation of the corresponding statement: [Enable] ; # enable; supplier_type = SupplierA; # specify the currently enabled supplier type (SupplierA / B / C), and the system automatically loads the corresponding supplier's parsing rules according to this field; [SupplierA]; # the original HID data parsing rules of supplier A (x / y coordinates and pressure value occupy b3-b8, b1 is the table header, and b2 is the state); x_low = b3; x_high = b4; y_low = b5; y_high = b6; pressure_low = b7; pressure_high = b8; # x coordinate: composed of b3 and b4, x coordinate low 8 bits b3, x coordinate high 8 bits b4, calculation formula: xe = b3 + b4 * 256; # y coordinate: composed of b5 and b6, y coordinate low 8 bits b5, y coordinate high 8 bits b6, calculation formula: ye = b5 + b6 * 256; # pressure value: composed of b7 and b8, pressure value low 8 bits b7, pressure value high 8 bits b8, calculation formula: pressure = b7 + b8 * 256 [SupplierB]; # Analysis rule of supplier B (x / y coordinate and pressure value occupy b1-b6, b7, b8 are reserved bytes); x_low = b1; x_high = b2; y_low = b3; y_high = b4; pressure_low = b5; pressure_high = b6; # x coordinate: composed of b1 and b2, x coordinate low 8 bits b1, x coordinate high 8 bits b2, calculation formula: xe = b1 + b2 * 256; # y coordinate: composed of b3 and b4, y coordinate low 8 bits b3, y coordinate high 8 bits b4, calculation formula: ye = b3 + b4 * 256; # pressure value: composed of b5 and b6, pressure value low 8 bits b5, pressure value high 8 bits b6, calculation formula: pressure = b5 + b6 * 256; [SupplierC]; # Analysis rule of supplier C (x / y coordinate and pressure value occupy b2-b7, b1 is state, b8 is reserved byte); x_low = b2; x_high = b3; y_low = b4; y_high = b5; pressure_low = b6; pressure_high = b7; # x coordinate: composed of b2 and b3, the low 8 bits of x coordinate is b2, the high 8 bits of x coordinate is b3, the calculation formula is: xe = b2 + b3x256; # y coordinate: composed of b4 and b5, the low 8 bits of y coordinate is b4, the high 8 bits of y coordinate is b5, the calculation formula is: ye = b4 + b5x256; # pressure value: composed of b6 and b7, the low 8 bits of pressure value is b6, the high 8 bits of pressure value is b7, the calculation formula is: pressure = b6 + b7x256; Through parameter configuration, different supplier data formats (such as byte rules of suppliers A / B / C) can be processed.

[0059] The following takes supplier A as an example to explain the method of converting HID communication original coordinate point data HIDData(b1, b2, b3,..., b8) into electromagnetic coordinate point data electromagnetic_coordinates(x e ,y e ,pressure): First, extract b3-b8 bytes of HID communication original coordinate point data HIDData according to the configuration table, and then calculate electromagnetic coordinate point data according to the following formula: .

[0060] Through the original coordinate point data composition rule of the supplier based on the HID communication layer, the original data is converted into electromagnetic coordinate point data, which ensures accurate analysis of different supplier original touch data, provides reliable input for the standardization processing of the return point data processing layer, and improves the compatibility and accuracy of data analysis.

[0061] II. Convert electromagnetic coordinate point data electromagnetic_coordinates(x e ,y e ,pressure) into screen coordinate point data screen_coordinates(x s ,y s ,pressure); First, based on the electromagnetic resolution parameter and the screen resolution parameter, calculate the conversion factor for converting electromagnetic coordinate point data into screen coordinate point data; Resolution is mainly composed of horizontal pixels (horizontal pixels) and vertical pixels (vertical pixels); Electromagnetic resolution parameter is expressed as electromagnetic_resolution(h e ,v e ,pressure) indicates that h e Indicates the maximum number of electromagnetic induction points in the horizontal direction of the hardware layer, which determines the accuracy of the original coordinates. e Indicates the maximum number of electromagnetic induction points in the vertical direction of the hardware layer (same as h e Together they constitute the physical properties of the electromagnetic plate), pressure indicates the number of pressure-sensing levels (e.g., 4096 levels of pressure sensitivity correspond to 12-bit precision); The screen resolution parameter is screen_resolution(h s ,v s ,pressure) indicates that h s Indicates the horizontal pixel count of the display device, v s Indicates the number of vertical pixels of the display device. Pressure is a reserved parameter and is aligned with the electromagnetic resolution pressure value.

[0062] The conversion factor is calculated as follows: ; Where, Indicates the conversion factor in the horizontal direction, Indicates the conversion factor in the vertical direction; Then, based on the conversion factor And the electromagnetic coordinate point data is converted to calculate the screen coordinate point data. The calculation formula is as follows: ; By calculating the conversion factor to convert electromagnetic coordinate point data into screen coordinate point data, the touch modules with different electromagnetic resolutions are adapted to the screen resolution, the coordinate system is unified, the accurate presentation of the touch track on the screen is ensured, and the consistency of the interface drawing is improved.

[0063] 3. The original screen coordinate point data screen_coordinates(x s ,y s ,pressure) is standardized into the standard screen coordinate point data screen_coordinates(x s ,y s, pressure, time_interval), wherein, wherein ime_interval is a time interval between a current return point and a first return point, used for accurately restoring the signing speed when trajectory data is saved, an initial value of time_interval is a time of a first point of a first pen of the signature, and a subsequent value of time_interval is a time interval between a return point of the signature and a previous point, in milliseconds.

[0064] The above solutions solve the problems of strong coupling between software and hardware, poor multi-vendor compatibility, high maintenance cost, etc. in the traditional architecture, realize decoupling of software and hardware of the touch display module, improve the compatibility of multi-vendor devices, reduce the introduction threshold of the vendor, and reduce the software adaptation and maintenance cost.

[0065] Embodiment Two The embodiment provides a system for realizing decoupling of software and hardware of a touch display module, comprising a memory and a processor. The memory is used for storing a computer program. The processor is used for calling the computer program to execute the method in Embodiment One.

[0066] Embodiment Three The embodiment provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is used to enable an electronic device to execute the method in Embodiment One when the computer program is run on the electronic device.

[0067] Embodiment Four The embodiment provides a computer program product, comprising a computer program, and the computer program is used to enable an electronic device to execute the method in Embodiment One when the computer program is run on the electronic device.

[0068] The specific implementation manners of the system, the electronic device, the computer readable storage medium and the computer program product provided in the embodiments of the present application can refer to the specific embodiments of the above method, and details are not described herein.

[0069] The technical contents of the above embodiments can be referred to each other, and for the same or similar technical features, part of the embodiments is omitted.

[0070] Obviously, those skilled in the art should understand that the units or steps of the present application described above can be realized by universal computing devices, and they can be centralized on a single computing device or distributed on a network composed of multiple computing devices. Alternatively, they can be realized by program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, or they can be respectively manufactured into individual integrated circuit modules, or multiple modules or steps among them can be manufactured into a single integrated circuit module to realize. Thus, the present application is not limited to any particular combination of hardware and software.

[0071] The preferred embodiments of the present application are described above, but the present application is not limited to the above. Those skilled in the art can make various modifications and changes to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for realizing software and hardware decoupling of a touch display module, characterized in that: Decoupling of the touch display module's software and hardware is achieved through a layered architecture, which includes a drawing layer, a rebate data processing layer, and a HID communication layer. The drawing layer is used to provide a standard interface library for interface drawing, which is called by the service layer through the driver layer; The rebate data processing layer performs standardization processing on the rebate data of the touch display module to obtain screen coordinate point data, and outputs the screen coordinate point data to the drawing layer; The HID communication layer is used to obtain the rebate data of the touch display module based on HID communication and pass it to the rebate data processing layer.

2. The method according to claim 1, characterized in that The standardized processing of the rebate data for the touch display module includes: for the first touch display module, receiving the electromagnetic coordinate point data of the first touch display module based on the HID communication layer, and converting the electromagnetic coordinate point data into screen coordinate point data; wherein, the first touch display module is a touch display module of a supplier that does not provide a host computer library.

3. The method according to claim 2, characterized in that The standardized processing of the rebate data for the touch display module also includes: for the second touch display module, calling the upper computer library provided by the corresponding supplier to parse and obtain the screen coordinate point data of the second touch display module; wherein, the second touch display module is the touch display module of the supplier who provides the upper computer library.

4. The method according to claim 2, characterized in that The method of receiving electromagnetic coordinate point data of the first touch display module based on the HID communication layer includes: the HID communication layer receives original coordinate point data of the first touch display module, and converts the original coordinate point data into electromagnetic coordinate point data based on the original coordinate point data composition rules of the corresponding supplier.

5. The method according to claim 2, characterized in that The converting of electromagnetic coordinate point data into screen coordinate point data comprises: First, based on the electromagnetic resolution parameter and the screen resolution parameter, a conversion factor for converting electromagnetic coordinate point data into screen coordinate point data is calculated; Then, based on the conversion factor and the electromagnetic coordinate point data, the screen coordinate point data is calculated.

6. The method according to any one of claims 1 to 5, characterized in that The screen coordinate point data includes four parameters, namely, the x-coordinate, the y-coordinate, the pressure value, and the time interval between the current rebate and the first rebate.

7. The method according to claim 6, characterized in that The interface drawing standard interface library provided by the drawing layer includes a signature window drawing module and a trajectory drawing module; the signature window drawing module draws the signature window based on the window x coordinate, window y coordinate, window width, and window height parameters; the trajectory drawing module draws the touch trajectory based on the x coordinate, y coordinate, and pressure sensitivity value parameters.

8. A system for realizing software and hardware decoupling of a touch display module, characterized in that: include: memory and processor; The memory is used to store computer programs; The processor is configured to call the computer program to execute the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed on an electronic device, the electronic device implements the method according to any one of claims 1 to 7.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed on an electronic device, the electronic device is enabled to implement the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and system for optimizing screen handwriting following performance

    CN105677107A

  • Debugging method for touch screen TP algorithm and related TP algorithm debugging system

    CN116841868A

  • Liquid crystal handwriting board and liquid crystal handwriting board system

    CN120335554A

  • Network system architecture, data processing method of network system and electronic equipment

    CN120434100A