Data transmission method, electronic equipment, chip and storage medium
By establishing a human communication connection near the user's body and combining wireless communication, short-distance wireless communication is solved, and the communication quality and user experience are improved.
Patent Information
- Application Number
- CN202310809869.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2025-01-07
AI Technical Summary
When electronic devices near the user's body use short-range wireless communication, due to poor signal diffraction, they are easily blocked by human bodies, resulting in low data transmission efficiency and affecting communication quality and user experience.
The human body communication connection is established through the user's body and electronic devices. When the signal quality is greater than the preset threshold, the target data signal is sent using the human body communication connection, and the human body communication and wireless communication are performed alternately to reduce the impact of human body barriers and improve the communication quality.
It effectively improves the quality of data transmission between electronic devices and user experience, reduces the impact of human body barriers on signals, and ensures stable high-definition audio source transmission and efficient data transmission.
Smart Images

Figure CN119276381A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communication technology, and more specifically, to a data transmission method, an electronic device, a chip, and a storage medium. Background Art
[0002] With the development of communication technology, short-range wireless communications such as Bluetooth (BT), Zigbee and wireless fidelity (WI-FI) have become increasingly popular, bringing great convenience to users' lives.
[0003] However, when electronic devices near the user's body (such as mobile phones and headphones) use the above-mentioned short-range wireless communication, the above-mentioned short-range wireless communication signals have poor diffraction properties and are easily blocked by the human body, which may lead to low data transmission efficiency. Summary of the invention
[0004] The embodiments of the present application provide a data transmission method, an electronic device, a chip, and a storage medium. The following introduces various aspects involved in the embodiments of the present application.
[0005] In a first aspect, a data transmission method is provided, which is applied to a first electronic device, and the method comprises: establishing a human body communication connection with a second electronic device through a user's body; in response to a signal quality of the human body communication connection being greater than a preset threshold, sending a target data signal to the second electronic device through the human body communication connection.
[0006] In a second aspect, a data transmission method is provided, which is applied to a second electronic device, and the method includes: establishing a human body communication connection with a first electronic device through a user's body; receiving a target data signal sent by the first electronic device through the human body communication connection; wherein a signal quality of the human body communication connection is greater than a preset threshold.
[0007] According to a third aspect, an electronic device is provided, comprising: a first human body communication chip, for establishing a human body communication connection with a second electronic device through a user's body; and a first processor, connected to the first human body communication chip, for sending a target data signal to the second electronic device through the first human body communication chip in response to a signal quality of the human body communication connection being greater than a preset threshold.
[0008] In a fourth aspect, an electronic device is provided, comprising: a second human body communication chip, for establishing a human body communication connection with a first electronic device through a user's body; a second processor, for receiving a target data signal sent by the first electronic device through the second human body communication chip; wherein the signal quality of the human body communication connection is greater than a preset threshold.
[0009] In a fifth aspect, a chip is provided, comprising: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the method described in the first aspect or the second aspect.
[0010] In a sixth aspect, an electronic device is provided, comprising a processor, a memory and a transceiver, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to control the electronic device to execute the method described in the first aspect or the second aspect.
[0011] In a seventh aspect, a computer-readable storage medium is provided, on which executable code is stored. When the executable code is executed, the method as described in the first aspect or the second aspect can be implemented.
[0012] The embodiment of the present application provides a data transmission method, which can establish a human body communication connection between a first electronic device (such as a smart phone) and a second electronic device (such as a wireless headset) through the user's body; in response to the signal quality of the human body communication connection being greater than a preset threshold, the first electronic device can send a target data signal to the second electronic device through the human body communication connection. In other words, the scheme in the embodiment of the present application can realize data transmission between the first electronic device and the second electronic device by means of human body communication based on the signal strength of human body communication, so as to effectively reduce the blocking effect of the user's body on the signal, thereby helping to improve the communication quality and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is an example diagram of a scenario to which the embodiments of the present application can be applied.
[0014] Figure 2 This is another example diagram of a scenario to which the embodiments of the present application can be applied.
[0015] Figure 3 It is a flowchart of a data transmission method provided by an embodiment of the present application.
[0016] Figure 4 It is a schematic diagram of the human body communication principle provided by an embodiment of the present application.
[0017] Figure 5 It is a flowchart of a data transmission method provided by another embodiment of the present application.
[0018] Figure 6 It is a flowchart of a data transmission method provided by another embodiment of the present application.
[0019] Figure 7 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application.
[0020] Figure 8 yes Figure 7 A more specific structural example diagram of an electronic device is shown.
[0021] Fig. 9 It is a structural schematic diagram of an electronic device provided in another embodiment of the present application.
[0022] Fig.10 yes Fig. 9 A more specific structural example diagram of an electronic device is shown.
[0023] Fig.11 It is a structural schematic diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0025] Figure 1 This is an example diagram of a scenario to which the embodiments of the present application can be applied. Figure 1 As shown, the scene 100 may include an electronic device 110 and an electronic device 120. The electronic device 110 and the electronic device 120 may communicate with each other.
[0026] The electronic device 110 may be an electronic device with a short-distance communication function. The short-distance communication function may include, for example, one or more of the following: Bluetooth, Wi-Fi, Zifeng, etc. In addition to the short-distance communication function, the electronic device 110 may also have an audio codec function. For example, the electronic device 110 may use a microphone (MIC) to collect an audio signal and send the audio signal outward through its antenna. For another example, the electronic device 110 may receive an externally transmitted audio signal through its antenna, thereby playing the audio signal through a speaker.
[0027] The electronic device 110 may be, for example, a handheld intelligent terminal, such as a smart phone ( Figure 1 The electronic device 110 is described by taking a smart phone as an example), a tablet computer, a virtual reality (VR) device, etc. Alternatively, the electronic device 110 may also be a wearable device, such as a smart watch, a smart bracelet, etc.
[0028] The electronic device 120 may be an electronic device with a short-distance communication function. The short-distance communication function may include, for example, one or more of the following: Bluetooth, Wi-Fi, Zifeng, etc. In addition to the short-distance communication function, the electronic device 120 may also have an audio codec function. For example, the electronic device 120 may collect an audio signal using a microphone and send the audio signal outward through its antenna. For another example, the electronic device 120 may receive an externally transmitted audio signal through its antenna, thereby playing the audio signal through a speaker.
[0029] The electronic device 120 may be, for example, a wearable device. The wearable device may be, for example, a wireless headset (such as a wireless Bluetooth headset, Figure 1 The electronic device 120 is taken as a wireless headset for example, a smart watch, a smart bracelet, a virtual reality device, etc. Alternatively, in some embodiments, the electronic device 120 may also be a handheld smart terminal, such as a mobile phone, a tablet computer, etc.
[0030] In scenario 100, the user may wish to perform stable data transmission between electronic device 110 and electronic device 120. For example, the user may use a mobile phone to transmit audio data to a wireless headset so that the user wearing the wireless headset can enjoy music quietly. However, in the process of the above audio data transmission, it is easy to be blocked by the human body, which may lead to the problem of low data transmission efficiency. Figure 2 Provide detailed distance description.
[0031] Figure 2 is another example diagram of a scenario to which the embodiments of the present application can be applied. Figure 2 As shown, whether the user holds the electronic device 110 in his hand or puts it on the table or in his trouser pocket, the electronic device 110 (such as a smart phone, Figure 2 Taking the electronic device 110 as a smart phone as an example, the electronic device 120 (such as a wireless Bluetooth headset, Figure 2 Taking the electronic device 120 as a wireless headset as an example for illustration), it will be blocked by the body, resulting in a significant reduction in the signal, which will in turn make it impossible to transmit and play high-definition audio sources or limit the playback of high-definition audio sources, resulting in a poor user experience.
[0032] In order to solve the above problems, the embodiment of the present application provides a data transmission method, which can establish a human body communication connection between a first electronic device (such as a smart phone) and a second electronic device (such as a wireless headset) through the user's body; in response to the signal quality of the human body communication connection being greater than a preset threshold, the first electronic device can send a target data signal to the second electronic device through the human body communication connection. In other words, the scheme in the embodiment of the present application can realize data transmission between the first electronic device and the second electronic device by means of human body communication based on the signal strength of human body communication, so as to effectively reduce the blocking effect of the user's body on the signal, thereby helping to improve the communication quality and user experience.
[0033] Combined with the following Figure 3 The data transmission method in the embodiment of the present application is introduced in detail. Figure 3 The method shown can be performed by a first electronic device (such as the electronic device 110 mentioned above) and a second electronic device (such as the electronic device 120 mentioned above). As an example, the first electronic device can be a smart phone, and the second electronic device can be a wireless Bluetooth headset.
[0034] It should be noted that the data signal transmission between the first electronic device and the second electronic device is mutual. If the first electronic device sends a data signal to the second electronic device, the second electronic device will receive the data signal sent from the first electronic device, and vice versa.
[0035] See also Figure 3 In step S320, a human body communication connection is established with the second electronic device through the user's body.
[0036] In some embodiments, before the first electronic device establishes a human body communication connection with the second electronic device through the user's body, it also includes detecting whether the first electronic device and the second electronic device support the human body communication connection.
[0037] In some embodiments, after determining that both the first electronic device and the second electronic device support the human body communication function, the method may further include turning on the human body communication function of the first electronic device and the second electronic device.
[0038] The embodiments of the present application do not specifically limit the method of detecting whether the first electronic device and the second electronic device support human body communication. For example, the device manuals of the first electronic device and the second electronic device can be checked to determine whether the human body communication function is supported. For another example, actual measurements can be performed: when the electronic device is close to the user's body, it can be detected whether data signals can be sent and received through the human body.
[0039] Human body communication (HBC) is also called intra-body communication (IBC). It can be understood as a short-distance wireless communication method. Human body communication can refer to a communication method that uses the human body as a signal (information) channel to transmit communication signals. Its feasibility is based on the electrical conductivity of human biological tissue. (This article will be combined with Figure 4 The principle of human body communication is explained with examples, see Figure 4 The description of the part will not be elaborated here).
[0040] In step S340, in response to the signal quality of the human body communication connection being greater than a preset threshold, a target data signal is sent to the second electronic device through the human body communication connection.
[0041] The target data signal may be referred to as target data for short. The target data signal may be, for example, video data or audio data, etc., and the present application does not impose any specific limitation on this.
[0042] The preset threshold of the signal quality of the human body communication connection can be set according to demand, and this application does not impose any specific restrictions on this.
[0043] In some embodiments, a first wireless communication connection can be established between a first electronic device and a second electronic device; in response to the signal quality of the human body communication connection between the first electronic device and the second electronic device being less than or equal to a preset threshold, a target data signal can be sent to the second electronic device via the first wireless communication connection, and accordingly, the second electronic device can receive the target data signal sent by the first electronic device via the first wireless communication connection.
[0044] In some embodiments, a first wireless communication connection can be established between the first electronic device and the second electronic device before the signal quality of the human body communication connection between the first electronic device and the second electronic device is less than or equal to a preset threshold; or a first wireless communication connection can be established between the first electronic device and the second electronic device after the signal quality of the human body communication connection between the first electronic device and the second electronic device is less than or equal to a preset threshold. The present application does not impose any specific restrictions on this.
[0045] In the embodiment of the present application, the communication method between the first electronic device and the second electronic device is selected based on the signal quality of the human body communication. If the signal quality of the human body communication is greater than a preset threshold, the human body communication method can be used to achieve data transmission between the first electronic device and the second electronic device, so as to effectively reduce the blocking effect of the user's body on the signal, thereby helping to improve the communication quality and user experience. Furthermore, if the signal quality of the human body communication is less than or equal to the preset threshold, the first wireless communication method can be used to achieve data transmission between the first electronic device and the second electronic device, so as to take into account the communication quality and communication stability between the first electronic device and the second electronic device, which helps to better improve the user experience.
[0046] In some embodiments, after establishing a human body communication connection with the second electronic device through the user's body, the method may further include: obtaining a signal quality of the human body communication connection.
[0047] The embodiments of the present application do not specifically limit the method for obtaining the signal quality of the human body communication connection. For example, the signal quality of the human body communication connection can be determined by detecting the packet loss rate of the human body communication connection. For another example, in some embodiments, in order to more conveniently obtain the signal quality of the human body communication connection, the signal quality of the human body communication can be determined based on the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body.
[0048] It is understandable that the human body communication connection mainly uses the human body as a signal channel to transmit communication signals. If the first electronic device or the second electronic device is far away from the user's body, the signal quality of the human body communication connection will be relatively poor.
[0049] In some embodiments, a mapping relationship table between the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body and the signal quality of human body communication can be pre-established and stored. Then, the corresponding signal quality of human body communication can be determined by looking up the table according to the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body.
[0050] In some embodiments, the first electronic device and the second electronic device may include a distance sensor for detecting the distance from the user's body.
[0051] In some embodiments, the first electronic device can detect and obtain the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body; the second electronic device can also detect and obtain the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body, and transmit the distance data to the first electronic device. Of course, the first electronic device can also obtain the distance between the first electronic device and the user's body, and the second electronic device can obtain the distance between the second electronic device and the user's body, and then the second electronic device can transmit the distance data between the second electronic device and the user's body detected by it to the first electronic device.
[0052] It can be understood that if the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body is greater than a preset distance threshold, it can be determined that the signal quality of the human body communication connection does not meet the requirements.
[0053] The first wireless communication may be Bluetooth, Wireless Fidelity, or Zifeng, etc., and this application does not impose any specific limitation on this.
[0054] In some embodiments, in order to reduce the cost and volume of the electronic device, the human body communication connection and the first wireless communication connection can share the same antenna for data transmission. That is, the human body communication in the first electronic device and the first wireless communication can share the antenna for data transmission and reception, and / or the human body communication in the second electronic device and the first wireless communication can share the antenna for data transmission and reception.
[0055] In some embodiments, if the human body communication connection and the first wireless communication connection can share the same antenna for data transmission, the human body communication and the first wireless communication can be performed alternately; that is, data transmission using human body communication and data communication using the first wireless communication can be performed alternately.
[0056] In some embodiments, the second electronic device includes a first sub-device and a second sub-device. If the signal quality between the first sub-device and the first electronic device is higher than the signal quality between the second sub-device and the first electronic device, the first sub-device can be used to receive a target data signal sent from the first electronic device; then, based on the human body communication connection between the first sub-device and the second sub-device, the first sub-device can be used to synchronize the target data signal to the second sub-device.
[0057] In some embodiments, if the signal quality of the human body communication connection between the first sub-device and the first electronic device is higher than the signal quality of the human body communication connection between the second sub-device and the first electronic device, the first sub-device can be used to receive the target data signal sent from the first electronic device through the human body communication connection (the human body communication connection between the first sub-device and the first electronic device); then, based on the human body communication connection between the first sub-device and the second sub-device, the first sub-device can be used to synchronize the target data signal to the second sub-device.
[0058] In some embodiments, if the signal quality of the wireless communication connection (e.g., a Bluetooth connection) between the first sub-device and the first electronic device is higher than the signal quality of the wireless communication connection (e.g., a Bluetooth connection) between the second sub-device and the first electronic device, the first sub-device can be used to receive a target data signal sent from the first electronic device via the wireless communication connection (e.g., a Bluetooth connection); and then, based on the human body communication connection between the first sub-device and the second sub-device, the first sub-device can be used to synchronize the target data signal to the second sub-device.
[0059] In some embodiments, before synchronizing the target data signal to the second sub-device using the first sub-device, it also includes establishing a human body communication connection between the first sub-device and the second sub-device.
[0060] according to Figure 2 It can be seen from the description of some contents that when the first electronic device is located on one side of the user's body, the signal quality of the communication between the first electronic device and the first sub-device may be different from the signal quality of the communication between the first electronic device and the second sub-device. In the embodiment of the present application, the first sub-device with better communication quality with the first electronic device is used to receive the target data signal sent by the first electronic device, and then the target data signal is synchronized to the second sub-device, so as to ensure the communication quality between the first sub-device and the second sub-device.
[0061] It is understandable that the second electronic device may include multiple sub-devices, and the multiple sub-devices may include a first sub-device and a second sub-device. For the convenience of description, this application is described by taking the first sub-device and the second sub-device as examples. The first sub-device may refer to a sub-device with the best communication quality with the first electronic device among the multiple sub-devices, and the second sub-device may refer to any sub-device among the multiple sub-devices except the first sub-device.
[0062] The following takes the first electronic device as an example. Figure 4 The human body communication technology in the embodiments of the present application is illustrated in more detail.
[0063] See also Figure 4The first electronic device may include a human body communication chip (not shown in the figure) and a human body communication antenna (also referred to as an electrode), and the human body communication chip is connected to the human body communication antenna. In some embodiments, the front of the first electronic device may be a display screen, and the human body communication antenna may be arranged on the back of the first electronic device. When the user holds the first electronic device or the user approaches the human body communication antenna, capacitive coupling is performed between the human body communication antenna and the user's body, thereby forming an equivalent capacitor. Based on the equivalent capacitor, the first electronic device can input a weak electrical signal into the user's body through the human body communication antenna, thereby realizing information transmission.
[0064] It is understandable that the second electronic device also includes a human body communication chip and a human body communication antenna. The human body communication antenna of the second electronic device also forms an equivalent capacitance path with the user's body, so that a human body communication loop can be formed between the human body communication antenna of the first electronic device, the user's body and the human body communication antenna of the second electronic device to transmit the target data signal.
[0065] In some embodiments, in order to accurately measure the distance between the human body communication antenna and the human body, the distance sensor in the first electronic device and the second electronic device can be correspondingly set on their human body communication antennas. The distance sensor can be used to detect the distance between the human body communication antenna of the first electronic device or the human body communication antenna of the second electronic device and the user's body.
[0066] In some embodiments, the signal frequency of human body communication may be 10 MHz to 20 MHz.
[0067] In some embodiments, if the first wireless communication is Bluetooth communication, the first wireless communication usually operates in the 2.4G or 5G frequency band. It is understandable that through reasonable filtering control, the coexistence interference problem between the human body communication and the first wireless communication can be effectively avoided.
[0068] It should be noted that the first electronic device and the second electronic device in the embodiment of the present application can be any of the electronic devices mentioned above. For example, the first electronic device can be a smart phone, and the second electronic device can be a Bluetooth headset; for another example, the first electronic device can be a smart phone, and the second electronic device can be a smart bracelet or a smart watch. For another example, the first electronic device can be a head device of a VR device, and the second electronic device can be a hand device (such as a handle) of the VR device. This application does not make specific restrictions on this.
[0069] In order to deepen the understanding of the above data transmission method, the following takes the first electronic device as a smart phone (can be referred to as a mobile phone) and the second electronic device as a wireless Bluetooth headset (can be referred to as a Bluetooth headset) as an example. Figure 5 and Figure 6The above data transmission method is described in more detail with examples.
[0070] Figure 5 Another data transmission method is shown. Figure 5 As shown, it may specifically include steps: S501 to S508.
[0071] In step S501: determine whether the mobile phone and the Bluetooth headset support human body communication connection, if so, jump to step S502, otherwise, jump to step S506.
[0072] In step S502: a human body communication connection is established between the mobile phone and the Bluetooth headset.
[0073] It is understandable that before establishing a human body communication connection between the mobile phone and the Bluetooth headset, the human body communication function of the mobile phone and the Bluetooth headset may be turned on. For example, after the Bluetooth headset recognizes the box opening signal, the human body communication function of the Bluetooth headset may be automatically turned on.
[0074] In step S503: determine whether the signal quality of human body communication is greater than a preset threshold, if it is greater than the preset threshold, jump to step S504, otherwise, jump to step S506.
[0075] In step S504: the Bluetooth headset receives the audio data sent by the mobile phone through the human body communication connection.
[0076] In step S505: the audio data is played using a Bluetooth headset.
[0077] In step S506: a Bluetooth connection is established between the mobile phone and the Bluetooth headset.
[0078] In step S507: the Bluetooth headset receives the audio data sent by the mobile phone via the Bluetooth connection. It is understandable that, in order to save energy consumption, after selecting Bluetooth for data transmission, the human body communication connection can be disconnected.
[0079] In step S508: the audio data is played using a Bluetooth headset.
[0080] According to the above Figure 5 From the description in the content, it can be seen that the use of human body communication connection and Bluetooth communication connection in coordination with each other can better improve the data transmission quality between the wireless Bluetooth headset and the mobile phone, which helps to improve the user experience.
[0081] Figure 6 Another data transmission method is shown. Figure 6 As shown, it may specifically include steps: S601 to S612.
[0082] In step S601: determine whether the mobile phone and the Bluetooth headset support human body communication connection. If not, jump to step S602; otherwise, jump to step S610.
[0083] In step S602: a Bluetooth connection is established between the mobile phone and the Bluetooth headset.
[0084] It is understandable that establishing a Bluetooth connection between a mobile phone and a Bluetooth headset may include: establishing a Bluetooth connection between the mobile phone and a left-ear Bluetooth headset (which may be referred to as the left-ear headset), and at the same time, establishing a Bluetooth connection between the mobile phone and a right-ear Bluetooth headset (which may be referred to as the right-ear headset).
[0085] In step S603: determine whether the signal quality of the left earphone is higher than that of the right earphone. If the signal quality of the left ear Bluetooth headset is higher than that of the right ear Bluetooth headset, jump to step S604, otherwise jump to step S607.
[0086] In step S604: the left ear Bluetooth headset is used to receive audio data sent by the mobile phone.
[0087] In step S605: the audio data received by the left-ear Bluetooth headset is synchronized to the right-ear Bluetooth headset via the human body communication connection (the human body communication connection between the left-ear Bluetooth headset and the right-ear Bluetooth headset). It should be understood that before the audio data received by the left-ear Bluetooth headset is synchronized to the right-ear Bluetooth headset via the human body communication connection, it also includes: establishing a human body communication connection between the left-ear Bluetooth headset and the right-ear Bluetooth headset.
[0088] In step S606: the audio data is played using the left-ear Bluetooth headset and the right-ear Bluetooth headset.
[0089] In step S607: the right ear Bluetooth headset is used to receive audio data sent by the mobile phone.
[0090] In step S608: the audio data received by the right-ear Bluetooth headset is synchronized to the left-ear Bluetooth headset via the human body communication connection (the human body communication connection between the left-ear Bluetooth headset and the right-ear Bluetooth headset). It should be understood that before the audio data received by the right-ear Bluetooth headset is synchronized to the left-ear Bluetooth headset via the human body communication connection, it also includes: establishing a human body communication connection between the left-ear Bluetooth headset and the right-ear Bluetooth headset.
[0091] In step S609: the audio data is played using the left-ear Bluetooth headset and the right-ear Bluetooth headset.
[0092] In step S610: a human body communication connection is established between the mobile phone and the Bluetooth headset.
[0093] It is understandable that when the mobile phone actively initiates a human body communication connection with the Bluetooth headset, after the human body communication is successfully established, the Bluetooth headset can also send an ACK message to the mobile phone.
[0094] It is understandable that before establishing a human body communication connection between the mobile phone and the Bluetooth headset, the human body communication function of the mobile phone and the Bluetooth headset may also be turned on.
[0095] In step S611: the Bluetooth headset receives the audio data sent by the mobile phone through the human body communication connection.
[0096] In step S612: the audio data is played using a Bluetooth headset.
[0097] According to the above Figure 6 From the description in the content, it can be seen that when the mobile phone is on one side of the body and the user's body blocks the signal of the earphone on the other side, by combining the Bluetooth communication connection and the human body communication connection, the signal attenuation caused by body blocking can be effectively avoided, thereby improving the audio data transmission quality and user experience.
[0098] Combination of the above Figures 1 to 6 The method embodiment of the present application is described in detail. Figures 7 to 11 The device embodiment of the present application is described in detail. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so the parts not described in detail can refer to the previous method embodiment.
[0099] Figure 7 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. The electronic device may be, for example, the first electronic device mentioned above. The electronic device 700 includes: a first human body communication chip 710 and a first processor 720.
[0100] The first human body communication chip 710 is used to establish a human body communication connection with the second electronic device through the user's body.
[0101] The first processor 720 is connected to the first human body communication chip, and is used for sending a target data signal to the second electronic device through the first human body communication chip in response to a signal quality of the human body communication connection being greater than a preset threshold.
[0102] Optionally, the electronic device 700 also includes: a first wireless communication chip 730, used to establish a first wireless communication connection with the second electronic device in response to the signal quality of the human body communication connection being less than or equal to the preset threshold; the first processor 720 is also used to send the target data signal to the second electronic device through the first wireless communication chip.
[0103] Optionally, the signal quality of the human body communication connection is determined according to the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body.
[0104] Optionally, the electronic device 700 further includes: a first antenna 740 ; the first wireless communication chip 730 and the first human body communication chip 720 share the first antenna 740 .
[0105] Optionally, the first wireless communication connection is a Bluetooth connection.
[0106] In some embodiments, the first processor 720 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit (CPU). Alternatively, the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0107] Figure 8 A more specific example of the structure of the electronic device 700 is given. Figure 8 As shown, the electronic device 700 includes a first human body communication chip 710 , a first processor 720 , a first wireless communication chip 730 , a first antenna 740 , a distance sensor 750 , a display screen 760 , an audio module 770 and a power processing module 780 .
[0108] The first human body communication chip 710 is connected to the first antenna 740 and can be used to establish a human body communication connection with the second electronic device through the user's body to transmit and receive data.
[0109] The first wireless communication chip 730 can be used to establish a first wireless communication connection with a second electronic device. The first wireless communication chip 730 can be connected to a first wireless communication antenna (not shown in the figure) to transmit and receive data. In some embodiments, the first wireless communication chip 730 can also reuse the first antenna 740 to perform the first wireless communication with the second electronic device, thereby reducing the cost and volume of the electronic device 700.
[0110] It can be understood that if the first human body communication chip 710 and the first wireless communication chip 730 share the first antenna 740 for data transmission, human body communication and the first wireless communication can be performed alternately; that is, data transmission using human body communication and data communication using the first wireless communication can be performed alternately.
[0111] The first processor 720 can schedule or control other systems in the electronic device 700, data analysis, processing, and calculation, etc. For example, the first processor 720 can be used to control the first human body communication chip 710 to send a target data signal to the second electronic device in response to the signal quality of the human body communication connection being greater than a preset threshold.
[0112] The distance sensor 750 may be used to detect the distance between the first antenna 740 and the human body. In order to improve the accuracy of the detection, the distance sensor 750 may be disposed on the first antenna 740, for example.
[0113] The display screen 760 may be used to display image data. It is understood that the display image data may be data processed by the first processor 720 and transmitted to the display screen 760 .
[0114] The audio module 770 may include a microphone, a speaker, etc. The microphone may be used to receive sound signals in the environment, and the speaker may be used to play sound signals.
[0115] The power processing module 780 may be used to manage the battery status of the electronic device 700 , for example, may manage the charging and discharging of the battery.
[0116] Fig. 9 FIG. 1 is a schematic diagram of the structure of an electronic device provided by another embodiment of the present application. The electronic device may be, for example, the second electronic device mentioned above. The electronic device 900 includes: a second human body communication chip 910 and a second processor 920.
[0117] The second human body communication chip 910 is used to establish a human body communication connection with the first electronic device through the user's body.
[0118] The second processor 920 is used to receive the target data signal sent by the first electronic device through the second human body communication chip; wherein the signal quality of the human body communication connection is greater than a preset threshold.
[0119] Optionally, the electronic device 900 also includes: a second wireless communication chip 930, used to establish a first wireless communication connection with the first electronic device in response to the signal quality of the human body communication connection being less than or equal to the preset threshold; the second processor 920 is also used to receive the target data signal sent by the first electronic device through the second wireless communication chip.
[0120] Optionally, the electronic device 900 includes a first sub-device 901 and a second sub-device 902, and the first sub-device 901 is used to: receive the target data signal sent from the first electronic device if the signal quality between the first sub-device and the first electronic device is higher than the signal quality between the second sub-device and the first electronic device; and synchronize the target data signal to the second sub-device.
[0121] Optionally, the second human body communication chip 910 includes a first human body communication sub-chip 911 and a second human body communication sub-chip 912, the second wireless communication chip 930 includes a first wireless communication sub-chip 931 and a second wireless communication sub-chip 932, the first human body communication sub-chip 911 and the first wireless communication sub-chip 931 are arranged in the first sub-device 901, and the second human body communication sub-chip 912 and the second wireless communication sub-chip 932 are arranged in the second sub-device 902; the first human body communication sub-chip 911 and the first wireless communication sub-chip 931 share the same antenna; and / or the second human body communication sub-chip 912 and the second wireless communication sub-chip 932 share the same antenna.
[0122] Optionally, the signal quality of the human body communication connection is determined according to the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body.
[0123] Optionally, the first wireless communication connection is a Bluetooth connection.
[0124] In some embodiments, the second processor 920 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit. Alternatively, the processor may also be other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0125] Fig.10 A more specific example of the structure of the electronic device 900 is given. Fig.10 As shown, the electronic device 900 includes a second human body communication chip 910 , a second processor 920 , a second wireless communication chip 930 , a second antenna 940 , a distance sensor 950 , a codec 960 , a power amplifier 970 , a speaker 980 and a microphone 990 .
[0126] The second human body communication chip 910 is connected to the second antenna 940 and can be used to establish a human body communication connection with the first electronic device through the user's body to perform data transmission and reception.
[0127] The second wireless communication chip 930 can be used to establish a first wireless communication connection with the first electronic device. The second wireless communication chip 930 can reuse the second antenna 940 to perform the first wireless communication with the first electronic device, thereby reducing the cost and volume of the electronic device 900.
[0128] It can be understood that if the second human body communication chip 910 and the second wireless communication chip 930 share the second antenna 940 for data transmission, human body communication and the first wireless communication can be performed alternately; that is, data transmission using human body communication and data communication using the first wireless communication can be performed alternately.
[0129] The second processor 920 can schedule or control other systems in the electronic device 900, analyze, process and calculate data, etc. For example, the second processor 920 can be used to control the second human body communication chip 910 to receive the target data signal sent by the first electronic device. For another example, if the electronic device 900 is a wireless Bluetooth headset, the second processor 920 can also be used for the electronic device 900 to detect the box entry, box opening, touch event judgment, etc.
[0130] The distance sensor 950 can be used to detect the distance between the second antenna 940 and the human body. In order to improve the accuracy of the detection, the distance sensor 950 can be set on the second antenna 940, for example.
[0131] The codec 960 may be used to implement the encoding and / or decoding functions of the audio signal. For example, the codec 960 may receive an analog audio signal from a microphone 990 and perform analog-to-digital conversion on the analog audio signal. For another example, the microphone 990 may perform digital-to-analog conversion on a digital audio signal, and then use a power amplifier 970 to perform power amplification processing on the converted analog audio signal, and then play the analog audio signal after power amplification processing through a speaker 980.
[0132] Combine the following Fig.11 Another electronic device 1100 in the embodiment of the present application is introduced. The electronic device 1100 can be used to implement the method described in the above method embodiment.
[0133] It should be understood that the electronic device 1100 can be applied to any type of electronic device mentioned above, that is, the electronic device 1100 can be the first electronic device mentioned above, or can be the second electronic device mentioned above.
[0134] The electronic device 1100 may include one or more processors 1110. The processor 1110 may support the electronic device 1100 to implement the method described in the foregoing method embodiment.
[0135] The processor 1110 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit. Alternatively, the processor may be other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0136] The electronic device 1100 may further include one or more memories 1120. The memory 1120 stores a program, which can be executed by the processor 1110 to control the electronic device 1100 to execute the method described in the above method embodiment. The memory 1120 may be independent of the processor 1110 or integrated in the processor 1110.
[0137] The memory 1120 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, the memory 1120 may also be various types of random access memory (RAM), such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous-link DRAM (SLDRAM) and direct ram-bus RAM (DR RAM).
[0138] The electronic device 1100 may further include a transceiver 1130. The processor 1110 may communicate with other devices through the transceiver 1130. For example, the processor 1110 may transmit and receive data with other devices through the transceiver 1130.
[0139] The present application also provides a chip in an embodiment, including a processor, which can be used to call and run a computer program from a memory, so that a device equipped with the chip performs the method described in the above method embodiment. It is understood that the processor can be any type of processor mentioned above. It is understood that the memory can be independent of the chip or integrated in the chip.
[0140] The embodiment of the present application also provides a machine-readable storage medium for storing a program, and the program enables a computer to execute the method in each embodiment of the present application.
[0141] The embodiment of the present application also provides a computer program product. The computer program product includes a program. The program enables a computer to execute the method in each embodiment of the present application.
[0142] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a machine-readable storage medium, or transmitted from one machine-readable storage medium to another machine-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The machine-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0143] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments of the present disclosure can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.
[0144] In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0145] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0147] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A data transmission method, characterized in that: The method is applied to a first electronic device, and the method includes: Establishing a human body communication connection with a second electronic device through a user's body; In response to the signal quality of the human body communication connection being greater than a preset threshold, a target data signal is sent to the second electronic device through the human body communication connection.
2. The method according to claim 1, characterized in that The method further comprises: Establishing a first wireless communication connection with the second electronic device; In response to the signal quality of the human body communication connection being less than or equal to the preset threshold, sending the target data signal to the second electronic device through the first wireless communication connection.
3. The method according to claim 1, characterized in that The signal quality of the human body communication connection is determined according to the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body.
4. The method according to claim 2, characterized in that: The first wireless communication connection is a Bluetooth connection.
5. A data transmission method, characterized in that: The method is applied to a second electronic device, and the method includes: Establishing a human body communication connection with the first electronic device through the user's body; receiving a target data signal sent by the first electronic device through the human body communication connection; Wherein, the signal quality of the human body communication connection is greater than a preset threshold.
6. The method according to claim 5, characterized in that The method further comprises: Establishing a first wireless communication connection with the first electronic device; In response to the signal quality of the human body communication connection being less than or equal to the preset threshold, the target data signal sent by the first electronic device is received through the first wireless communication connection.
7. The method according to claim 6, characterized in that The second electronic device includes a first sub-device and a second sub-device, and the method further includes: If the signal quality between the first sub-device and the first electronic device is higher than the signal quality between the second sub-device and the first electronic device, using the first sub-device to receive the target data signal sent from the first electronic device; According to the human body communication connection between the first sub-device and the second sub-device, the target data signal is synchronized to the second sub-device using the first sub-device.
8. The method according to claim 6, characterized in that The first wireless communication connection is a Bluetooth connection.
9. The method according to any one of claims 5 to 8, characterized in that: The signal quality of the human body communication connection is determined according to the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body.
10. An electronic device, characterized in that: The electronic device comprises: A first human body communication chip, used to establish a human body communication connection with a second electronic device through a user's body; The first processor is connected to the first human body communication chip, and is used for sending a target data signal to the second electronic device through the first human body communication chip in response to a signal quality of the human body communication connection being greater than a preset threshold.
11. The electronic device according to claim 10, characterized in that: The electronic device further comprises: A first wireless communication chip, used to establish a first wireless communication connection with the second electronic device; The first processor is further configured to send the target data signal to the second electronic device via the first wireless communication chip in response to a signal quality of the human body communication connection being less than or equal to a preset threshold.
12. The electronic device according to claim 10, characterized in that: The signal quality of the human body communication connection is determined according to the distance between the first electronic device and the user's body and / or the distance between the second electronic device and the user's body.
13. The electronic device according to claim 11, characterized in that: The electronic device further comprises: First antenna; The first wireless communication chip and the first human body communication chip share the first antenna to transmit and receive data.
14. The electronic device according to claim 11, characterized in that: The first wireless communication connection is a Bluetooth connection.
15. An electronic device, characterized in that: The electronic device comprises: A second human body communication chip, used to establish a human body communication connection with the first electronic device through the user's body; A second processor, configured to receive a target data signal sent by the first electronic device through the second human body communication chip; Wherein, the signal quality of the human body communication connection is greater than a preset threshold.
16. The electronic device according to claim 15, characterized in that: The electronic device further comprises: A second wireless communication chip, used to establish a first wireless communication connection with the first electronic device; The second processor is further configured to receive the target data signal sent by the first electronic device through the second wireless communication chip in response to the signal quality of the human body communication connection being less than or equal to the preset threshold.
17. The electronic device according to claim 16, characterized in that: The electronic device comprises a first sub-device and a second sub-device, wherein the first sub-device is used for: If the signal quality between the first sub-device and the first electronic device is higher than the signal quality between the second sub-device and the first electronic device, receiving the target data signal sent from the first electronic device; The target data signal is synchronized to the second sub-device.
18. The electronic device according to claim 17, characterized in that: The second human body communication chip includes a first human body communication sub-chip and a second human body communication sub-chip, the second wireless communication chip includes a first wireless communication sub-chip and a second wireless communication sub-chip, the first human body communication sub-chip and the first wireless communication sub-chip are arranged in the first sub-device, and the second human body communication sub-chip and the second wireless communication sub-chip are arranged in the second sub-device; The first human body communication sub-chip and the first wireless communication sub-chip share the same antenna for data transmission and reception; and / or The second human body communication sub-chip and the second wireless communication sub-chip share the same antenna for data transmission and reception.
19. The electronic device according to claim 16, characterized in that: The first wireless communication connection is a Bluetooth connection.
20. The electronic device according to any one of claims 15 to 19, characterized in that: The signal quality of the human body communication connection is determined based on the distance between the first electronic device and the user's body and / or the distance between the electronic device and the user's body.
21. A chip, characterized in that: include: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 9.
22. An electronic device, characterized in that: include: A processor, a memory and a transceiver, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to control the electronic device to execute the method as described in any one of claims 1 to 9.
23. A computer-readable storage medium having executable code stored thereon, characterized in that: The code is used to implement the method according to any one of claims 1 to 9.