WiFi signal connection method and device

By creating and processing multiple network nodes to generate WiFi networks of different frequency bands, and connecting WiFi signals of different frequency bands at the same time, the problem of the transmission rate of WiFi signal modules in the prior art decreases when multiple users are connected is improved, and data transmission rate and network stability are improved.

CN119743774APending Publication Date: 2025-04-01SHENZHEN FEITENGYUN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411845071.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

The existing WiFi signal modules reduce the data transmission rate and the network is congested when multiple users are connected simultaneously, especially in environments with strong signals and dense users. In areas with poor signal coverage, users may encounter the problem of slow network speed or disconnection.

Method used

By creating first and second network nodes and processing these nodes respectively to generate the first and second wireless network frequency bands, scanning and selecting the best WiFi network for connection, it is possible to simultaneously connect WiFi signals of different frequency bands.

Benefits of technology

Make full use of resources in the two frequency bands to improve data transmission speed, optimize network access speed, reduce network congestion and disconnection problems, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119743774A_ABST
    Figure CN119743774A_ABST
Patent Text Reader

Abstract

The invention provides a WiFi signal connection method and device, and is based on a WiFi signal device, the WiFi signal device comprises a main control unit, a functional chip connected with the main control unit, and an antenna connected with the functional chip, and the method comprises the following steps: creating a first network node; driving the functional chip to load, and generating a second network node; activating the first network node and the second network node, and respectively configuring network files to obtain a configured first network node and a configured second network node; respectively processing the configured first network node and the configured second network node to obtain a first wireless network frequency band and a second wireless network frequency band; and scanning the first wireless network frequency band and the second wireless network frequency band, and selecting and connecting a WiFi network according to a scanning result. The WiFi signals of two different frequency bands are connected at the same time, so that resources of the two frequency bands can be fully utilized, and the data transmission rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a WiFi signal connection method and device. Background Art

[0002] In the development of wireless communication technology, WiFi technology has become an indispensable part of modern life. With the widespread use of mobile devices and smart home devices, higher requirements are placed on the coverage, stability and transmission rate of WiFi networks. As the hardware basis for wireless connection, the performance of WiFi signal modules directly affects the network experience. With the increasing richness of network applications and the increasing demand of users for high-speed networks, existing WiFi signal modules face the dual challenges of increasing transmission rate and improving connection stability.

[0003] WiFi modules in the prior art can support single or dual-band signals, such as 2.4GHz and 5GHz, but most of them can only connect to WiFi signals of one band at the same time. This means that when multiple users are connected to the same WiFi hotspot at the same time, especially in an environment with strong signals and dense users, the data transmission rate will drop significantly, resulting in network congestion and a decline in user experience. In order to optimize Internet speed, it is often necessary to update broadband, routers, and Internet access devices. In addition, in areas with poor signal coverage, such as locations far away from routers or environments with many physical obstacles, users may encounter slow network speeds or even disconnection problems.

[0004] Therefore, it is necessary to provide a method and device that can simultaneously connect to WiFi signals of different frequency bands to optimize Internet access speed. Summary of the invention

[0005] In view of this, it is necessary to provide a method and device that can simultaneously connect to WiFi signals of different frequency bands to solve the above problems.

[0006] An embodiment of the present application provides a WiFi signal connection method, based on a WiFi signal device, wherein the WiFi signal device includes a main control unit, a function chip connected to the main control unit, and an antenna connected to the function chip, wherein the method includes the following steps:

[0007] Creating a first network node;

[0008] Driving the functional chip to load and generate a second network node;

[0009] activating the first network node and the second network node, and configuring a network file to obtain a configured first network node and a configured second network node;

[0010] Respectively processing the configured first network node and the configured second network node to obtain a first wireless network frequency band and a second wireless network frequency band;

[0011] Scan the first wireless network frequency band and the second wireless network frequency band, and select and connect to a WiFi network according to the scanning results.

[0012] In at least one embodiment of the present application, the network file includes a first network file and a second network file; the first network file is used for a security protocol of a wireless network; and the second network file is used for automatically acquiring an IP address.

[0013] In at least one embodiment of the present application, the method of "activating the first network node and the second network node, and configuring network files to obtain the configured first network node and the configured second network node" includes: configuring the first network file on the first network node to generate a first wireless network; configuring the second network file on the first network node to generate a second wireless network.

[0014] In at least one embodiment of the present application, the method of "respectively processing the configured first network node and the configured second network node to obtain a first wireless network frequency band and a second wireless network frequency band;" includes: configuring a first frequency band channel according to the first wireless network to obtain the first wireless network frequency band; configuring a second frequency band channel according to the second wireless network to obtain the second wireless network frequency band.

[0015] In at least one embodiment of the present application, the first frequency band channel is 2.4 GHz, and the second frequency band channel is 5 GHz.

[0016] In at least one embodiment of the present application, the main control unit includes a driving module, a configuration module and a processing module; the driving module is electrically connected to the configuration module and the processing module, wherein the driving module is used to drive the loading of WiFi; the configuration module is used to configure the network file according to the driving module; and the processing module is used to transmit data.

[0017] In at least one embodiment of the present application, the configuration module includes a first configuration unit and a second configuration unit; the first configuration unit is used to configure network files for the first network node and the second network node; the second configuration unit is used to configure frequency band channels for the first wireless network and the second wireless network.

[0018] In at least one embodiment of the present application, the processing module includes a first processing unit and a second processing unit; the first processing unit is used to process network files and connect to a WiFi network; and the second processing unit is used to process data conversion.

[0019] In at least one embodiment of the present application, both the functional chip and the antenna support dual-band channels.

[0020] An embodiment of the present application provides a WiFi signal connection device, which, when in use, runs any one of the WiFi signal connection methods described above.

[0021] The above-mentioned method and device for connecting a WiFi signal create a first network node and a second network node, and process the first network node and the second network node respectively to obtain a first frequency band node and a second frequency band node. Then scan the first frequency band node and the second frequency band node, and select and connect the WiFi network according to the scanning results. By connecting two WiFi signals of different frequency bands at the same time, the resources of the two frequency bands can be fully utilized to improve the data transmission rate. Therefore, according to the WiFi signal strength and the rate supported by WiFi, large data packets are placed on a hotspot with better WiFi for transmission to achieve a faster Internet access rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a flowchart of a WiFi signal connection method in an embodiment of the present application.

[0023] Figure 2 This is a structural block diagram of a WiFi signal connection device in an embodiment of the present application.

[0024] Main component symbols

[0025] 100. A WiFi signal connection device; 10. Antenna; 20. Function chip; 30. Main control unit. DETAILED DESCRIPTION

[0026] The embodiments of the present application will be 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 the embodiments.

[0027] It should be noted that when a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a central component at the same time. When a component is considered to be "located on" another component, it may be directly located on the other component or there may be a central component at the same time. The terms "top", "bottom", "upper", "lower", "left", "right", "front", "back", and similar expressions used herein are for illustrative purposes only.

[0028] An embodiment of the present application provides a WiFi signal connection method, based on a WiFi signal device, wherein the WiFi signal device includes a main control unit, a function chip connected to the main control unit, and an antenna connected to the function chip, wherein the method includes the following steps:

[0029] Creating a first network node;

[0030] Driving the functional chip to load and generate a second network node;

[0031] activating the first network node and the second network node, and configuring a network file to obtain a configured first network node and a configured second network node;

[0032] Respectively processing the configured first network node and the configured second network node to obtain a first wireless network frequency band and a second wireless network frequency band;

[0033] Scan the first wireless network frequency band and the second wireless network frequency band, and select and connect to a WiFi network according to the scanning results.

[0034] The above-mentioned method and device for connecting a WiFi signal create a first network node and a second network node, and process the first network node and the second network node respectively to obtain a first frequency band node and a second frequency band node. Then scan the first frequency band node and the second frequency band node, and select and connect the WiFi network according to the scanning results. By connecting two WiFi signals of different frequency bands at the same time, the resources of the two frequency bands can be fully utilized to improve the data transmission rate. Therefore, according to the WiFi signal strength and the rate supported by WiFi, large data packets are placed on a hotspot with better WiFi for transmission to achieve a faster Internet access rate.

[0035] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0036] according to Figure 1-Figure 2 In an embodiment of the present application, a WiFi signal connection method is provided, based on a WiFi signal device, the WiFi signal device includes a main control unit 30, a function chip 20 connected to the main control unit 30, and an antenna 10 connected to the function chip 20, the method includes the following steps:

[0037] S100, creating a first network node;

[0038] S200, driving the function chip 20 to load and generate a second network node;

[0039] S300, activating the first network node and the second network node, and configuring a network file to obtain a configured first network node and a configured second network node;

[0040] S400, respectively processing the configured first network node and the configured second network node to obtain a first wireless network frequency band and a second wireless network frequency band;

[0041] S500: Scan the first wireless network frequency band and the second wireless network frequency band, and select and connect to a WiFi network according to the scanning result.

[0042] Specifically, the main function of the antenna 10 in the WiFi signal device is to receive and transmit radio waves, convert wired signals into wireless signals for transmission, or receive and convert wireless signals into wired signals. The antenna 10 converts the electrical signal from the function chip 20 into radio waves and radiates it to the surrounding environment. At the same time, it can also convert the radio waves received from the surrounding into electrical signals and transmit them back to the function chip 20 for processing. The function chip 20 is responsible for receiving and sending wireless signals, and realizing the conversion processing between data and wireless signals. The main control unit 30 is the core processing and management of the operation of the entire WiFi signal device. The main control unit 30 is mainly responsible for loading the driver of the function chip 20, calling the start.sh file, connecting two WiFis of different frequency bands and processing the data transmitted by the packaged WiFi. Thus, the connection between the main control unit 30 and the function chip 20 is formed, and then the connection between the function chip 20 and the antenna 10 is ensured to receive the signal from the antenna 10 and transmit it to the main control unit 30 through the function chip 20, and finally realize the reception and transmission of wireless signals, as well as the processing and transmission of data.

[0043] Furthermore, the main control unit 30 is a processor, preferably an RV1126 system, which is mainly used for IPC / CVR and AI related applications. The RV1126 system is based on a quad-core ARMCortex-A7 32-bit core and has a built-in NPU with 2T computing power; the function chip 20 is a wireless network card chip, preferably an RTL8852BS chip, which adopts a 2T2R (2 transmit and 2 receive) configuration; the antenna 10 preferably adopts a high-gain array antenna 10. Among them, the function chip 20RTL8852BS supports dual-band operation, namely 2.4GHz and 5GHz, and the high-gain array antenna 10 also supports channels in these two frequency bands to maximize signal coverage and quality. The high-gain array antenna 10 used supports dual-band operation, so that 2.4GHz and 5GHz signals can be processed on the same antenna 10. At the same time, efficient transmission and reception of signals in different frequency bands are ensured. The high-gain characteristic improves the signal strength and transmission distance, and reduces the signal attenuation problem caused by long-distance transmission.

[0044] More preferably, step S100: by creating a virtual WiFi interface in the Linux system, such as the first network node (wlan0).

[0045] Step S200: Load the driver of the functional chip 20, and the system automatically generates a second network node (wlan1). When the driver of the functional chip 20 is loaded, the wireless network card device will be initialized and registered. The driver will use the wireless network interface management mechanism of Linux to configure the network interface to create a network node that can be used for the 2.4GHz frequency band and a network node for the 5GHz frequency band. These two network nodes correspond to the wireless transmission capabilities of two different frequency bands supported by the RTL8852BS chip. Thereby generating a second network node and a virtual first network node. It enables the simultaneous processing of network connections in two different frequency bands, thereby optimizing network performance and meeting a variety of usage scenarios.

[0046] Step S300: In one embodiment, the first network node and the second network node are activated by the ifconfig command, and network files are configured respectively, so that each node can provide a secure connection and realize automation of network configuration.

[0047] For the first network node (wlan0) and the second network node (wlan1), the commands that need to be executed generate the following code:

[0048] "ifconfigwlan0up

[0049] ifconfigwlan1up"

[0050] The first network node (wlan0) and the second network node (wlan1) are identified and activated by the system for subsequent network configuration, thereby improving network security and simplifying user management of network connections, allowing devices to access the Internet more conveniently.

[0051] Step S400: further process the configured network nodes so that they work in their respective wireless network frequency bands, thereby achieving true dual-band simultaneous connection, making full use of the advantages of different frequency bands, and improving data transmission rate and network stability.

[0052] S500: The system scans networks in the first wireless network frequency band and the second wireless network frequency band, evaluates the signal strength and quality of each network, and selects the best network for connection based on the information.

[0053] Generate the following code for the commands required to scan and connect respectively:

[0054] "iwlistwlan0scan

[0055] iwlistwlan1scan"

[0056] Dynamically select the best network connection to optimize the user's network experience, especially in environments with multiple users and high signal interference.

[0057] More preferably, the network file includes a first network file and a second network file; the first network file is used for a security protocol of a wireless network; and the second network file is used for automatically acquiring an IP address.

[0058] Specifically, the first network file is a wpa file, and the second network file is a udhcpc file.

[0059] More preferably, the method of "activating the first network node and the second network node, and configuring a network file to obtain the configured first network node and the configured second network node" includes:

[0060] S310, configuring the first network file on the first network node to generate a first wireless network;

[0061] S320: Configure the second network file on the first network node to generate a second wireless network.

[0062] Specifically, by configuring the wpa file on the first network node and the wap file on the second network node,

[0063] In one embodiment, the process of configuring the first network file is as follows:

[0064] Open the configuration file of the first network node (wlan0), edit the file, and add or modify the following code content to configure the network parameters of the first network node:

[0065] "autowlan0

[0066] ifacewlan0inetdhcp

[0067] wpa-conf / etc / wpa_supplicant / wlan0.conf”

[0068] Save and close the file.

[0069] In another embodiment, the process of configuring the second network file is as follows:

[0070] Open the configuration file of the second network node (wlan1), edit the file, and add or modify the following code content to configure the network parameters of the second network node:

[0071] "autowlan1

[0072] ifacewlan1inetdhcp

[0073] wpa-conf / etc / wpa_supplicant / wlan1.conf”

[0074] Save and close the file.

[0075] More preferably, the method “respectively processes the configured first network node and the configured second network node to obtain the first wireless network frequency band and the second wireless network frequency band;” comprises:

[0076] S410, configuring a first frequency band channel according to the first wireless network, obtaining the first wireless network frequency band;

[0077] S420: Configure a second frequency band channel according to the second wireless network to obtain the second wireless network frequency band.

[0078] Specifically, by adding the first frequency band channel parameter in the wpa file of the first network node, the wireless interface of the first network node only scans the network of the corresponding frequency band. By adding the second frequency band channel parameter in the wpa file of the second network node, the wireless interface of the second network node only scans the network of the corresponding frequency band. In this way, unnecessary scanning and connection attempts are avoided, scanning efficiency is improved, and the possibility of incorrect connection is reduced.

[0079] More preferably, the first frequency band channel is 2.4 GHz, and the second frequency band channel is 5 GHz.

[0080] Specifically, each first network node and second network node needs to be configured with corresponding wpa and udhcpc files so that the first network node and the second network node can connect to the correct WiFi network and obtain an IP address.

[0081] For the first network node wlan0 (assuming it is connected to a WiFi in the 2.4 GHz band), add the scan_freq=2400 parameter in the wpa configuration file of the first network node so that the first network node wlan0 specifies scanning the 2.4 GHz band. For the second network node wlan1 (assuming it is connected to a WiFi in the 5 GHz band), add the scan_freq=5000 parameter in the wpa configuration file of the second network node so that the second network node wlan1 specifies scanning the 5 GHz band.

[0082] Preferably, the main control unit 30 includes a driving module, a configuration module and a processing module; the driving module is electrically connected to the configuration module and the processing module, wherein the driving module is used to drive the loading of WiFi; the configuration module is used to configure the network file according to the driving module; and the processing module is used to transmit data.

[0083] Specifically, the driver module is responsible for loading the WiFi driver so that it can communicate with the hardware device. The configuration module is responsible for configuring the network files according to the interfaces and functions provided by the driver module. These network files contain various parameters required to connect to WiFi, such as SSID, password, encryption method, etc. The configuration module writes these parameters into the network configuration file so that the subsequent processing module can use them to establish and maintain the WiFi connection. The processing module is responsible for the actual data transmission process. The processing module obtains the parameters in the network configuration file from the configuration module, and then uses these parameters to establish a connection with the target WiFi network. Once the connection is successful, the processing module can start sending and receiving data to achieve communication with other devices.

[0084] Preferably, the configuration module includes a first configuration unit and a second configuration unit; the first configuration unit is used to configure network files for the first network node and the second network node; the second configuration unit is used to configure frequency band channels for the first wireless network and the second wireless network.

[0085] Specifically, the first configuration unit can ensure that the first network node and the second network node can be correctly connected to the target network. By configuring the frequency band channel, the second configuration unit optimizes the performance of the wireless network to avoid interference and conflict. The main control unit 30 selects a suitable frequency band channel according to the actual environment to improve the stability and speed of the wireless network.

[0086] More preferably, the processing module includes a first processing unit and a second processing unit; the first processing unit is used to process network files and connect to a WiFi network; the second processing unit is used to process data conversion.

[0087] Specifically, through the processing of the first processing unit, the main control unit 30 can realize the functions of fast connection and automatic reconnection to the WiFi network. Through the data conversion function of the second processing unit, the main control unit 30 can support multiple data formats and protocols, improving the compatibility and interoperability of the system.

[0088] More preferably, the functional chip 20 and the antenna 10 both support dual-band channels.

[0089] Specifically, the function chip 20 supporting dual-band channels can process signals in the 2.4 GHz and 5 GHz bands at the same time, providing more flexible band selection and wider bandwidth. Through the support of the antenna 10 for dual-band channels, the main control unit 30 can make full use of the advantages of the two bands to improve signal quality and communication rate.

[0090] An embodiment of the present application provides a WIFI signal connection device, which, when in use, runs any one of the WIFI signal connection methods described above.

[0091] The above-mentioned method and device for connecting a WiFi signal create a first network node and a second network node, and process the first network node and the second network node respectively to obtain a first frequency band node and a second frequency band node. Then scan the first frequency band node and the second frequency band node, and select and connect the WiFi network according to the scanning results. By connecting two WiFi signals of different frequency bands at the same time, the resources of the two frequency bands can be fully utilized to improve the data transmission rate. Therefore, according to the WiFi signal strength and the rate supported by WiFi, large data packets are placed on a hotspot with better WiFi for transmission to achieve a faster Internet access rate.

[0092] The above is only an implementation method of the present application. It should be pointed out that a person skilled in the art can make improvements without departing from the inventive concept of the present application, but these improvements are within the scope of protection of the present application.

Claims

1. A WiFi signal connection method, based on a WiFi signal device, wherein the WiFi signal device comprises a main control unit, a function chip connected to the main control unit, and an antenna connected to the function chip, characterized in that: The method comprises the following steps: Creating a first network node; Driving the functional chip to load and generate a second network node; activating the first network node and the second network node, and configuring network files respectively to obtain the configured first network node and the configured second network node; Respectively processing the configured first network node and the configured second network node to obtain a first wireless network frequency band and a second wireless network frequency band; Scan the first wireless network frequency band and the second wireless network frequency band, and select and connect to a WiFi network according to the scanning results.

2. A WiFi signal connection method according to claim 1, characterized in that: The network file includes a first network file and a second network file; The first network file is used for a security protocol of a wireless network; The second network file is used to automatically obtain an IP address.

3. A WiFi signal connection method according to claim 2, characterized in that: The step of "activating the first network node and the second network node, and configuring the network file to obtain the configured first network node and the configured second network node" includes: configuring the first network file on the first network node to generate a first wireless network; The second network file is configured on the first network node to generate a second wireless network.

4. A WiFi signal connection method according to claim 3, characterized in that: The step of "respectively processing the configured first network node and the configured second network node to obtain the first wireless network frequency band and the second wireless network frequency band" includes: According to the first wireless network configuration, a first frequency band channel is obtained to obtain the first wireless network frequency band; The second wireless network frequency band is obtained by configuring a second frequency band channel according to the second wireless network.

5. A WiFi signal connection method according to claim 4, characterized in that: The first frequency band channel is 2.4 GHz, and the second frequency band channel is 5 GHz.

6. A WiFi signal connection method according to claim 1, characterized in that: The main control unit includes a driving module, a configuration module and a processing module, and the driving module is electrically connected to the configuration module and the processing module; Wherein, the driving module is used to drive the loading of WiFi; The configuration module is used to configure the network file according to the driver module; The processing module is used for transmitting data.

7. A WiFi signal connection method according to claim 6, characterized in that: The configuration module includes a first configuration unit and a second configuration unit; The first configuration unit is used to configure network files for the first network node and the second network node; The second configuration unit is used to configure frequency band channels for the first wireless network and the second wireless network.

8. A WiFi signal connection method according to claim 6, characterized in that: The processing module includes a first processing unit and a second processing unit; The first processing unit is used to process network files and connect to a WiFi network; The second processing unit is used for processing data conversion.

9. A WiFi signal connection method according to claim 1, characterized in that: The functional chip and the antenna both support dual-band channels.

10. A WiFi signal connection device, characterized in that: When in use, the device runs a WIFI signal connection method as described in any one of claims 1-9.

Citation Information

Cited By

  • Signal enhancement method and system for WIFI (Wireless Fidelity) equipment

    CN120583525A