Dual Connection Code Mechanism for Cross-Network Device Pairing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current wireless screen projection technologies face challenges in establishing connections across different network environments, particularly when devices are not within the same local area network (LAN), leading to poor connection code compatibility and low device connection success rates.
Innovation Solution
A method that generates a first connection code based on device information and sends it along with a request for a second connection code to a server, allowing the server to store both codes in association. The first code is used for LAN verification, while the second code is used for WAN verification, enabling connections across both LAN and WAN environments.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a single connection code is used for both LAN and WAN environments, then adaptability is improved, but connection security deteriorates
Solution Approach 1:
The connection code is segmented into two distinct types: first connection codes for LAN environments and second connection codes for WAN environments. Each type serves its specific network context, allowing the system to adapt to different network scenarios while maintaining appropriate security measures for each environment.
Solution Approach 2:
Instead of using a single universal connection code, the system inverts the approach by using environment-specific codes. The projection receiving end determines which type of connection code to generate based on its network environment, ensuring both adaptability and security.
2Reliability
If environment-specific connection codes are used for LAN and WAN, then connection security is improved, but device complexity increases
Solution Approach 1:
The projection receiving end automatically determines its network environment and generates the appropriate type of connection code without user intervention. The system self-adapts to the network context, eliminating the need for users to manually select or manage different code types.
Solution Approach 2:
The connection code generation system is designed to handle multiple functions: it can generate both first connection codes for LAN and second connection codes for WAN based on the same underlying mechanism. This multi-functionality reduces the need for separate systems while maintaining security.
3Adaptability or versatility
If multiple connection codes are generated for different networks, then adaptability is improved, but ease of operation deteriorates
Solution Approach 1:
The system automatically handles the complexity of generating and managing different connection code types. Users simply need to provide their projection code, and the system self-adapts to the network environment, maintaining operational simplicity while ensuring compatibility.
Solution Approach 2:
The projection receiving end acts as an intermediary that translates the user's single projection code into the appropriate connection code type based on the network environment. This intermediary function shields users from the complexity of multiple code types while maintaining adaptability.
Data Source
AI summary
The present disclosure discloses a method, equipment, apparatus for connecting devices, and storage medium. The method includes: generating a first connection code based on device information, and sending the first connection code and a request for a second connection code to a server, so that the server stores the first connection code and the second connection code in association, where the first connection code is used as at least one of a verification code or an address code for a local area network, and the second connection code is used as a verification code for a wide area network; displaying the first or second connection code to receive a connection request sent by the first device through the local area network or the wide area network, where the connection request is generated by the first device based on the first or second connection code; and in response to the connection request, connecting to the first device through the local area network or wide area network. According to the present disclosure, in the case of being compatible with the network environment of both local area networks and wide area networks, device connection success rate is improved, and the technical problem of poor connection code compatibility and low device connection success rate in the prior art is solved.


