Touch screen keyboard control system capable of editing key values
By using capacitive touch screen, GD32F450 and GD32F103 chips, serial communication modules and other technical means in the touch screen keyboard control system, the existing system's shortcomings in key-value editing, interface diversity and power efficiency are solved, and more efficient, flexible and Reliable control meets the needs of different application scenarios and reduces energy consumption.
Patent Information
- Application Number
- CN202411409325.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-14
AI Technical Summary
The existing touch screen keyboard control system has shortcomings in key-value editing functions, interface diversity, display effect and power efficiency, which is difficult to meet the flexible needs of professional fields and the connection requirements of different devices, and has low energy utilization efficiency.
A touch screen keyboard control system with editable key values is designed, using capacitive touch screen, display and control module and interface module to connect through communication lines, using GD32F450 and GD32F103 chips to achieve multi-interface expansion and efficient power conversion, combining serial communication module and USB interface Configuration module to support high resolution display and low power power management.
It realizes more efficient, flexible and reliable touch screen keyboard control, improves the scalability, stability and compatibility of the system, reduces energy consumption, extends the use time of the equipment, and meets energy-saving and environmental protection requirements.
Smart Images

Figure CN119311197A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of touch screen keyboards, and in particular to a touch screen keyboard control system capable of editing key values. Background Art
[0002] In today's era of rapid digitalization and intelligence, the touch screen keyboard is a key device for human-computer interaction. The optimization of its performance and functions is crucial to improving user experience and meeting the needs of diverse application scenarios.
[0003] With the continuous advancement of technology, various electronic devices such as tablet computers, industrial control terminals, and smart devices have increasingly higher requirements for input devices. Traditional keyboards have limitations in certain scenarios, while touch screen keyboards have gradually become mainstream due to their advantages such as intuitiveness, convenience, and customizability. However, the existing touch screen keyboard control system still needs to be improved in terms of key value editing functions, interface diversity, display effects, and power efficiency.
[0004] For example, in some professional applications, key values need to be flexibly edited according to different project requirements to adapt to specific operating procedures and functional requirements. At the same time, in order to meet the connection and data transmission requirements of different devices, a rich USB interface configuration becomes indispensable. High-resolution, true-color display screens can provide a clearer and more beautiful interface and enhance the user's visual experience. In addition, in terms of energy efficiency, reducing power loss not only helps to extend the battery life of the device, but also conforms to the development trend of energy conservation and environmental protection.
[0005] Therefore, a touch screen keyboard control system with editable key values is continued, and a more efficient, flexible and reliable touch screen keyboard control is achieved by optimizing the design and function of each module to meet the needs of different users and application scenarios. Summary of the invention
[0006] In order to solve the above-mentioned problem, the present invention provides a touch screen keyboard control system with editable key values.
[0007] The present invention provides a touch screen keyboard control system with editable key values, which adopts the following technical solution: A touch screen keyboard control system with editable key values, comprising: A capacitive touch screen, wherein the capacitive touch screen is respectively connected to a display control module and an interface module, wherein the display control module and the interface module are connected via a communication line, wherein the display control module comprises an interface processing module and a key processing module, and wherein the interface module comprises a serial communication module, a USB interface configuration module and a touch screen scanning module.
[0008] Furthermore, the display and control module is connected to a display and control module controller, and the display and control module controller adopts a GD32F450 chip.
[0009] Furthermore, the interface module is connected to an interface module controller, and the interface module controller adopts a GD32F103 chip, and utilizes the GD32F103 chip to generate 4 USB signals, thereby realizing the expansion of 2 USB2.0 interfaces and 1 USB3.0 interface.
[0010] Furthermore, the interface processing module is used to display the initialization interface according to project requirements, and perform different operations according to different buttons, including sending key values and switching interfaces.
[0011] Furthermore, the key processing module is used to determine whether the touch point corresponds to a valid key on the interface. If so, the corresponding key value sending or interface switching operation is performed; if not, the touch point is discarded.
[0012] Furthermore, the USB interface configuration module configures the USB interface for the keyboard by configuring the underlying device descriptor, configuration descriptor and HID descriptor.
[0013] Furthermore, the touch screen scanning module is interconnected with the capacitive touch screen through an interface, and the interface module controller analyzes the state of each pixel of the capacitive touch screen in real time. If the capacitive touch screen is pressed effectively, the state information of the effective touch point is sent to the display control module controller.
[0014] Furthermore, the serial port communication module is used for quality inspection information interaction between the interface module controller and the display and control module controller.
[0015] Furthermore, the display control module includes a display panel, which adopts an ATK-MD1010R 10.1-inch liquid crystal display panel. The display panel includes a 4-channel 8-bit LVDS screen with a screen resolution of 1280*800 and supports up to 24-bit true color display.
[0016] Furthermore, it also includes a DC12V external adapter power supply, which is connected to an internal voltage conversion circuit. The internal voltage conversion circuit adopts a wide-temperature, high-power DC-DC power supply, and the power conversion rate is 95%, thereby reducing power loss.
[0017] In summary, the present invention has the following beneficial technical effects: The present invention adopts GD32F103 chip, which can generate 4 USB signals, realize the expansion of 2 USB2.0 interfaces and 1 USB3.0 interface, facilitate the connection of various external devices, and improve the expansibility and compatibility of the system. The USB interface configuration module configures the underlying descriptor to configure the USB interface for the keyboard, making the interface configuration more standardized and stable.
[0018] A DC12V external adapter power supply is used to connect the internal voltage conversion circuit. The internal voltage conversion circuit is a wide-temperature, high-power DC-DC power supply with a power conversion rate of up to 95%, which effectively reduces power loss, reduces energy consumption, and extends the use time of the equipment. It also meets the requirements of energy saving and environmental protection.
[0019] The display and control module and the interface module are controlled by different controllers respectively and connected through communication lines. Each module has a clear division of labor and cooperates with each other, which improves the stability and reliability of the system.
[0020] The touch screen scanning module analyzes the status of each pixel of the capacitive touch screen in real time, and accurately sends the status information of the valid touch points to the display and control module controller to ensure accurate response of touch operations.
[0021] The serial communication module is used for quality inspection information exchange between the interface module controller and the display and control module controller, further enhancing the stability and maintainability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a functional schematic diagram of the display and control module controller of an embodiment of the present invention.
[0023] Figure 2 4 is a functional diagram of an interface module controller according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0025] Example 1 Reference Figure 1 , a touch screen keyboard control system with editable key values in this embodiment adopts the following technical solution: A capacitive touch screen, wherein the capacitive touch screen is connected to a display control module and an interface module respectively, wherein the display control module and the interface module are connected via a communication line, wherein the display control module includes an interface processing module and a key processing module, wherein the interface module includes a serial communication module, a USB interface configuration module and a touch screen scanning module. The display control module is connected to a display control module controller, wherein the display control module controller adopts a GD32F450 chip. The interface module is connected to an interface module controller, wherein the interface module controller adopts a GD32F103 chip, and uses the GD32F103 chip to generate 4 USB signals, thereby realizing the expansion of 2 USB2.0 interfaces and 1 USB3.0 interface. The interface processing module is used to display an initialization interface according to project requirements, and to perform different operations according to different keys, including sending key values and switching interfaces. The key processing module is used to determine whether the touch point corresponds to a valid key on the interface, and if so, to perform the corresponding sending key value or switching interface operation, and if it is not a valid key, to discard it. The USB interface configuration module configures a USB interface for the keyboard by configuring the underlying device descriptor, configuration descriptor and HID descriptor. The touch screen scanning module is interconnected with the capacitive touch screen through an interface. The interface module controller analyzes the status of each pixel of the capacitive touch screen in real time. If the capacitive touch screen is pressed effectively, the status information of the effective touch point is sent to the display and control module controller. The serial port communication module is used for the interface module controller and the display and control module controller to exchange quality inspection information. The display and control module includes a display panel, which adopts an ATK-MD1010R 10.1-inch LCD display panel. The display panel includes a 4-channel 8-bit LVDS screen with a screen resolution of 1280*800 and supports up to 24-bit true color display. It also includes a DC12V external adapter power supply, which is connected to the internal voltage conversion circuit. The internal voltage conversion circuit adopts a wide-temperature high-power DC-DC power supply, and the power conversion rate is 95%, thereby reducing power loss.
[0026] Specifically, The present invention implements a touch screen keyboard control system with editable key values, the development environment is Keil uVision5 (compatible with Keil uVision4), including a capacitive touch screen, the capacitive touch screen is respectively connected to a display control module and an interface module, the display control module and the interface module are connected through a communication line, the display control module includes an interface processing module and a key processing module, the interface module includes a serial communication module, a USB interface configuration module and a touch screen scanning module.
[0027] The USB interface configuration module is used to configure the underlying USB protocol, and configure the keyboard into the required device by configuring the underlying device descriptor, configuration descriptor, HID descriptor, etc. It can be configured as a standard keyboard device or a custom HID device.
[0028] The touch screen scanning module is interconnected with the capacitive touch screen through an interface. The interface module processor analyzes the status of each pixel of the touch screen in real time. If the touch screen is pressed effectively, the status information of the effective touch point is sent to the display control module processor.
[0029] The serial communication module is responsible for the information exchange between the interface module processor and the display and control module processor.
[0030] The interactive information includes two types: the touch screen pixel information sent by the interface module processor to the display and control module processor; the key values sent by the display and control module processor to the interface module processor. The interface module processor packages the received key values into a standard USB protocol and uploads them to the host computer.
[0031] In addition, the interface module can be automatically adjusted according to the setting results of the keyboard display and control information editing software.
[0032] The display control module is mainly responsible for driving the LCD screen of the RGB interface, judging the pixel points of the touch screen and sending key values. It is divided into the interface processing module and the key processing module according to its function.
[0033] The interface processing module displays the initialization interface according to project requirements. According to project requirements, different buttons perform different operations: sending key values, switching interfaces, etc.
[0034] The key processing module determines whether the touch point corresponds to a valid key on the interface. If so, it executes the corresponding sending key value or switching interface operation. If it is not a valid key, it is discarded.
[0035] In addition, the display and control module can be automatically adjusted according to the setting results of the keyboard display and control information editing software.
[0036] The display and control module controller of this embodiment adopts the GD32F450 chip, which has the characteristics of high universality and low power consumption, and is suitable for various graphics processing applications such as industrial control and embedded applications, and has sufficient guarantees in terms of information security and supply capacity. The interface module controller adopts the GD32F103 chip, which can generate 4 USB signals by using the controller chip, and can expand 2 USB2.0 interfaces and 1 USB3.0.
[0037] The display control module controller uses the GD32F450 chip. The module supports the output of 2-way VGA video signals. This solution is mainly responsible for driving the LCD screen of the RGB interface, the touch screen pixel point judgment and key value sending. The implementation block diagram is as follows Figure 1 GD32F450 has the characteristics of high universality and low power consumption, and is suitable for various graphics processing applications such as industrial control and embedded applications, with full guarantee in information security and supply capacity.
[0038] The technical parameters of the GD32F450 chip are as follows: It can provide up to 4 UARTs, and the chip has a built-in MAC, supports Ethernet, supports EXMC, two CAN2.0B interfaces, and 6 SPI interfaces; supports multiple resolutions such as 1024×800; the typical power consumption is 3 watts, and the peak value does not exceed 5 watts.
[0039] The interface module controller uses the GD32F103 chip, which has 4 USB signals and can expand 2 USB2.0 interfaces and 1 USB3.0 interface. 4 USB2.0 signals can be expanded through the USB HUB. 2 channels are connected to the minipcie interface, 1 channel is used for communication, and 1 channel is used for the touch screen driver board. It also expands multiple serial ports and IO interfaces.
[0040] The functional block diagram of the USB control unit is as follows: Figure 2 shown.
[0041] As a further implementation method, the overall hardware design of this embodiment adopts highly universal and low-power devices, and uses industrial control design standards to ensure the stability of the product during use. In the development of the touch control system, the use of DC12V, DC-005 interface external power adapter or DC5V, Type-C can provide a stable power supply, enhance the stability, performance and reliability of the equipment, and the system can run continuously for a long time. The external power adapter provides a stable power supply voltage and current to ensure the normal operation of the system. On the basis of selecting a DC12V external adapter power supply, in order to meet the normal temperature working state, the whole machine power consumption is not more than 20W, and reliable low-power devices are selected. The internal voltage conversion circuit adopts a wide temperature high-power DC-DC power supply solution, and the power conversion rate reaches more than 95%, thereby reducing power loss. The LDO solution is used to supply power to the main control MCU to reduce ripple and make the main controller more stable. At the same time, the power chip selected is a high-end power chip from a domestic large factory to ensure the localization design of the product.
[0042] The display panel uses the ATK-MD1010R 10.1-inch LCD panel from Guangzhou Xingyi Electronic Technology Co., Ltd. It has a 4-channel 8-bit LVDS screen, a screen resolution of 1280*800, and supports up to 24-bit true color display. It comes with a RGB to LVDS chip and supports RGB&LVDS dual interfaces. At the same time, the graphics processor uses a domestic chipset and a capacitive touch solution, which can provide high-precision touch positioning, can accurately detect the position of the user's finger, and has a very good control effect.
[0043] Example 2 The difference between this embodiment and Embodiment 1 is that this embodiment provides a key layout method of a touch screen keyboard control system with editable key values.
[0044] Among them, the system can adjust the button arrangement order according to the selected function buttons. The layout will take effect immediately after being saved, and supports restoring the last set layout content after restart.
[0045] The protocol used by the system is the JSON string format, which packages the data into a visible JSON string and sends it. The computer is agreed to be the host and the touch device is the slave. The character encoding requirement is UTF8. The host needs to send the display data content information format to the slave device as follows: { "XTotal": 3, "YTotal": 5, "Screen": 60, "Botten": ["Chinese 1", "Chinese 2", "Chinese 3", "Chinese 4", "Chinese 5", "Chinese 6", "Chinese 7", "Chinese 8", "Chinese 9", "Chinese 10", "Chinese 11", "Chinese 12", "Chinese 13", "Chinese 14", "Chinese 15"] } Where XTotal represents the total number of buttons displayed in the X-axis (horizontal) direction of the screen; Where YTotal represents the total number of buttons displayed in the Y-axis (vertical) direction of the screen; Screen represents the sleep time when the screen is not in use, in seconds; Both XTotal×YTotal represent the total number of key presses.
[0046] Botten represents the order of key content arrangement. From left to right, the first key display content of the X-axis is listed first, and then all the data of the X-axis is listed and switched to the next row of the Y-axis, in a Z-shaped data arrangement, as shown in Table 1: Table 1 After receiving the above content, The data format is correct: The slave will reply {"state": "Ok"} If the data is wrong: The slave will reply with {"state": "Error"} The four icons ↑↓← → are four arrows. It is agreed that the Arabic numerals 1234 are used to replace the four arrows. When the key data sent is a single Arabic numeral, it is the corresponding arrow. The corresponding arrows are shown in Table 2: Table 2 The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A touch screen keyboard control system with editable key values, characterized in that: include: A capacitive touch screen, wherein the capacitive touch screen is respectively connected to a display control module and an interface module, wherein the display control module and the interface module are connected via a communication line, wherein the display control module comprises an interface processing module and a key processing module, and wherein the interface module comprises a serial communication module, a USB interface configuration module and a touch screen scanning module.
2. A touch screen keyboard control system with editable key values according to claim 1, characterized in that: The display and control module is connected to a display and control module controller, and the display and control module controller adopts a GD32F450 chip.
3. A touch screen keyboard control system with editable key values according to claim 2, characterized in that: The interface module is connected to the interface module controller, and the interface module controller adopts the GD32F103 chip, and utilizes the GD32F103 chip to generate 4 USB signals, thereby realizing the expansion of 2 USB2.0 interfaces and 1 USB3.0 interface.
4. A touch screen keyboard control system with editable key values according to claim 3, characterized in that: The interface processing module is used to display the initialization interface according to project requirements and perform different operations according to different buttons, including sending key values and switching interfaces.
5. A touch screen keyboard control system with editable key values according to claim 4, characterized in that: The key processing module is used to determine whether the touch point corresponds to a valid key on the interface. If so, the corresponding key value sending or interface switching operation is performed. If it is not a valid key, it is discarded.
6. A touch screen keyboard control system with editable key values according to claim 5, characterized in that: The USB interface configuration module configures the USB interface for the keyboard by configuring the underlying device descriptor, configuration descriptor and HID descriptor.
7. A touch screen keyboard control system with editable key values according to claim 6, characterized in that: The touch screen scanning module is interconnected with the capacitive touch screen through an interface. The interface module controller analyzes the state of each pixel of the capacitive touch screen in real time. If the capacitive touch screen is pressed effectively, the state information of the effective touch point is sent to the display control module controller.
8. A touch screen keyboard control system with editable key values according to claim 7, characterized in that: The serial communication module is used for quality inspection information exchange between the interface module controller and the display and control module controller.
9. A touch screen keyboard control system with editable key values according to claim 8, characterized in that: The display control module includes a display panel, which adopts an ATK-MD1010R 10.1-inch liquid crystal display panel. The display panel includes a 4-channel 8-bit LVDS screen with a screen resolution of 1280*800 and supports up to 24-bit true color display.
10. A touch screen keyboard control system with editable key values according to claim 9, characterized in that: It also includes a DC12V external adapter power supply, which is connected to an internal voltage conversion circuit. The internal voltage conversion circuit uses a wide-temperature, high-power DC-DC power supply, and the power conversion rate is 95%, thereby reducing power loss.