Touch detection device, touch control method and device and electronic equipment
By integrating touch detection devices in electronic devices, using induction antennas and processors to identify touch operations and generate responses, the problem of insufficient intelligence in response touch operations of electronic devices is solved, and the accuracy and convenience of responses are improved, suitable for smart homes application.
Patent Information
- Application Number
- CN202310522869.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2024-11-12
AI Technical Summary
Existing electronic devices are not smart enough in response to touch operations, especially in home applications, such as the door opening method of refrigerators, which have problems such as poor effectiveness and poor convenience.
By designing a touch detection device in an electronic device, including a substrate, an induction antenna and a processor, the induction antenna is used to detect touch operations and generate touch sensing data. The processor determines the response based on these data, improving the intelligence of the electronic device for touch operations .
It improves the accuracy and convenience of electronic devices to touch operations, reduces the error touch rate, enhances the intelligent control capabilities of electronic devices, and is suitable for smart homes and other scenarios.
Smart Images

Figure CN118939141A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to a touch detection device, a touch control method, a device, and an electronic device. Background Art
[0002] With the development of science and technology, electronic devices are used more and more widely and have more and more functions, becoming one of the necessities in people's daily life. At present, the way of controlling electronic devices by touch is becoming more and more common, and in related technologies, the requirements for electronic devices to intelligently respond to touch operations are getting higher and higher. Summary of the invention
[0003] In view of the above problems, the present application proposes a touch detection device, a touch control method, a device and an electronic device, which can determine the response corresponding to the touch operation by detecting the touch sensing data of the sensing antenna included in the touch detection device with an onboard antenna design, thereby improving the intelligence of the electronic device's response to the touch operation.
[0004] In a first aspect, an embodiment of the present application provides a touch detection device, the touch detection device comprising: a substrate, a sensing antenna, and a processor. The sensing antenna is disposed on the substrate and is used to obtain touch sensing data according to a touch operation acting on the sensing antenna; the processor is connected to the sensing antenna and is used to receive the touch sensing data and determine a response corresponding to the touch operation according to the touch sensing data.
[0005] In a second aspect, an embodiment of the present application provides a touch control method, which is applied to the touch detection device provided in the first aspect above, and the method includes: when a touch operation acting on the sensing antenna is detected, obtaining touch sensing data obtained by the sensing antenna based on the touch operation; and determining a response corresponding to the touch operation based on the touch sensing data.
[0006] In a third aspect, an embodiment of the present application provides a touch control device, which is applied to the touch detection device provided in the first aspect, and the device includes: a sensing data acquisition module and a response module. The sensing data acquisition module is used to acquire touch sensing data obtained by the sensing antenna based on the touch operation when a touch operation acting on the sensing antenna is detected; the response module is used to determine a response corresponding to the touch operation based on the touch sensing data.
[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a substrate, a sensing antenna, a memory, and a processor. The sensing antenna is disposed on the substrate; the processor is connected to the sensing antenna; the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the touch control method provided in the second aspect.
[0008] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the touch control method provided in the second aspect above.
[0009] The touch detection device, touch control method, device and electronic device provided by the embodiments of the present application obtain touch sensing data obtained by the sensing antenna based on the touch operation when a touch operation acting on the sensing antenna is detected; determine the response corresponding to the touch operation based on the touch sensing data, and then determine the response corresponding to the touch operation by detecting the touch sensing data of the sensing antenna included in the touch detection device with an onboard antenna design, thereby improving the intelligence of the electronic device's response to the touch operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0011] Figure 1 A structural block diagram of a touch detection device provided by an embodiment of the present application is shown;
[0012] Figure 2 A schematic diagram showing the layout of an induction antenna provided in an embodiment of the present application;
[0013] Figure 3 A schematic diagram showing the layout of an induction antenna provided in an embodiment of the present application is shown;
[0014] Figure 4 A schematic diagram showing the layout of an induction antenna provided in an embodiment of the present application is shown;
[0015] Figure 5 A schematic diagram of a touch control method according to an embodiment of the present application is shown;
[0016] Figure 6 A schematic diagram of a touch operation provided by an embodiment of the present application is shown;
[0017] Figure 7 A schematic diagram of a touch control method according to an embodiment of the present application is shown;
[0018] Figure 8 A schematic diagram of a sliding track provided by an embodiment of the present application is shown;
[0019] Fig. 9 A schematic diagram of a touch control method according to an embodiment of the present application is shown;
[0020] Fig.10 A schematic diagram of a touch control method according to an embodiment of the present application is shown;
[0021] Fig.11 A schematic diagram showing the layout of an induction antenna provided in an embodiment of the present application is shown;
[0022] Fig.12 A schematic diagram of a scanning sensing antenna provided in an embodiment of the present application is shown;
[0023] Fig.13 A module block diagram of a touch control device provided by an embodiment of the present application is shown;
[0024] Fig.14 A block diagram of an electronic device according to an embodiment of the present application for executing a touch control method according to an embodiment of the present application is shown;
[0025] Fig.15 A storage unit for storing or carrying a program code for implementing a touch control method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0027] With the development of smart homes, people's requirements for the informatization and intelligence of home life are constantly increasing. Among them, people have put forward higher requirements on the functions of electronic devices and intelligent control.
[0028] For example, refrigerators have become an indispensable home appliance in people's daily lives, and people have higher and higher requirements for the intelligence of refrigerators. As users' demand for embedded home appliances becomes more urgent, in related technologies, in order to achieve home appliance home integration, refrigerator door opening methods are commonly manual door opening with a handle and automatic door opening with a knock trigger. Among them, the manual door opening method with a handle has the problems of poor effect and poor convenience in terms of home appliance home integration; the automatic door opening method with a knock trigger has the problems of difficult installation and easy accidental touch.
[0029] Therefore, there is a problem in the related art on how to improve the intelligence of electronic devices in responding to touch operations.
[0030] In view of the above problems, the inventors have discovered after long-term research and proposed the touch detection device, touch control method, device and electronic device provided in the embodiments of the present application, which detects the touch sensing data of the sensing antenna included in the touch detection device of the onboard antenna design, determines the response corresponding to the touch operation, and improves the intelligence of the electronic device's response to the touch operation. Among them, the specific touch control method is described in detail in the subsequent embodiments.
[0031] See also Figure 1 , Figure 1 The structure block diagram of a touch detection device provided in an embodiment of the present application is shown. The touch detection device 100 can be applied to electronic devices, which can be smart homes, robots, transportation equipment, computers, smart wearable devices, etc., which are not limited here. For example, the touch detection device 100 provided in this embodiment can be applied to refrigerators.
[0032] In this embodiment, the touch detection device 100 may include: a substrate 110, a sensing antenna 120, and a processor 130. The sensing antenna 120 may be disposed on the substrate 110, and is used to obtain touch sensing data according to a touch operation acting on the sensing antenna 120; the processor 130 may be connected to the sensing antenna 120, and is used to receive the touch sensing data, and determine a response corresponding to the touch operation according to the touch sensing data.
[0033] The substrate 110 may include a printed circuit board, a flexible printed circuit (FPC), an aluminum foil, an iron sheet, etc., which are not limited here. The substrate 110 may be understood as an antenna substrate convenient for designing a board-mounted antenna.
[0034] The sensing antenna 120 may be a ceramic antenna, a board-mounted antenna, a rod antenna, an external antenna, etc., which are not limited here. The sensing antenna 120 may be arranged on the substrate 110 by printing, laminating, etc., which are not limited here.
[0035] When a touch is applied to the sensing antenna 120, the capacitance value of the sensing antenna 120 corresponding to the touched position may change. Further, in this embodiment, the processor 130 connected to the sensing antenna 120 may determine the touch operation applied to the sensing antenna 120 by detecting the capacitance value of the sensing antenna 120.
[0036] In some embodiments, the sensing antenna 120 has a plurality of channels, and the plurality of channels are arranged on the substrate 110 in a cross layout, a parallel layout, or a ring layout, so that the touch operation acting on the sensing antenna 120 can be identified in different directions to obtain touch sensing data. In this embodiment, the number of channels of the sensing antenna 120 in the touch sensing device 100 is not limited, and the shape of each channel is not limited, and each channel can be arranged in an array on the substrate 110.
[0037] For example, see Figure 2 , which shows a schematic diagram of the layout of the sensing antenna provided by an embodiment of the present application on the substrate. Among them, the number of channels of the sensing antenna 120 is multiple, and the multiple channels (such as TX1 * TX2 * TX3 * TX4 * etc.) are arranged on the substrate 110 in a parallel layout (e.g., "lll" type), such as Figure 2 For example, see Figure 3 , which shows a schematic diagram of the layout of the sensing antenna provided by an embodiment of the present application on the substrate. Among them, the number of channels of the sensing antenna 120 is multiple, and the multiple channels (such as TX1, TX2, TX3, TX4, etc.) are arranged on the substrate 110 in a ring layout (such as a "loop" shape), such as Figure 3 For example, see Figure 4 , which shows a schematic diagram of the layout of the sensing antenna provided by an embodiment of the present application on the substrate. Among them, the number of channels of the sensing antenna 120 is multiple, and the multiple channels (such as TX1 * TX2 * TX3 * TX4 * , TX5, TX6, TX7, TX8, etc.) are arranged on the substrate 110 in a cross layout (eg, a "field" type), such as Figure 4 shown.
[0038] In this embodiment, the sensing antenna 120 can be set on the substrate 110 by printing, filming, etc., and connected to the processor 130. Among them, the processor 130 can be used to process instructions, execute operations, control time, process data, etc.; illustratively, the processor 130 is connected to the sensing antenna 120, and can receive the touch sensing data obtained by the sensing antenna 120 according to the touch operation acting on the sensing antenna 120, and determine the response corresponding to the touch operation according to the touch sensing data. Among them, the processor 130 can determine that there is a touch operation acting on the sensing antenna 120 when detecting that the capacitance value of the sensing antenna 120 changes.
[0039] Exemplarily, the processor 130 can identify the capacitance values of different channels of the sensing antenna 120, and simulate a sliding trajectory corresponding to the touch operation based on the identified capacitance value of the sensing antenna 120 (which can be understood as touch sensing data), and determine the response corresponding to the touch operation based on the sliding trajectory, thereby simply identifying the touch operation, reducing the false touch rate of the sensing antenna 120, and improving the accuracy and convenience of determining the response corresponding to the touch operation.
[0040] In some embodiments, the touch detection device 100 may further include a panel, which may be covered on the sensing antenna 120, and may be used to receive the touch operation, and may also be used to protect the sensing antenna 120 and the substrate 110, and extend the life of the touch detection device 100. The panel may be a transparent panel (such as an acrylic panel, a glass panel, etc.), or an opaque panel (such as an aluminum-plastic panel, a composite panel, a sheet metal, etc.), which is not limited here.
[0041] It can be understood that in the present embodiment, the onboard antenna design of the touch detection device 100 is convenient for installation, and touch detection can be performed by attaching the sensing antenna 120 to the lower layer of the substrate 110 without destroying the substrate 110. Among them, no special matching requirements are required between the sensing antenna 120 and the substrate 110, and the sensing antenna 120 can be freely matched with different substrates 110, which is easy to install. In addition, when the touch detection device 100 is applied to a smart home, the substrate 110 of the touch detection device 100 can be understood as a common home panel; among them, the sensing antenna 120 can be applied to the touch detection device 100 using a common home panel as the substrate 110, and is not limited by the material (metal or non-metal) and thickness of the substrate 110, thereby improving the effect of home appliance and home integration.
[0042] See also Figure 5 , Figure 5 The flow chart of the touch control method provided by an embodiment of the present application is shown. The touch control method determines the response corresponding to the touch operation by detecting the touch sensing data of the sensing antenna included in the touch detection device of the onboard antenna design, thereby improving the intelligence of the electronic device in responding to the touch operation. In a specific embodiment, the touch control method can be applied to Fig.13 The touch control device 200 and the electronic device 300 ( Fig.14 ). The following will take an electronic device as an example to illustrate the specific process of this embodiment, wherein the electronic device includes the touch detection device provided in the embodiment of the present application. Of course, it can be understood that the electronic device used in this embodiment may include a refrigerator, a smart door lock, a robot, a smart phone, a tablet computer, a wearable electronic device, etc., which are not limited here. Figure 5The touch control method may include the following steps:
[0043] Step S110: when a touch operation acting on the sensing antenna is detected, acquiring touch sensing data obtained by the sensing antenna based on the touch operation.
[0044] In this embodiment, the electronic device can detect the touch sensing data of the sensing antenna based on the processor, and determine whether there is a touch operation acting on the sensing antenna according to the touch sensing data. Exemplarily, the electronic device can detect the capacitance value of the sensing antenna, and if the capacitance value of the sensing antenna changes, it is determined that there is a touch operation acting on the sensing antenna. Among them, a touch operation acting on the sensing antenna can be understood as a touch operation from the user starting to touch the sensing antenna to the user leaving the sensing antenna.
[0045] Furthermore, when the electronic device detects a touch operation on the sensing antenna, the electronic device may obtain touch sensing data obtained by the sensing antenna based on the touch operation. The touch sensing data obtained by the sensing antenna based on the touch operation may be the capacitance value of the sensing antenna under the action of the touch operation; the touch sensing data may include capacitance values at different positions of the sensing antenna, and may also include the time for which different capacitance values are maintained at different positions of the sensing antenna, which is not limited here.
[0046] In some embodiments, the electronic device may include a sleep mode and a wake-up mode. The default mode of the electronic device may be the sleep mode. If the processor included in the electronic device detects that the sensing antenna is touched, the electronic device may be switched from the sleep mode to the wake-up mode, and the touch sensing data obtained by the sensing antenna based on the touch operation may be obtained, thereby reducing the power consumption of the electronic device.
[0047] Step S120: determining a response corresponding to the touch operation according to the touch sensing data.
[0048] In some embodiments, after the electronic device obtains the touch sensing data, it can determine the response corresponding to the touch operation acting on the sensing antenna according to the touch sensing data. The response corresponding to the touch operation can be opening a door, cooling, timing, etc., which is not limited here.
[0049] Optionally, the electronic device can determine the touch position of the sensing antenna corresponding to the touch operation based on the touch sensing data, and can also determine the time when the touch operation corresponds to the touch position of the sensing antenna based on the touch sensing data, and can also determine the touch sliding trajectory of the sensing antenna corresponding to the touch operation based on the touch sensing data.
[0050] As an implementable manner, the electronic device determines the response corresponding to the touch operation based on the touch sensing data, which may be to determine the response corresponding to the position of the touch on the sensing antenna corresponding to the touch operation, combined with the preset relationship between the position and the response. Among them, the preset relationship between the position and the response may include multiple positions and multiple responses, wherein each response may correspond to one position or multiple positions, which is not limited here. Among them, the preset relationship between the position and the response may be a mapping relationship table corresponding to the response and the position; or it may be a preset position and response determination model (such as a convolutional neural network, a recurrent neural network, etc.), wherein the position can be input into the preset position and response determination model to obtain the response corresponding to the position output by the preset position and response determination model.
[0051] Optionally, according to the touch position of the sensing antenna corresponding to the touch operation, combined with a preset position and response relationship, determining the response corresponding to the position can be: determining, according to the touch position of the sensing antenna corresponding to the touch operation, from a mapping table of preset positions and responses, a position with the greatest similarity to the position as a target position, and using the response corresponding to the target position in the mapping table of preset positions and responses as the response corresponding to the touch operation; or obtaining a sliding trajectory corresponding to the touch operation according to the touch position of the sensing antenna corresponding to the touch operation, and determining, according to the sliding trajectory, a trajectory with the greatest similarity to the sliding trajectory as a target trajectory from a mapping table of preset trajectories and responses, and using the response corresponding to the target trajectory in the mapping table of preset trajectories and responses as the response corresponding to the touch operation.
[0052] For example, see Figure 6 , which shows a schematic diagram of a touch operation provided by an embodiment of the present application. The touch detection device can be applied to an electronic device refrigerator. The sensing antenna included in the touch detection device can include multiple channels (TX1 * TX2 * TX3 * TX4 * , TX5, TX6, TX7, TX8), wherein a plurality of channels are arranged in a "field" shape on a substrate included in the touch detection device. When the processor included in the touch detection device detects that the capacitance value of the sensing antenna changes, it can be understood that the processor detects that a touch operation exists on the channel of the sensing antenna. Furthermore, the processor can obtain touch sensing data obtained by the sensing antenna based on the touch operation, that is, the processor can obtain the triggering status of each channel of the sensing antenna, such as obtaining the position of the touch operation corresponding to the antenna, such as determining that the two-dimensional coordinates of the position of the trigger action corresponding to the touch operation are a(1, 1*)->b(2, 2*)->c(3, 3*)->d(4, 4*).
[0053] Among them, when the processor determines that the trigger action leaves the sensing antenna, it can be determined that the touch operation ends; further, the processor can use the position of the trigger action corresponding to the touch operation as the touch sensing data corresponding to the touch operation. Further, the processor can determine the response corresponding to the touch operation based on the relationship between the preset position and the response. For example, in the relationship between the preset position and the response, the response corresponding to the position (1, 1*)->(2, 2*)->(3, 3*)->(4, 4*) is to control the electronic device to open the door, then it can be determined that the response corresponding to the touch operation is to control the electronic device to open the door.
[0054] It is understandable that the sensing antenna in the touch sensing device can be applied to common home panels and is easy to install. At the same time, the processor in the touch sensing device can simply identify the touch operation acting on the sensing antenna in the touch sensing device, thereby improving the convenience and intelligence of the refrigerator.
[0055] A touch control method provided in an embodiment of the present application obtains touch sensing data obtained by the sensing antenna based on the touch operation when a touch operation acting on the sensing antenna is detected; determines a response corresponding to the touch operation based on the touch sensing data, and then determines a response corresponding to the touch operation by detecting the touch sensing data of the sensing antenna included in a touch detection device designed with an onboard antenna, thereby improving the intelligence of the electronic device's response to the touch operation.
[0056] See also Figure 7 , Figure 7 The flow chart of the touch control method provided by an embodiment of the present application is shown in FIG. Figure 7 The touch control method may include the following steps:
[0057] Step S210: when a touch operation acting on the sensing antenna is detected, obtaining at least one touch position on the sensing antenna corresponding to the touch operation and a touch time corresponding to each of the at least one touch position.
[0058] In some embodiments, the processor included in the electronic device can detect touch sensing data of the sensing antenna included in the touch detection device. Exemplarily, when the processor detects a touch operation acting on the sensing antenna, at least one touch position corresponding to the touch operation on the sensing antenna and the touch time corresponding to each of the at least one touch position can be obtained.
[0059] As an implementable method, when the processor included in the electronic device detects that the capacitance value of the channel of the sensing antenna changes, it can be determined that the sensing antenna is triggered. Furthermore, the processor can identify all the channels included in the sensing antenna, locate at least one touch position acting on the sensing antenna, and obtain the touch time corresponding to the at least one touch position.
[0060] Step S220: Determine the touch sensing data based on the at least one touch position and the touch time corresponding to each of the at least one touch position.
[0061] In this embodiment, after obtaining at least one touch position and a touch time corresponding to each of the at least one touch position, the electronic device may determine touch sensing data based on the at least one touch position and the touch time corresponding to each of the at least one position.
[0062] In some embodiments, the electronic device determines the touch sensing data based on at least one touch position and the touch time corresponding to each of the at least one touch position, and if the touch time corresponding to each of the at least one touch position is within a target time range, the touch operation can be determined to be a valid touch operation. Further, in the case where the touch operation is determined to be a valid touch operation, the touch sensing data can be determined based on the at least one touch position and the touch time corresponding to each of the at least one touch position.
[0063] As an implementable method, in the process of obtaining the touch position and the touch time corresponding to the touch position, the electronic device can compare the touch time corresponding to each touch position with the target time range, and use the comparison result as a basis for judging whether the touch operation is a valid touch operation. The target time range can be pre-set in the electronic device, or obtained by the electronic device from an associated cloud or electronic device; the target time range can be obtained through third-party experimental data, or can be set by the user independently, which is not limited here.
[0064] Exemplarily, the target time range is 0.1s to 5s. After the electronic device identifies the touch position and obtains the touch time corresponding to the touch position, the touch time can be compared with the target time range. If the touch time is 0.5s (greater than 0.1s and less than 5s) within the target time range, the touch position corresponding to the touch operation and the touch time corresponding to the touch position are continued to be obtained, and the touch time is compared with the target time range. If the touch time corresponding to the touch position corresponding to the touch operation is within the target time range, the touch operation can be determined to be a valid touch operation, and the touch sensing data corresponding to the touch operation is obtained. Optionally, if in the process of obtaining the touch position corresponding to the touch operation, it is determined that the touch time corresponding to the touch position is not within the target time range, the touch sensing data corresponding to the touch operation can be stopped from being obtained, and the touch operation is determined to be an invalid touch operation. In addition, in the process of obtaining the touch operation, it is determined whether the touch operation is valid. If it is invalid, the acquisition of the touch operation is stopped, which reduces the power consumption of the electronic device and improves the intelligence of controlling the electronic device.
[0065] As another feasible method, taking into account the situation that the user may think about the operation mode when the touch operation sensing antenna controls the electronic device, in this embodiment, after the electronic device obtains at least one touch position corresponding to a touch operation and the touch time corresponding to each touch position, the average value, median value, mode, etc. of the touch time corresponding to at least one touch position included in the touch operation can be obtained as the target touch time for the touch operation. If the target touch time is within the target time range, the touch operation can be determined to be a valid touch operation, and the touch sensing data corresponding to the touch operation can be obtained, thereby improving the accuracy of determining the corresponding response of the touch operation and improving the user experience.
[0066] Step S230: determining a response corresponding to the touch operation according to the touch sensing data.
[0067] In some implementations, after the electronic device obtains touch sensing data corresponding to the touch operation, it can determine a response corresponding to the touch operation according to the touch sensing data.
[0068] As an implementable manner, the process of the electronic device determining the response corresponding to the touch operation according to the touch sensing data may be to obtain the sliding track corresponding to the touch operation according to the touch sensing data, and further determine the response corresponding to the touch operation according to the sliding track. The electronic device may determine whether the touch operation is a valid operation according to the sliding track, and determine the response corresponding to the touch operation when determining that the touch operation is a valid operation.
[0069] Among them, the process of the electronic device obtaining the sliding trajectory corresponding to the touch operation based on the touch sensing data may be to connect the at least one touch position corresponding to the touch sensing data in order from front to back of the touch time corresponding to each touch position to obtain the sliding trajectory corresponding to the touch operation.
[0070] For example, see Figure 8 , which shows a schematic diagram of a sliding trajectory provided by an embodiment of the present application. Among them, the order of the touch time corresponding to the at least one touch position corresponding to the touch sensing data is a(1, 1*)->b(2, 2*)->c(3, 3*)->d(4, 4*). Further, the electronic device can connect the at least one touch position corresponding to the touch sensing data in the order of the touch time corresponding to the at least one touch position from front to back to obtain a sliding trajectory corresponding to the touch operation, such as Figure 8 shown.
[0071] Furthermore, the process of the electronic device determining the response corresponding to the touch operation based on the sliding trajectory may be that if there is a preset trajectory matching the sliding trajectory in the sliding trajectory library, then the response corresponding to the preset trajectory is determined as the response corresponding to the touch operation. The sliding trajectory library may include multiple preset trajectories and responses corresponding to each preset trajectory, wherein each response may correspond to one or more preset trajectories, which is not limited here. The existence of a preset trajectory matching the sliding trajectory in the sliding trajectory library can be understood as a preset trajectory in the sliding trajectory library whose similarity to the sliding trajectory is greater than or equal to a similarity threshold.
[0072] It can be understood that the response corresponding to the touch operation is determined according to the touch time and touch position corresponding to the touch operation, which improves the accuracy of determining the touch operation response and improves the intelligence of controlling the electronic device. Among them, whether the touch operation is a valid touch operation is determined according to the time corresponding to the touch operation, which improves the efficiency of determining the touch operation response. In addition, the response corresponding to the touch operation is determined according to the sliding track corresponding to the touch film operation, which improves the accuracy and convenience of determining the touch operation response.
[0073] For example, see Fig. 9 , which shows a schematic flow chart of a touch control method provided by an embodiment of the present application. Among them, the layout of the sensing antenna of the touch detection device included in the electronic device (such as a refrigerator, etc.) on the substrate is as follows Figure 8As shown. When the electronic device detects that the capacitance value of the channel of the sensing antenna changes, it can be determined that a touch operation acting on the sensing antenna is detected. Further, the electronic device can detect the triggering action corresponding to the touch operation, such as recognizing that the touch position corresponding to the touch operation in the trigger channel of the sensing antenna is (1, 1*)->(2, 2*)->(3, 3*)->(4, 4*), and the electronic device can respectively record the touch position of the trigger channel and the touch time corresponding to each touch position as the touch sensing data corresponding to the touch operation. When the electronic device cannot detect the touch acting on the sensing antenna, it can be determined that the touch cannot be triggered; further, the electronic device can determine whether the touch operation is valid.
[0074] When it is determined that the touch time corresponding to the sensing position included in the touch operation is within the target time range, the electronic device can determine that the touch operation is a valid touch operation and obtain the touch sensing data corresponding to the touch operation. Further, the electronic device can connect the at least one touch position corresponding to the touch sensing data in the order of the touch time corresponding to each touch position from front to back to obtain the sliding track corresponding to the touch operation.
[0075] Furthermore, after the electronic device obtains the sliding trajectory, it can match the sliding trajectory with the preset trajectory included in the sliding trajectory library. If there is a preset trajectory matching the sliding trajectory in the sliding trajectory library, the response corresponding to the preset trajectory can be determined as the response corresponding to the touch operation. For example, in the sliding trajectory library, the response corresponding to the preset trajectory (1, 1*)->(2, 2*)->(3, 3*)->(4, 4*) is to open the door; wherein, if the preset trajectory in the sliding trajectory library matches the sliding trajectory, it can be determined that the touch operation is valid. Furthermore, the electronic device can open the refrigerator door in response to the touch operation.
[0076] Compared with the touch control method provided by an embodiment of the present application, Figure 5 The touch control method shown in the present embodiment can also, when a touch operation acting on a sensing antenna is detected, obtain at least one touch position corresponding to the touch operation on the sensing antenna, and the touch time corresponding to each of the at least one touch position; based on the at least one touch position and the touch time corresponding to each of the at least one touch position, determine touch sensing data, so that the touch operation can be identified from different positions, thereby improving the convenience of the touch operation, reducing the false touch rate of the electronic device, improving the accuracy of the touch operation response determination, and also improving the intelligence of the electronic device's response to the touch operation.
[0077] See also Fig.10 , Fig.10The flow chart of the touch control method provided by an embodiment of the present application is shown. The method is applied to the above-mentioned electronic device, wherein the sensing antenna in the touch detection device included in the electronic device includes at least two channels arranged in layers. Fig.10 The touch control method may include the following steps:
[0078] Step S310: From the at least two stacked channels, determine the uppermost channel as the target channel.
[0079] In some embodiments, the touch detection device included in the electronic device may include a sensing antenna including at least two channels arranged in layers. Fig.11 , which shows a schematic diagram of the layout of the sensing antenna provided by an embodiment of the present application. The sensing antenna includes a first stack and a second stack. Further, the electronic device can determine the topmost channel as the target channel from the channels set by at least two stacks.
[0080] Step S320: Acquire touch sensing data of the target channel as the touch sensing data obtained by the sensing antenna based on the touch operation.
[0081] In some embodiments, after the electronic device determines the target channel, it can obtain the touch sensing data of the target channel as the touch sensing data obtained by the sensing antenna based on the touch operation. The electronic device can obtain the touch position corresponding to the touch operation on the target channel and the touch time corresponding to the touch position as the touch sensing data obtained by the sensing antenna based on the touch operation.
[0082] In some embodiments, the touch control method provided in this embodiment may further include: if the electronic device does not obtain the touch sensing data of the target channel, it can determine an alternative channel from the at least two stacked channels in order from top to bottom of the stacked positions, and obtain the touch sensing data of the alternative channel as the touch sensing data obtained by the sensing antenna based on the touch operation.
[0083] In some embodiments, considering that the channels of the sensing antenna are not distributed throughout the substrate, in this embodiment, the electronic device may lay out the channels of different layers in different ways, wherein the shapes of the channels of each layer may be the same or different. The electronic device may obtain touch sensing data of the channels of different layers, and obtain touch sensing data of the touch operation based on the touch sensing data to perform touch control.
[0084] The electronic device may acquire the touch sensing data of channels of different layers by reading the touch sensing data of a single layer of channels based on a preset scanning rate, thereby avoiding interference between touch sensing data of different layers and improving the accuracy of determining the corresponding response of touch operation. The preset rates for scanning channels of different layers may be the same or different; the scanning rate may be in the microsecond level or millisecond level, which is not limited here. The scanning rate of different stacks of the sensing antenna may be determined according to the number of channels of different stacks; for example, the more stacks are passed, the faster the scanning rate is, thereby improving the efficiency and accuracy of touch sensing data detection.
[0085] For example, see Fig.12 , which shows a schematic diagram of channel scanning of a sensing antenna provided by an embodiment of the present application. Among them, the electronic device includes a double-sided sensing antenna, that is, the channel of the sensing antenna includes two stacks (a first stack and a second stack), and the electronic device can detect the touch sensing data of each layer of the channel respectively. For example, the first stack is placed at the bottom and the touch sensing data of the second stack is detected. For another example, the second stack is placed at the bottom and the touch sensing data of the second stack is detected. This is not limited here.
[0086] Step S330: determining a response corresponding to the touch operation according to the touch sensing data.
[0087] For the detailed description of step S330, please refer to the detailed description of step S120 above, which will not be repeated here.
[0088] Compared with the touch control method provided by an embodiment of the present application, Figure 5 In the touch control method shown, the sensing antenna in this embodiment may also include at least two channels arranged in layers. In this embodiment, the channel on the top layer may be determined as the target channel from the at least two channels arranged in layers; the touch sensing data of the target channel is obtained, and the touch sensing data obtained by the sensing antenna based on the touch operation can be used as the touch sensing data. The touch sensing data of the single-layer sensing antenna can be obtained respectively to determine the response corresponding to the touch operation, thereby improving the rate of acquiring touch sensing data, and also improving the accuracy of acquiring touch sensing data, improving the accuracy of the electronic device's response to the touch operation, improving the intelligence of the electronic device, and improving the user experience.
[0089] See also Fig.13 , Fig.13 FIG. 2 shows a block diagram of a touch control device provided by an embodiment of the present application. The touch control device 200 is applied to the electronic device including the touch detection device. Fig.13 The touch control device 200 includes: a sensing data acquisition module 210 and a response module 220, wherein:
[0090] The sensing data acquisition module 210 is configured to, when a touch operation acting on the sensing antenna is detected, acquire touch sensing data obtained by the sensing antenna based on the touch operation.
[0091] The response module 220 is used to determine a response corresponding to the touch operation according to the touch sensing data.
[0092] Furthermore, the sensing data acquisition module 210 may include: a touch position and touch time acquisition unit and a sensing data acquisition subunit, wherein:
[0093] The touch position and touch time acquisition unit is used to acquire at least one touch position on the sensing antenna corresponding to the touch operation and the touch time corresponding to each of the at least one touch position when a touch operation acting on the sensing antenna is detected.
[0094] The sensing data acquisition subunit is used to determine the touch sensing data based on the at least one touch position and the touch time corresponding to each of the at least one touch position.
[0095] Furthermore, the sensing data acquisition subunit may include: a valid touch operation determination unit and a valid touch sensing data determination unit, wherein:
[0096] The effective touch operation determining unit is configured to determine that the touch operation is a effective touch operation if the touch time corresponding to each of the at least one touch position is within a target time range.
[0097] The effective touch sensing data determining unit is configured to determine the touch sensing data based on the at least one touch position and the touch time corresponding to each of the at least one touch positions when the touch operation is determined to be a effective touch operation.
[0098] Furthermore, the response module 220 may include: a sliding track acquisition unit and a track response corresponding unit, wherein:
[0099] The sliding track acquisition unit is used to acquire the sliding track corresponding to the touch operation according to the touch sensing data.
[0100] The track response corresponding unit is used to determine the response corresponding to the touch operation according to the sliding track.
[0101] Further, the sliding track acquisition unit may include: a sliding track acquisition subunit, wherein:
[0102] The sliding track acquisition subunit is used to connect the at least one touch position according to the order of touch time corresponding to each of the at least one touch position from front to back, so as to obtain the sliding track corresponding to the touch operation.
[0103] Further, the trajectory response corresponding unit may include: a trajectory response corresponding subunit, wherein:
[0104] The trajectory response corresponding subunit is used to determine a response corresponding to the preset trajectory as a response corresponding to the touch operation if there is a preset trajectory matching the sliding trajectory in the sliding trajectory library, wherein the sliding trajectory library includes multiple preset trajectories and responses corresponding to each of the preset trajectories.
[0105] Further, the sensing antenna includes at least two channels stacked in layers, and the sensing data acquisition module 210 may include: a target channel determination unit and a target channel sensing data acquisition unit, wherein:
[0106] The target channel determination unit is used to determine the uppermost channel from the at least two stacked channels as the target channel.
[0107] The target channel sensing data acquisition unit is used to acquire the touch sensing data of the target channel as the touch sensing data obtained by the sensing antenna based on the touch operation.
[0108] Furthermore, the touch control device 200 may further include: a replacement channel determination unit and a replacement channel sensing data acquisition unit, wherein:
[0109] The replacement channel determining unit is configured to determine a replacement channel from the at least two stacked channels in a descending order of stacked positions if the touch sensing data of the target channel is not acquired.
[0110] The replacement channel sensing data acquisition unit is used to acquire the touch sensing data of the replacement channel as the touch sensing data obtained by the sensing antenna based on the touch operation.
[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0112] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0113] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0114] See also Fig.14 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 300 can be an electronic device capable of running applications, such as a smart home, a smart phone, a tablet computer, a wearable electronic device, etc. The electronic device 300 in the present application may include one or more of the following components: a substrate 310, a sensing antenna 320, a processor 330, a memory 340, and one or more applications. Among them, the sensing antenna 320 is arranged on the substrate 310; the processor 330 is connected to the sensing antenna 320; one or more applications can be stored in the memory 340 and configured to be executed by one or more processors 330, and one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0115] The substrate 310 may be a printed circuit board, an FPC soft board, an iron plate, etc., which is not limited here. The sensing antenna 320 may include multiple channels, and the shape of each channel is not limited. The sensing antenna 320 may be arranged on the substrate 310 in a printing, film-attaching, etc. manner, which is not limited here. The sensing antenna 320 may also be connected to the processor 330 included in the electronic device 300.
[0116] The processor 330 may include one or more processing cores. The processor 330 uses various interfaces and lines to connect the various parts of the entire electronic device 300, and executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 340, and calling data stored in the memory 340. Optionally, the processor 330 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 3430 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 330, but may be implemented separately through a communication chip.
[0117] The memory 340 may include a random access memory (RAM) or a read-only memory (ROM). The memory 340 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 340 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 400 during use.
[0118] See also Fig.15 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 400 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0119] The computer readable storage medium 400 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 400 includes a non-transitory computer-readable storage medium. The computer readable storage medium 400 has storage space for program code 410 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 410 can be compressed, for example, in an appropriate form.
[0120] In summary, the touch detection device, touch control method, device, and electronic device provided by the embodiments of the present application obtain touch sensing data obtained by the sensing antenna based on the touch operation when a touch operation acting on the sensing antenna is detected; determine a response corresponding to the touch operation based on the touch sensing data, and then determine the response corresponding to the touch operation by detecting the touch sensing data of the sensing antenna included in the touch detection device with an onboard antenna design, thereby improving the intelligence of the electronic device's response to the touch operation.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A touch detection device, characterized in that: The touch detection device comprises: substrate; a sensing antenna, the sensing antenna being disposed on the substrate and configured to obtain touch sensing data according to a touch operation acting on the sensing antenna; A processor is connected to the sensing antenna and is used to receive the touch sensing data and determine a response corresponding to the touch operation according to the touch sensing data.
2. The touch detection device according to claim 1, characterized in that: The sensing antenna has a plurality of channels, and the plurality of channels are arranged on the substrate in a cross layout, a parallel layout or a ring layout.
3. The touch detection device according to claim 1, characterized in that: The touch detection device further includes a panel, which covers the sensing antenna and is used to receive the touch operation.
4. A touch control method, characterized in that: Applied to the touch detection device according to any one of claims 1 to 3, the method comprises: When a touch operation acting on the sensing antenna is detected, acquiring touch sensing data obtained by the sensing antenna based on the touch operation; A response corresponding to the touch operation is determined according to the touch sensing data.
5. The method according to claim 4, characterized in that When a touch operation acting on the sensing antenna is detected, acquiring touch sensing data obtained by the sensing antenna based on the touch operation includes: When a touch operation acting on the sensing antenna is detected, obtaining at least one touch position on the sensing antenna corresponding to the touch operation and a touch time corresponding to each of the at least one touch position; The touch sensing data is determined based on the at least one touch position and a touch time corresponding to each of the at least one touch position.
6. The method according to claim 5, characterized in that The determining the touch sensing data based on the at least one touch position and the touch time corresponding to each of the at least one touch position includes: If the touch time corresponding to each of the at least one touch position is within the target time range, determining that the touch operation is a valid touch operation; In a case where the touch operation is determined to be a valid touch operation, the touch sensing data is determined based on the at least one touch position and a touch time corresponding to each of the at least one touch positions.
7. The method according to claim 5, characterized in that The step of determining a response corresponding to the touch operation according to the touch sensing data includes: Acquire a sliding track corresponding to the touch operation according to the touch sensing data; A response corresponding to the touch operation is determined according to the sliding track.
8. The method according to claim 7, characterized in that The acquiring, according to the touch sensing data, a sliding track corresponding to the touch operation comprises: According to the order of touch times corresponding to the at least one touch position from front to back, the at least one touch position is connected to obtain the sliding track corresponding to the touch operation.
9. The method according to claim 7, characterized in that: The determining a response corresponding to the touch operation according to the sliding track includes: If there is a preset track matching the sliding track in the sliding track library, a response corresponding to the preset track is determined as a response corresponding to the touch operation, wherein the sliding track library includes multiple preset tracks and responses corresponding to each preset track.
10. The method according to any one of claims 4 to 9, characterized in that: The sensing antenna includes at least two channels stacked in layers, and the step of acquiring touch sensing data obtained by the sensing antenna based on the touch operation includes: From the at least two stacked channels, determine the uppermost channel as the target channel; The touch sensing data of the target channel is acquired as the touch sensing data obtained by the sensing antenna based on the touch operation.
11. The method according to claim 10, characterized in that The method further comprises: If the touch sensing data of the target channel is not obtained, determining a replacement channel from the at least two stacked channels in order of stacked positions from top to bottom; The touch sensing data of the replacement channel is acquired as the touch sensing data obtained by the sensing antenna based on the touch operation.
12. A touch control device, characterized in that: Applied to the touch detection device according to any one of claims 1 to 3, the touch control device comprises: a sensing data acquisition module, configured to, when a touch operation acting on the sensing antenna is detected, acquire touch sensing data obtained by the sensing antenna based on the touch operation; A response module is used to determine a response corresponding to the touch operation according to the touch sensing data.
13. An electronic device, characterized in that: include: substrate; A sensing antenna, wherein the sensing antenna is disposed on the substrate; one or more processors, the processors being connected to the sensing antenna; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 4 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, and the program code can be called by a processor to execute the method according to any one of claims 4 to 11.
