Point-to-point communication method, apparatus, device, storage medium and program product
Patent Information
- Application Number
- CN202510176104.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2026-08-18
AI Technical Summary
[0002]在一些场景中,地面基站的信号覆盖很弱,电子设备蜂窝通信时会出现无信号服务的情况,不利于用户使用电子设备进行蜂窝通信
[0019]上述点对点通信方法、装置、设备、存储介质和程序产品,接收目标点对点通信信号,目标点对点通信信号是第一电子设备基于点对点通信功能发送给第二电子设备的信号;对目标点对点通信信号进行功率放大处理并发射,以由其他中继设备将功率放大处理后的目标点对点通信信号进行处理后转发至第二电子设备,或者,供第二电子设备直接接收功率放大处理后的目标点对点通信信号。由于第一电子设备和第二电子设备之间通信的目标点对点信号经过中继设备进行了功率放大处理,从而弥补了信号在传输过程中的衰减,使得该目标点对点信号达到第二电子设备时功率足够,从而保证在无地面蜂窝信号服务的情况下使得两个电子设备可以实现有效通信。
Smart Images

Figure CN122602115A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a point-to-point communication method, apparatus, device, storage medium, and program product. Background Technology
[0002] In some scenarios, the signal coverage of terrestrial base stations is very weak, resulting in a lack of signal service for electronic devices during cellular communication, which is detrimental to users' ability to use electronic devices for cellular communication. Therefore, it is urgent to solve the problem of how to enable electronic devices to achieve communication functions in the absence of terrestrial signal service. Summary of the Invention
[0003] Therefore, it is necessary to provide a point-to-point communication method, apparatus, device, storage medium, and program product that enables electronic devices to achieve communication functions in the absence of terrestrial signal service, addressing the aforementioned technical problems.
[0004] In a first aspect, this application provides a point-to-point communication method. Used in a relay device, the method includes:
[0005] Receive target point-to-point communication signals, which are signals sent from the first electronic device to the second electronic device based on the point-to-point communication function;
[0006] The target point-to-point communication signal is amplified and transmitted, so that other relay devices can process the amplified target point-to-point communication signal and forward it to the second electronic device, or the second electronic device can directly receive the amplified target point-to-point communication signal.
[0007] Secondly, this application also provides a point-to-point communication method for a first electronic device, comprising:
[0008] Based on the point-to-point communication function, the first point-to-point communication signal output by the target relay device after power amplification is received;
[0009] The first point-to-point communication signal is a signal sent by the second electronic device to the first electronic device based on the point-to-point communication function; the first point-to-point communication signal output by the target relay device is used for reception by the first electronic device or other relay devices.
[0010] Thirdly, this application also provides a point-to-point communication device. For use with relay equipment, the device includes:
[0011] The receiving module is used to receive the target point-to-point communication signal, which is the signal sent by the first electronic device to the second electronic device based on the point-to-point communication function.
[0012] The transmitting module is used to amplify and transmit the target point-to-point communication signal, so that other relay devices can process the amplified target point-to-point communication signal and forward it to the second electronic device, or the second electronic device can directly receive the amplified target point-to-point communication signal.
[0013] Fourthly, this application also provides a point-to-point communication device. For a first electronic device, the device includes:
[0014] The receiving module is used to receive the first point-to-point communication signal output by the target relay device after power amplification based on the point-to-point communication function;
[0015] The first point-to-point communication signal is a signal sent by the second electronic device to the first electronic device based on the point-to-point communication function; the first point-to-point communication signal output by the target relay device is used for reception by the first electronic device or other relay devices.
[0016] Fifthly, this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in any one of the first and second aspects above.
[0017] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the first and second aspects above.
[0018] In a seventh aspect, this application also provides a computer program product comprising a computer program that, when executed by a processor, implements the steps of the method described in any one of the first and second aspects above.
[0019] The aforementioned point-to-point communication method, apparatus, device, storage medium, and program product receive a target point-to-point communication signal, which is a signal sent by a first electronic device to a second electronic device based on its point-to-point communication function. The target point-to-point communication signal is amplified and transmitted, so that other relay devices can process the amplified signal and forward it to the second electronic device, or the second electronic device can directly receive the amplified target point-to-point communication signal. Because the target point-to-point signal for communication between the first and second electronic devices is amplified by relay devices, the signal attenuation during transmission is compensated, ensuring sufficient power when the target point-to-point signal reaches the second electronic device, thereby guaranteeing effective communication between the two electronic devices even in the absence of terrestrial cellular signal service. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a diagram illustrating the application environment of a point-to-point communication method in one embodiment;
[0022] Figure 2 This is a flowchart illustrating a point-to-point communication method in one embodiment;
[0023] Figure 3 This is a schematic diagram illustrating the process of determining whether to amplify and transmit the target point-to-point communication signal in one embodiment.
[0024] Figure 4 This is a schematic diagram of a process for power amplification of a target point-to-point communication signal according to a preset output power in one embodiment.
[0025] Figure 5 This is a schematic diagram illustrating the process of a relay device handling target point-to-point communication signals in one embodiment;
[0026] Figure 6 This is a schematic diagram of a point-to-point communication environment in one embodiment;
[0027] Figure 7 This is a schematic diagram showing the location of the communication antenna of a wireless Bluetooth headset in one embodiment;
[0028] Figure 8 This is a schematic diagram of a communication environment for another type of point-to-point communication in one embodiment;
[0029] Figure 9 This is a schematic diagram showing the location of the communication antenna of a smartwatch in one embodiment;
[0030] Figure 10 This is a schematic diagram of a communication environment for another type of point-to-point communication in one embodiment;
[0031] Figure 11 This is a schematic diagram showing the location of the communication antenna of the AR glasses in one embodiment;
[0032] Figure 12 This is a schematic diagram of a communication environment for another type of point-to-point communication in one embodiment;
[0033] Figure 13 This is a schematic diagram of the transmission link in one embodiment;
[0034] Figure 14 This is a flowchart illustrating the output of the second point-to-point communication signal in one embodiment;
[0035] Figure 15 This is a flowchart illustrating the communication process of the first electronic device in one embodiment;
[0036] Figure 16 This is a structural block diagram of a point-to-point communication device in one embodiment;
[0037] Figure 17 This is a structural block diagram of another point-to-point communication device in one embodiment;
[0038] Figure 18 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0040] In some scenarios, the signal coverage of ground base stations is very weak, resulting in no signal service for electronic devices during cellular communication, which is detrimental to users' use of electronic devices for cellular communication. For example, deep in the desert, due to the sparse population, there are few or no base stations deployed, and electronic devices often experience no signal service during cellular communication, which is very disadvantageous for people in the desert. If it is a group travel, it will also hinder communication between groups, which will increase users' anxiety.
[0041] In view of this, embodiments of this application provide a point-to-point communication method. A relay device can receive a target point-to-point communication signal sent by a first electronic device to a second electronic device based on point-to-point communication functionality. The target point-to-point communication signal is amplified and transmitted, so that other relay devices can process the amplified signal and forward it to the second electronic device, or the second electronic device can directly receive the amplified target point-to-point communication signal. Because the target point-to-point signal for communication between the first and second electronic devices is amplified by the relay device, the signal attenuation during transmission is compensated, ensuring sufficient power when the target point-to-point signal reaches the second electronic device. This guarantees effective communication between the two electronic devices even in the absence of terrestrial cellular signal service.
[0042] The point-to-point communication method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, electronic devices 101 and 102 enable point-to-point communication. Electronic device 101 sends a target point-to-point communication signal to electronic device 102. This target point-to-point communication signal is received by at least one relay device 103, amplified, and then transmitted. After being relayed by at least one relay device 103, it is received by electronic device 102. It is understood that... Figure 1 The example uses relay equipment as two examples.
[0043] Among them, electronic devices 101 and 102 can be, but are not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart in-vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Relay device 103 can be an electronic device or wearable device, which can forward point-to-point communication signals; however, not all examples are provided here.
[0044] In one exemplary embodiment, such as Figure 2 As shown, a point-to-point communication method is provided for... Figure 1 The method includes: any relay device in the network, wherein the method comprises:
[0045] Step 201: Receive the target point-to-point communication signal. The target point-to-point communication signal is a signal sent by the first electronic device to the second electronic device based on the point-to-point communication function.
[0046] Point-to-point communication, also known as DTD communication. Optionally, electronic devices can enable point-to-point communication when it is determined that no terrestrial base station is providing cellular signal service.
[0047] For example, if an electronic device determines that the current cellular communication quality is poor or that cellular communication is not possible, it will enable point-to-point communication. When point-to-point communication is enabled, the electronic device can establish a local area network (LAN), and two electronic devices can transmit local signals (i.e., point-to-point communication signals) to conduct point-to-point communication.
[0048] Two electronic devices can communicate point-to-point, with one device acting as the first and the other as the second. The first device can send point-to-point signals to the second device, which in turn acts as the receiver. Similarly, the second device can also send point-to-point signals to the first device, which in turn acts as the receiver.
[0049] In this embodiment, the first electronic device acts as the transmitter, sending a target point-to-point communication signal to the second electronic device based on point-to-point communication functionality. It is understood that, as... Figure 1In the application environment shown, when electronic device 101 is the first electronic device, electronic device 102 is the second electronic device; when electronic device 102 is the first electronic device, electronic device 101 is the second electronic device.
[0050] In an optional embodiment of this application, a single first electronic device can send target point-to-point communication signals to multiple second electronic devices based on point-to-point communication functionality.
[0051] In optional embodiments of this application, the target point-to-point communication signal includes voice data, image data, or text data, etc., which are not specifically limited here.
[0052] In an optional embodiment of this application, the electronic device can establish a 2.4G local area network. For example, the target point-to-point communication signal can be a 2.4G Bluetooth signal or a 2.4G WiFi signal, etc., which are not fully exemplified here. It is understood that if it is a Bluetooth signal, the electronic device can reuse the Bluetooth signal transmission path in the electronic device to transmit the target point-to-point communication signal to the Bluetooth antenna to transmit the target point-to-point communication signal; if it is a WiFi signal, the electronic device can reuse the WiFi signal transmission path in the electronic device to transmit the target point-to-point communication signal to the WiFi antenna to transmit the target point-to-point communication signal. Correspondingly, the second electronic device can also receive the target point-to-point communication signal based on the Bluetooth antenna or the WiFi antenna.
[0053] The relay device has the ability to receive target point-to-point communication signals. For example, if the target point-to-point communication signal transmitted by the first electronic device is a Bluetooth signal, and the relay device is a headset with Bluetooth communication function, then the relay device can receive the target point-to-point communication signal.
[0054] The relay device is located within the local area network coverage area of the first electronic device. Therefore, when the first electronic device transmits a target point-to-point communication signal, the relay device can receive the target point-to-point communication signal.
[0055] Step 202: Amplify the power of the target point-to-point communication signal and transmit it so that other relay devices can process the amplified target point-to-point communication signal and forward it to the second electronic device, or allow the second electronic device to directly receive the amplified target point-to-point communication signal.
[0056] As a signal propagates in free space, its strength attenuates. For example, signal strength decreases with increasing distance, or the signal is absorbed or scattered when passing through obstacles such as buildings, walls, and trees, resulting in signal attenuation and a decrease in signal quality.
[0057] It is understandable that local area network-based communication is short-range communication. If the distance between the first electronic device and the second electronic device is large, the target point-to-point communication signal cannot be directly received by the second electronic device after being output from the first electronic device, or the signal quality of the target point-to-point communication signal directly received by the second electronic device is too low, which may lead to demodulation errors.
[0058] Therefore, in this embodiment of the application, a relay device located between the first electronic device and the second electronic device is used to amplify the power of the target point-to-point communication signal and transmit it to compensate for the attenuation of the target point-to-point communication signal during transmission. This ensures that the amplified target point-to-point communication signal can be received by the second electronic device and that the signal quality is sufficient for correct demodulation by the second electronic device.
[0059] In an optional embodiment of this application, the relay device is located between the first electronic device and the second electronic device; that is, the distance between the relay device and the first electronic device is less than the distance between the second electronic device and the first electronic device. Correspondingly, the signal quality of the target point-to-point signal received by the relay device is greater than the signal quality of the target point-to-point signal received by the second electronic device.
[0060] It is understandable that, such as Figure 1 As shown, in the scenario where the first electronic device and the second electronic device are located, there may be other relay devices besides the relay device. The target point-to-point communication signal is amplified by at least one relay device before being transmitted, so that the target point-to-point signal is gradually forwarded to the second electronic device with high signal quality.
[0061] Therefore, in this embodiment of the application, receiving a target point-to-point communication signal includes: acquiring a target point-to-point communication signal output by a first electronic device; or, acquiring a target point-to-point communication signal output by another relay device after power amplification processing.
[0062] That is, the relay device can be located not only between the first electronic device and the second electronic device, but also between other relay devices and the second electronic device. For example, after receiving the target point-to-point communication signal, other relay devices can process and forward the received target point-to-point communication signal. For instance, other relay devices can amplify the power of the received target point-to-point communication signal and transmit it into free space, where it is received by the relay device. The relay device can then further amplify the power of the target point-to-point communication signal and transmit it into free space.
[0063] Understandably, if the distance between the relay device and the second electronic device is relatively short, the target point-to-point communication signal transmitted by the relay device can be received by the second electronic device. If the distance between the relay device and the second electronic device is relatively long, and there are other relay devices between them, these other relay devices can acquire the target point-to-point communication signal transmitted by the relay device, process the signal, and then forward it to the second electronic device. For example, the target point-to-point communication signal after power amplification by the relay device is received by other relay devices, which then amplify the received signal and transmit it into free space, where it is received by the second electronic device, thus realizing the signal forwarding process.
[0064] In optional embodiments of this application, any relay device between the first electronic device and the second electronic device can perform signal processing such as modulation and demodulation in addition to power amplification of the target point-to-point communication signal. This is not fully illustrated here.
[0065] As described above, there can be at least one relay device between the first electronic device and the second electronic device. The target point-to-point communication signal output by the first electronic device can be received by each relay device, amplified, and then transmitted to the second electronic device in stages.
[0066] If only the 2.4G Bluetooth or WIFI path inside the first electronic device is reused to output the target point-to-point signal, on the one hand, the transmission power of the output point-to-point communication signal itself is low. On the other hand, in scenarios with many people or dense buildings, the point-to-point communication signal will suffer great loss due to penetration, which will greatly reduce the signal propagation range and significantly limit the application scenarios of network-free communication.
[0067] In this embodiment of the application, based on the above processing procedure, the target point-to-point communication signal undergoes at least one power amplification process, so that the target point-to-point communication signal can maintain high signal quality during transmission, thereby enabling the second electronic device to correctly demodulate the received signal, thus ensuring normal communication between the first electronic device and the second electronic device.
[0068] The aforementioned point-to-point communication method receives a target point-to-point communication signal, which is a signal sent by a first electronic device to a second electronic device based on its point-to-point communication function. The target point-to-point communication signal is then amplified and transmitted. This amplified signal is either processed by other relay devices and forwarded to the second electronic device, or it can be directly received by the second electronic device. Because the target point-to-point signal for communication between the first and second electronic devices is amplified by relay devices, the signal attenuation during transmission is compensated for, ensuring sufficient power when the signal reaches the second electronic device. This guarantees effective communication between the two electronic devices even in the absence of terrestrial cellular signal service.
[0069] Please refer to Figure 3 It illustrates an exemplary technical process for determining whether a relay device should amplify and transmit a target point-to-point communication signal when the relay device receives such a signal. This process may include the following steps:
[0070] Step 301: Determine the signal quality of the target point-to-point communication signal.
[0071] In an optional embodiment of this application, signal parameters characterizing the quality of the target point-to-point communication signal may be used as signal quality.
[0072] For example, since signal quality degrades during signal transmission, i.e., signal strength decreases, which in turn reduces signal power, signal power can be used as a measure of signal quality. That is, the signal power of the target point-to-point communication signal can be determined.
[0073] Step 302: Determine whether the signal forwarding conditions are met based on the signal quality of the target point-to-point communication signal.
[0074] If the signal quality of the target point-to-point communication signal determines that the signal forwarding conditions are met, it means that there is a high necessity to perform power amplification processing on the target point-to-point communication signal, and power amplification processing can be performed at this time.
[0075] Step 303: If the signal forwarding conditions are met, then perform the step of power amplification processing of the target point-to-point communication signal and transmit it.
[0076] If the signal quality of the target point-to-point communication signal determines that the signal forwarding conditions are not met, it means that there is little need to perform power amplification processing on the target point-to-point communication signal. In this case, power amplification processing can be omitted. For example, the target point-to-point communication signal can be ignored directly.
[0077] For example, in one possible scenario, the distance between the relay device and the previous device that output the target point-to-point communication signal (which could be the first electronic device or another relay device) is greater than a first distance threshold. Due to the long-distance transmission, the signal quality of the target point-to-point signal received by the relay device is low. Furthermore, the power amplifier in the relay device has limited power amplification capability. Even with power amplification, the signal quality of the target point-to-point communication signal remains poor. This means the power amplification process is meaningless and consumes the relay device's power. Therefore, in this case, the signal forwarding condition is not met.
[0078] In another possible scenario, the distance between the relay device and the previous device that output the target point-to-point communication signal is less than the second distance threshold. Due to the short transmission distance, signal attenuation is minimal, and power amplification of the target point-to-point communication signal is unnecessary. To save power consumption of the relay device, power amplification of the target point-to-point signal is not required; therefore, the signal forwarding condition is also considered not met in this case.
[0079] In this embodiment of the application, by setting signal forwarding conditions, the target point-to-point communication signal can be amplified when necessary, thereby achieving a balance between saving the power consumption of the relay equipment and ensuring the signal quality of the target point-to-point communication signal.
[0080] In an exemplary embodiment, determining whether the signal forwarding condition is met based on the signal quality of the target point-to-point communication signal includes: if the signal quality of the target point-to-point communication signal is greater than a first signal quality threshold and less than a second signal quality threshold, then it is determined that the signal forwarding condition is met.
[0081] The electronic device is equipped with a first signal quality threshold and a second signal quality threshold. Whether signal forwarding conditions are met is determined based on the first and second signal quality thresholds. The first signal quality threshold is less than the second signal quality threshold. As mentioned above, signal quality is characterized by signal power; therefore, the first signal quality threshold can be a first signal power threshold, and the second signal quality threshold can be a second signal power threshold.
[0082] In one possible implementation, taking the signal power of the target point-to-point communication signal as an example, the electronic device receives the target point-to-point communication signal, determines the signal power of the target point-to-point communication signal, and compares the signal power of the target point-to-point communication signal with a first signal power threshold. If the signal power of the target point-to-point communication signal is less than or equal to the first signal power threshold, it is determined that the signal forwarding condition is not met. Conversely, if the signal power of the target point-to-point communication signal is greater than the first signal power threshold, it is further compared with a second signal power threshold. If the signal power of the target point-to-point communication signal is less than the second signal power threshold, it is determined that the signal forwarding condition is met; otherwise, it is determined that the signal forwarding condition is not met.
[0083] In another possible implementation, the signal power of the target point-to-point communication signal can be compared with a second signal power threshold. If the signal power of the target point-to-point communication signal is greater than or equal to the second signal power threshold, it is determined that the signal forwarding condition is not met. Conversely, if the signal power of the target point-to-point communication signal is less than the second signal power threshold, the signal power of the target point-to-point communication signal can be compared with a first signal power threshold. If the signal power of the target point-to-point communication signal is greater than the first signal power threshold, it is determined that the signal forwarding condition is met; otherwise, it is determined that the signal forwarding condition is not met.
[0084] In this embodiment, it is possible to determine whether the signal forwarding conditions are met based on the first signal quality threshold and the second signal quality threshold. This implementation process is simple, reduces the algorithm complexity, and can efficiently and accurately determine whether the signal forwarding conditions are met.
[0085] In one exemplary embodiment, the technical process of power amplifying the target point-to-point communication signal can be implemented in one of the following ways:
[0086] 1. Amplify the power of the target point-to-point communication signal based on the maximum output power of the power amplifier in the relay equipment.
[0087] In this way, the target point-to-point communication signal can be amplified according to the maximum power amplification capability of the power amplifier in the relay equipment, so as to ensure the signal quality of the target point-to-point communication signal after it is transmitted from the relay equipment to the greatest extent.
[0088] 2. Amplify the power of the target point-to-point communication signal according to the preset output power.
[0089] The preset output power is less than the maximum output power of the power amplifier. This eliminates the need to amplify the target point-to-point communication signal to the maximum output power of the power amplifier, thus ensuring improved signal quality and saving power consumption of the relay equipment to some extent.
[0090] In an optional embodiment of this application, the first electronic device can determine first indication information based on the communication quality of direct point-to-point communication with the second electronic device, and transmit a target point-to-point communication signal with the first indication information attached. When the relay signal receives the target point-to-point communication signal, identifies the first indication information, and determines, based on the first indication information, to perform either the step of power amplifying the target point-to-point communication signal according to the maximum output power of the power amplifier in the relay device, or the step of power amplifying the target point-to-point communication signal according to a preset output power.
[0091] For example, if the communication quality of direct point-to-point communication between the first electronic device and the second electronic device is less than a first communication quality threshold, the first indication information instructs the relay device to amplify the target point-to-point communication signal according to the maximum output power of the power amplifier in the relay device. If the communication quality of direct point-to-point communication between the first electronic device and the second electronic device is not less than the first communication quality threshold, the first indication information instructs the relay device to amplify the target point-to-point communication signal according to a preset output power.
[0092] In other words, the relay device can flexibly perform power amplification processing based on the communication quality indication of the direct point-to-point communication between the first electronic device and the second electronic device.
[0093] Please refer to Figure 4 This paper provides an optional technical process for power amplification of target point-to-point communication signals based on a preset output power. The technical process includes the following steps:
[0094] Step 401: Determine the power adjustment value based on the signal power of the target point-to-point communication signal and the preset output power.
[0095] Step 402: Adjust the gain of the power amplifier in the relay equipment according to the power adjustment value.
[0096] For example, the power adjustment value G is obtained by subtracting the signal power Pin of the target point-to-point communication signal from the preset output power Pout.
[0097] Step 403: After gain adjustment, the target point-to-point communication signal is amplified by a power amplifier to increase the signal power of the target point-to-point communication signal to a preset output power.
[0098] For example, if Pin = 20dBm and Pout is fixed at 25dBm, then G is 5dBm. If the gain of the power amplifier is adjusted to 5dBm, then the power amplifier with the adjusted gain can amplify the power of the target point-to-point communication signal to 25dBm.
[0099] In this embodiment, the relay device itself has a built-in power amplifier (PA), and the PA has an adjustable amplification gain. In some scenarios, the power amplifier in the relay device amplifies the input signal to its maximum power and outputs it. Furthermore, considering that the relay device can be a small wearable device such as headphones or watches, which is sensitive to power consumption, a more reasonable power output is set to balance transmission distance and power consumption. This means that while amplifying the power of the target point-to-point communication signal, excessive power consumption of the relay device can be avoided.
[0100] Furthermore, it is understood that the relay equipment is equipped with a transmit link and a receive link. The receive link receives the target point-to-point communication signal, and the power amplifier in the transmit link performs power amplification processing and transmits the amplified target point-to-point communication signal.
[0101] As described above, the relay device provided in this application, for example, processes target point-to-point communication signals as follows: Figure 5 As shown, the relay device receives the target point-to-point communication signal, detects the signal power of the target point-to-point communication signal, determines the comparison result between the signal power and a first signal power threshold and a second signal power threshold, and determines whether the relay device is working based on the comparison result. If the relay device is determined to be working, the target point-to-point communication signal is amplified and transmitted. Furthermore, the target point-to-point communication signal can be acquired at intervals of Δt.
[0102] In one exemplary embodiment, the relay device is a wearable device.
[0103] In one possible implementation, the relay device is a headset. This headset can be, for example, a wireless Bluetooth headset. Taking the example of a wireless Bluetooth headset as the relay device and two relay devices existing between the first and second electronic devices, such as... Figure 6 A schematic diagram of a point-to-point communication environment is shown. Furthermore, Figure 6 Antenna patterns for headphones and electronic devices are also exemplarily shown. It is understood that antenna transmission and reception quality is better when the optimal radiation direction of the antenna pattern is aligned. And, as... Figure 7 An exemplary diagram illustrates the placement of the communication antenna in a wireless Bluetooth headset.
[0104] In another possible implementation, the relay device is a smartwatch or smart bracelet, etc. Taking a smartwatch as the relay device and two relay devices existing between the first and second electronic devices as an example, such as... Figure 8 A schematic diagram of another point-to-point communication environment is shown. Furthermore, Figure 8 Antenna patterns for smartwatches and electronic devices are also illustrated. And, as... Figure 9 An exemplary diagram illustrates the location of the communication antenna in a smartwatch.
[0105] In another possible implementation, the relay device is a smart head-mounted device, such as AR glasses, VR glasses, or XR glasses. Taking AR glasses as an example where there are two relay devices between the first and second electronic devices, such as... Figure 10 A schematic diagram of another point-to-point communication environment is shown. Furthermore, Figure 10 Antenna patterns for AR glasses and electronic devices are also illustrated. And, as... Figure 11 An exemplary diagram illustrates the placement of the communication antenna in AR glasses.
[0106] In an optional embodiment of this application, each relay device used to forward target point-to-point communication signals between the first electronic device and the second electronic device can be a different type of relay device, and no specific limitation is made here.
[0107] In this embodiment of the application, in order to meet the need for improved coverage of the DTD communication system, other external devices are used as relay devices to perform point-to-point communication signal relay and amplification, thereby greatly expanding the communication distance. Moreover, each relay device can be used immediately upon connection, making it convenient and portable.
[0108] In one exemplary embodiment, a point-to-point communication method is also provided for a first electronic device, the method comprising: receiving a first point-to-point communication signal, which has been power amplified and processed by a target relay device, based on a point-to-point communication function.
[0109] The first point-to-point communication signal is a signal sent by the second electronic device to the first electronic device based on the point-to-point communication function; the first point-to-point communication signal output by the target relay device is used for reception by the first electronic device or other relay devices.
[0110] In this embodiment of the application, as described in the previous embodiments, in addition to the case where the first electronic device can act as a transmitter to send point-to-point signals to the second electronic device, the second electronic device can also act as a transmitter to send point-to-point signals to the first electronic device. The first point-to-point communication signal is a signal sent from the second electronic device to the first electronic device. Based on this, the process of the first electronic device receiving the first point-to-point communication signal will be described.
[0111] It is understandable that, as mentioned above, there may be multiple relay devices between the first electronic device and the second electronic device. Here, the target relay device is the last relay device that performs power amplification processing on the first point-to-point communication signal before the first electronic device receives the first point-to-point communication signal.
[0112] For example, such as Figure 12 The diagram illustrates a point-to-point communication environment. The link through which the second electronic device sends signals to the first electronic device is the uplink link, and the link through which the first electronic device sends signals to the second electronic device is the downlink link. During the process of the second electronic device sending signals to the first electronic device, the first point-to-point communication signal transmitted by relay device 1 is received by the first electronic device. Therefore, relay device 1 is the target relay device. Further, with... Figure 12 For example, the signal forwarding process of the two links is as follows:
[0113] Uplink signal link: The first point-to-point communication signal is output from the second electronic device; after radiating through the path of link 1, the first point-to-point communication signal enters the relay device 2; the relay device 2 amplifies the signal and outputs it, and the output first point-to-point communication signal radiates through the path of link 2 and enters the relay device 1; the relay device 1 amplifies the signal and outputs it, after radiating through the path of link 3, the relay device enters the first electronic device; the first electronic device demodulates and analyzes the first point-to-point communication signal and displays the carried content, such as playing voice or displaying text content.
[0114] Downlink signal link: The second point-to-point communication signal is output from the first electronic device; after radiating through the path of link 4, the second point-to-point communication signal enters the relay device 1; the relay device 1 amplifies the signal and outputs it, and the output second point-to-point communication signal is radiated through the path of link 5 and enters the relay device 2; the relay device 2 amplifies the signal and outputs it, and after radiating through the path of link 6, the signal enters the second electronic device; the second electronic device demodulates and analyzes the second point-to-point communication signal.
[0115] The aforementioned point-to-point communication method, based on point-to-point communication functionality, receives a first point-to-point communication signal output by a target relay device after power amplification. This first point-to-point communication signal is a signal sent from the second electronic device to the first electronic device based on point-to-point communication functionality; the first point-to-point communication signal output by the target relay device is used for reception by the first electronic device or other relay devices. Because the point-to-point signal transmitted between the first and second electronic devices undergoes power amplification by the relay device, it compensates for signal attenuation during transmission, ensuring sufficient power for the transmitted point-to-point signal to reach the first electronic device. This guarantees effective communication between the two electronic devices even in the absence of terrestrial cellular signal service.
[0116] In an exemplary embodiment, the method further includes: upon receiving first point-to-point communication signals output by a plurality of target relay devices respectively, determining candidate point-to-point communication signals to be processed from the plurality of first point-to-point communication signals based on the signal quality of each first point-to-point communication signal.
[0117] If multiple relay devices exist between the first electronic device and the second electronic device, then multiple relay devices may serve as target relay devices. In this case, the first electronic device may receive the first point-to-point communication signal simultaneously or multiple times in a time-division manner. Since only one point-to-point communication signal needs to be demodulated and analyzed, one first point-to-point communication signal can be selected from the multiple signals for retention and demodulation. For example... Figure 13 As shown, both relay device 2 and relay device 3 can send the first point-to-point communication signal to the first electronic device through different signal links.
[0118] In one possible implementation, if the first point-to-point communication signal output by each target relay device can be received by the first electronic device, then each first point-to-point communication signal can be demodulated. Therefore, the first electronic device can use the first point-to-point communication signal received first in time as the candidate point-to-point communication signal to be processed.
[0119] In another possible implementation, if multiple first point-to-point communication signals are received within a first time period, the first electronic device determines the signal quality of each first point-to-point communication signal and selects the signal with the highest signal quality as a candidate point-to-point communication signal.
[0120] In this embodiment of the application, by filtering multiple first point-to-point communication signals, it is ensured that the first point-to-point communication signals can be effectively demodulated and analyzed in the future, thereby ensuring effective communication with the second electronic device.
[0121] Please refer to Figure 14For a scenario where a first electronic device sends a second point-to-point communication signal to a second electronic device, an optional technical process for outputting the second point-to-point communication signal is provided, which may include the following steps:
[0122] Step 1401: When sending a second point-to-point communication signal to a second electronic device based on the point-to-point communication function, determine whether the first communication condition is met based on the communication quality of direct point-to-point communication with the second electronic device.
[0123] When the first and second electronic devices are close to each other, they can communicate directly point-to-point. The point-to-point communication signal output by the second electronic device is directly received by the first electronic device without the need for relaying. However, if the two devices are far apart or the environment causes excessive attenuation of the point-to-point communication signal, they cannot communicate directly point-to-point.
[0124] In this embodiment of the application, by setting a first communication condition, it is determined whether the first electronic device and the second electronic device can communicate directly, thereby outputting a second point-to-point communication signal of the corresponding type.
[0125] In one possible implementation, determining whether a first communication condition is met based on the communication quality of direct point-to-point communication with the second electronic device includes: determining the signal quality of a reference point-to-point communication signal sent by the second electronic device; if the signal quality of the reference point-to-point communication signal is less than a reference quality threshold, then determining that the first communication condition is met; if the signal quality of the reference point-to-point communication signal is not less than the reference quality threshold, then determining that the first communication condition is not met.
[0126] Optionally, the reference point-to-point communication signal is the point-to-point signal most recently received from the second electronic device. This point-to-point signal can be a signal containing actual communication data or a test signal for testing the point-to-point communication quality between the first electronic device and the second electronic device, without any specific limitation.
[0127] Optionally, signal quality can be represented by signal power or other signal parameters, which are not fully illustrated here.
[0128] Taking signal power as an example of signal quality, the corresponding reference quality threshold is the reference signal power threshold. The first electronic device determines the signal power of the reference point-to-point communication signal and compares it with the reference signal power threshold. If the signal power of the reference point-to-point communication signal is less than the reference signal power threshold, it means that the signal attenuation is significant during transmission to the first electronic device, resulting in lower signal quality. In this case, the first communication condition is met, and the subsequent second point-to-point communication signal needs to be forwarded via a relay device. Conversely, if the signal power of the reference point-to-point communication signal is not less than the reference signal power threshold, it means that the signal attenuation is minimal during transmission to the first electronic device, resulting in higher signal quality. In this case, the first communication condition is not met, and the subsequent second point-to-point communication signal does not need to be forwarded via a relay device. The second electronic device can receive the valid second point-to-point communication signal, thus saving power consumption of the relay device and shortening the time it takes for the second point-to-point communication signal to reach the second electronic device.
[0129] Step 1402: If the first communication condition is met, output the second point-to-point communication signal of the first type so that the second electronic device can directly receive the second point-to-point communication signal of the first type.
[0130] Step 1403: If the first communication condition is not met, output the second type of second point-to-point communication signal so that other relay devices can forward the second type of second point-to-point communication signal.
[0131] In the first type, the second point-to-point communication signal can be received and demodulated by the second electronic device, but cannot be received and amplified by the relay device. In the second type, the second point-to-point communication signal can be received and demodulated by the second electronic device and can also be received and amplified by the relay device.
[0132] In one possible implementation, the second point-to-point communication signal of the first type includes first identification information. The relay device cannot obtain the second point-to-point communication signal of the first type. Alternatively, the relay device can obtain the second point-to-point communication signal of the first type but ignores the second point-to-point communication signal of the first type after recognizing the first identification information therein.
[0133] The second point-to-point communication signal of the second type includes second identification information. After the relay device can obtain the second point-to-point communication signal of the second type and identify the second identification information therein, it can further determine whether the signal forwarding conditions are met, and perform power amplification processing on the signal if the signal forwarding conditions are met.
[0134] In an optional embodiment of this application, during the communication between the second electronic device and the second electronic device based on the second type of second point-to-point communication signal, similarly, the first point-to-point communication signal sent by the second electronic device to the first electronic device is also of the first type. Optionally, during this process, a step of determining whether the first communication condition is met based on the signal quality of the reference point-to-point communication signal sent by the second electronic device is executed every second time interval, thereby continuing to communicate with the second electronic device based on the first type of point-to-point communication signal if the first communication condition is met, thus improving communication efficiency.
[0135] In this embodiment of the application, by determining whether the first communication condition is met, the type of signal output by the first electronic device is determined, so that the current signal type is consistent with the current communication scenario, and the signal quality and signal transmission efficiency are balanced.
[0136] In one embodiment, the method further includes: during cellular communication, detecting the signal quality of the current cellular signal; determining whether preset cellular communication conditions are met based on the signal quality of the cellular signal; and if the preset cellular communication conditions are not met, enabling point-to-point communication.
[0137] In an optional embodiment of this application, the signal quality of the cellular signal is compared with a preset cellular signal quality threshold. If the signal quality of the cellular signal is less than the preset cellular signal quality threshold, it is determined that the preset cellular communication conditions are not met, meaning that the current cellular communication quality is poor, and then point-to-point communication is enabled. Otherwise, cellular communication continues.
[0138] In an optional embodiment of this application, during the communication process based on the point-to-point communication function, it is determined at each first time interval whether the preset cellular communication conditions are met; if it is determined that the preset cellular communication conditions are met, the point-to-point communication function is stopped.
[0139] In other words, at each first interval, it is determined whether the preset cellular communication conditions are met, and based on the result, it is determined whether to switch back to cellular communication. This ensures that electronic devices can switch to cellular communication in a timely manner.
[0140] Based on this, please refer to Figure 15 The diagram illustrates the communication process of the first electronic device. The first electronic device first performs cellular signal detection, determining whether preset cellular communication conditions are met based on the signal quality. If the preset cellular communication conditions are not met (i.e., there is no cellular signal), then point-to-point communication is activated to establish a local area network and conduct point-to-point communication with the second electronic device. Furthermore, cellular signal detection can continue at first time intervals.
[0141] It is understood that the other limitations on the first and second point-to-point communication signals mentioned above can be found in the description of the target point-to-point communication signals above, and will not be repeated here.
[0142] It is understandable that the solution provided by the point-to-point communication method with the first electronic device as the execution subject is similar to the solution described in the point-to-point communication method with the relay device as the execution subject. Therefore, other limitations on the point-to-point communication method with the first electronic device as the execution subject can be found in the limitations on the point-to-point communication method with the relay device as the execution subject above, and will not be repeated here.
[0143] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0144] Based on the same inventive concept, this application also provides a point-to-point communication device for implementing the point-to-point communication method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more point-to-point communication device embodiments provided below can be found in the limitations of the point-to-point communication method described above, and will not be repeated here.
[0145] In one embodiment, such as Figure 16 As shown, a point-to-point communication device 1600 is provided for relay equipment. The device includes a receiving module 1601 and a transmitting module 1602, wherein:
[0146] Receiver module 1601 is used to receive target point-to-point communication signals, which are signals sent by the first electronic device to the second electronic device based on the point-to-point communication function.
[0147] Transmitting module 1602 is used to amplify and transmit the target point-to-point communication signal, so that other relay devices can forward the amplified target point-to-point communication signal to the second electronic device, or the second electronic device can directly receive the amplified target point-to-point communication signal.
[0148] In an optional embodiment of this application, the receiving module 1601 is specifically used to: acquire the target point-to-point communication signal output by the first electronic device; or, acquire the target point-to-point communication signal output by other relay devices after power amplification processing.
[0149] In an optional embodiment of this application, the device further includes a condition detection module, configured to: determine the signal quality of the target point-to-point communication signal; determine whether the signal forwarding conditions are met based on the signal quality of the target point-to-point communication signal; and if the signal forwarding conditions are met, perform the step of power amplification processing of the target point-to-point communication signal and transmit it.
[0150] In an optional embodiment of this application, the detection module is specifically used to: determine that the signal forwarding condition is met if the signal quality of the target point-to-point communication signal is greater than a first signal quality threshold and less than a second signal quality threshold.
[0151] In an optional embodiment of this application, the transmitting module 1602 is specifically used to: amplify the target point-to-point communication signal according to the maximum output power of the power amplifier in the relay device; or, amplify the target point-to-point communication signal according to a preset output power.
[0152] In an optional embodiment of this application, the transmitting module 1602 is specifically used to: determine a power adjustment value based on the signal power of the target point-to-point communication signal and a preset output power; adjust the gain of the power amplifier in the relay device based on the power adjustment value; and after the gain adjustment, use the power amplifier to amplify the power of the target point-to-point communication signal to amplify the signal power of the target point-to-point communication signal to the preset output power.
[0153] In an optional embodiment of this application, the relay device is a wearable device.
[0154] In one embodiment, such as Figure 17 As shown, a point-to-point communication device 1700 is provided for relay equipment. The device includes: a receiving module 1701, wherein:
[0155] The receiving module 1701 is used to receive a first point-to-point communication signal output by the target relay device after power amplification based on the point-to-point communication function; wherein, the first point-to-point communication signal is a signal sent by the second electronic device to the first electronic device based on the point-to-point communication function; the first point-to-point communication signal output by the target relay device is used for reception by the first electronic device or other relay devices.
[0156] In an optional embodiment of this application, the device further includes a signal determination module, configured to: upon receiving first point-to-point communication signals output by multiple target relay devices respectively, determine candidate point-to-point communication signals to be processed from the multiple first point-to-point communication signals based on the signal quality of each first point-to-point communication signal.
[0157] In an optional embodiment of this application, the device further includes a type determination module, configured to: when sending a second point-to-point communication signal to a second electronic device based on the point-to-point communication function, determine whether a first communication condition is met based on the communication quality of direct point-to-point communication with the second electronic device; if the first communication condition is met, output a second point-to-point communication signal of the first type so that the second electronic device can directly receive the second point-to-point communication signal of the first type; if the first communication condition is not met, output a second point-to-point communication signal of the second type so that other relay devices can forward the second point-to-point communication signal of the second type.
[0158] In an optional embodiment of this application, the type determination module is specifically used to: determine the signal quality of the reference point-to-point communication signal sent by the second electronic device; if the signal quality of the reference point-to-point communication signal is less than a reference quality threshold, then determine that the first communication condition is met; if the signal quality of the reference point-to-point communication signal is not less than the reference quality threshold, then determine that the first communication condition is not met.
[0159] In an optional embodiment of this application, the device further includes a cellular detection module, used to: detect the signal quality of the current cellular signal during cellular communication; determine whether the preset cellular communication conditions are met based on the signal quality of the cellular signal; and enable point-to-point communication if the preset cellular communication conditions are not met.
[0160] In an optional embodiment of this application, the device further includes a duration detection module, used to: determine whether a preset cellular communication condition is met at each first duration interval during communication based on the point-to-point communication function; and stop the point-to-point communication function if the preset cellular communication condition is met.
[0161] Each module in the aforementioned point-to-point communication device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0162] In one exemplary embodiment, an electronic device is provided, the internal structure of which can be shown as follows: Figure 18As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a point-to-point communication method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0163] Those skilled in the art will understand that Figure 18 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0164] In one exemplary embodiment, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0165] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0166] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0167] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0168] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0169] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0170] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A point-to-point communication method, characterized in that, For use with relay equipment, the method includes: Receive target point-to-point communication signal, wherein the target point-to-point communication signal is a signal sent by the first electronic device to the second electronic device based on the point-to-point communication function; The target point-to-point communication signal is amplified and transmitted, so that other relay devices can process the amplified target point-to-point communication signal and forward it to the second electronic device, or the second electronic device can directly receive the amplified target point-to-point communication signal.
2. The method according to claim 1, characterized in that, The receiving of the target point-to-point communication signal includes: Acquire the target point-to-point communication signal output by the first electronic device; or acquire the target point-to-point communication signal output by other relay devices after power amplification processing.
3. The method according to claim 1, characterized in that, The method further includes: Determine the signal quality of the target point-to-point communication signal; Determine whether the signal forwarding conditions are met based on the signal quality of the target point-to-point communication signal; If the signal forwarding conditions are met, then the step of power amplifying and transmitting the target point-to-point communication signal is performed.
4. The method according to claim 3, characterized in that, The step of determining whether the signal forwarding conditions are met based on the signal quality of the target point-to-point communication signal includes: If the signal quality of the target point-to-point communication signal is greater than the first signal quality threshold and less than the second signal quality threshold, then the signal forwarding condition is determined to be met.
5. The method according to claim 1, characterized in that, The power amplification process for the target point-to-point communication signal includes: The target point-to-point communication signal is amplified based on the maximum output power of the power amplifier in the relay device; or... The target point-to-point communication signal is amplified according to the preset output power.
6. The method according to claim 5, characterized in that, The step of amplifying the target point-to-point communication signal according to a preset output power includes: The power adjustment value is determined based on the signal power of the target point-to-point communication signal and the preset output power; The gain of the power amplifier in the relay device is adjusted according to the power adjustment value; After gain adjustment, the power amplifier is used to amplify the power of the target point-to-point communication signal to the preset output power.
7. The method according to any one of claims 1 to 6, characterized in that, The relay device is a wearable device.
8. A point-to-point communication method, characterized in that, For a first electronic device, the method includes: Based on the point-to-point communication function, the first point-to-point communication signal output by the target relay device after power amplification is received; The first point-to-point communication signal is a signal sent by the second electronic device to the first electronic device based on the point-to-point communication function; the first point-to-point communication signal output by the target relay device is used for reception by the first electronic device or other relay devices.
9. The method according to claim 8, characterized in that, The method further includes: Upon receiving the first point-to-point communication signals output by the multiple target relay devices respectively, candidate point-to-point communication signals to be processed are determined from the multiple first point-to-point communication signals based on the signal quality of each first point-to-point communication signal.
10. The method according to claim 8, characterized in that, The method further includes: When sending a second point-to-point communication signal to the second electronic device based on the point-to-point communication function, it is determined whether the first communication condition is met based on the communication quality of direct point-to-point communication with the second electronic device. If the first communication condition is met, the second point-to-point communication signal of the first type is output so that the second electronic device can directly receive the second point-to-point communication signal of the first type. If the first communication condition is not met, the second type of the second point-to-point communication signal is output so that other relay devices can forward the second type of the second point-to-point communication signal.
11. The method according to claim 10, characterized in that, The step of determining whether the first communication condition is met based on the communication quality of the direct point-to-point communication with the second electronic device includes: Determine the signal quality of the reference point-to-point communication signal transmitted by the second electronic device; If the signal quality of the reference point-to-point communication signal is less than the reference quality threshold, then the first communication condition is determined to be met. If the signal quality of the reference point-to-point communication signal is not less than the reference quality threshold, then it is determined that the first communication condition is not met.
12. The method according to claim 8, characterized in that, The method further includes: During cellular communication, the signal quality of the current cellular signal is detected; Determine whether the preset cellular communication conditions are met based on the signal quality of the cellular signal; If the preset cellular communication conditions are not met, then the point-to-point communication function is enabled.
13. The method according to claim 12, characterized in that, The method further includes: During the communication process based on the point-to-point communication function, it is determined at each first time interval whether the preset cellular communication conditions are met; If the preset cellular communication conditions are met, the point-to-point communication function is stopped.
14. A point-to-point communication device, characterized in that, For use in relay equipment, the device includes: The receiving module is used to receive the target point-to-point communication signal, which is a signal sent by the first electronic device to the second electronic device based on the point-to-point communication function; The transmitting module is used to amplify the power of the target point-to-point communication signal and transmit it, so that other relay devices can process the amplified target point-to-point communication signal and forward it to the second electronic device, or, the second electronic device can directly receive the amplified target point-to-point communication signal.
15. A point-to-point communication device, characterized in that, For a first electronic device, the means comprising: The receiving module is used to receive the first point-to-point communication signal output by the target relay device after power amplification based on the point-to-point communication function; The first point-to-point communication signal is a signal sent by the second electronic device to the first electronic device based on the point-to-point communication function; the first point-to-point communication signal output by the target relay device is used for reception by the first electronic device or other relay devices.
16. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 13.
17. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 13.
18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.