Touch display system, method and storage medium, controller, vehicle

CN122902895APending Publication Date: 2026-10-13BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611379424.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-10-13

AI Technical Summary

Technical Problem

触控显示屏的屏幕背光、供电、显示以及触控相关均通过I2C协议与中央计算平台进行交互,存在触控流畅性实时性差的问题

Benefits of technology

[0004]本发明的第二个目的在于提出一种触控显示方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122902895A_ABST
    Figure CN122902895A_ABST
Patent Text Reader

Abstract

The application discloses a kind of touch display system, method and storage medium, controller, vehicle, touch display system includes: touch display module;Control module, the I2C end of control module is connected with the I2C end of touch display module by I2C link, the input and output end of control module is connected with the interrupt end of touch display module, control module is configured as: in response to touch signal that touch display module outputs, I2C rate is switched to target rate, and data is read at target rate;Switching module, switching module is configured as: in response to touch signal that touch display module outputs, the pull-up resistance of I2C link is switched as target resistance value.The system in control module, switching module and touch display module between hardware linkage, according to touch signal that touch display module outputs, the rate and pull-up resistance of I2C link are switched, while guaranteeing the fluency and practicability of intelligent cockpit touch, I2C bus resource fair distribution can also be considered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle communication technology, and in particular to a touch display system, method, storage medium, controller, and vehicle. Background Technology

[0002] In-vehicle touchscreen displays utilize the I2C (Inter-Integrated Circuit) serial protocol for long-distance communication. The screen backlight, power supply, display, and touch-related functions all interact with the central computing platform via the I2C protocol, resulting in issues with touch smoothness and real-time performance. Summary of the Invention

[0003] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, one objective of this invention is to provide a touch display system that ensures smooth and real-time touch operation while also ensuring fair allocation of I2C bus resources.

[0004] The second objective of this invention is to provide a touch display method.

[0005] A third objective of this invention is to provide a computer-readable storage medium.

[0006] The fourth objective of this invention is to provide a controller.

[0007] The fifth objective of this invention is to provide a vehicle.

[0008] To achieve the above objectives, a first aspect of the present invention provides a touch display system, the system comprising: a touch display module; a control module, wherein the I2C terminal of the control module is connected to the I2C terminal of the touch display module via an I2C link, and the input / output terminal of the control module is connected to the interrupt terminal of the touch display module, the control module being configured to: switch the I2C rate to a target rate in response to a touch signal output by the touch display module, and read data at the target rate; and a switching module, wherein the switching module is connected to the I2C link, a pull-up resistor of the I2C link, and the interrupt terminal of the touch display module, the switching module being configured to: switch the pull-up resistor value of the I2C link to a target resistance value in response to a touch signal output by the touch display module.

[0009] According to an embodiment of the touch display system of the present invention, the I2C terminal of the control module is connected to the I2C terminal of the touch display module via an I2C link, the input / output terminal of the control module is connected to the interrupt terminal of the touch display module, the switching module is connected to the I2C link, the pull-up resistor of the I2C link and the interrupt terminal of the touch display module, so as to realize hardware linkage between the control module, the switching module and the touch display module. The control module switches the speed and pull-up resistor value of the I2C link according to the touch signal output by the touch display module, so as to ensure the smoothness and real-time performance of touch while also taking into account the fair allocation of I2C bus resources.

[0010] In addition, the touch display system proposed in the above embodiments of the present invention may also have the following additional technical features: According to one embodiment of the present invention, the touch signal includes a high-level signal and a low-level signal, the target rate includes a first rate and a second rate, wherein the first rate is greater than the second rate, and the control module is configured to: When the touch signal is a high-level signal, the I2C rate is switched to the first rate, and the touch data is read at the first rate; When the touch signal is a low-level signal, the I2C rate is switched to the second rate, and the control status data is read at the second rate.

[0011] According to one embodiment of the present invention, the I2C link includes a serializer and a deserializer. The I2C terminal of the control module is connected to the input terminal of the serializer via a first I2C bus. The output terminal of the serializer is connected to the input terminal of the deserializer via a serial bus. The output terminal of the deserializer is connected to the I2C terminal of the touch display module via a second I2C bus.

[0012] According to one embodiment of the present invention, the control terminal of the switching module is connected to the interrupt terminal of the touch display module, the first terminal of the switching module is connected to the second I2C bus, and the second terminal of the switching module is connected to the pull-up resistor of the second I2C bus. The switching module is configured to: In response to the touch signal output by the touch display module, the pull-up resistor value of the second I2C bus is switched to the target resistor value.

[0013] According to one embodiment of the present invention, the system includes: A trigger module is provided, wherein its input terminal is connected to the interrupt terminal of the touch display module, its output terminal is connected to the control terminal of the switching module and the input / output terminal of the control module, and its reset terminal is connected to the reset terminal of the trigger module to receive a reset signal output by the control module. The trigger module is configured to: In response to the touch signal or the reset signal, the switching module is controlled to switch the pull-up resistor value of the second I2C bus to the target resistor value.

[0014] According to one embodiment of the present invention, the triggering module is configured to: When the touch signal generates a rising edge, a high-level signal is output; When the reset signal is a low-level signal, a low-level signal is output. Specifically, when the control module does not detect touch data within a preset period, it outputs a low-level reset signal.

[0015] According to one embodiment of the present invention, the pull-up resistor of the second I2C bus includes a first resistor and a second resistor. The switching module includes a switching unit. The control terminal of the switching unit is connected to the interrupt terminal of the touch display module. The first terminal of the switching unit and the first terminal of the second resistor are both connected to the second I2C bus. The second terminal of the switching unit is connected to the first resistor. The second terminals of the first resistor and the second terminals of the second resistor are both connected to a power supply. The switching unit is configured as follows: When a high-level signal is received, the switching unit is turned on to switch the pull-up resistance value of the second I2C bus to the parallel resistance value of the first resistor and the second resistor; When a low-level signal is received, the switching unit is disconnected, and the pull-up resistance value of the second I2C bus is switched to the resistance value of the second resistor.

[0016] According to one embodiment of the present invention, the system includes: a transient diode, a third resistor, and a capacitor. The first terminal of the transient diode is connected to the interrupt terminal of the touch display module, the second terminal of the transient diode is connected to the first terminal of the third resistor, the second terminal of the third resistor is grounded, and the second I2C bus is grounded through the capacitor.

[0017] According to one embodiment of the present invention, the control module is configured to: in response to a full hand raise event, switch the I2C rate to the second rate at preset intervals.

[0018] To achieve the above objectives, a second aspect of the present invention provides a touch display method, the method comprising: in response to a touch signal output by a touch display module, switching the I2C rate to a target rate, and reading data at the target rate.

[0019] In addition, the touch display method proposed in the above embodiments of the present invention may also have the following additional technical features: According to one embodiment of the present invention, the step of switching the I2C rate to a target rate in response to a touch signal output by the touch display module, and reading data at the target rate, includes: When the touch signal is a high-level signal, the I2C rate is switched to the first rate, and the touch data is read at the first rate; When the touch signal is a low-level signal, the I2C rate is switched to the second rate, and data is read at the second rate, wherein the first rate is greater than the second rate.

[0020] According to one embodiment of the present invention, the method includes: In response to a full hand raise event, the I2C rate is switched to the second rate at preset intervals.

[0021] To achieve the above objectives, a third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the touch display method as described above.

[0022] To achieve the above objectives, a fourth aspect of the present invention provides a controller, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the touch display method as described above.

[0023] To achieve the above objectives, a fifth aspect of the present invention provides a vehicle including the touch display system described above.

[0024] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0025] Figure 1 This is a schematic diagram of a touch display system according to one embodiment of the present invention; Figure 2 This is a schematic diagram of a touch display system in a specific embodiment of the present invention. Figure 1 ; Figure 3 This is a schematic diagram of the connection between the switching module and the pull-up resistor in one embodiment of the present invention; Figure 4 This is a touch interrupt timing sequence in a specific embodiment of the present invention. Figure 1 ; Figure 5 This is a schematic diagram of a touch display system in a specific embodiment of the present invention. Figure 2 ; Figure 6 This is a schematic diagram showing the connection between the touch controller, the switching module, and the pull-up resistor in one embodiment of the present invention; Figure 7 This is a touch interrupt timing sequence in a specific embodiment of the present invention. Figure 2 ; Figure 8 This is a flowchart of a touch display method according to one embodiment of the present invention; Figure 9 This is a structural block diagram of the controller according to an embodiment of the present invention; Figure 10 This is a schematic diagram of a vehicle according to one embodiment of the present invention. Detailed Implementation

[0026] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0027] The various functional modules controlling dimming, touch control, power supply, and video conversion on the in-vehicle touchscreen display are connected to a unified I2C bus via a GMSL (Gigabit Multimedia Serial Link) link. To ensure a high reporting rate, the touch function requires coordinate data reading at least at 120Hz during touch operations. Optimizing touch response time is becoming increasingly important. The multiple modules occupying the I2C bus presents challenges for time allocation, directly impacting the experience by causing stuttering and other issues with highly periodic touches. Furthermore, the reporting rate needs to be synchronized with or multiple of the display refresh rate to avoid discrepancies between touch updates and display updates in certain frames, resulting in jitter or a sense of lag. Beyond standard clicks and swipes, the addition of touch functions such as gaming and stylus input further increases the demands on the reporting rate. In high-speed swiping scenarios, smaller displacement per frame allows the system to detect directional changes earlier.

[0028] Related technologies avoid touch lag by improving the touch reporting rate, but when the touch reporting rate is increased to 180Hz or 240Hz, the single cycle time will be further compressed. The core contradiction brought about by the increase in reporting rate and the shortening of cycle time lies in the compression of time resources. The events of touch signal acquisition and processing are squeezed out, and there is a risk of missed detection or jitter for weak signals, such as gloves / flying objects.

[0029] It should be noted that I2C communication for touch functionality is a periodic interaction matched to the reporting rate. The standard reporting rate is 120Hz, but some products are gradually adopting higher reporting rate specifications such as 180Hz and 240Hz to improve the user's touch experience. The main I2C communication solutions for automotive displays in the industry include: 1) Accessing the same I2C bus at a fixed standard rate (400kHz). For example, at a reporting rate of 120Hz, the specific coordinate information of the touch is read every 8.33ms. At a reporting rate of 400kHz, the reading time for the specific coordinate information of the touch can reach 3~5ms. Although data processing can be completed within a single cycle, if functions such as dimming or fault diagnosis occupy the I2C bus, it is necessary to wait for the I2C bus to be released before the touch data can be processed, affecting the smoothness and real-time performance of the touch.

[0030] 2) Hardware isolation of touch functionality using an I2C switch. Specifically, a dedicated I2C switch chip is used for hardware isolation. The switch chip's own gating function is used to independently allocate touch functionality to other functions (backlight, power supply, display, etc.). By controlling the switch chip, unselected channels are disconnected from the I2C bus, and the load on a single bus is limited, resolving multi-slave address conflicts and bus capacitance load issues. However, this physical isolation does not address the inherent I2C speed requirements or the issue of bus occupancy when processing touch functionality. Bus contention still exists, affecting touch smoothness and real-time performance.

[0031] 3) Reuse the high-speed serial interface of the display protocol. For example, in the DSI (Display Serial Interface) protocol, using LP (Low-Power Mode) to read touch coordinates can reduce the number of FPC (Flexible Printed Circuit) pins and eliminate the need for separate touch I2C traces. However, since the data transmission and reverse touch data reporting of the display protocol share the same physical channel in a time-division multiplexing manner, there will be a delay effect as the current touch processing needs to wait for the display data transmission to complete.

[0032] To address the aforementioned problems, embodiments of the present invention provide a touch display system, method, storage medium, controller, and vehicle. The touch display system, method, storage medium, controller, and vehicle of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0033] Figure 1 This is a schematic diagram of a touch display system according to one embodiment of the present invention. Figure 1 As shown, the touch display system may include: Touch display module; The control module has its I2C terminal connected to the I2C terminal of the touch display module via an I2C link, and its input / output terminals are connected to the interrupt terminals of the touch display module. The control module is configured to: switch the I2C rate to the target rate in response to the touch signal output by the touch display module, and read data at the target rate. The switching module is connected to the I2C link, the pull-up resistor of the I2C link, and the interrupt terminal of the touch display module. The switching module is configured to switch the pull-up resistor value of the I2C link to the target resistance value in response to the touch signal output by the touch display module.

[0034] In this embodiment of the invention, the touch display module and the control module use the I2C (Inter-Integrated Circuit) communication protocol. The I2C terminals of the control module and the touch display module are I2C communication interfaces.

[0035] In this embodiment of the invention, the interrupt terminal of the touch display module is the port through which the touch display module sends an interrupt signal. The interrupt signal is an INT (Interrupt) signal.

[0036] In this embodiment of the invention, the touch display system achieves I2C rate switching through hardware linkage between the control module and the touch display module.

[0037] Specifically, the I2C terminal of the touch display module and the I2C terminal of the control module are connected via an I2C link. The interrupt terminal of the touch display module is also connected to the input / output (GPIO, General Purpose Input / Output) terminals of the control module. When touched, the touch display module outputs a high-level touch signal TP_INT; when the touch event ends, it outputs a low-level touch signal TP_INT. The control module's input / output terminals receive the touch signal TP_INT from the touch display module, switch the I2C rate based on the level change of the TP_INT signal, and read data at the corresponding rate.

[0038] In one specific embodiment, the control module can be implemented using a central computing platform, and the touch display module can be a touch screen. When the touch interrupt signal is high, the data read by the central computing platform can be the touch coordinate information output by the touch screen. Specifically, the central computing platform switches the I2C rate to the target rate based on the high-level touch signal output by the touch screen, and reads the touch coordinate information output by the touch screen at the target rate.

[0039] To match the I2C parameter requirements of different speeds, this embodiment of the invention includes a switching module. The switching module is connected to the I2C link, the pull-up resistor of the I2C link, and the interrupt terminal of the touch display module. The switching module switches the value of the pull-up resistor in the I2C link according to the level change of the touch signal TP_INT, thus satisfying the signal quality requirements through a matched pull-up resistor value.

[0040] In the touch display system of this invention, the I2C terminal of the control module is connected to the I2C terminal of the touch display module via an I2C link. The input / output terminal of the control module is connected to the interrupt terminal of the touch display module. The switching module is connected to the I2C link, the pull-up resistor of the I2C link, and the interrupt terminal of the touch display module to realize hardware linkage between the control module, the switching module, and the touch display module. The control module switches the speed and pull-up resistor value of the I2C link according to the touch signal output by the touch display module, which ensures the smoothness and real-time performance of the smart cockpit touch while also taking into account the fair allocation of I2C bus resources.

[0041] In one embodiment of the present invention, the touch signal may include a high-level signal and a low-level signal, the target rate may include a first rate and a second rate, wherein the first rate is greater than the second rate, and the control module may be configured to: When the touch signal is a high-level signal, the I2C rate is switched to the first rate, and the touch data is read at the first rate; When the touch signal is low, the I2C rate is switched to the second rate, and the control status data is read at the second rate.

[0042] To improve touch smoothness and real-time performance, in this embodiment of the invention, the first speed is greater than the second speed. When touch is triggered, the I2C speed is switched to the first speed, and when touch ends, the I2C speed is switched to the second speed.

[0043] It should be noted that the I2C protocol supports multiple I2C rates, including the standard 100kbps, 400kbps in fast mode, 1Mbps in fast mode+, 3.4Mbps in high-speed mode, and 5Mbps (one-way) in ultra-fast mode. For the various functional modules of the touch display, only a limited number can support high-speed mode; high-speed mode is a specially customized design. Furthermore, a 1Mbps rate requires all slave devices to support it, impacting supply risks and costs.

[0044] To ensure touch performance and timely response of various functional modules of the touch display, this embodiment of the invention selects 1Mbps as the first rate and 400kbps as the general rate, i.e., as the second rate.

[0045] For example, when a rising edge of the touch signal is detected, the touch signal transitions from low to high, and the control module switches the I2C rate from 400kbps to 1Mbps, reading touch data at 1Mbps. When a falling edge of the touch signal is detected, the touch signal transitions from high to low, and the control module switches the I2C rate from 1Mbps to 400kbps, reading control data and / or status data for other functions at 400kbps.

[0046] In one embodiment of the present invention, such as Figure 2 As shown, the I2C link may include a serializer and a deserializer. The I2C terminal of the control module is connected to the input terminal of the serializer through a first I2C bus. The output terminal of the serializer is connected to the input terminal of the deserializer through a serial bus. The output terminal of the deserializer is connected to the I2C terminal of the touch display module through a second I2C bus.

[0047] Specifically, the control module is connected to the serializer via the first I2C bus, the serializer and the deserializer are connected via a high-speed serial bus, and the serial bus is connected to the touch display module via the second I2C bus.

[0048] In practice, when switching the I2C rate, the clock frequencies of the control module, serializer, and deserializer can be switched according to the level change of the touch signal TP_INT to switch the I2C rate to the target rate.

[0049] In one embodiment of the present invention, such as Figure 2 As shown, the control terminal of the switching module is connected to the interrupt terminal of the touch display module, the first terminal of the switching module is connected to the second I2C bus, and the second terminal of the switching module is connected to the pull-up resistor of the second I2C bus. The switching module is configured as follows: In response to the touch signal output by the touch display module, the pull-up resistor value of the second I2C bus is switched to the target resistor value.

[0050] It should be noted that to achieve a higher I2C rate, the pull-up resistor value of the second I2C bus needs to be reduced to shorten the edge and avoid data errors.

[0051] To match the I2C parameter requirements of different rates, this embodiment of the invention includes a switching module that switches the pull-up resistor value of the second I2C bus according to the level change of the touch signal TP_INT. By matching the pull-up resistor value, the signal quality requirements are met.

[0052] Specifically, the control terminal of the switching module receives the interrupt connection from the touch display module to switch the pull-up resistor of the second I2C bus according to the level change of the touch signal, so as to switch the pull-up resistance value of the second I2C bus to the target resistance value.

[0053] In one embodiment of the present invention, such as Figure 3 As shown, the pull-up resistors of the second I2C bus include a first resistor R1 and a second resistor R2. The switching module may include a switching unit. The control terminal of the switching unit is connected to the interrupt terminal of the touch display module. The first terminal of the switching unit and the first terminal of the second resistor are both connected to the second I2C bus. The second terminal of the switching unit is connected to the first resistor. The second terminals of both the first and second resistors are connected to the power supply. The switching unit is configured as follows: When a high-level signal is received, the switching unit is turned on to switch the pull-up resistance value of the second I2C bus to the parallel resistance value of the first resistor and the second resistor; When a low-level signal is received, the switching unit is disconnected to switch the pull-up resistor value of the second I2C bus to the resistance value of the second resistor.

[0054] In this embodiment, the resistance value of the second resistor R2 (2.2kΩ) is the pull-up resistance value for matching the 400kbps standard fast mode, and the parallel resistance value of the first resistor R1 and the second resistor R2 (approximately 1kΩ) is the pull-up resistance value for matching the 1Mbps standard fast mode.

[0055] In this embodiment, the switching unit is a MOSFET Q1. The gate of the MOSFET serves as the control terminal of the switching unit, the source of the MOSFET serves as the first terminal of the switching unit, and the drain of the MOSFET serves as the second terminal of the switching unit.

[0056] Specifically, when there is no touch event, meaning no valid touch is detected within the touch detection cycle, the touch signal TP_INT is low, MOSFET Q1 is off, and the effective pull-up resistor is 2.2kΩ to match the 400kHz I2C rate requirement. When a touch event occurs, the rising edge of the touch signal TP_INT couples to the gate of MOSFET Q1, forming a narrow pulse to turn on MOSFET Q1. The parallel connection of the first resistor R1 and the second resistor R2 switches the effective pull-up resistance of the second I2C bus to 1kΩ. It should be noted that when the control module recognizes the rising edge of the touch signal TP_INT, it latches the touch signal TP_INT high until the full hand-raise reporting is completed, then restores the touch signal TP_INT to low, turns off MOSFET Q1, and returns to the 400kbps normal fast mode. The timing diagram of the touch signal TP_INT and the gate of MOSFET Q1 is shown below. Figure 4 .

[0057] It should be noted that the switching unit may also use other switching devices, and the embodiments of the present invention do not limit the specific device type used in the switching unit.

[0058] The touch display system in this embodiment of the invention achieves dynamic matching of I2C rate and pull-up resistor through hardware linkage, ensuring strong real-time performance of touch while also taking into account fair allocation of bus resources.

[0059] In one embodiment of the present invention, such as Figure 5 As shown, the touch display system may include: The trigger module has its input connected to the interrupt terminal of the touch display module, its output connected to the control terminal of the switching module and the input / output terminal of the control module, and its reset terminal connected to the reset terminal of the trigger module to receive the reset signal output by the control module. The trigger module is configured as follows: In response to a touch signal or a reset signal, the control switching module switches the pull-up resistor value of the second I2C bus to the target resistor value.

[0060] In this embodiment of the invention, the triggering module may be a trigger U1.

[0061] It should be noted that when the control module latches the touch signal TP_INT at a high level, it increases the load on the control module's GPIO. There is a risk that the touch signal TP_INT may be accidentally cleared to zero during the execution of the task.

[0062] To ensure stability and maintain capability at high speeds, this embodiment of the invention includes a trigger module. The interrupt terminal of the touch display module is connected to the control terminal and the input / output terminal of the switching module via the trigger module. The trigger module controls the switching module to switch the pull-up resistor value of the second I2C bus to the target resistor value based on the touch signal TP_INT output by the touch display module and the reset signal RESET output by the control module, while also preventing the touch signal TP_INT from being mistakenly cleared to zero.

[0063] In one embodiment of the present invention, the triggering module is configured as follows: When the touch signal generates a rising edge, a high-level signal is output; When the reset signal is low, a low-level signal is output. Specifically, when the control module does not detect touch data within a preset period, a low-level reset signal is output.

[0064] Specifically, when touch is initiated, the rising edge of the touch signal TP_INT triggers, and its pulse input is sent to the trigger module, whose output can be maintained at a high level. At this time, the touch signal TP_INT can be immediately restored. The entire process is adapted to pulse triggering, ensuring the stability of the pull-up resistor matching for high-speed 1Mbps communication. The touch signal TP_INT does not require latching, enabling hardware autonomous management to optimize the control module's workload. Simultaneously, it allows the I2C pull-up resistor to switch from one steady state to another.

[0065] If the control module does not read touch data within three cycles (preset cycles), it can be determined that the touch behavior has ended. The reset pin of the control module outputs a low-level reset signal, which clears the output of the trigger module. The trigger module outputs a low-level signal to turn off the switch module, thereby switching the pull-up resistance value of the second I2C bus to the resistance value of the second resistor, and switching the 1Mbps high-speed mode back to the 400kbps normal fast mode.

[0066] It should be noted that when the touch display system is powered on and initialized, the switch module remains in the off state, and only the second resistor R2 is turned on to connect to the second I2C bus.

[0067] In one specific embodiment, see Figure 6 When the touch event begins, if the input of trigger U1 detects the rising edge of the touch signal TP_INT, the output of trigger U1 switches to high and remains high, and the touch signal TP_INT can be released. When the touch event ends, after confirming that the touch event has ended, the control module outputs a low-level reset signal to clear the output of trigger U1. The timing diagram for the touch signal TP_INT, the input of trigger U1 (U1_CLK In), the output of trigger U1 (U1_OUT), and the reset signal is shown in [reference needed]. Figure 7 .

[0068] In one embodiment of the present invention, such as Figure 3 and Figure 6 As shown, the touch display system may include: a transient diode TVS, a third resistor R3 and a capacitor C. The first terminal of the transient diode TVS is connected to the interrupt terminal of the touch display module, the second terminal of the transient diode TVS is connected to the first terminal of the third resistor R3, the second terminal of the third resistor R3 is grounded, and the second I2C bus is grounded through the capacitor C.

[0069] To protect the stability of the touch signal TP_INT output from the interrupt terminal of the touch display module, a transient diode (electromagnetic protection) and a third resistor (current limiting) can be added.

[0070] In one embodiment of the present invention, the control module is configured to switch the I2C rate to a second rate at preset intervals in response to a full hand raise event.

[0071] The embodiments of the present invention employ a timeout protection mechanism, setting a maximum high-speed duration (preset time), such as 50ms.

[0072] Specifically, when the control module detects a full hand-raise event—that is, when the control module previously detected at least one valid touch point, but now detects that all touch points have left the touch display screen—the touch operation can be determined to have ended. To prevent the high-speed mode from being permanently locked under abnormal circumstances, this embodiment of the invention, upon detecting a full hand-raise event, switches the I2C rate to the second rate after a 50ms hold period to ensure normal communication for other functions of the touch display module.

[0073] In the touch display system of this invention, after a touch action is triggered, the I2C rate can be switched from 400kbps to 1Mbps to process touch data (touch coordinate information) through a higher I2C communication rate until the bus raise-to-report ends, and then automatically switch back to 400kbps.

[0074] The processing time for touch coordinate information, when increased in accordance with the transmission rate, can at least halve the I2C bus occupancy time. For example, with a 120Hz cycle, touch coordinate processing takes 4-5ms within an 8.33ms cycle; with the increased rate, this can be optimized to 2-3ms, freeing up more bus time to avoid interfering with the touch experience. For example, with a 240Hz cycle, the single-cycle time is compressed to 4.17ms. Based on current industry data, it is not possible to read coordinate information within a single cycle. Switching to a higher rate allows touch coordinate reading to be completed within 2-3ms, supporting higher reporting rates.

[0075] In the vehicle display terminal of this embodiment of the invention, the I2C rate is switched to high-speed mode according to the touch signal TP_INT, and the switching module is controlled to adapt its pull-up resistor to a resistance value that matches the high speed.

[0076] It should be noted that the embodiments of the present invention can also be applied to other slave devices connected to the control module. In practice, identification is performed based on the slave device address. For slave devices supporting high-speed mode, after identifying the corresponding address, the system switches to high-speed mode. When a slave device that does not support high-speed mode is identified, the system switches back to 400kbps.

[0077] The touch display system in this embodiment of the invention realizes dynamic switching of I2C rate, enabling faster data reading for periodic touch functions and reducing the occupation of I2C bus time, thereby reducing the impact of other slave device communication on touch function; at the same time, to meet the specification requirements of high reporting rate, faster processing can match the shortening of touch cycle.

[0078] This invention provides a touch display method.

[0079] Figure 8 This is a flowchart of a touch display method according to one embodiment of the present invention. Figure 8As shown, the touch display method may include: S101, in response to the touch signal output by the touch display module, switches the I2C rate to the target rate and reads data at the target rate.

[0080] Specifically, when the touch display module is touched, it outputs a high-level touch signal TP_INT; when the touch ends, it outputs a low-level touch signal TP_INT. The control module receives the touch signal TP_INT output by the touch display module, switches the I2C rate of the control module according to the level change of the touch signal TP_INT, and reads data at the corresponding rate.

[0081] In one embodiment of the present invention, in response to a touch signal output by a touch display module, switching the I2C rate to a target rate and reading data at the target rate may include: When the touch signal is a high-level signal, the I2C rate is switched to the first rate, and the touch data is read at the first rate; When the touch signal is low, the I2C rate is switched to the second rate, and data is read at the second rate, wherein the first rate is greater than the second rate.

[0082] To ensure touch performance and timely response of various functional modules of the touch display, this embodiment of the invention selects 1Mbps as the first rate and 400kbps as the general rate, i.e., as the second rate.

[0083] For example, when a rising edge of the touch signal is detected, the touch signal transitions from low to high, and the control module switches the I2C rate from 400kbps to 1Mbps, reading touch data at 1Mbps. When a falling edge of the touch signal is detected, the touch signal transitions from high to low, and the control module switches the I2C rate from 1Mbps to 400kbps, reading relevant functional data at 400kbps.

[0084] In one embodiment of the present invention, the touch display method includes: In response to a full hand raise event, the I2C rate is switched to the second rate at preset intervals.

[0085] The embodiments of the present invention employ a timeout protection mechanism, setting a maximum high-speed duration (preset time), such as 50ms.

[0086] Specifically, when the touch event is confirmed to have ended (full hand raise event is detected), after a 50ms hold period, the I2C rate is switched to the second rate to prevent the high-speed mode from being permanently locked in abnormal situations and to ensure normal communication of other functions of the touch display module.

[0087] The touch display method in this embodiment of the invention enables dynamic switching of the I2C rate, allowing for faster data reading for periodic touch functions and reducing the time occupied on the I2C bus, thereby reducing the impact of other slave device communication on the touch function; at the same time, to meet the specification requirements of high reporting rate, faster processing can match the shortening of the touch cycle.

[0088] This invention provides a computer-readable storage medium.

[0089] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, it implements the touch display method as described above.

[0090] This invention provides a controller.

[0091] In this embodiment, the controller may include a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, it implements the touch display method described above.

[0092] Figure 9 This is a structural block diagram of the controller according to an embodiment of the present invention.

[0093] like Figure 9 As shown, the controller 500 includes a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, for example, via a bus 502. Optionally, the controller 500 may also include a transceiver 504. It should be noted that in practical applications, the transceiver 504 is not limited to one, and the structure of the controller 500 does not constitute a limitation on the embodiments of the present invention.

[0094] Processor 501 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 501 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0095] Bus 502 may include a pathway for transmitting information between the aforementioned components. Bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 502 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0096] The memory 503 stores a computer program corresponding to the touch display method of the above embodiments of the present invention, which is executed by the processor 501. The processor 501 executes the computer program stored in the memory 503 to implement the content shown in the foregoing method embodiments.

[0097] The controller 500 includes, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 9 The controller 500 shown is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.

[0098] This invention provides a vehicle.

[0099] Figure 10 This is a schematic diagram of a vehicle according to one embodiment of the present invention. (As shown...) Figure 10 As shown, the vehicle 1000 may include the touch display system 100 as described above.

[0100] The vehicle in this embodiment of the invention uses the above-mentioned touch display system 100, which has the advantages of high touch smoothness and strong real-time performance.

[0101] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0102] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0103] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0104] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this invention and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0105] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0106] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0107] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.

[0108] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A touch display system, characterized in that, The system includes: Touch display module; The control module has its I2C terminal connected to the I2C terminal of the touch display module via an I2C link, and its input / output terminals are connected to the interrupt terminals of the touch display module. The control module is configured to: switch the I2C rate to a target rate in response to a touch signal output by the touch display module, and read data at the target rate. A switching module is connected to the I2C link, the pull-up resistor of the I2C link, and the interrupt terminal of the touch display module. The switching module is configured to switch the pull-up resistor value of the I2C link to a target resistance value in response to a touch signal output by the touch display module.

2. The touch display system according to claim 1, characterized in that, The touch signal includes a high-level signal and a low-level signal, the target rate includes a first rate and a second rate, wherein the first rate is greater than the second rate, and the control module is configured to: When the touch signal is a high-level signal, the I2C rate is switched to the first rate, and the touch data is read at the first rate; When the touch signal is a low-level signal, the I2C rate is switched to the second rate, and the control status data is read at the second rate.

3. The touch display system according to claim 1, characterized in that, The I2C link includes a serializer and a deserializer. The I2C terminal of the control module is connected to the input terminal of the serializer via a first I2C bus. The output terminal of the serializer is connected to the input terminal of the deserializer via a serial bus. The output terminal of the deserializer is connected to the I2C terminal of the touch display module via a second I2C bus.

4. The touch display system according to claim 3, characterized in that, The control terminal of the switching module is connected to the interrupt terminal of the touch display module, the first terminal of the switching module is connected to the second I2C bus, and the second terminal of the switching module is connected to the pull-up resistor of the second I2C bus. The switching module is configured as follows: In response to the touch signal output by the touch display module, the pull-up resistor value of the second I2C bus is switched to the target resistor value.

5. The touch display system according to claim 4, characterized in that, The system includes: A trigger module is provided, wherein its input terminal is connected to the interrupt terminal of the touch display module, its output terminal is connected to the control terminal of the switching module and the input / output terminal of the control module, and its reset terminal is connected to the reset terminal of the trigger module to receive a reset signal output by the control module. The trigger module is configured to: In response to the touch signal or the reset signal, the switching module is controlled to switch the pull-up resistor value of the second I2C bus to the target resistor value.

6. The touch display system according to claim 5, characterized in that, The triggering module is configured as follows: When the touch signal generates a rising edge, a high-level signal is output; When the reset signal is a low-level signal, a low-level signal is output. Specifically, when the control module does not detect touch data within a preset period, it outputs a low-level reset signal.

7. The touch display system according to claim 4 or 5, characterized in that, The pull-up resistors of the second I2C bus include a first resistor and a second resistor. The switching module includes a switching unit. The control terminal of the switching unit is connected to the interrupt terminal of the touch display module. The first terminal of the switching unit and the first terminal of the second resistor are both connected to the second I2C bus. The second terminal of the switching unit is connected to the first resistor. The second terminals of the first resistor and the second resistor are both connected to the power supply. The switching unit is configured as follows: When a high-level signal is received, the switching unit is turned on to switch the pull-up resistance value of the second I2C bus to the parallel resistance value of the first resistor and the second resistor; When a low-level signal is received, the switching unit is disconnected, and the pull-up resistance value of the second I2C bus is switched to the resistance value of the second resistor.

8. The touch display system according to claim 7, characterized in that, The system includes a transient diode, a third resistor, and a capacitor. The first end of the transient diode is connected to the interrupt terminal of the touch display module, the second end of the transient diode is connected to the first end of the third resistor, the second end of the third resistor is grounded, and the second I2C bus is grounded through the capacitor.

9. The touch display system according to claim 2, characterized in that, The control module is configured to switch the I2C rate to the second rate at preset intervals in response to a full hand raise event.

10. A touch display method, characterized in that, The method includes: In response to the touch signal output by the touch display module, the I2C rate is switched to the target rate, and data is read at the target rate.

11. The touch display method according to claim 10, characterized in that, The step of responding to a touch signal output by the touch display module, switching the I2C rate to a target rate, and reading data at the target rate includes: When the touch signal is a high-level signal, the I2C rate is switched to the first rate, and the touch data is read at the first rate; When the touch signal is a low-level signal, the I2C rate is switched to the second rate, and data is read at the second rate, wherein the first rate is greater than the second rate.

12. The touch display method according to claim 11, characterized in that, The method includes: In response to a full hand raise event, the I2C rate is switched to the second rate at preset intervals.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the touch display method as described in any one of claims 10-12.

14. A controller, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the computer program is executed by the processor, it implements the touch display method as described in any one of claims 10-12.

15. A vehicle, characterized in that, Including the touch display system as described in any one of claims 1-9.