RSSI-Based Connection Selection for LAN and P2P Device Links
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing communication methods face challenges in ensuring a high success rate for establishing signaling connections and high-speed Wi-Fi connections between electronic devices, particularly in local area networks, due to uncertainties in device proximity and signal strength.
Innovation Solution
The method involves determining distances between electronic devices and routers using received signal strength indicator (RSSI) fields in feedback packets, and establishing connections based on preset conditions to optimize the use of local and non-local area networks, such as CoAP and Bluetooth, thereby reducing resource wastage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If CoAP medium is used for device discovery in local area network, then discovery speed is improved, but connection establishment success rate deteriorates due to unknown device proximity
Solution Approach 1:
The patent calculates the distance between devices before attempting to establish a connection. By performing this distance assessment action in advance, the system can determine whether the devices are within the appropriate range for successful connection, thereby preventing failed connection attempts while maintaining fast discovery speed through CoAP.
2Device complexity
If signaling connection is established blindly without distance verification, then connection establishment process is simplified, but resource waste increases due to failed connection attempts
Solution Approach 1:
The patent performs distance calculation as a preliminary step before connection establishment. This advance verification prevents wasted resources on failed connection attempts by identifying unsuitable devices early in the discovery process, while the implementation remains efficient by using existing RSSI data from CoAP packets.
Solution Approach 2:
The system uses RSSI (Received Signal Strength Indicator) feedback from CoAP packets to calculate distance and determine connection suitability. This feedback mechanism provides real-time information about device proximity, enabling intelligent decision-making about whether to proceed with connection establishment, thus avoiding resource waste.
3Productivity
If high-speed Wi-Fi connection is attempted without distance verification, then service transmission efficiency is maximized, but connection failure rate increases
Solution Approach 1:
The patent calculates distance using RSSI data before attempting to establish high-speed Wi-Fi connections. This preliminary verification ensures that devices are within appropriate range, thereby maximizing service transmission efficiency by establishing Wi-Fi connections only when conditions are favorable, while minimizing failure rates by avoiding attempts with distant devices.
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
This approach enhances the success rate of establishing signaling and data connections by optimizing connection methods based on distance and signal strength, minimizing failures and resource waste.
Implementation Method 1
the first packet includes a first field, and the first field indicates signal strength of the second electronic device... determining a first parameter based on the first field, where the first parameter indicates a distance between the second electronic device and the router... the first field is a received signal strength indicator (received signal strength indicator, RSSI) field
Data Source
Figure 1~2
Figure 3
Figure 4~5
AI summary
This application provides a communication method and a communication apparatus. The method includes: A transmit end device receives a first packet from a receive end device via a router, where the first packet includes a first field that indicates signal strength of the receive end device, and further includes a second field that indicates signal strength of the router. The transmit end device determines a distance between the receive end device and the router based on the first field, determines a distance between the router and the transmit end device based on the second field, and establishes a signaling connection to the receive end device through a local area network when the foregoing two distances meet a specific condition. In addition, when a distance between the transmit end device and the receive end device meets a specific condition, the transmit end device establishes a data connection to the receive end device in a point-to-point manner. According to the communication method and the communication apparatus in this application, a success rate of establishing a signaling connection by an electronic device through a local area network can be ensured as much as possible, and a success rate of establishing a data connection in a point-to-point manner can be ensured as much as possible.