A touch button design method based on touch screen

By adopting a touch screen button design method on the recording software controller, the problems of poor button feel and unchangeable functions in the recording software controller are solved, and highly sensitive and customizable touch buttons are achieved, which simplifies the software switching process and improves the user experience.

CN115357134BActive Publication Date: 2025-09-16GUANGZHOU YUDA ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210868959.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2025-09-16
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

Existing recording software controllers use silicone buttons, which have poor feel and sensitivity, and the button functions cannot be changed. PVC functional films need to be customized for each recording software. Users need to replace the film when switching software, and the button functions cannot be customized.

Method used

A touch button design method based on the touch screen is adopted. The touch screen is divided into several areas. The touch signal and coordinate value are obtained through the touch chip. The button status is judged in combination with the main control microcontroller. The recording software function is controlled through the USB MIDI protocol, allowing users to customize the button position and function.

Benefits of technology

The sensitivity and customizability of touch screen buttons are achieved, and users can adjust the button position and function according to their habits, which simplifies the software switching process and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115357134B_ABST
    Figure CN115357134B_ABST
Patent Text Reader

Abstract

The present invention discloses a touch button design method based on a touch screen. A plastic part is placed on the touch screen so that it divides the touch screen into several areas of equal size (such as 4×4). In this way, the touch screen can be regarded as several (such as 4×4) matrix touch buttons. When one of the touch buttons is touched by hand, the MCU (the main control microcontroller of the recording software controller) determines which touch button is pressed through the X and Y coordinate values ​​returned by the touch screen and then controls the corresponding function. The touch screen not only displays the function name of each touch button corresponding to the recording software, but also can display in real time the status of pressing or releasing the touch button and whether the corresponding function on the recording software is activated or inactivated. In addition, the user can freely change the position and function name of each touch button on the touch screen according to his or her own usage habits and preferences.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of recording software, and in particular to a touch button design method based on a touch screen. Background Art

[0002] Existing recording software controllers use physical buttons like silicone buttons, which lack tactile feel and sensitivity, and the silkscreen markings on the button functions cannot be changed. However, with dozens of commonly used recording software, this necessitates custom-made PVC functional films for each. The corresponding PVC functional film must be placed when using the recording software, ensuring that the controller button functions correspond to the software's functions. This is a cumbersome process, as users must replace the film whenever switching between recording software, and they cannot customize the functions of individual buttons. Summary of the Invention

[0003] In view of this, in order to solve the above problems in the prior art, the present invention proposes a touch button design method based on a touch screen, whereby the user can customize the position and function of each touch button as needed and display them on the touch screen.

[0004] The present invention solves the above problems through the following technical means:

[0005] The present invention provides a touch button design method based on a touch screen, comprising the following steps:

[0006] Divide the touch screen into several areas, thereby setting the touch screen into a touch button matrix;

[0007] When the touch chip on the touch screen receives a touch signal, the level of the corresponding pin on the touch chip will change, and the XY coordinates of the touch point will be saved in the internal register. The pins of the touch screen are connected to the main control microcontroller of the recording software controller, and the main control microcontroller of the recording software controller can capture the level changes of the corresponding pins of the touch chip.

[0008] The main control microcontroller of the recording software controller captures the level change of the corresponding pin on the touch chip and determines whether it is a touch button pressed or a touch button released signal;

[0009] The main control microcontroller of the recording software controller sends a command to read the XY coordinate values ​​of the touch point stored in the internal register of the touch chip, and then determines which touch button is pressed or released based on the read coordinate values;

[0010] After determining which touch button is pressed or released, the main control microcontroller of the recording software controller sends the function code of the corresponding touch button function to the recording software to control the function of the recording software.

[0011] Preferably, the touch button design method based on a touch screen further includes:

[0012] When the status of certain functions on the recording software changes, whether from an activated state to an inactivated state or from an inactivated state to an activated state; the recording software will send a function code corresponding to the function to the recording software controller. After the main control microcontroller of the recording software controller determines which touch buttons correspond to the changed function status and how the function status changes, it will update the display content in the relevant touch button area in real time.

[0013] Preferably, when the status of certain functions on the recording software changes, whether from an activated state to an inactivated state or from an inactivated state to an activated state, the recording software will send a function code corresponding to the function to the recording software controller. The main control microcontroller of the recording software controller will update the display content in the relevant touch key area in real time after determining which touch keys correspond to the function status changes and how the function status changes, specifically:

[0014] When the status of certain functions on the recording software changes, the function code corresponding to the function will be sent to the recording software controller. When the status changes from active to inactive, the NOTE OFF code will be sent; when the status changes from inactive to active, the NOTE ON code will be sent.

[0015] The main control microcontroller of the recording software controller sequentially stores the function name and corresponding function code of each touch button in two different arrays, assuming they are array A and array B. After detecting the data returned by the recording software, the main control microcontroller of the recording software controller compares the received data with the data in the function code array one by one. When the data matches, the position of the data in the array is recorded to determine which touch button's corresponding function state has changed;

[0016] The main control microcontroller of the recording software controller determines whether it is a NOTE ON or NOTE OFF code by analyzing the data format of the received data, thereby determining how the function status changes, whether it is from an active state to an inactive state or from an inactive state to an active state;

[0017] After determining which touch buttons have changed their corresponding functional states and how the functional states have changed, the main control microcontroller of the recording software controller will update the display content in the relevant touch button area in real time.

[0018] Preferably, the touch button design method based on a touch screen further includes:

[0019] Users can freely change the position and function name of each touch button on the touch screen according to their own usage habits and preferences.

[0020] As a preferred option, the user can freely change the position and function name of each touch button on the touch screen according to their own usage habits and preferences, specifically:

[0021] In the function name list of the recording software controller host software, each function corresponds to a different function code. Users can map different functions to different touch buttons and change the function names displayed on the touch buttons according to their usage habits and preferences. After configuration is completed, the recording software controller host software will sequentially store the function name and corresponding function code of each configured touch button in two different arrays, assuming they are array A1 and array B1.

[0022] After the recording software controller host software is connected to the recording software controller, click "Send Data" to send the data to the recording software controller;

[0023] After receiving the data sent by the host computer software of the recording software controller, the main control microcontroller of the recording software controller replaces the data in array A and array B with the data in array A1 and array B1 received and saves the data;

[0024] The main control microcontroller of the recording software controller displays the function name of each touch button stored in the received array A1 in each touch button area of ​​the touch screen in sequence. Similarly, when a button is touched, its function code will be replaced by the data in the array B1 corresponding to array A1.

[0025] Preferably, a plastic piece is placed on the touch screen to divide the touch screen into a number of areas of equal size.

[0026] Preferably, when the level of the corresponding pin on the touch chip changes from a high level to a low level, it is a touch key pressed signal, and when it changes from a low level to a high level, it is a touch key released signal.

[0027] Preferably, after determining which touch button is pressed or released, the main control microcontroller of the recording software controller sends the function code of the corresponding touch button function to the recording software via the USB MIDI protocol, thereby controlling the function of the recording software.

[0028] Preferably, the main control microcontroller of the recording software controller captures the level change of the corresponding pin on the touch chip and determines whether it is a touch button pressed or a touch button released signal. The main control microcontroller of the recording software controller drives the touch screen to display the status of pressing or releasing the touch button in real time.

[0029] Preferably, the main control microcontroller of the recording software controller will update the display content in the relevant touch button area in real time after determining which touch buttons have changed their corresponding functional status and how the functional status has changed: if the function is currently in an inactive state, only the button function name will be displayed in the touch button area; if the function is currently in an activated state, the button function name and background color will be displayed in the touch button area.

[0030] Compared with the prior art, the beneficial effects of the present invention include at least:

[0031] The present invention places a plastic part on the touch screen, dividing it into several equal-sized areas (e.g., 4×4). This allows the touch screen to be viewed as a matrix of several (e.g., 4×4) touch buttons. When one of the touch buttons is touched, the MCU (the main control microcontroller of the recording software controller) determines which touch button was pressed based on the X and Y coordinate values ​​returned by the touch screen and then controls the corresponding function. The touch screen not only displays the function name corresponding to each touch button in the recording software, but also displays in real time the status of the touch button being pressed or released, as well as whether the corresponding function in the recording software is activated or inactivated. Furthermore, users can freely change the position and function name of each touch button on the touch screen according to their usage habits and preferences. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0033] Figure 1 It is a flow chart of the touch button design method based on the touch screen of the present invention;

[0034] Figure 2 FIG. 4 is a schematic diagram of a touch key matrix according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] To make the above-mentioned objectives, features, and advantages of the present invention more clearly understood, the technical solutions of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments described are only some of the embodiments of the present invention, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative effort are also within the scope of protection of the present invention.

[0036] like Figure 1As shown, the present invention provides a touch button design method based on a touch screen, which is used to replace traditional physical buttons (such as silicone buttons, etc.) on a recording software controller, including the following steps:

[0037] S1. Setting a touch button matrix on the touch screen;

[0038] The touch screen is divided into several areas, thereby setting the touch screen into a touch key matrix; in this embodiment, a plastic part is placed on the touch screen to divide the touch screen into several areas of equal size, thereby setting the touch screen into a touch key matrix, such as Figure 2 shown.

[0039] S2, detecting in real time whether the touch screen is touched;

[0040] When the touch chip on the touch screen obtains a touch signal, the level of the corresponding pin on the touch chip (the INT pin in this embodiment) will change, and the XY coordinate values ​​of the touch point will be saved in the internal register; among them, the pins of the touch screen and the main control microcontroller (hereinafter referred to as MCU) of the recording software controller are connected together, and the MCU can capture the level change of the INT pin of the touch chip and send commands to read the value in the internal register of the touch chip.

[0041] S3, determining whether the touch button is pressed or released;

[0042] After the MCU captures the level change of the INT pin on the touch chip, it determines whether it is a touch button press or touch button release signal; then, the main control microcontroller of the recording software controller can also drive the touch screen to display the status of the touch button press or release in real time;

[0043] Among them, the level of the INT pin on the touch chip changes from high level to low level, which is a touch button pressed signal, and changes from low level to high level, which is a touch button released signal.

[0044] S4. Determine which touch button is pressed or released;

[0045] The MCU sends a command to read the XY coordinate values ​​of the touch point stored in the internal register of the touch chip, and then determines which touch button is pressed or released based on the read coordinate values;

[0046] The plastic parts on the touch screen divide the touch screen into different touch button areas, so you can determine which touch button area is touched by comparing the read XY coordinate values.

[0047] S5. Control the functions on the recording software;

[0048] After determining which touch button is pressed or released, the MCU sends the function code (MIDI code in this embodiment) of the corresponding touch button function to the recording software via the USB MIDI protocol to control the function on the recording software;

[0049] It should be noted that the MIDI codes sent when a touch button is pressed and released are different, so the MCU needs to determine whether the touch button is pressed or released.

[0050] S6. Update the display content in the relevant touch button area in real time;

[0051] When the status of certain functions on the recording software changes, whether from an activated state to an inactivated state or from an inactivated state to an activated state; the recording software will send the MIDI code corresponding to the function to the recording software controller. After the main control microcontroller of the recording software controller determines which touch keys correspond to the changed function status and how the function status changes, it will update the display content in the relevant touch key area in real time.

[0052] S61, real-time detection of whether the recording software has data returned;

[0053] When the status of certain functions (such as the loop function) on the recording software changes, the MIDI code corresponding to the function will be sent to the recording software controller. When the active state changes to the inactive state, the NOTE OFF code will be sent (for example, the NOTE OFF code corresponding to the loop function is 0x09 0x90 0x56 0x00); when the inactive state changes to the active state, the NOTE ON code will be sent (for example, the NOTE ON code corresponding to the loop function is 0x09 0x90 0x56 0x7f).

[0054] S62, analyzing the data and determining which touch key's corresponding functional state has changed;

[0055] The MCU stores the function name and corresponding MIDI code of each touch button in two different arrays (assuming they are array A and array B) in sequence. After detecting the data returned by the recording software, the MCU compares the received data with the data in the MIDI code array one by one. When the data matches, the position of this data in the array is recorded to determine which touch button's corresponding function status has changed.

[0056] S63. Determine how the functional status changes;

[0057] The MCU determines whether it is a NOTE ON or NOTE OFF code by analyzing the data format of the received data, thereby determining how the function status changes (from an active state to an inactive state or from an inactive state to an active state).

[0058] S64, updating the display content of the relevant touch buttons in real time;

[0059] After determining which touch buttons have changed their function states and how they have changed, the MCU will update the display content in the relevant touch button area in real time (if the function is currently inactive, only the button function name will be displayed in the touch button area; if the function is currently active, the button function name and background color will be displayed in the touch button area).

[0060] Compared with the traditional recording software controller using physical buttons, the present invention allows users to arbitrarily change the position and function name of each touch button on the touch screen according to their own usage habits and preferences (recording software is required), such as changing Figure 2 The positions of the "Input" and "Output" touch buttons are swapped or the function name of the touch button "Input" is changed to "Input 1". That is, the touch button design method based on the touch screen also includes:

[0061] S7. Change the position and function name of the touch buttons;

[0062] Users can freely change the position and function name of each touch button on the touch screen according to their own usage habits and preferences.

[0063] S71, use the recording software controller host computer software to configure data;

[0064] Each function in the recording software controller's host software's function name list corresponds to a different MIDI function code. Users can map different functions to different touch buttons and change the function names displayed on the touch buttons based on their usage habits and preferences. Once configured, the recording software controller's host software will sequentially store the function name and corresponding MIDI code for each touch button in two separate arrays (assuming they are arrays A1 and B1).

[0065] S72, sending data to the recording software controller;

[0066] After the recording software controller host software is connected to the recording software controller USB device, you can click "Send Data" to send data to the recording software controller.

[0067] S73, the recording software controller updates and saves the data;

[0068] After receiving the data sent by the host computer software of the recording software controller, the main control microcontroller of the recording software controller replaces the data in array A and array B with the received data in array A1 and array B1 and saves the data.

[0069] S74, updating and displaying the function names of the touch buttons;

[0070] The MCU displays the function name of each touch key stored in the received array A1 in each touch key area of ​​the touch screen in sequence. Similarly, when a key is touched, its MIDI code will be replaced by the data in the array B1 corresponding to array A1.

[0071] The present invention places a plastic part on the touch screen, dividing it into several equal-sized areas (e.g., 4×4). This allows the touch screen to be viewed as a matrix of several (e.g., 4×4) touch buttons. When one of the touch buttons is touched, the MCU (the main control microcontroller of the recording software controller) determines which touch button was pressed based on the X and Y coordinate values ​​returned by the touch screen and then controls the corresponding function. The touch screen not only displays the function name corresponding to each touch button in the recording software, but also displays in real time the status of the touch button being pressed or released, as well as whether the corresponding function in the recording software is activated or inactivated. Furthermore, users can freely change the position and function name of each touch button on the touch screen according to their usage habits and preferences.

[0072] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A touch button design method based on a touch screen, characterized in that: The steps include: Divide the touch screen into several areas, thereby setting the touch screen into a touch button matrix; When the touch chip on the touch screen receives a touch signal, the level of the corresponding pin on the touch chip will change, and the XY coordinates of the touch point will be saved in the internal register. The pins of the touch screen are connected to the main control microcontroller of the recording software controller, and the main control microcontroller of the recording software controller can capture the level changes of the corresponding pins of the touch chip. The main control microcontroller of the recording software controller captures the level change of the corresponding pin on the touch chip and determines whether it is a touch button pressed or a touch button released signal; The main control microcontroller of the recording software controller sends a command to read the XY coordinate values ​​of the touch point stored in the internal register of the touch chip, and then determines which touch button is pressed or released based on the read coordinate values; After determining which touch button is pressed or released, the main control microcontroller of the recording software controller sends the function code of the corresponding touch button function to the recording software to control the function of the recording software.

2. The touch button design method based on a touch screen according to claim 1, characterized in that: The touch button design method based on the touch screen also includes: When the status of certain functions on the recording software changes, whether from an activated state to an inactivated state or from an inactivated state to an activated state; the recording software will send a function code corresponding to the function to the recording software controller. After the main control microcontroller of the recording software controller determines which touch buttons correspond to the changed function status and how the function status changes, it will update the display content in the relevant touch button area in real time.

3. The touch button design method based on a touch screen according to claim 2, characterized in that: When the status of certain functions on the recording software changes, whether from an activated state to an inactivated state or from an inactivated state to an activated state, the recording software will send the function code corresponding to the function to the recording software controller. The main control microcontroller of the recording software controller will update the display content of the relevant touch button area in real time after determining which touch buttons have changed their corresponding function status and how the function status has changed. Specifically: When the status of certain functions on the recording software changes, the function code corresponding to the function will be sent to the recording software controller. When the status changes from active to inactive, the NOTE OFF code will be sent; when the status changes from inactive to active, the NOTE ON code will be sent. The main control microcontroller of the recording software controller sequentially stores the function name and corresponding function code of each touch button in two different arrays, assuming they are array A and array B. After detecting the data returned by the recording software, the main control microcontroller of the recording software controller compares the received data with the data in the function code array one by one. When the data matches, the position of the data in the array is recorded to determine which touch button's corresponding function state has changed; The main control microcontroller of the recording software controller determines whether it is a NOTE ON or NOTE OFF code by analyzing the data format of the received data, thereby determining how the function status changes, whether it is from an active state to an inactive state or from an inactive state to an active state; After determining which touch buttons have changed their corresponding functional states and how the functional states have changed, the main control microcontroller of the recording software controller will update the display content in the relevant touch button area in real time.

4. The touch button design method based on a touch screen according to claim 1, characterized in that: The touch button design method based on the touch screen also includes: Users can freely change the position and function name of each touch button on the touch screen according to their own usage habits and preferences.

5. The touch button design method based on a touch screen according to claim 4, characterized in that: Users can freely change the position and function name of each touch button on the touch screen according to their own usage habits and preferences. Specifically: In the function name list of the recording software controller host software, each function corresponds to a different function code. Users can map different functions to different touch buttons and change the function names displayed on the touch buttons according to their usage habits and preferences. After configuration is completed, the recording software controller host software will sequentially store the function name and corresponding function code of each configured touch button in two different arrays, assuming they are array A1 and array B1. After the recording software controller host software is connected to the recording software controller, click "Send Data" to send the data to the recording software controller; After receiving the data sent by the host computer software of the recording software controller, the main control microcontroller of the recording software controller replaces the data in array A and array B with the data in array A1 and array B1 received and saves the data; The main control microcontroller of the recording software controller displays the function name of each touch button stored in the received array A1 in each touch button area of ​​the touch screen in sequence. Similarly, when a button is touched, its function code will be replaced by the data in the array B1 corresponding to array A1.

6. The touch button design method based on a touch screen according to claim 1, characterized in that: Place a plastic piece on the touch screen to divide the touch screen into several areas of equal size.

7. The touch button design method based on a touch screen according to claim 1, characterized in that: When the level of the corresponding pin on the touch chip changes from high level to low level, it is a touch button pressed signal, and when it changes from low level to high level, it is a touch button released signal.

8. The touch button design method based on a touch screen according to claim 1, characterized in that: After determining which touch button is pressed or released, the main control microcontroller of the recording software controller sends the function code of the corresponding touch button function to the recording software through the USB MIDI protocol to control the function of the recording software.

9. The touch button design method based on a touch screen according to claim 1, characterized in that: The main control microcontroller of the recording software controller captures the level change of the corresponding pin on the touch chip and determines whether it is a touch button pressed or a touch button released signal. The main control microcontroller of the recording software controller drives the touch screen to display the status of the touch button pressed or released in real time.

10. The touch button design method based on a touch screen according to claim 2, characterized in that: After determining which touch buttons have changed their corresponding functional status and how the functional status has changed, the main microcontroller of the recording software controller will update the display content in the relevant touch button area in real time: if the function is currently in an inactive state, only the button function name will be displayed in the touch button area; if the function is currently in an active state, the button function name and background color will be displayed in the touch button area.

Citation Information

Patent Citations

  • Key detection method, keyboard and key system

    CN110221709A

  • Tester for remote controlled radio systems

    US4451712A