A touch height algorithm parameter processing method, device and equipment, and a storage medium

By saving the model-related height algorithm parameters in the touch frame firmware and performing initialization processing in conjunction with the parameters of the entire motherboard, the problem of low device update efficiency caused by height algorithm driver updates is solved, achieving high efficiency and accuracy in device updates.

CN122152162APending Publication Date: 2026-06-05GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD
Filing Date
2026-01-21
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, updating the height algorithm parameters leads to a long verification cycle for height algorithm-driven updates, resulting in low device update efficiency.

Method used

The height algorithm parameters related to the device model are stored in the touch frame firmware, while the height algorithm parameters shared by multiple device models are stored in the height algorithm driver of the mainboard. When the device is working, the device model-related parameters are read from the touch frame firmware and combined with the parameters of the mainboard for initialization, thus avoiding the need to update the height algorithm driver.

Benefits of technology

It improves equipment update efficiency, ensures the accuracy of high-precision computing and equipment model compatibility, and reduces the verification cycle of equipment updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122152162A_ABST
    Figure CN122152162A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a touch height algorithm parameter processing method, device and equipment, and a storage medium. The technical solution provided by the embodiments of the present application saves the first height algorithm parameter related to the model in the touch frame firmware, saves the second height algorithm parameter shared by multiple models in the height algorithm driver of the mainboard of the whole machine, reads the first height algorithm parameter from the touch frame firmware, and performs height algorithm initialization processing in the height algorithm driver according to the first height algorithm parameter and the second height algorithm parameter saved in the height algorithm driver of the mainboard of the whole machine. The height calculation processing can be performed based on the initialized height algorithm, the first height algorithm parameter and the second height algorithm parameter. When the equipment is updated, the first height algorithm parameter in the touch frame firmware can be updated synchronously, and the update of the second height algorithm parameter in the height algorithm driver is not involved. The normal height calculation processing is ensured, and the equipment update efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device and storage medium for processing touch height algorithm parameters. Background Technology

[0002] With the development of computer technology and touch technology, interactive whiteboards have become increasingly diverse in their touch interaction methods, and can also achieve richer interaction methods based on the touch height of the writing pen.

[0003] In infrared touch interaction solutions, the infrared detection module on the touch frame detects the infrared touch data of the stylus. The touch height is then calculated based on this data and preset height algorithm parameters. These height algorithm parameters are typically set in the height algorithm driver on the motherboard. When the device is updated, these parameters and the corresponding height algorithm driver also need to be updated synchronously. However, updating the height algorithm driver involves modifications to the device system, resulting in a lengthy verification period and low device update efficiency. Summary of the Invention

[0004] This application provides a method, apparatus, device, and storage medium for processing touch height algorithm parameters, in order to solve the technical problem in the related art where the updating of height algorithm parameters leads to a long verification cycle for height algorithm driver updates, resulting in low device update efficiency. The updating of height algorithm parameters does not require updating the height algorithm driver, which can effectively improve device update efficiency.

[0005] In a first aspect, embodiments of this application provide a method for processing touch height algorithm parameters, including: Read the first height algorithm parameters from the touch frame firmware. The first height algorithm parameters are model-related height algorithm parameters. Based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the motherboard, a height algorithm initialization process is performed in the algorithm driver. The second height algorithm parameters are height algorithm parameters shared by multiple models.

[0006] This embodiment of the application stores the model-specific first height algorithm parameters in the touch frame firmware and the second height algorithm parameters shared by multiple models in the height algorithm driver of the mainboard. When the device is working, the first height algorithm parameters can be read from the touch frame firmware, and the height algorithm initialization process is performed in the height algorithm driver based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the mainboard. Height calculation can be performed based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters. When the device is updated, the first height algorithm parameters in the touch frame firmware can be updated synchronously. The update of the height algorithm parameters does not require updating the height algorithm driver and does not involve updating the second height algorithm parameters in the height algorithm driver. While ensuring normal height calculation processing, the device update efficiency is effectively improved.

[0007] Furthermore, after performing the height algorithm initialization process in the algorithm driver, the following is also included: The infrared touch data is received, and the height is calculated based on the height algorithm after initialization, the first height algorithm parameters, and the second height algorithm parameters to obtain the touch height processing result.

[0008] The above describes how the infrared touch data is processed by calculating its height based on the initial height algorithm, the first height algorithm parameters, and the second height algorithm parameters. The first height algorithm parameters are height algorithm parameters related to the current model, making the calculation of the touch height more accurate.

[0009] Furthermore, reading the first height algorithm parameters from the touch frame firmware includes: After the device is powered on and connected to the microprocessor unit of the touch frame, the first height algorithm parameters are read from the touch frame firmware through the communication interface connected to the microprocessor unit.

[0010] As described above, when a successful connection to the microprocessor unit is detected, the first height algorithm parameters are read from the touch frame firmware through the communication interface, and the height algorithm initialization process is performed in a timely manner to ensure correct response to infrared touch data.

[0011] Furthermore, the first height algorithm parameters include overall height signal characteristic parameters and / or writing pen characteristic parameters.

[0012] As described above, by dividing the model-related height algorithm parameters into first height algorithm parameters, the first height algorithm parameters can be updated synchronously with the device updates without needing to update the height algorithm driver, which facilitates the development and maintenance of height algorithm parameters.

[0013] Furthermore, the second height algorithm parameters include acceptable writing placement time and / or threshold length of the touch point after the handwriting moves.

[0014] As described above, by dividing the height algorithm parameters shared by multiple models into second height algorithm parameters, the second height algorithm parameters are not updated synchronously with the device updates, and the second height algorithm driver does not need to be updated with the first height algorithm updates. By storing and managing the first height algorithm parameters and the second height algorithm parameters separately, the development and maintenance efficiency of the device is improved.

[0015] Furthermore, the method also includes: Receive firmware upgrade data; The first height algorithm parameter in the touch frame firmware is updated based on the firmware upgrade data.

[0016] As described above, by updating the first height algorithm parameters in the touch frame firmware using firmware upgrade data, different device models can be flexibly adapted without changing the height algorithm driver.

[0017] Furthermore, reading the first height algorithm parameters from the touch frame firmware includes: Obtain device model information and read the first height algorithm parameters associated with the device model information from the touch frame firmware.

[0018] As described above, multiple first height algorithm parameters associated with different device models are stored in the touch frame firmware. The associated first height algorithm parameters can be read from the touch frame firmware according to the device model information. One touch frame firmware can be compatible with multiple device models at the same time, which improves device update efficiency and effectively enhances device model compatibility.

[0019] In a second aspect, embodiments of this application provide a touch height algorithm parameter processing device, including a parameter acquisition module and an initialization module, wherein: The parameter acquisition module is used to read the first height algorithm parameter from the touch frame firmware, wherein the first height algorithm parameter is a model-related height algorithm parameter; The initialization module is used to perform height algorithm initialization processing in the algorithm driver according to the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the motherboard. The second height algorithm parameters are height algorithm parameters shared by multiple models.

[0020] This embodiment of the application stores the model-specific first height algorithm parameters in the touch frame firmware and the second height algorithm parameters shared by multiple models in the height algorithm driver of the mainboard. When the device is working, the first height algorithm parameters can be read from the touch frame firmware, and the height algorithm initialization process is performed in the height algorithm driver based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the mainboard. Height calculation can be performed based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters. When the device is updated, the first height algorithm parameters in the touch frame firmware can be updated synchronously. The update of the height algorithm parameters does not require updating the height algorithm driver and does not involve updating the second height algorithm parameters in the height algorithm driver. While ensuring normal height calculation processing, the device update efficiency is effectively improved.

[0021] In a third aspect, embodiments of this application provide an electronic device, including: a memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the touch height algorithm parameter processing method as described in the first aspect.

[0022] In a fourth aspect, embodiments of this application provide a storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform the touch height algorithm parameter processing method as described in the first aspect. Attached Figure Description

[0023] Figure 1 This is a flowchart of a touch height algorithm parameter processing method provided in an embodiment of this application; Figure 2 This is a schematic diagram illustrating the connection relationship between the motherboard and the touch frame provided in an embodiment of this application; Figure 3 This is a flowchart of another touch height algorithm parameter processing method provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a touch height algorithm parameter processing device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but additional steps not included in the drawings may also be present. The above processes can correspond to methods, functions, procedures, subroutines, subroutines, etc.

[0025] In existing infrared touch interaction solutions, the infrared touch data of the stylus can be detected by an infrared detection module on the touch frame. The touch height is then calculated based on the infrared touch data and preset height algorithm parameters. These height algorithm parameters are typically set in the height algorithm driver of the mainboard. When the device is updated, these parameters need to be updated synchronously. However, updating the height algorithm driver involves modifications to the device system. To ensure normal device operation, the height algorithm driver requires a lengthy verification process, resulting in low device update efficiency. Therefore, this application provides a touch height algorithm parameter processing method to address the technical problem of low device update efficiency caused by the long verification cycle involved in updating the height algorithm driver.

[0026] Figure 1 A flowchart of a touch height algorithm parameter processing method provided in this application embodiment is given. The touch height algorithm parameter processing method provided in this application embodiment can be executed by a touch height algorithm parameter processing device. Optionally, the touch height algorithm parameter processing device can be configured in the motherboard of the whole device. The touch height algorithm parameter processing device can be implemented by hardware and / or software and integrated in electronic devices (e.g., interactive flat panels).

[0027] The following description uses a touch height algorithm parameter processing device as an example to illustrate the touch height algorithm parameter processing method. (Reference) Figure 1 The touch height algorithm parameter processing method includes: S110: Read the first height algorithm parameters from the touch frame firmware. The first height algorithm parameters are model-related height algorithm parameters.

[0028] like Figure 2A schematic diagram illustrating the connection between a motherboard and a touch frame is provided. The electronic device provided in this application includes a motherboard and a touch frame. The touch frame is equipped with an infrared touch detection module and a microprocessor unit (MCU). The microprocessor unit is connected to the motherboard, and the infrared touch detection module is connected to the microprocessor unit and / or the motherboard. The infrared touch detection module can be used to detect objects (such as fingers, pens, etc.) that approach or touch the screen of the electronic device and send infrared touch data to the motherboard (directly or through the microprocessor unit).

[0029] The height algorithm parameters provided in this application include a first height algorithm parameter related to the device model, and a second height algorithm parameter shared by multiple device models. Optionally, different models of electronic devices may use different screen sizes and / or different detection heights of infrared touch detection modules, or they may use different models of writing pens. Different models of electronic devices may correspond to different first height algorithm parameters, which may be updated synchronously with model updates. For example, different models of electronic devices may be configured with different screen sizes, infrared touch detection module detection heights, and different models of writing pens. Under different screen sizes, infrared touch detection module detection heights, and writing pen models, different first height algorithm parameters are required for height calculation.

[0030] The microprocessor unit is equipped with touch frame firmware, and the first height algorithm parameters provided in this application are stored in the touch frame firmware. The motherboard of the whole machine can read the first height algorithm parameters from the touch frame firmware of the microprocessor unit.

[0031] Optionally, the first height algorithm parameters provided in this application include overall device height signal characteristic parameters and / or stylus characteristic parameters. The overall device height signal characteristic parameters can be used to record preset parameters corresponding to different screen positions at different pen heights, and the stylus characteristic parameters can be used to record preset parameters corresponding to different styluses. For example, when different users require different device sizes and styluses, the first height algorithm parameters in the touch frame firmware can be updated accordingly. By dividing the device-related height algorithm parameters into first height algorithm parameters, this application allows the first height algorithm parameters to be updated synchronously with device updates without requiring updates to the height algorithm driver, thus facilitating the development and maintenance of the height algorithm parameters.

[0032] S120: Based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the whole machine motherboard, perform height algorithm initialization processing in the height algorithm driver. The second height algorithm parameters are height algorithm parameters shared by multiple models.

[0033] For example, after reading the first height algorithm parameters from the touch frame firmware, height algorithm initialization processing can be performed in the height algorithm driver based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the entire motherboard. This initialization processing can involve configuring the height algorithm using the first and second height algorithm parameters to meet the height algorithm's requirements for calculating the height of infrared touch data.

[0034] This application stores the first height algorithm parameters in the touch frame firmware. After reading the first height algorithm parameters from the touch frame firmware, the height algorithm can be initialized using the complete height algorithm parameters composed of the first height algorithm parameters and the second height algorithm parameters, ensuring that the infrared touch data can be correctly responded to based on the first height algorithm parameters and the second height algorithm parameters in the future.

[0035] The second height algorithm parameters can be parameters related to writing habits. These parameters can be shared across different device models. The second height algorithm parameters are stored in the height algorithm driver on the motherboard of the entire device. Even if the device is updated, the second height algorithm parameters do not need to be modified, nor does the height algorithm driver need to be updated. Optionally, the second height algorithm parameters provided in this application include acceptable writing placement time (e.g., the time from when the pen touches the screen to when the system recognizes and responds to the operation) and / or the threshold length of the touch point after the handwriting moves. This application improves the development and maintenance efficiency of the device by dividing the height algorithm parameters shared by multiple device models into second height algorithm parameters. The second height algorithm parameters are not updated synchronously with device updates, and the second height algorithm driver does not need to be updated with the first height algorithm update.

[0036] As described above, by storing the model-specific first height algorithm parameters in the touch frame firmware and the second height algorithm parameters shared by multiple models in the height algorithm driver of the mainboard, the device can read the first height algorithm parameters from the touch frame firmware during operation. Based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the mainboard, the height algorithm driver performs height algorithm initialization processing. Height calculation can be performed based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters. When the device is updated, the first height algorithm parameters in the touch frame firmware are updated synchronously. The update of the height algorithm parameters does not require updating the height algorithm driver and does not involve updating the second height algorithm parameters in the height algorithm driver. This effectively improves the device update efficiency while ensuring normal height calculation processing.

[0037] Based on the above embodiments, Figure 3A flowchart of another touch height algorithm parameter processing method provided in an embodiment of this application is given, which is a concretization of the above-described touch height algorithm parameter processing method. (Reference) Figure 3 The touch height algorithm parameter processing method includes: S210: Read the first height algorithm parameters from the touch frame firmware. The first height algorithm parameters are model-related height algorithm parameters.

[0038] In one possible embodiment, in the touch height algorithm parameter processing method provided in this application, reading the first height algorithm parameter from the touch frame firmware may be: after the device is powered on and the microprocessor unit of the touch frame is connected, reading the first height algorithm parameter from the touch frame firmware through the communication interface connected to the microprocessor unit.

[0039] For example, the motherboard provided in this application can be connected to the microprocessor unit of the touch frame via a communication interface (such as a USB interface, SPI interface, I2C interface, etc.). When the motherboard detects that the device is powered on (e.g., the electronic device is connected to a power source or receives a power-on signal), it checks whether the connection to the microprocessor unit is successful. When a successful connection to the microprocessor unit is detected, the motherboard reads the first height algorithm parameters from the touch frame firmware via the communication interface and performs height algorithm initialization processing in a timely manner to ensure correct response to infrared touch data.

[0040] S220: Based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the whole machine motherboard, perform height algorithm initialization processing in the height algorithm driver. The second height algorithm parameters are height algorithm parameters shared by multiple models.

[0041] S230: Receives infrared touch data and performs height calculation processing on the infrared touch data based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters to obtain the touch height processing result.

[0042] For example, after completing the initialization of the height algorithm, infrared touch data sent by the infrared touch detection module can be received. Based on the initialized height algorithm, as well as the first and second height algorithm parameters, the infrared touch data is processed to calculate the touch height. Response processing can be performed based on the touch height processing result. For example, displaying corresponding handwriting on the screen at different heights indicated by the touch height processing result, performing different interactive response operations, displaying different pen shadows on the screen, etc., or determining whether the pen is in contact with the screen based on the touch height processing result.

[0043] This application performs height calculation on infrared touch data based on the height algorithm after initialization, the first height algorithm parameters, and the second height algorithm parameters. The first height algorithm parameters are height algorithm parameters related to the current model, making the calculation of the touch height more accurate.

[0044] In one possible embodiment, the touch height algorithm parameter processing method provided in this application further includes: receiving firmware upgrade data; and updating the first height algorithm parameter in the touch frame firmware according to the firmware upgrade data.

[0045] For example, when a device upgrade or update requires synchronous updating of the first height algorithm parameters, firmware upgrade data can be generated based on the update data corresponding to the first height algorithm parameters, and the firmware upgrade data can be sent to the microprocessor unit of the touch frame, so that the microprocessor unit can update the first height algorithm parameters in the touch frame firmware based on the update data in the firmware upgrade data.

[0046] Optionally, the update data can be used to record one or more combinations of first height algorithm parameters that need to be added to the touch frame firmware, first height algorithm parameters that need to be deleted from the touch frame firmware, and first height algorithm parameters that need to be replaced in the touch frame firmware.

[0047] In one embodiment, firmware upgrade data can be sent to the microprocessor unit via a preset communication interface (e.g., USB interface, wireless communication interface) or over-the-air (OTA) technology. The firmware upgrade data can be sent directly to the microprocessor unit or via the motherboard (e.g., the motherboard receives firmware upgrade data via a preset communication interface or OTA technology and sends it to the microprocessor unit). For example, before the electronic device leaves the factory, firmware upgrade data can be sent to the microprocessor unit according to the corresponding device model to adapt and update the first height algorithm parameters in the touch frame firmware, achieving factory adaptation of the electronic device. Alternatively, firmware upgrade data can be sent to the microprocessor unit when the user receives firmware upgrade data during use of the electronic device to adapt and update the first height algorithm parameters in the touch frame firmware, achieving post-processor adaptation of the electronic device.

[0048] After updating the first height algorithm parameters, when the device is powered on again, the microprocessor unit will send the updated first height algorithm parameters to the mainboard, so that the mainboard can perform height algorithm initialization processing according to the updated first height algorithm parameters and second height algorithm parameters to adapt to the upgraded or updated electronic device.

[0049] This application updates the first height algorithm parameters in the touch frame firmware using firmware upgrade data, enabling flexible adaptation to different device models without changing the height algorithm driver. Considering the performance limitations of microprocessors, as the height algorithm requires significant computing resources and is difficult for microprocessors to handle, this application stores the first height algorithm parameters in the touch frame firmware. Upon device power-on, the first height algorithm is read from the touch frame firmware for height algorithm initialization. This ensures efficient height algorithm processing while flexibly adapting to different device models, thus guaranteeing a superior user touch experience.

[0050] In one possible embodiment, the touch height algorithm parameter processing method provided in this application further includes: obtaining device model information and reading a first height algorithm parameter associated with the device model information from the touch frame firmware.

[0051] Optionally, the touch frame firmware provided in this application can store multiple first height algorithm parameters associated with different device model information. For example, different first height algorithm parameters can be configured according to the screen size that the electronic device may use, the detection height of the infrared touch detection module, and the stylus model, and saved in the touch frame firmware. At the same time, different first height algorithm parameters are associated with different device model information. Among them, different device model information corresponds to one or more combinations of screen size, infrared touch detection module detection height, and stylus model.

[0052] For example, after detecting that the device is powered on and connected to the microprocessor unit of the touch frame, the device model information can be obtained, and the first height algorithm parameters associated with the device model information can be read from the touch frame firmware according to the association relationship between the first height algorithm parameters and the device model information. Optionally, the device model information can be stored in the height algorithm driver, in the touch frame firmware, or in other preset storage locations.

[0053] This application stores multiple first height algorithm parameters associated with different device models in the touch frame firmware. The associated first height algorithm parameters can be read from the touch frame firmware according to the device model information. One touch frame firmware can be compatible with multiple device models at the same time, which improves device update efficiency and effectively enhances device model compatibility.

[0054] As described above, by storing the model-specific first height algorithm parameters in the touch frame firmware and the multi-model-shared second height algorithm parameters in the height algorithm driver of the mainboard, the device can read the first height algorithm parameters from the touch frame firmware during operation. Based on these parameters and the second height algorithm parameters stored in the mainboard driver, height algorithm initialization is performed in the driver. Height calculations are then performed based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters. During device updates, only the first height algorithm parameters in the touch frame firmware need to be updated synchronously; updating these parameters does not require updating the height algorithm driver itself, nor does it involve updating the second height algorithm parameters within the driver. This ensures normal height calculation while effectively improving device update efficiency. Furthermore, by performing height calculations on infrared touch data based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters, and because the first height algorithm parameters are model-specific, the calculated touch height is more accurate.

[0055] Figure 4 A schematic diagram of a touch height algorithm parameter processing device provided in an embodiment of this application is given. (Reference) Figure 4 The touch height algorithm parameter processing device includes a parameter acquisition module 41 and an initialization module 42.

[0056] The parameter acquisition module 41 is used to read the first height algorithm parameters from the touch frame firmware. The first height algorithm parameters are model-related height algorithm parameters. The initialization module 42 is used to perform height algorithm initialization processing in the height algorithm driver according to the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the whole machine motherboard. The second height algorithm parameters are height algorithm parameters shared by multiple models.

[0057] As described above, by storing the model-specific first height algorithm parameters in the touch frame firmware and the second height algorithm parameters shared by multiple models in the height algorithm driver of the mainboard, the device can read the first height algorithm parameters from the touch frame firmware during operation. Based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the mainboard, the height algorithm driver performs height algorithm initialization processing. Height calculation can be performed based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters. When the device is updated, the first height algorithm parameters in the touch frame firmware are updated synchronously. The update of the height algorithm parameters does not require updating the height algorithm driver and does not involve updating the second height algorithm parameters in the height algorithm driver. This effectively improves the device update efficiency while ensuring normal height calculation processing.

[0058] In one possible embodiment, the touch height algorithm parameter processing device further includes a height calculation module, which is used for: The system receives infrared touch data and performs height calculation on the infrared touch data based on the initialized height algorithm, the first height algorithm parameters, and the second height algorithm parameters to obtain the touch height processing result.

[0059] In one possible embodiment, the parameter acquisition module 41 reads the first height algorithm parameters from the touch frame firmware, including: After the device is powered on and connected to the microprocessor unit of the touch frame, the first height algorithm parameters are read from the touch frame firmware through the communication interface connected to the microprocessor unit.

[0060] In one possible embodiment, the first height algorithm parameters include overall height signal characteristic parameters and / or writing pen characteristic parameters.

[0061] In one possible embodiment, the second height algorithm parameters include acceptable writing placement time and / or a threshold length of the touch point after the handwriting moves.

[0062] In one possible embodiment, the touch height algorithm parameter processing device further includes a firmware upgrade module, which is used for: Receive firmware upgrade data; Update the first height algorithm parameters in the touch frame firmware based on the firmware upgrade data.

[0063] In one possible embodiment, the parameter acquisition module 41 reads the first height algorithm parameters from the touch frame firmware, including: Obtain device model information and read the first height algorithm parameters associated with the device model information from the touch frame firmware.

[0064] It is worth noting that in the embodiments of the above-mentioned touch height algorithm parameter processing device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this application.

[0065] This application also provides an electronic device that can integrate the touch height algorithm parameter processing device provided in this application. Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. (Reference) Figure 5The electronic device includes: an input device 53, an output device 54, a memory 52, and one or more processors 51; the memory 52 is used to store one or more programs; when one or more programs are executed by one or more processors 51, the one or more processors 51 implement the touch height algorithm parameter processing method provided in the above embodiments. The input device 53, output device 54, memory 52, and processor 51 can be connected via a bus or other means. Figure 5 Taking the example of a connection between China and Israel via a bus.

[0066] The memory 52, as a computing device readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the touch height algorithm parameter processing method provided in any embodiment of this application (e.g., the parameter acquisition module 41 and initialization module 42 in the touch height algorithm parameter processing device). The memory 52 may mainly include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created according to the use of the device, etc. Furthermore, the memory 52 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 52 may further include memory remotely located relative to the processor 51, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0067] Input device 53 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 54 may include display devices such as a display screen.

[0068] The processor 51 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 52, that is, it implements the above-mentioned touch height algorithm parameter processing method.

[0069] The touch height algorithm parameter processing device, equipment, and computer provided above can be used to execute the touch height algorithm parameter processing method provided in any of the above embodiments, and have corresponding functions and beneficial effects.

[0070] This application embodiment also provides a storage medium for storing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to execute the touch height algorithm parameter processing method provided in the above embodiment. The touch height algorithm parameter processing method includes: reading a first height algorithm parameter from the touch frame firmware, wherein the first height algorithm parameter is a model-related height algorithm parameter; and performing height algorithm initialization processing in the height algorithm driver based on the first height algorithm parameter and a second height algorithm parameter stored in the height algorithm driver of the motherboard, wherein the second height algorithm parameter is a height algorithm parameter shared by multiple models.

[0071] Storage medium – any type of memory device or storage device. The term “storage medium” is intended to include: mounting media, such as CD-ROMs, floppy disks, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disks or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. Furthermore, storage media may reside in a first computer system in which a program is executed, or may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term “storage medium” can include two or more storage media that may reside in different locations (e.g., in different computer systems connected via a network). Storage media may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.

[0072] Of course, the computer-executable instructions provided in the embodiments of this application are not limited to the touch height algorithm parameter processing method provided above, but can also execute related operations in the touch height algorithm parameter processing method provided in any embodiment of this application.

[0073] The touch height algorithm parameter processing device, equipment, and storage medium provided in the above embodiments can execute the touch height algorithm parameter processing method provided in any embodiment of this application. For technical details not described in detail in the above embodiments, please refer to the touch height algorithm parameter processing method provided in any embodiment of this application.

[0074] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments provided herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the claims.

Claims

1. A method for processing touch height algorithm parameters, characterized in that, include: Read the first height algorithm parameters from the touch frame firmware. The first height algorithm parameters are model-related height algorithm parameters. Based on the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the motherboard, a height algorithm initialization process is performed in the algorithm driver. The second height algorithm parameters are height algorithm parameters shared by multiple models.

2. The touch height algorithm parameter processing method according to claim 1, characterized in that, After performing the height algorithm initialization process in the algorithm driver, the following is also included: The infrared touch data is received, and the height is calculated based on the height algorithm after initialization, the first height algorithm parameters, and the second height algorithm parameters to obtain the touch height processing result.

3. The touch height algorithm parameter processing method according to claim 1, characterized in that, The step of reading the first height algorithm parameters from the touch frame firmware includes: After the device is powered on and connected to the microprocessor unit of the touch frame, the first height algorithm parameters are read from the touch frame firmware through the communication interface connected to the microprocessor unit.

4. The touch height algorithm parameter processing method according to claim 1, characterized in that, The first height algorithm parameters include overall height signal characteristic parameters and / or writing pen characteristic parameters.

5. The touch height algorithm parameter processing method according to claim 1, characterized in that, The second height algorithm parameters include acceptable writing placement time and / or threshold length of the touch point after the handwriting moves.

6. The touch height algorithm parameter processing method according to claim 1, characterized in that, The method further includes: Receive firmware upgrade data; The first height algorithm parameter in the touch frame firmware is updated based on the firmware upgrade data.

7. The touch height algorithm parameter processing method according to claim 1, characterized in that, The step of reading the first height algorithm parameters from the touch frame firmware includes: Obtain device model information and read the first height algorithm parameters associated with the device model information from the touch frame firmware.

8. A touch height algorithm parameter processing device, characterized in that, It includes a parameter acquisition module and an initialization module, wherein: The parameter acquisition module is used to read the first height algorithm parameter from the touch frame firmware, wherein the first height algorithm parameter is a model-related height algorithm parameter; The initialization module is used to perform height algorithm initialization processing in the algorithm driver according to the first height algorithm parameters and the second height algorithm parameters stored in the height algorithm driver of the motherboard. The second height algorithm parameters are height algorithm parameters shared by multiple models.

9. An electronic device, characterized in that, include: Memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the touch height algorithm parameter processing method as described in any one of claims 1-7.

10. A storage medium for storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the touch height algorithm parameter processing method as described in any one of claims 1-7.