Communication method, terminal device, and computer-readable storage medium
By setting electrodes on the terminal device and utilizing the changes in circuit load caused by human contact, the electrical signal information is analyzed to determine the user's input instructions. This solves the problems of high cost and large computational load in the prior art, realizes low-cost and low-computation instruction input, simplifies the hardware structure, and improves the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-05-07
- Publication Date
- 2026-07-03
AI Technical Summary
Existing terminal devices have high cost and computational requirements for instruction input methods. They typically rely on key input and vision, millimeter wave or inertial measurement units to recognize user key presses, resulting in heavy hardware costs and computational burden.
By setting electrodes on terminal devices and utilizing the changes in circuit load caused by human contact, electrical signal information can be analyzed to determine the user's input instructions, thereby reducing the amount of data processing computation and hardware costs.
It achieves low-cost and low-computation instruction input, simplifies hardware structure, and improves user experience.
Smart Images

Figure CN120750378B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more particularly to a communication method, terminal equipment, and computer-readable storage medium. Background Technology
[0002] Inputting commands on a terminal device (such as a mobile phone or smart wearable device) can instruct the terminal device to perform a corresponding operation, or instruct the terminal device to control another device to perform a corresponding operation. Current command input methods are generally button input. For example, after detecting button input, the terminal device uses modules such as vision, millimeter-wave, and inertial measurement unit (IMU) to identify the button pressed by the user, and then determines the corresponding command to execute the operation. This process is costly and computationally intensive. Summary of the Invention
[0003] This application provides a communication method, a terminal device, and a computer-readable storage medium, which solves the problems of high cost and large computational load in the instruction input method of the prior art.
[0004] To achieve the above objectives, this application adopts the following technical solution:
[0005] A first aspect provides a communication method, comprising: when a user contacts a first electrode of a first terminal, acquiring electrical signal information of a first circuit respectively connected to the first electrode and a second electrode, wherein the electrical signal information includes any one or more of an output impedance, an output current, and a channel loss generated between the first electrode and the second electrode, and the magnitude of the electrical signal information changes based on different loads connected between the first electrode and the second electrode. If, based on the electrical signal information, it is determined that the user contacts a second electrode or a third electrode of a second terminal, a first operation is performed; when the user contacts the second electrode, the load includes at least a first equivalent capacitance corresponding to the user's contact with the second electrode, and when the user contacts the third electrode, the load includes at least a second equivalent capacitance corresponding to the user's contact with the third electrode.
[0006] In the above embodiments, the first terminal includes a first circuit. When a user touches the first electrode of the first terminal, the user's body is connected to the first circuit. When the user touches the second electrode, it is equivalent to adding a first equivalent capacitance to the first circuit. When the user touches the third electrode, it is equivalent to adding a second equivalent capacitance to the first circuit, thereby changing the load between the first and second electrodes, and consequently changing the electrical signal information of the first circuit. Therefore, based on the electrical signal information of the first circuit, it can be determined whether the user is touching the second or third electrode, and thus the user's input command can be determined through human body communication, and the corresponding operation can be executed. Since command input can be achieved simply by adding electrodes to the terminal device, and the user's input command can be determined by analyzing the electrical signal, compared to determining the user's input command through other methods, the computational load of the data processing process can be reduced, saving hardware costs.
[0007] In one embodiment, if a user touches the second electrode after only touching the first electrode, the equivalent capacitance between the first and second electrodes will increase, causing a decrease in the output impedance or an increase in the output current of the first circuit. Therefore, by detecting the output impedance or output current, it can be determined that the user is touching the second electrode when the output impedance decreases or the output current increases. Correspondingly, the first operation is performed, including sending a first instruction to a third terminal. The third terminal can be the second terminal or other Bluetooth devices. The first instruction is used to instruct the third terminal to perform the corresponding operation.
[0008] In one embodiment, if the channel loss is within a first preset range when the user only contacts the first electrode, it indicates that the first circuit has changed, and further indicates that the load between the first and second electrodes has changed, i.e., a second equivalent capacitance has been added between the first and second electrodes. Therefore, it is determined that the user is contacting the third electrode. Correspondingly, the first operation is performed, including: the first terminal, acting as a signal transmitter, sending a second instruction to the second terminal via human body communication. The second instruction instructs the second terminal to perform a corresponding operation. Alternatively, the first terminal, acting as a signal receiver, requests the second terminal to send a third instruction to the first terminal. The third instruction instructs the second terminal to perform a corresponding operation.
[0009] In one embodiment, when a user touches the first electrode and the fourth electrode of the second terminal, if the channel loss is within a second preset range, it indicates that the first circuit has changed, and further indicates that the load between the first electrode and the second electrode has changed, that is, a second equivalent capacitance has been added between the first electrode and the second electrode, thus determining that the user is touching the third electrode.
[0010] In one embodiment, the first terminal includes a first switching circuit, the second electrode includes a plurality of second sub-electrodes, the first switching circuit is used to switch to different second sub-electrodes according to a first cycle, and the first operation includes a plurality of first sub-operations; determining that the user is in contact with the second electrode according to the electrical signal information includes: determining that the user is in contact with a first target electrode among the plurality of second sub-electrodes according to the first cycle and the change time of the electrical signal information; executing the first operation includes: executing a first target operation corresponding to the first target electrode, wherein the first target operation is one of the plurality of first sub-operations.
[0011] By setting up a first switching circuit, the contact status of multiple second sub-electrodes can be detected, and the circuit can be simplified and the hardware size reduced.
[0012] In one embodiment, the second terminal includes a second switching circuit, the third electrode includes a plurality of third sub-electrodes, the second switching circuit is used to switch to different third sub-electrodes according to a second cycle, and the first operation includes a plurality of second sub-operations; determining the third electrode of the second terminal contacted by the user according to the electrical signal information includes: determining the second target electrode among the plurality of third sub-electrodes contacted by the user according to the second cycle and the change time of the electrical signal information; executing the first operation includes: executing a second target operation corresponding to the second target electrode, the second target operation being one of the plurality of second sub-operations.
[0013] By setting up a second switching circuit, the contact status of multiple third sub-electrodes can be detected, and the circuit can be simplified and the hardware size reduced.
[0014] In one embodiment, the method further includes:
[0015] Based on the electrical signal information, determine the user's touch method when contacting the second electrode, or determine the user's touch method when contacting the third electrode, wherein the touch method is one of single click, double click, or long press; the execution of the first operation includes: performing the first operation according to the touch method.
[0016] By setting different touch methods to correspond to different operations, the first terminal can have more ways to input commands, making it more convenient for users.
[0017] In a second aspect, a communication device is provided, applied to a first terminal including a first circuit, the first circuit being respectively connected to a first electrode and a second electrode, the device comprising:
[0018] A communication module is used to acquire electrical signal information of the first circuit when the user at least contacts the first electrode. The electrical signal information includes any one or more of the output impedance, output current, and channel loss generated between the first electrode and the second electrode. The magnitude of the electrical signal information changes based on different loads connected between the first electrode and the second electrode.
[0019] The processing module is configured to perform a first operation if, based on the electrical signal information, it is determined that the user is contacting the second electrode or the user is contacting the third electrode of the second terminal; when the user contacts the second electrode, the load includes at least a first equivalent capacitance corresponding to the user contacting the second electrode, and when the user contacts the third electrode, the load includes at least a second equivalent capacitance corresponding to the user contacting the third electrode.
[0020] In one embodiment, the processing module is specifically used for:
[0021] If the output impedance decreases or the output current increases when the user is only in contact with the first electrode, it is determined that the user is in contact with the second electrode.
[0022] In one embodiment, the processing module is specifically used for:
[0023] Send the first instruction to the third terminal.
[0024] In one embodiment, the processing module is specifically used for:
[0025] If the channel loss is within a first preset range when the user is only in contact with the first electrode, it is determined that the user is in contact with the third electrode.
[0026] In one embodiment, the processing module is specifically used for:
[0027] The second instruction is sent to the second terminal via human body communication.
[0028] In one embodiment, the processing module is specifically used for:
[0029] The second terminal is requested to send a third instruction to the first terminal.
[0030] In one embodiment, the processing module is further configured to:
[0031] When the user touches the first electrode and the fourth electrode of the second terminal, if the channel loss is within a second preset range, it is determined that the user is touching the third electrode.
[0032] In one embodiment, the first terminal includes a first switching circuit, the second electrode includes a plurality of second sub-electrodes, the first switching circuit is used to switch to different second sub-electrodes according to a first cycle, and the first operation includes a plurality of first sub-operations; the processing module is specifically used for:
[0033] Based on the first cycle and the change time of the electrical signal information, it is determined that the user is in contact with the first target electrode among the plurality of second sub-electrodes;
[0034] The execution of the first operation includes: executing a first target operation corresponding to the first target electrode, wherein the first target operation is one of the plurality of first sub-operations.
[0035] In one embodiment, the second terminal includes a second switching circuit, the third electrode includes a plurality of third sub-electrodes, the second switching circuit is used to switch to different third sub-electrodes according to a second cycle, and the first operation includes a plurality of second sub-operations; the processing module is specifically used for:
[0036] Based on the second cycle and the change time of the electrical signal information, it is determined that the user is in contact with the second target electrode among the plurality of third sub-electrodes;
[0037] The execution of the first operation includes: executing a second target operation corresponding to the second target electrode, wherein the second target operation is one of the plurality of second sub-operations.
[0038] In one embodiment, the processing module is specifically used for:
[0039] Based on the electrical signal information, determine the user's touch method when contacting the second electrode, or determine the user's touch method when contacting the third electrode, wherein the touch method is one of single click, double click, or long press;
[0040] The first operation is performed according to the touch method.
[0041] Thirdly, a terminal device is provided, including a processor for executing a computer program stored in a memory to implement the communication method as described in the first aspect above.
[0042] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the communication method as described in the first aspect above.
[0043] Fifthly, a chip is provided, the chip including a processor and a memory coupled thereto, the processor executing a computer program or instructions stored in the memory to implement the communication method as described in the first aspect above.
[0044] Sixthly, a computer program product is provided, which, when run on a terminal device, causes the terminal device to execute the communication method described in the first aspect above.
[0045] It is understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0046] Figure 1 An application scenario diagram of the communication method provided in the embodiments of this application;
[0047] Figure 2 Another application scenario diagram of the communication method provided in the embodiments of this application;
[0048] Figure 3 A flowchart illustrating a communication method provided in an embodiment of this application;
[0049] Figure 4 A schematic diagram of a user contacting an electrode in Scenario 1 provided in this application embodiment;
[0050] Figure 5 The equivalent circuit diagram for scenario one provided in the embodiments of this application;
[0051] Figure 6 A schematic diagram of a user contacting an electrode in Scenario 2 provided in an embodiment of this application;
[0052] Figure 7 The equivalent circuit diagram for scenario two provided in the embodiments of this application;
[0053] Figure 8 A schematic diagram of the user contact electrode in Scenario 3 provided in the embodiments of this application;
[0054] Figure 9 The equivalent circuit diagram for scenario three provided in the embodiments of this application;
[0055] Figure 10 A schematic diagram of the user contacting the electrode in Scenario 4 provided in the embodiments of this application;
[0056] Figure 11 The equivalent circuit diagram for scenario four provided in the embodiments of this application;
[0057] Figure 12 A schematic diagram showing that the second electrode provided in the embodiments of this application includes a plurality of second sub-electrodes;
[0058] Figure 13 A schematic diagram illustrating different gestures corresponding to multiple second sub-electrodes provided in the embodiments of this application;
[0059] Figure 14 This is a schematic diagram illustrating the connection method of multiple second sub-electrodes provided in an embodiment of this application;
[0060] Figure 15 A schematic diagram illustrating the connection method of multiple second sub-electrodes provided in another embodiment of this application;
[0061] Figure 16 A schematic diagram showing that the second electrode provided in the embodiments of this application includes a second sub-electrode;
[0062] Figure 17 This is a schematic diagram illustrating the connection method of multiple third sub-electrodes provided in an embodiment of this application;
[0063] Figure 18 A schematic diagram illustrating the connection method of multiple third sub-electrodes provided in another embodiment of this application;
[0064] Figure 19 This is a software architecture diagram of a terminal device provided in an embodiment of this application;
[0065] Figure 20 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application; Detailed Implementation
[0066] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0067] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0068] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0069] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0070] Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0071] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0072] Users can input commands on the first terminal to instruct it to perform corresponding operations, or instruct the first terminal to send commands to a second terminal that has established a wireless connection with the first terminal to instruct the second terminal to perform corresponding operations, thereby realizing remote control between terminal devices and improving user experience.
[0073] For example, the first terminal, second terminal, and terminal device described in the embodiments of this application can all be mobile phones, tablet computers, handheld computers, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, media players, wearable devices, etc. These devices are equipped with electrodes that can be touched by the human body. The embodiments of this application do not impose any special limitations on the specific form / type of the terminal device.
[0074] The aforementioned terminal devices include, but are not limited to, those equipped with Devices running Harmony OS or other operating systems.
[0075] Existing command input methods typically involve the terminal device identifying the user's key presses using methods such as vision, millimeter wave, or IMU when it detects the user's key presses, and then determining the command corresponding to the key press. This method involves a large amount of computation and is costly.
[0076] Therefore, this application provides a communication method that determines user input instructions through human body communication. Compared with determining user input instructions through other methods, this method can reduce the computational load of data processing and save hardware costs.
[0077] Human body communication is a communication method that uses the human body as a signal transmission medium. In the embodiments of this application, when a human body touches the electrodes on the terminal device, the human body is connected to the circuit of the terminal device, thereby causing changes in the circuit. By analyzing the electrical signal information of the circuit, the electrode touched by the user can be determined, and thus the user's input command can be determined.
[0078] For example, such as Figure 1 As shown, in one application scenario, when a user wears ring 11, the ring comes into contact with its inner side, and thus with the electrodes on the inner side. When the user then touches the electrodes 111 on the outer side of the ring, the electrical signal information of the circuitry within ring 11 changes. By analyzing this electrical signal information, it can be determined whether the user has touched the electrodes 111 on the outer side of the ring. When ring 11 determines that the user has touched the electrodes 111 on the outer side of the ring, it performs a corresponding operation. For example, when ring 11 determines that the user is wearing the ring and has touched the electrodes 111 on the outer side of the ring, it sends a command to another Bluetooth device. For instance, ring 11 can send a command to Bluetooth speaker 12 to wake up Bluetooth speaker 12.
[0079] For example, such as Figure 2 As shown, in another application scenario, a user wears a ring 21, which is in contact with the electrodes on the inside of the ring. The user also wears a watch 22. When the user simultaneously contacts the electrodes on both the ring 21 and the watch 22, the ring 21, watch 22, and the human body form a circuit. By analyzing the electrical signal information of the circuit, it can determine whether the user is contacting the electrode on the ring 21 or the electrode on the watch 22, and then perform the corresponding operation. For example, when the ring 21 determines that the user is contacting one electrode on its own ring and one electrode on the watch 22, the ring 21 sends a command to the watch 22 via human body communication. For instance, the ring 21 can instruct the watch 22 to enter sports mode.
[0080] The communication method provided in this application will be described in detail below, taking into account the above scenarios.
[0081] The communication method provided in this application is executed in a first terminal, which includes a signal electrode and a ground electrode.
[0082] like Figure 3As shown, a communication method provided in one embodiment of this application includes the following steps.
[0083] S301: When the user at least contacts the first electrode, acquire electrical signal information of the first circuit. The electrical signal information includes any one or more of the output impedance, output current, and channel loss generated between the first electrode and the second electrode. The magnitude of the electrical signal information changes based on the different loads connected between the first electrode and the second electrode.
[0084] Specifically, the first terminal can be a wearable device, and the user can touch the first electrode while wearing the first terminal, or touch the first electrode with their fingers.
[0085] In one embodiment, the first terminal determines its posture based on posture information collected by an accelerometer on the first terminal. If the posture of the first terminal matches a preset posture, it is determined that the user is wearing the first terminal, and thus it is determined that the user is in contact with the first electrode. The first terminal can also acquire the heart rate collected by a heart rate sensor on the first terminal. If the heart rate is within a preset range, it is determined that the user is wearing the first terminal.
[0086] In another embodiment, the first terminal may also display a prompt message on the display interface to prompt the user to touch the first electrode, and after receiving the user's input of touching the first electrode, determine that the user has touched the first electrode.
[0087] The first electrode and the second electrode are different electrodes. If the first electrode is the signal electrode, the second electrode is the ground electrode.
[0088] The first terminal includes a first chip, which is used to transmit and receive communication signals. For example, if the first terminal is a signal transmitter, the first chip is a transmitting chip; if the first terminal is a signal receiver, the first chip is a receiving chip. A first circuit is connected to a first electrode and a second electrode, respectively. The first circuit is used to connect the first electrode and the second electrode to the first chip, and the first circuit includes one or more devices such as capacitors, inductors, and tuning circuits.
[0089] When a user touches the first electrode, the user's body connects to the first circuit. In the first circuit, the user's body can be considered equivalent to a capacitor. By connecting a detection circuit between the first and second electrodes, the electrical signal information of the first circuit can be detected.
[0090] When a user touches the second electrode or the third electrode of the second terminal, the first circuit changes, thereby changing the load connected between the first electrode and the second electrode, which in turn causes a change in the electrical signal information of the first circuit.
[0091] S302: If, based on the electrical signal information, it is determined that the user is touching the second electrode or the user is touching the third electrode of the second terminal, the first operation is executed; when the user touches the second electrode, the load includes at least the first equivalent capacitance corresponding to the user touching the second electrode, and when the user touches the third electrode, the load includes at least the second equivalent capacitance corresponding to the user touching the third electrode.
[0092] Specifically, when a user touches the second electrode, it is equivalent to adding a first equivalent capacitor to the first circuit, thereby changing the load connected between the first and second electrodes, and consequently altering the electrical signal information of the first circuit. When a user touches the third electrode, it is equivalent to adding a second equivalent capacitor to the first circuit, thereby changing the load connected between the first and second electrodes, and consequently altering the electrical signal information of the first circuit. The first and second electrodes can be considered equivalent to a third equivalent capacitor. The first equivalent capacitor can be connected in parallel or in series with the third equivalent capacitor, and the second equivalent capacitor can also be connected in parallel or in series with the third equivalent capacitor. The first and second equivalent capacitors have different capacitance values, different connection methods in the first circuit, and different changes in the electrical signal information of the first circuit caused by the first and second equivalent capacitors. Based on the changes in the electrical signal information, it can be determined whether the user is touching the second or third electrode.
[0093] The first terminal pre-stores a first operation corresponding to the second electrode, and executes the first operation corresponding to the second electrode when it determines that the user is in contact with the second electrode. Alternatively, the first terminal pre-stores a first operation corresponding to the third electrode, and executes the first operation corresponding to the third electrode when it determines that the user is in contact with the third electrode. The first operation can be sending a command to another device via Bluetooth communication, or transmitting a signal to the second terminal via human body communication.
[0094] The steps described above will be explained in detail below with specific examples.
[0095] Scene 1
[0096] For example, the first terminal is a ring, with a first electrode as a signal electrode and a second electrode as a ground electrode. When a user wears the ring and contacts the first electrode, the ring determines, based on the electrical signal information from the first circuit, that the user is contacting the second electrode, and then performs a first operation. The first operation may be sending a first instruction to a third terminal to instruct the third terminal to perform a corresponding operation. The ring can send the first instruction to the third terminal via Bluetooth communication. The third terminal can be a second terminal or other devices with Bluetooth communication capabilities. For example, the third terminal could be a mobile phone, and the first instruction could be used to instruct the mobile phone to adjust the volume.
[0097] Specifically, such as Figure 4As shown in (a), the user contacts the first electrode 41 when wearing the first terminal. The equivalent circuit is as follows: Figure 5 As shown, the first electrode is connected to the first circuit, and the area between the first electrode and the second electrode can be considered as an equivalent third capacitor 51, with a capacitance value of C. p The capacitance between the second electrode and ground can be equivalent to C. ret(TX) The capacitance is 52, and the user's body can be considered as having a capacitance of C. body The capacitor is 53. The first circuit includes a resistor 54, the resistance of which is R. s Power supply 55 is used to provide power to the first circuit, and can be the first chip. The voltage of the power supply is V. TX Resistor 54 can be the internal resistance of the power supply. In this case, the load connected between the first electrode and the second electrode includes capacitors 52 and 53.
[0098] like Figure 4 As shown in (b), when a user contacts the first electrode 41 and then contacts the second electrode 42, the dielectric constant of the equivalent capacitance between the first and second electrodes increases, and the capacitance value increases. Figure 5 As shown, this is equivalent to connecting a first equivalent capacitor 56 between the first electrode and the second electrode, and the capacitance value of the first equivalent capacitor 56 is C. touch(TX) The first equivalent capacitor 56 and the third equivalent capacitor 51 are connected in parallel. At this time, the load connected between the first electrode and the second electrode includes the first equivalent capacitor 56, capacitor 52 and capacitor 53.
[0099] The formula for calculating the output impedance between the first and second electrodes is:
[0100]
[0101] Among them, Z TX ω represents the output impedance, j represents the imaginary unit, and ω represents the current angular frequency.
[0102] As can be seen from the formula, after adding the first equivalent capacitance to the load, the output impedance between the first electrode and the second electrode decreases.
[0103] The formula for calculating the output current between the first and second electrodes is:
[0104] I TX =V TX (jωC P +jωC touch(TX) )
[0105] Among them, I TX This indicates the output current.
[0106] As can be seen from the formula, after adding the first equivalent capacitance to the load, the output current between the first electrode and the second electrode increases.
[0107] Therefore, when a user touches the first electrode, the first terminal detects the output impedance or output current between the first and second electrodes. When a decrease in output impedance or an increase in output current is detected, it is determined that the user is touching the second electrode.
[0108] Scene 2
[0109] For example, the first terminal is a ring, and the second terminal is VR glasses. When the user wears the ring, they contact the first electrode, which can be a signal electrode or a ground electrode. The ring determines, based on the electrical signal information of the first circuit, when the user contacts the third electrode of the VR glasses, and then performs a first operation. The third electrode can be either a signal electrode or a ground electrode. The first operation can be sending a second instruction to the second terminal via human body communication; that is, the first terminal uses the human body as a signal transmission medium to send a second instruction to the second terminal to instruct the second terminal to perform a corresponding operation. For example, the second instruction could be used to instruct the VR glasses to switch working modes.
[0110] Specifically, the first terminal is the signal transmitter (TX), and the second terminal is the signal receiver (RX). For example... Figure 6 As shown in (a), the user contacts the first electrode 61 when wearing the first terminal. The equivalent circuit is as follows: Figure 7 As shown, the first electrode is connected to the first circuit, and the area between the first electrode and the second electrode can be equivalent to a third equivalent capacitor 71, the capacitance of which is C. p The capacitance between the second electrode and ground can be equivalent to C. ret(TX) The capacitance is 72, and the user's body can be considered as having a capacitance of C. body The capacitor is 73. The first circuit includes a resistor 74, the resistance of which is R. s Power supply 75 is used to provide power to the first circuit, and can be the first chip. The voltage of power supply 75 is V. TX Resistor 74 can be the internal resistance of the power supply. Capacitors 72 and 73 are connected to the first circuit. At this time, the load connected between the first and second electrodes includes capacitors 72 and 73.
[0111] The second terminal includes a second circuit, the second circuit including a resistor with a resistance value of R. RX The resistor is 76, and the two ends of the second circuit are connected to the third and fourth electrodes respectively. The area between the third and fourth electrodes can be considered as an equivalent fourth capacitor 77, with a capacitance of C. L The capacitance between the fourth electrode and ground can be equivalent to C. ret(RX)The capacitance 78. The connection between the user's body and the third electrode can be represented by an equivalent second equivalent capacitance 79, the capacitance of which is C. touch(RX) .
[0112] When the user does not touch the third electrode, the capacitance value of the second equivalent capacitor 79 is small, which is equivalent to the first circuit and the second circuit being disconnected.
[0113] like Figure 6 (b) and Figure 7 As shown, when the user touches the first electrode 61 and then touches the third electrode 62, the capacitance value of the second equivalent capacitor 79 increases, which is equivalent to the first circuit and the second circuit being connected. At this time, the load connected between the first electrode and the second electrode includes the second equivalent capacitor 79, capacitor 72, capacitor 73, capacitor 78, fourth equivalent capacitor 77, and resistor 74.
[0114] The formula for calculating the output power between the first electrode and the second electrode is:
[0115]
[0116] Among them, V RX P represents the output voltage between the first and second electrodes. RX This indicates the output power.
[0117] In one embodiment, C is measured in advance. ret(TX) C body C ret(RX) C touch(RX) C L V TX R RX The value of the input power is used to determine the target output power when the user contacts the third electrode. The ratio of the target output power to the preset input power is used as the target channel loss. The second terminal acquires the output power between the first and second electrodes and the input power of the first terminal. The second terminal can acquire the input power from the first terminal via Bluetooth communication or human body communication. Then, the second terminal determines the channel loss based on the ratio of the input power to the output power. If the difference between this channel loss and the target channel loss is less than a first preset value, then the channel loss is determined to be within a first preset range. The second terminal sends the electrical signal information of the channel loss within the first preset range to the first terminal via Bluetooth communication or human body communication, and the first terminal determines that the user is contacting the third electrode.
[0118] According to the above formula, it can be seen that as the second equivalent capacitance increases, the output power increases, and the channel loss decreases. Therefore, in another embodiment, the first terminal can also determine that the user is in contact with the third electrode when it is determined that the channel loss has decreased.
[0119] Scene 3
[0120] For example, the first terminal is VR glasses, and the second terminal is a ring. The signal electrode and ground electrode of the ring are both located on the outside of the ring, and the user does not contact the electrodes when wearing the ring. When the user wears the VR glasses, they contact the first electrode, which can be either a signal electrode or a ground electrode. The VR glasses determine, based on the electrical signal information of the first circuit, that the user is contacting the third electrode of the ring, and then perform a first operation. The third electrode can be either a signal electrode or a ground electrode. The first operation may be requesting the second terminal to send a third instruction to the first terminal. For example, when the VR glasses determine that the user is contacting the third electrode of the ring, they send a request message to the ring to request the ring to send a third instruction corresponding to the third electrode to the VR glasses. For example, the third instruction could be used to instruct the VR glasses to adjust the focus.
[0121] Specifically, the first terminal is the signal receiver (RX), and the second terminal is the signal transmitter (TX). For example... Figure 8 As shown in (a), the user contacts the first electrode 81 when wearing the first terminal. The equivalent circuit is as follows: Figure 9 As shown, the first electrode is connected to the first circuit, and the area between the first electrode and the second electrode can be equivalent to a third equivalent capacitor 91, with a capacitance value of C. L The capacitance between the second electrode and ground can be equivalent to C. ret(RX) The capacitance is 92, and the user's body can be considered as having a capacitance of C. body The capacitor is 93. The first circuit includes a resistor with a value of R. RX Resistor 94, capacitor 92, and capacitor 93 are connected to the first circuit. At this time, the load connected between the first and second electrodes includes capacitors 92 and 93.
[0122] The second terminal includes a second circuit, which includes a power supply 95 and a resistor 96. The voltage of the power supply 95 is V. TX The resistance of resistor 96 is R. s The two ends of the second circuit are connected to the third and fourth electrodes, respectively. The area between the third and fourth electrodes can be considered as an equivalent fourth capacitor 97, with a capacitance value of C. p The capacitance between the fourth electrode and ground can be equivalent to C. ret(TX) The capacitance is 98. The connection between the user's body and the third electrode can be considered as a second equivalent capacitance 99, with a capacitance value of C. touch(RX) .
[0123] When the user does not touch the third electrode, the capacitance value of the third equivalent capacitor 99 is small, which is equivalent to the first circuit and the second circuit being disconnected.
[0124] like Figure 8 (b) and Figure 9 As shown, when a user contacts the first electrode 81 and then contacts the third electrode 82, the capacitance value of the third equivalent capacitor 99 increases, which is equivalent to the first circuit and the second circuit being connected. At this time, the load connected between the first electrode and the second electrode includes the second equivalent capacitor 99, capacitor 98, capacitor 92, capacitor 93, fourth equivalent capacitor 97, and resistor 94.
[0125] The formula for calculating the output power between the first electrode and the second electrode is:
[0126]
[0127] Among them, V RX P represents the output voltage between the first and second electrodes. RX This indicates the output power.
[0128] In one embodiment, C is measured in advance. ret(TX) C body C ret(RX) C touch(TX) C L V TX R RX The value is used to determine the target output power when the user contacts the third electrode, and the ratio of the target output power to the preset input power is used as the target channel loss. The first terminal obtains the output power between the first electrode and the second electrode, obtains the current input power from the second terminal, and determines the channel loss based on the ratio of the input power to the output power. If the difference between this channel loss and the target channel loss is less than a first preset value, then the channel loss is determined to be within the first preset range, and thus it is determined that the user is contacting the third electrode.
[0129] According to the above formula, it can be seen that as the second equivalent capacitance increases, the output power increases, and the channel loss decreases. Therefore, in another embodiment, the first terminal can also determine that the user is in contact with the third electrode when it is determined that the channel loss has decreased.
[0130] Scene 4
[0131] For example, the first terminal is a ring, and the second terminal is VR glasses. When the user wears the ring, they contact the first electrode; when the user wears the VR glasses, they contact the fourth electrode. The first electrode can be a signal electrode or a ground electrode. The fourth electrode can also be a signal electrode or a ground electrode. The ring determines, based on the electrical signal information from the first circuit, that when the user contacts the third electrode of the VR glasses, it performs a first operation. The first operation can be sending a fourth instruction to the second terminal via human body communication or Bluetooth communication to instruct the second terminal to perform a corresponding operation. For example, the fourth instruction might be used to instruct the VR glasses to switch working modes.
[0132] Specifically, the first terminal is the signal transmitter (TX), and the second terminal is the signal receiver (RX). For example... Figure 10 As shown in (a), when the user wears the first terminal, it contacts the first electrode 101; when the user wears the second terminal, it contacts the fourth electrode 102. The equivalent circuit is as follows: Figure 11 As shown, the first circuit includes resistor 111, and the resistance value of resistor 111 is R. s Power supply 112 is used to provide power to the first circuit, and the voltage of power supply 112 is V. TX It can be the first chip. The first electrode is connected to the first circuit, and the connection between the first electrode and the second electrode can be equivalent to a third equivalent capacitor 113, with a capacitance value of C. p The capacitance between the second electrode and ground can be equivalent to C. ret(TX) The capacitance is 114, and the user's body can be considered as having a capacitance of C. body Capacitor 115. Capacitors 114 and 115 are connected to the first circuit. The second circuit includes a resistor with a value of R. RX The resistor is 116, and the two ends of the second circuit are connected to the third and fourth electrodes respectively. The area between the third and fourth electrodes can be considered as an equivalent fourth capacitor 117, with a capacitance value of C. L The capacitance between the third electrode and ground can be equivalent to C. ret(RX) The capacitor 118. The fourth equivalent capacitor 117, capacitor 118 and the second circuit are all connected to the first circuit.
[0133] At this time, the load connected between the first electrode and the second electrode includes capacitor 114, capacitor 115, fourth equivalent capacitor 117, capacitor 118 and resistor 116.
[0134] like Figure 10 As shown in (b), when a user contacts the first electrode 101 and the fourth electrode 102, and then contacts the third electrode 103, the dielectric constant of the equivalent capacitance between the third and fourth electrodes increases, and the capacitance value increases. Figure 11As shown, this is equivalent to connecting a second equivalent capacitor 119 between the third and fourth electrodes, and the capacitance value of the second equivalent capacitor 119 is C. touch(RX) The second equivalent capacitor 119 is connected in parallel with the fourth equivalent capacitor 117. At this time, the load connected between the first electrode and the second electrode is increased by the second equivalent capacitor 119. The load connected between the first electrode and the second electrode includes the second equivalent capacitor 119, capacitor 114, capacitor 115, fourth equivalent capacitor 117, capacitor 118 and resistor 116.
[0135] The formula for calculating the output power between the first electrode and the second electrode is:
[0136]
[0137] Among them, V RX P represents the output voltage between the first and second electrodes. RX This indicates the output power.
[0138] In one embodiment, C is measured in advance. ret(TX) C body C ret(RX) C touch(RX) C L V TX R RX The value of the input power is used to determine the target output power when the user contacts the third electrode. The ratio of the target output power to the preset input power is used as the target channel loss. The second terminal obtains the output power between the first and second electrodes and the current input power from the first terminal. Based on the ratio of the input power to the output power, the channel loss is determined. If the difference between this channel loss and the target channel loss is less than a second preset value, the channel loss is determined to be within a second preset range. The second terminal sends the electrical signal information of the channel loss within the second preset range to the first terminal, and the first terminal determines that the user has contacted the third electrode.
[0139] According to the above formula, it can be seen that increasing the second equivalent capacitor reduces the output power and increases the channel loss. Therefore, in another embodiment, the first terminal can also determine that the user is in contact with the third electrode when it is determined that the channel loss has increased.
[0140] It is understandable that the above Figure 4 , Figure 6 , Figure 8 , Figure 10 The first, second, third, and fourth electrodes shown are for illustrative purposes only. The first and second electrodes are located on the first terminal and are part of the circuitry of the first terminal; the user actually wears the first terminal. The third and fourth electrodes are located on the second terminal and are part of the circuitry of the second terminal; the user actually wears the second terminal.
[0141] In the above embodiments, by acquiring one or more of the output impedance, output current, and channel loss generated between the first and second electrodes of the first terminal, the load change between the first and second electrodes is determined, and the connection of the equivalent capacitance between the first and second electrodes is then determined. Based on the connection of the equivalent capacitance, it can be determined whether the user is in contact with the second or third electrode, and then the first operation corresponding to the second or third electrode is executed. Therefore, the user's input command can be determined through human body communication. Since command input can be achieved simply by adding electrodes to the terminal device, and the user's input command can be determined by analyzing the electrical signal, compared to determining the user's input command through other methods, the computational load of the data processing process can be reduced, saving hardware costs.
[0142] By analyzing the electrical signal information of the first circuit, not only can the user's electrode contact status be determined, but also the way the user touches the electrodes can be determined.
[0143] In one embodiment, the first terminal detects the electrical signal information of the first circuit, and determines the time when the user contacts the second or third electrode based on the time the electrical signal information changes. The duration and number of times the user contacts the second electrode are determined based on the duration and number of times the user contacts the second electrode, and the touch method of the user contacting the second electrode is determined based on the duration and number of times the user contacts the second electrode. The touch method is a single click, a double click, or a long press. For example, if the first terminal determines that the number of times the user contacts the second electrode within a preset time period is 1, and the duration of the user's contact with the second electrode is less than the first time period, then the touch method is determined to be a single click. As another example, if the first terminal determines that the number of times the user contacts the second electrode within a preset time period is 1, and the duration of the user's contact with the second electrode is greater than or equal to the first time period, then the touch method is determined to be a long press. As yet another example, if the first terminal determines that the number of times the user contacts the second electrode within a preset time period is 2, and the duration of each contact with the second electrode is less than the first time period, then the touch method is determined to be a double click.
[0144] Similarly, the first terminal determines the duration and number of times the user touches the third electrode based on the time the user touches the third electrode, and the touch method of the user touching the third electrode can be determined based on the duration and number of times the user touches the third electrode.
[0145] The first terminal pre-stores first operations corresponding to different touch methods. After determining the touch method of the second electrode or the third electrode, the first terminal executes the first operation according to the touch method. For example, if the first terminal is a ring and the second terminal is VR glasses, when the first terminal determines that the user clicks the second electrode, it sends a mode switching command to the second terminal via Bluetooth communication. When the first terminal determines that the user double-clicks the third electrode, it sends a focus adjustment command to the second terminal via human body communication.
[0146] In one embodiment, the second electrode includes a plurality of second sub-electrodes, and when the first terminal detects that a user touches one or more of the second sub-electrodes, it performs an operation corresponding to the second sub-electrode touched by the user.
[0147] For example, the first terminal is a ring, which includes a first electrode and a second electrode. The first electrode is a signal electrode, located on the inside of the ring. The second electrode is a ground electrode, located on the outside of the ring. Figure 12 As shown in (a), the second electrode includes two second sub-electrodes 121, as follows: Figure 12 As shown in (b), the second electrode includes three second sub-electrodes 122, as follows: Figure 12 As shown in (c), the second electrode includes four second sub-electrodes 123.
[0148] The positions of the multiple second sub-electrodes can be determined based on the contact position between the fingers on the outside of the ring and the ring when worn, allowing different hand gestures to contact the corresponding second sub-electrodes. Multiple second sub-electrodes can also be arranged adjacently, allowing different second sub-electrodes on the ring to be contacted by the hand not wearing the ring. For example, as... Figure 12 As shown in (d), an electrode area 124 is provided on the ring, and two second sub-electrodes 125 are provided on the electrode area.
[0149] When the second electrode includes multiple second sub-electrodes, the first electrode may include only one first sub-electrode, or the first electrode may include multiple first sub-electrodes. The number of multiple first sub-electrodes may be equal to the number of multiple second sub-electrodes, or the number of multiple first sub-electrodes may not be equal to the number of multiple second sub-electrodes.
[0150] It is understood that the number of second sub-electrodes and their positions on the ring are merely examples, and this application does not impose any restrictions on the number or design position of the second sub-electrodes.
[0151] Taking a ring as an example, when the second electrode includes multiple second sub-electrodes, different gestures will touch different second sub-electrodes. After determining the second sub-electrode touched by the user, the first terminal can determine the user's gesture and then perform the operation corresponding to the gesture.
[0152] For example, ring 131 includes three second sub-electrodes, which contact the first electrode on the inner side of the ring when the user wears ring 131 with their middle finger. Figure 13 As shown in (a), when a user touches one of the second sub-electrodes, it indicates that the user's gesture is the index and middle fingers together. Figure 13 As shown in (b), when a user touches two of the second sub-electrodes, it indicates that the user's gesture is that the index and ring fingers are both together with the middle finger. Figure 13 As shown in (c), when the user does not touch the second sub-electrode, it indicates that the user's gesture is that both the index and ring fingers are separated from the middle finger. Figure 13 As shown in (d), when a user touches the three second sub-electrodes, it indicates that the user's gesture is a clenched fist. The ring can then perform operations corresponding to each gesture based on the user's gesture.
[0153] In one embodiment, the first terminal includes a first switching circuit (e.g., an SPNT switch), and the second electrode includes multiple second sub-electrodes. The first switching circuit is used to switch to different second sub-electrodes according to a first cycle. The order in which the first switching circuit switches to each second sub-electrode can be adjusted according to actual needs. The frequency corresponding to the first cycle meets the frequency at which the user switches between different electrodes; that is, the first switching circuit switches to different second sub-electrodes according to the first cycle, and the first terminal can detect the corresponding electrical signal information when the user touches any electrode. For example, the first cycle is less than 2 seconds and greater than 100 ns.
[0154] For example, such as Figure 14 As shown, the first terminal includes a first chip 141, a first switching circuit 142, multiple first matching circuits 143 (i.e., first matching circuit 1, first matching circuit 2... first matching circuit n), and multiple second sub-electrodes 144 (i.e., second sub-electrode 1, second sub-electrode 2... second sub-electrode n). The first chip 141 can be a transmitting chip. The multiple first matching circuits 143 are connected one-to-one with the multiple second sub-electrodes 144. Each first matching circuit 143 is connected to the first chip 141 through a corresponding first switching circuit 142. Each first matching circuit 142 is used to adjust the operating parameters of the corresponding second sub-electrode 144, so that the first chip 141 can detect whether the user is touching the corresponding second sub-electrode.
[0155] like Figure 15 As shown, the first terminal may also include a first chip 151, a first switching circuit 152, a first matching circuit 153, and a plurality of second sub-electrodes 154 (i.e., second sub-electrode 1, second sub-electrode 2... second sub-electrode n). The plurality of second sub-electrodes 154 are all connected to the first switching circuit 152, and the first switching circuit 152 is connected to the first chip 151 through the first matching circuit 153.
[0156] Both of the above methods can connect the first chip to different second sub-electrodes through the first switching circuit, thereby enabling the detection of the contact status of multiple electrodes, simplifying the circuit and reducing the hardware size.
[0157] The first terminal determines the time when each second sub-electrode is connected to the first chip according to the first cycle, then acquires the change time of the electrical signal information, and determines the first target electrode that the user contacts when the electrical signal information changes. The first target electrode is one or more of a plurality of second sub-electrodes.
[0158] The first operation includes multiple first sub-operations. After determining that the user has contacted the first target electrode, the first terminal determines the first target operation corresponding to the first target electrode among the multiple first sub-operations, and then executes the first target operation.
[0159] For example, in scenario one above, the second electrode includes two second sub-electrodes, and the first terminal detects the output current of the first circuit. If, based on the first cycle and the time it takes for the output current to change, it is determined that the user is touching one of the second sub-electrodes, then the operation corresponding to that second sub-electrode is executed. If, based on the first cycle and the time it takes for the output current to change, it is determined that the user is touching the other second sub-electrode, then the operation corresponding to that second sub-electrode is executed. For example, if the first terminal is a ring, the operations corresponding to the two second sub-electrodes are respectively activating the ring's Bluetooth communication function and sending a volume adjustment command to the mobile phone via Bluetooth communication.
[0160] It is understandable that when a user touches only one second sub-electrode, different touches on different second sub-electrodes correspond to different operations. When a user touches multiple second sub-electrodes, different combinations of touches correspond to different operations. When a user touches multiple second sub-electrodes, the touch method for each sub-electrode differs, and the terminal device determines the corresponding operation based on the number and method of touch. If a user touches multiple second sub-electrodes sequentially, the first terminal executes the operation corresponding to the order in which the user touches the sub-electrodes.
[0161] In another embodiment, the second electrode may also include only one second sub-electrode. For example, the first electrode is located on the inside of the ring, and the second electrode is located on the outside of the ring. Figure 16 As shown in (a), in two different ring shapes, the second electrode 161 can be located on the first side of the ring, and when the user wears the ring, the second electrode is located on the back of the hand. Figure 16 As shown in (b), in the two different shaped rings, the second electrode 162 can be located on the second side of the ring, and when the user wears the ring, the second electrode is located on the palm side.
[0162] Similar to the first terminal, the third electrode of the second terminal may also include multiple third sub-electrodes. When the first terminal detects that a user touches one or more of the third sub-electrodes, it performs the operation corresponding to the third sub-electrode touched by the user.
[0163] In one embodiment, the second terminal includes a second switching circuit, and the third electrode includes multiple third sub-electrodes. The second switching circuit is used to switch to different third sub-electrodes according to a second cycle. The order in which the second switching circuit switches to each third sub-electrode can be adjusted according to actual needs. The frequency corresponding to the second cycle meets the frequency at which the user switches between different electrodes; that is, the second switching circuit switches to different third sub-electrodes according to the second cycle. The second terminal can detect the corresponding electrical signal information when the user touches any electrode and send the electrical signal information to the first terminal. For example, the second cycle is less than 2 seconds and greater than 100 ns.
[0164] For example, such as Figure 17 As shown, the second terminal includes a second chip 141, a second switching circuit 172, multiple second matching circuits 173 (i.e., second matching circuit 1, second matching circuit 2... second matching circuit n), and multiple third sub-electrodes 174 (i.e., third sub-electrode 1, third sub-electrode 2... third sub-electrode n). The second chip 141 can be a receiving chip. The multiple second matching circuits 173 are connected one-to-one with the multiple third sub-electrodes 174. Each second matching circuit 173 is connected to the second chip 171 through a corresponding second switching circuit 172. Each second matching circuit 172 is used to adjust the operating parameters of the corresponding third sub-electrode 174, so that the second chip 171 can detect whether the user is touching the corresponding third sub-electrode.
[0165] like Figure 18 As shown, the second terminal may also include a second chip 181, a second switching circuit 182, a second matching circuit 183, and a plurality of third sub-electrodes 184 (i.e., second sub-electrode 1, second sub-electrode 2... second sub-electrode n). The plurality of third sub-electrodes 184 are all connected to the second switching circuit 182, and the second switching circuit 182 is connected to the second chip 181 through the second matching circuit 183.
[0166] Both of the above methods can connect the second chip to different third sub-electrodes through the first switching circuit, thereby enabling the detection of the contact status of multiple electrodes, simplifying the circuit and reducing the hardware size.
[0167] The first terminal determines the time when each third sub-electrode is connected to the second chip according to the second cycle, then acquires the time of change of electrical signal information, and determines the second target electrode that the user contacts at the time of the change of electrical signal information. The second target electrode is one or more of the multiple third sub-electrodes.
[0168] The first operation includes multiple second sub-operations. After determining that the user has contacted the second target electrode, the first terminal determines the second target operation corresponding to the second target electrode among the multiple second sub-operations, and then executes the second target operation.
[0169] For example, in scenario two above, the third electrode includes two third sub-electrodes. The second terminal detects the channel loss of the first circuit, determines the time of channel loss within a first preset range, and determines the third sub-electrode contacted by the user based on the time of channel loss within the first preset range and a second period. Then, the second terminal sends the electrical signal information of the channel loss within the first preset range and the identifier of the third sub-electrode contacted by the user to the first terminal. The first terminal then executes the operation corresponding to the identifier. For example, the first terminal is a ring, the second terminal is VR glasses, and the operations corresponding to the two third sub-electrodes are adjusting the focus of the VR glasses and adjusting the working mode of the VR glasses, respectively.
[0170] For example, in the above scenario three, the third electrode includes two third sub-electrodes. The first terminal detects the channel loss of the first circuit, determines the time of the channel loss within a first preset range, and determines the third sub-electrode that the user is in contact with based on the time of the channel loss within the first preset range and the second period, and performs the operation corresponding to the third sub-electrode that the user is in contact with.
[0171] For example, in scenario four above, the third electrode includes two third sub-electrodes. The second terminal detects the channel loss of the first circuit, determines the time of channel loss within a second preset range, and determines the third sub-electrode contacted by the user based on the time of channel loss within the second preset range and a second period. Then, the second terminal sends the electrical signal information of the channel loss within the second preset range and the identifier of the third sub-electrode contacted by the user to the first terminal, and the first terminal performs the operation corresponding to the identifier.
[0172] It is understandable that when a user touches only one third sub-electrode, different touches of the same sub-electrode correspond to different operations. When a user touches multiple third sub-electrodes, different combinations of touches correspond to different operations. Furthermore, when a user touches multiple third sub-electrodes, the touch method varies, and the terminal device determines the corresponding operation based on the number and manner in which the user touches each sub-electrode. If the user touches multiple third sub-electrodes sequentially, the first terminal executes a first sub-operation corresponding to the order in which the user touches each sub-electrode.
[0173] In another embodiment, the third electrode may also consist of only one third sub-electrode.
[0174] In the above embodiments, by setting multiple electrodes, the electrode that the user touches is determined according to the switching cycle and the change time of the electrical signal information, and the operation corresponding to the electrode touched by the user is executed. This allows the first terminal to have more command input methods, making it more convenient for the user to use.
[0175] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0176] The software system of terminal device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to illustrate the software structure of the terminal device.
[0177] Figure 19 This is a software structure block diagram of the terminal device 100 according to an embodiment of the present invention.
[0178] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0179] The application layer can include a series of application packages.
[0180] like Figure 19 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0181] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0182] like Figure 19 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0183] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0184] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0185] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0186] The phone manager is used to provide communication functions for terminal device 100. For example, it manages call status (including connection, hang-up, etc.).
[0187] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0188] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.
[0189] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0190] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0191] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0192] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0193] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0194] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0195] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0196] A 2D graphics engine is a graphics engine for 2D drawing.
[0197] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0198] For example, Figure 20 A schematic diagram of a terminal device 100 is shown.
[0199] Terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 120A, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 140A, a battery 140B, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0200] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0201] The processor 110 may include one or more processing units, wherein different processing units may be independent devices or integrated into one or more processors.
[0202] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0203] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0204] In some embodiments, processor 110 may include one or more interfaces.
[0205] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0206] The wireless communication function of the terminal device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0207] Terminal device 100 implements display functions through a GPU, display screen 194, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0208] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0209] Internal memory 120A can be used to store computer executable program code, which includes instructions. Internal memory 120A may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of terminal device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 120A may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of terminal device 100 by running instructions stored in internal memory 120A and / or instructions stored in memory located in the processor.
[0210] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Terminal device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, terminal device 100 detects the intensity of the touch operation based on pressure sensor 180A. Terminal device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands.
[0211] The gyroscope sensor 180B can be used to determine the motion attitude of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 about three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B.
[0212] The 180E accelerometer can detect the magnitude of acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the attitude of the terminal device, and can be applied to applications such as landscape / portrait switching and pedometers.
[0213] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Terminal device 100 can receive button input and generate key signal inputs related to user settings and function control of terminal device 100.
[0214] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0215] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0216] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0217] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0218] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0219] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0220] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0221] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method characterized by comprising: Applied to a first terminal including a first circuit, wherein the first circuit is respectively connected to a first electrode and a second electrode, the method includes: When the user at least contacts the first electrode, electrical signal information of the first circuit is acquired. The electrical signal information includes any one or more of the output impedance, output current, and channel loss generated between the first electrode and the second electrode. The magnitude of the electrical signal information changes based on the different loads connected between the first electrode and the second electrode. If, based on the electrical signal information, it is determined that the user is in contact with the second electrode or the user is in contact with the third electrode of the second terminal, a first operation is performed; when the user is in contact with the second electrode, the load includes at least the first equivalent capacitance corresponding to the user's contact with the second electrode, and when the user is in contact with the third electrode, the load includes at least the second equivalent capacitance corresponding to the user's contact with the third electrode; If, based on the electrical signal information, it is determined that the user is in contact with the second electrode or the user is in contact with the third electrode of the second terminal, the first operation is performed, including: Based on the first cycle and the change time of the electrical signal information, the user is determined to be in contact with a first target electrode among a plurality of second sub-electrodes; the first terminal includes a first switching circuit, the second electrode includes a plurality of second sub-electrodes, and the first switching circuit is used to switch to different second sub-electrodes according to the first cycle; Perform a first target operation corresponding to the first target electrode, wherein the first target operation is one of a plurality of first sub-operations; the first operation includes the plurality of first sub-operations.
2. The method of claim 1, wherein, The method further includes: If the output impedance decreases or the output current increases when the user is only in contact with the first electrode, it is determined that the user is in contact with the second electrode.
3. The method of claim 2, wherein, The execution of the first operation includes: Send the first instruction to the third terminal.
4. The method of claim 1, wherein, The method further includes: If the channel loss is within a first preset range when the user is only in contact with the first electrode, it is determined that the user is in contact with the third electrode.
5. The method of claim 4, wherein, The execution of the first operation includes: The second instruction is sent to the second terminal via human body communication.
6. The method of claim 4, wherein, The execution of the first operation includes: The second terminal is requested to send a third instruction to the first terminal.
7. The method of claim 1, wherein, The method further includes: When the user touches the first electrode and the fourth electrode of the second terminal, if the channel loss is within a second preset range, it is determined that the user is touching the third electrode.
8. The method according to any one of claims 1 to 7, characterized in that, The second terminal includes a second switching circuit, the third electrode includes a plurality of third sub-electrodes, the second switching circuit is used to switch to different third sub-electrodes according to a second cycle, and the first operation includes a plurality of second sub-operations; Determining the third electrode of the second terminal contacted by the user based on the electrical signal information includes: Based on the second cycle and the change time of the electrical signal information, it is determined that the user is in contact with the second target electrode among the plurality of third sub-electrodes; The execution of the first operation includes: executing a second target operation corresponding to the second target electrode, wherein the second target operation is one of the plurality of second sub-operations.
9. The method according to any one of claims 1 to 7, characterized in that, The method further includes: Based on the electrical signal information, determine the user's touch method when contacting the second electrode, or determine the user's touch method when contacting the third electrode, wherein the touch method is one of single click, double click, or long press; The execution of the first operation includes: The first operation is performed according to the touch method.
10. A terminal device, comprising: Includes a processor for executing a computer program stored in a memory to implement the method as claimed in any one of claims 1 to 9.
11. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 9.