Method for realizing rapid network distribution of wireless networking of WiFi router by using network cable
Connecting to the WiFi router through a network cable and using a dynamic key generation algorithm for identity verification and encryption processing, solving the problem of wireless network distribution network being easily disturbed, complex operation and security risks, and achieving a fast and secure distribution network.
Patent Information
- Application Number
- CN202510151336.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2045-02-11
AI Technical Summary
The existing WiFi router wireless network distribution method is susceptible to wireless channel interference, complex operation and security risks, making it difficult to achieve a fast and secure distribution network.
Connect the main router and the slave router's LAN port through a network cable. The main router sends an authentication request message, generates an encryption key from the router and digitally signs it, generates a response message, and uses a dynamic key generation algorithm to generate and verify the key, determine the configuration cost and adjust the encryption level.
It improves the stability and security of wireless networking, avoids complex operations of manually inputting WiFi information, simplifies the configuration process, enhances data security, and optimizes the distribution efficiency according to the network environment.
Smart Images

Figure CN120128924A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless networking technologies. More specifically, this application relates to a method for quickly configuring a wireless network of WiFi routers using an Ethernet cable. Background Art
[0002] To improve the coverage of WiFi (Wireless Fidelity), multiple WiFi routers are commonly used for wireless networking to achieve a more convenient and comprehensive wireless network coverage. Common wireless networking methods for WiFi routers mainly include: the WDS mode, the wireless repeater mode, and the Mesh mode. Different wireless networking methods have different network configuration methods to achieve the interconnection between multiple WiFi routers. For a WiFi router that has not been connected to a wireless network, if it is to be connected using the WDS mode, the WiFi mac address, Wi-Fi SSID, password, and other information of the router to be bridged need to be input. If it is to be connected using the wireless repeater method, the WiFi SSID and password of the existing repeater device need to be input. If the WiFi router supports the Mesh mode, the mesh function needs to be enabled through buttons or other means and the router needs to be close to other mesh routers for networking.
[0003] In the existing wireless networking configuration methods, the mutual recognition between routers is achieved wirelessly, which is vulnerable to interference on the wireless channel and may result in unsuccessful recognition. Some configuration methods also require users to actively input the WiFi information of the router to be connected to achieve the connection, and the operation is relatively complex. Moreover, when configuring the network purely wirelessly during the networking process, it is easy for other routers outside the networking range to access the wireless network, posing a security risk. By introducing a wired connection during the wireless networking configuration process and realizing identity recognition and WiFi connection information sharing through the wired interconnection of the router LAN ports, the complex operation of manually inputting WiFi connection information can be avoided, and at the same time, the vulnerability to interference and security risks of wireless network configuration can be avoided. Therefore, how to use an Ethernet cable to achieve quick configuration of a wireless network of WiFi routers and thus improve the security of network configuration has become a difficult problem faced by the industry. Summary of the Invention
[0004] This application provides a method for quickly configuring a wireless network of WiFi routers using an Ethernet cable, which can use the Ethernet cable to quickly configure the wireless network of WiFi routers, thereby improving the security of network configuration.
[0005] This application provides a method for quickly configuring a wireless network of WiFi routers using an Ethernet cable, and the method includes the following steps:
[0006] Connect the main router and the slave router through the LAN ports using an Ethernet cable;
[0007] The main router sends an authentication request message to the slave router through the LAN port. After receiving the request message, the slave router generates an encryption key through a built-in dynamic key generation algorithm;
[0008] Use the encryption key to digitally sign the MAC address of the slave router and a preset random challenge data, thereby generating a response message, and determine the configuration cost in the request configuration stage according to the generation duration of the encryption key and the encryption strength of the digital signature;
[0009] Send the response message to the main router, generate a decryption key through the dynamic key generation algorithm in the main router, and then use the decryption key to verify the authentication signature data in the response message, and determine the configuration cost in the response configuration stage according to the complexity of the verification process;
[0010] Perform a minimum cost constraint on the process of rapid wireless network configuration through the configuration cost in the request configuration stage and the configuration cost in the response configuration stage to obtain a configuration constraint amount, and then adjust the encryption level of the rapid wireless network configuration through the configuration constraint amount.
[0011] In this embodiment, using the encryption key to digitally sign the MAC address of the slave router and a preset random challenge data, thereby generating a response message specifically includes:
[0012] Concatenate the MAC address of the slave router and the preset random challenge data to obtain concatenated data with a fixed structure;
[0013] Perform a hash process on the concatenated data using the encryption key to generate encrypted signature data;
[0014] Package the encrypted signature data and the configuration status of the slave router to obtain a response message.
[0015] In this embodiment, determining the configuration cost in the request configuration stage according to the generation duration of the encryption key and the encryption strength of the digital signature specifically includes:
[0016] Determine the key generation cost through the generation duration of the encryption key;
[0017] Determine the encryption strength cost through the encryption strength of the digital signature;
[0018] Determine the configuration cost in the request configuration stage according to the key generation cost and the encryption strength cost.
[0019] In this embodiment, the authentication signature data in the response message is verified using the decryption key, and then the configuration cost in the response configuration phase is determined according to the complexity of the verification process, which specifically includes:
[0020] Perform a signature verification operation on the authentication signature data in the response message using the decryption key, and record the calculation time and system resource usage during the signature verification process, so as to obtain the complexity of the verification operation;
[0021] Determine the configuration cost in the response configuration phase through the verification value obtained from the complexity and the verification operation.
[0022] In this embodiment, the minimum cost constraint is imposed on the wireless network quick configuration process by the configuration cost in the request configuration phase and the configuration cost in the response configuration phase, and the configuration constraint amount of the wireless network quick configuration is obtained, which specifically includes:
[0023] Determine the minimum cost weight in the request configuration phase and the minimum cost weight in the response configuration phase through the simulation data of router configuration;
[0024] Determine the minimum configuration cost in the request configuration phase through the minimum cost weight in the request configuration phase and the configuration cost in the request configuration phase;
[0025] Determine the minimum configuration cost in the response configuration phase through the minimum cost weight in the response configuration phase and the configuration cost in the response configuration phase;
[0026] Determine the configuration constraint amount of the wireless network quick configuration according to the minimum configuration cost in the request configuration phase and the minimum configuration cost in the response configuration phase.
[0027] In this embodiment, the LAN port refers to the interface used to connect devices in the local area network.
[0028] In this embodiment, the request message is a network data packet used to initiate identity authentication.
[0029] In this embodiment, the encryption key generated by the router through the built-in dynamic key generation algorithm after receiving the request message means that after the router receives the request message, according to the MAC address, device serial number and message header information of the router, a unique and secure encryption key is calculated using the dynamic key generation algorithm.
[0030] In this embodiment, the dynamic key generation algorithm specifically refers to a key generation algorithm based on a hash function.
[0031] In this embodiment, adjusting the encryption level of the wireless network quick configuration through the configuration constraint amount means dynamically adjusting the encryption policy in the configuration process according to the obtained configuration constraint amount.
[0032] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects:
[0033] By connecting the main router and the slave router through the LAN port of the network cable; the main router sends an authentication request message to the slave router through the LAN port, and the slave router generates an encryption key through the built-in dynamic key generation algorithm after receiving the request message; uses the encryption key to digitally sign the MAC address of the slave router and the preset random challenge data, and then generates a response message, and determines the configuration cost of the request configuration stage according to the generation duration of the encryption key and the encryption strength of the digital signature; sends the response message to the main router, and generates a decryption key through the dynamic key generation algorithm in the main router, and then uses the decryption key to verify the authentication signature data in the response message, and then determines the configuration cost of the response configuration stage according to the complexity of the verification process; performs a minimum cost constraint on the process of rapid wireless network configuration through the configuration cost of the request configuration stage and the configuration cost of the response configuration stage to obtain a configuration constraint amount, and then adjusts the encryption level of the rapid wireless network configuration through the configuration constraint amount.
[0034] It can be seen that in this application, a minimum cost constraint is imposed on the process of rapid wireless network configuration through the configuration cost of the request configuration stage and the configuration cost of the response configuration stage to obtain a configuration constraint amount, and then the encryption level of the rapid wireless network configuration is adjusted through the configuration constraint amount; First, through the network cable connection, it is possible to avoid the problem of unsuccessful connection caused by signal interference during pure wireless configuration, thereby improving the stability and reliability of the connection, and can also eliminate interference on the wireless channel, ensuring that routers can successfully identify and complete the network configuration task in a dense environment; Second, the main router sends an authentication request message to the slave router through the LAN port, activates the dynamic key generation algorithm inside the slave router, and generates an encryption key, enhancing the security during the network configuration process, and can avoid the complex operation of manually entering WiFi connection information by users, greatly simplifying the configuration process and improving the user experience; Then, the step of digitally signing the MAC address of the slave router and the preset random challenge data with the encryption key and generating a response message further improves the security of the network configuration. The digital signature not only ensures the integrity of the data, but also prevents potential man-in-the-middle attacks, enhancing the data security of the entire network configuration process; Finally, a minimum cost constraint is performed through the configuration costs of the request configuration stage and the response configuration stage, and the encryption level during the network configuration process is dynamically adjusted according to the configuration constraint amount, so that while ensuring the security of the network configuration, the network configuration efficiency can be optimized according to the actual network environment and device performance. This not only improves the network configuration speed, but also balances network security and efficiency according to the configuration cost, ensuring that the entire network configuration process is both fast and secure, meeting the requirements in different scenarios. Brief Description of the Drawings
[0035] The accompanying drawings described herein are used to provide a further understanding of the embodiments of the present invention, form a part of this application, and do not constitute a limitation to the embodiments of the present invention. In the drawings:
[0036] Figure 1 is a flowchart of a method for realizing fast network configuration of a WiFi router wireless network through a network cable according to the present application;
[0037] Figure 2 is an exemplary flowchart for determining the configuration cost in the request configuration stage according to the present application. Detailed implementation mode
[0038] To make the objectives, technical solutions, and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below in conjunction with embodiments and the accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and do not constitute a limitation to the present invention. It should be noted that the present invention is already in the actual R & D and use stage.
[0039] To better understand the above technical solutions, the above technical solutions will be described in detail below in conjunction with the drawings in the specification and specific implementation modes. Refer to Figure 1 As shown, this figure is an exemplary flowchart of a method for realizing fast network configuration of a WiFi router wireless network through a network cable according to this embodiment of the present application. The method includes the following steps:
[0040] In step S1, connect the main router and the slave router through the LAN port connected by a network cable.
[0041] In specific implementation, it should be noted that the LAN port in this application refers to the Local Area Network Port (LAN), which is an interface for connecting devices in a local area network, usually an Ethernet interface (such as an RJ45 interface). Through the LAN port, devices can join the same local area network for data communication and resource sharing; specifically, turn on the power switches of the main router and the slave router to ensure that the main router and the slave router are powered on. Use a network cable, insert one end into the LAN port of the main router, and the other end into the LAN port of the slave router. After the connection is completed, the slave router will be an extended device of the main router to provide network coverage and device access.
[0042] In step S2, the main router sends an authentication request message to the slave router through the LAN port, and the slave router generates an encryption key through the built-in dynamic key generation algorithm after receiving the request message.
[0043] It should be noted that the main router sending an authentication request message to the slave router through the LAN port in this application means that the main router actively initiates an authentication request to the slave router through the LAN port, verifies the legality of the slave router through the request message, and establishes a connection relationship. Among them, the request message is a network data packet used to initiate identity authentication, which contains the necessary information for authentication. The request message specifically includes the identity information of the main router and the message header information. The identity information, such as the MAC (Media Access Control) address and the device serial number, is used to identify the source of the main router. The message header information includes the protocol type (such as TCP / UDP) and the message length, which are used to ensure the integrity of the message structure.
[0044] It should also be noted that the slave router generating an encryption key through the built-in dynamic key generation algorithm after receiving the request message means that after receiving the request message, the slave router calculates a unique and secure encryption key according to the MAC address, device serial number, and message header information of the slave router by using the key generation algorithm for subsequent signature and encryption operations. Specifically, when implementing, obtain the MAC address, device serial number, protocol type (such as TCP / UDP), and message length of the slave router from the request message, map the MAC address, device serial number, protocol type (such as TCP / UDP), and message length of the slave router to a vector, and use this vector as the request message vector. Then, use the request message vector as the input parameter of the key generation algorithm, and calculate and generate a unique encryption key through the key generation algorithm, such as 3F4A8D9C2B7E1F4D6A8C9B2E3F4A7D1E, and store the encryption key in the memory for use in subsequent steps. It should be noted that the key generation algorithm in this application can adopt the key generation algorithm based on the hash function (Hash-based Message Authentication Code, HMAC), and its encryption key generation code is: Key = HMAC-SHA256(MAC address + device serial number + message length, protocol type).
[0045] In step S3, use the encryption key to digitally sign the MAC address of the slave router and the preset random challenge data, thereby generating a response message, and determine the configuration cost in the request configuration phase according to the generation duration of the encryption key and the encryption strength of the digital signature.
[0046] In this embodiment, using the encryption key to digitally sign the MAC address of the slave router and the preset random challenge data, thereby generating a response message can be implemented by the following steps:
[0047] Concatenate the MAC address of the slave router and the preset random challenge data to obtain concatenated data with a fixed structure;
[0048] Use the encryption key to perform a hash process on the spliced data to generate encrypted signature data;
[0049] Encapsulate the encrypted signature data and the configuration status from the router to obtain a response message.
[0050] It should be noted that the fixed structure refers to a splicing structure. The fixed structure in this application can adopt the data splicing form of MAC address + random challenge data. In other embodiments, other forms can also be adopted, which are not specifically limited here.
[0051] It also should be noted that the random challenge data refers to a randomly generated data used to prevent replay attacks during the encrypted communication process. The main function of the random challenge data is to ensure that each interaction is unique and prevent hackers from attacking by replaying old valid data packets. The value range of the preset random challenge data in this application is between 0 and 1000; specifically, first, the MAC address from the router and the preset random challenge data can be spliced using the data splicing structure of MAC address + random challenge data to obtain spliced data; then, the encryption key can be used as an input parameter of the existing SHA-256 algorithm, and then a unique encrypted signature can be generated using the SHA-256 algorithm. The spliced data is encrypted through this encrypted signature to obtain encrypted signature data; finally, the timestamp, device ID information, and encrypted signature data from the router can be encapsulated into a message, and the encapsulated message is used as the response message.
[0052] Preferably, in this embodiment, refer to Figure 2 As shown, this figure is an exemplary flowchart for determining the configuration cost in the request configuration stage in the embodiment of this application. In this embodiment, determining the configuration cost in the request configuration stage according to the generation duration of the encryption key and the encryption strength of the digital signature can be implemented by the following steps:
[0053] In step S31, determine the key generation cost through the generation duration of the encryption key;
[0054] In step S32, determine the encryption strength cost through the encryption strength of the digital signature;
[0055] In step S33, determine the configuration cost in the request configuration stage according to the key generation cost and the encryption strength cost.
[0056] It should be noted that the key generation cost in this application reflects the time cost of the dynamic key generation process, which is mainly related to the complexity of the encryption algorithm adopted, system resource consumption (such as computing power, memory occupancy), and generation duration; the encryption strength cost in this application represents the impact of the encryption strength adopted in the digital signature process on the demand for computing resources and processing complexity. The higher the encryption strength, the stronger the security of the algorithm, but the computational amount and time cost will also increase accordingly; in addition, the configuration cost in this application refers to the comprehensive measurement of the computing resources, time, and system overhead required to ensure security and complete the network configuration task during the request configuration phase.
[0057] In specific implementation, first, use the timing module to record the start and end times of dynamic key generation to obtain the actual generation duration, and use the ratio between the generation duration and the preset time threshold as the key generation cost. Among them, the preset time threshold usually can adopt the average generation duration of historical encryption key generation duration; then, according to the encryption algorithm type and security parameters (such as key length, number of encryption rounds) of the dynamic key, preset a cost table to classify the encryption strength, parse the digital signature generated from the router, and use the computational complexity (such as signature length or encryption time) as the encryption strength cost; finally, perform weighted aggregation on the key generation cost and the encryption strength cost, and use the value obtained from the weighted calculation as the configuration cost during the request configuration phase. Among them, the configuration cost can be determined by the following formula, that is: configuration cost = (key generation cost × α) + (encryption strength cost × β), where α and β are adjustment coefficients.
[0058] In step S4, send the response message to the main router, generate a decryption key through the dynamic key generation algorithm in the main router, and then use the decryption key to verify the authentication signature data in the response message, and further determine the configuration cost of the response configuration phase according to the complexity of the verification process.
[0059] It should be noted that when the main router receives the response message, parse the response message to obtain the configuration status of the slave router and the encrypted signature data responded by the slave router, then extract the identity information of the slave router from the configuration status of the slave router, and then input the identity information of the slave router (i.e., timestamp, device ID information) into the dynamic key generation algorithm to obtain the decryption key.
[0060] In this embodiment, using the decryption key to verify the authentication signature data in the response message, and then determining the configuration cost of the response configuration phase according to the complexity of the verification process can be implemented by the following steps:
[0061] Perform a signature verification operation on the authentication signature data in the response message using the decryption key, record the calculation time and system resource usage during the signature verification process, and then obtain the complexity of the verification operation;
[0062] Determine the configuration cost of the response configuration phase based on the complexity and the verification value obtained from the verification operation.
[0063] In specific implementation, first, an existing HMAC series algorithm can be used to verify the authentication signature data in the response message to ensure the security and accuracy of the operation. At the same time, the system also needs to record the verification duration and system resource usage, and use the recorded verification duration and system resource usage to obtain the complexity of the verification process. The complexity can be quantified using the following formula: complexity = verification duration * system load; Then, obtain the verification value obtained by the system during the signature verification operation. The verification value can reflect the matching degree between the decrypted signature data and the original signature data in the message. Further, a cost model can be initialized, and the complexity and the verification value obtained from the verification operation are used as input parameters of the cost model. A cost value is output through the cost model, and this cost value is used as the configuration cost of the response configuration phase.
[0064] It should be noted that the configuration cost in the response configuration phase of this application refers to the comprehensive measurement of the computing resources, time, and system overhead consumed by the master router to verify the response message from the slave router during the wireless network configuration process. This cost is mainly determined by factors such as the computational complexity of verifying the signature, the time consumed in the decryption process, and the consumption of system resources, and is usually used to reflect the processing cost required in the response configuration phase to help evaluate the impact of this phase on the overall network configuration process.
[0065] In step S5, perform a minimum cost constraint on the wireless network fast configuration process based on the configuration cost of the request configuration phase and the configuration cost of the response configuration phase to obtain the configuration constraint amount of the wireless network fast configuration, and then adjust the encryption level of the wireless network fast configuration through the configuration constraint amount.
[0066] In this embodiment, performing a minimum cost constraint on the wireless network fast configuration process based on the configuration cost of the request configuration phase and the configuration cost of the response configuration phase to obtain the configuration constraint amount of the wireless network fast configuration can be implemented using the following steps:
[0067] Determine the minimum cost weight of the request configuration phase and the minimum cost weight of the response configuration phase through the simulation data of router network configuration;
[0068] Determine the minimum configuration cost of the request configuration phase based on the minimum cost weight of the request configuration phase and the configuration cost of the request configuration phase;
[0069] Determine the minimum configuration cost of the response configuration phase based on the minimum cost weight of the response configuration phase and the configuration cost of the response configuration phase;
[0070] Determine the configuration constraint amount for fast wireless network configuration based on the minimum configuration cost of the request configuration phase and the minimum configuration cost of the response configuration phase.
[0071] In specific implementation, first, in the simulation environment of router network configuration, through multiple experiments or simulated data, analyze the cost characteristics of the request configuration phase and the response configuration phase. Through these simulation data, analyze and obtain the respective minimum cost weights of the request configuration phase and the response configuration phase. Secondly, by combining (multiplying) the minimum cost weight with the configuration cost of the request configuration phase, the minimum configuration cost of this phase can be calculated. For the phase with a larger weight, the configuration cost is relatively higher, and the resource consumption of this phase can be optimized by adjusting the algorithm or configuration strategy. For example, by optimizing the key generation algorithm to shorten the generation time, or adjusting the encryption strength to reduce the computational burden. Then, by combining (multiplying) the minimum cost weight of the response configuration phase with the configuration cost of this phase, the minimum configuration cost of the response configuration phase is obtained. This step needs to consider the possible increased complexity such as the signature verification process and decryption operation in the response message, and adjust the algorithm to reduce the cost. Finally, combine (add) the minimum configuration cost of the request configuration phase and the minimum configuration cost of the response configuration phase. By comprehensively considering the impacts of both, determine the final configuration constraint amount. The configuration constraint amount reflects the balance between security and efficiency in the entire network configuration process. The system can adjust parameters in the network configuration process, such as encryption strength, key generation method, etc., according to the configuration constraint amount to ensure the minimum cost of the entire network configuration process.
[0072] It should be noted that the configuration constraint amount in this application refers to a measurement standard obtained through minimum cost constraint calculation of the configuration costs of the request configuration phase and the response configuration phase during the fast wireless network configuration process. It represents the balance constraint between security and efficiency during the network configuration process, guiding the system to optimize and adjust various parameters (such as encryption strength, key generation duration) during the configuration process. The size of the configuration constraint amount determines the tolerable computational resource consumption and security level during the network configuration process to ensure that the network configuration process is both fast and meets certain security requirements.
[0073] It should also be noted that in this application, adjusting the encryption level of fast wireless network configuration through the configuration constraint amount means dynamically adjusting the encryption policy during the network configuration process according to the obtained configuration constraint amount, so as to optimize the balance between network configuration speed and security; the specific implementation methods include: if the configuration constraint amount is low, it indicates that the network configuration process can withstand a higher computational cost, and at this time, the encryption level can be increased (such as using a stronger encryption algorithm, a longer key, etc.) to enhance security; if the configuration constraint amount is high, it indicates that the network configuration process is sensitive to resource consumption, and the encryption level needs to be reduced (such as using a lighter encryption algorithm or a shorter key) to improve the network configuration efficiency. This adjustment ensures that the network configuration process is both fast and has sufficient security protection by dynamically evaluating the configuration cost and security requirements.
[0074] It can be seen that in this application, the minimum cost constraint is imposed on the fast wireless network configuration process through the configuration cost in the request configuration stage and the configuration cost in the response configuration stage to obtain the configuration constraint amount, and then the encryption level of the fast wireless network configuration is adjusted through the configuration constraint amount; first, by connecting through a network cable, the problem of unsuccessful connection easily caused by signal interference during pure wireless configuration can be avoided, thereby improving the stability and reliability of the connection, and the interference on the wireless channel can also be eliminated to ensure that routers can successfully identify and complete the network configuration task in a dense environment; second, the master router sends an authentication request message to the slave router through the LAN port to activate the dynamic key generation algorithm inside the slave router to generate an encryption key, enhancing the security during the network configuration process, avoiding the complex operation of manually entering the WiFi connection information by the user, greatly simplifying the configuration process, and improving the user experience; then, the step of digitally signing the MAC address of the slave router and the preset random challenge data with the encryption key and generating a response message further enhances the security of the network configuration. The digital signature not only ensures the integrity of the data but also prevents potential man-in-the-middle attacks, enhancing the data security of the entire network configuration process; finally, by imposing the minimum cost constraint on the configuration costs in the request configuration stage and the response configuration stage and dynamically adjusting the encryption level during the network configuration process according to the configuration constraint amount, the network configuration can optimize the network configuration efficiency according to the actual network environment and device performance while ensuring security. This not only improves the network configuration speed but also balances network security and efficiency according to the configuration cost, ensuring that the entire network configuration process is both fast and secure, meeting the requirements in different scenarios.
[0075] The specific embodiments described above further elaborate on the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only the specific embodiments of the present invention and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for realizing fast network configuration of WiFi router wireless networking using network cables, characterized in that: The method comprises the following steps: Connect the LAN ports of the main router and the slave router via an Ethernet cable; The master router sends an identity authentication request message to the slave router through the LAN port, and the slave router generates an encryption key through a built-in dynamic key generation algorithm after receiving the request message; The MAC address of the slave router and the preset random challenge data are digitally signed using the encryption key, thereby generating a response message, and determining the configuration cost of the configuration request phase according to the generation time of the encryption key and the encryption strength of the digital signature; The response message is sent to the main router, and a decryption key is generated by a dynamic key generation algorithm in the main router, and the authentication signature data in the response message is verified by using the decryption key, and then the configuration cost of the response configuration phase is determined according to the complexity of the verification process; The minimum cost constraint is imposed on the process of wireless networking fast configuration by the configuration cost of the configuration request phase and the configuration cost of the configuration response phase, and the configuration constraint amount is obtained, and then the encryption level of the wireless networking fast configuration is adjusted by the configuration constraint amount.
2. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: The encryption key is used to digitally sign the MAC address of the router and the preset random challenge data, and then generate a response message, which specifically includes: The MAC address of the router and the preset random challenge data are spliced to obtain spliced data with a fixed structure; Performing hash processing on the spliced data using the encryption key to generate encrypted signature data; The encrypted signature data and the configuration status of the slave router are encapsulated to obtain a response message.
3. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: Determining the configuration cost of the request configuration phase according to the generation time of the encryption key and the encryption strength of the digital signature specifically includes: Determining the key generation cost by the generation time of the encryption key; Determine the encryption strength cost by the encryption strength of the digital signature; The configuration cost of the configuration request phase is determined according to the key generation cost and the encryption strength cost.
4. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: Using the decryption key to verify the authentication signature data in the response message, and then determining the configuration cost of the response configuration phase according to the complexity of the verification process specifically includes: Performing a signature verification operation on the authentication signature data in the response message using the decryption key, and recording the calculation time and system resource usage during the signature verification process, thereby obtaining the complexity of the verification operation; The configuration cost of the response configuration phase is determined by the complexity and the verification value obtained by the verification operation.
5. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: The configuration cost of the request configuration phase and the configuration cost of the response configuration phase are used to constrain the minimum cost of the wireless network fast configuration process, and the configuration constraints of the wireless network fast configuration are obtained, which specifically include: Determine the minimum cost weight in the request configuration phase and the minimum cost weight in the response configuration phase through simulation data of the router configuration network; The minimum configuration cost of the request configuration phase is determined by the minimum cost weight of the request configuration phase and the configuration cost of the request configuration phase; Determine the minimum configuration cost of the response configuration phase through the minimum cost weight of the response configuration phase and the configuration cost of the response configuration phase; The configuration constraint amount of the wireless networking fast configuration is determined according to the minimum configuration cost in the request configuration phase and the minimum configuration cost in the response configuration phase.
6. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: The LAN port refers to an interface used to connect to devices in a local area network.
7. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: The request message is a network data packet used to initiate identity authentication.
8. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: Generating an encryption key by a built-in dynamic key generation algorithm after receiving the request message from the slave router means that after receiving the request message, the slave router calculates a unique and secure encryption key by using a dynamic key generation algorithm according to the MAC address, device serial number and message header information of the slave router.
9. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: The dynamic key generation algorithm specifically refers to a key generation algorithm based on a hash function.
10. A method for realizing fast network configuration of WiFi router wireless network by using network cable as claimed in claim 1, characterized in that: Adjusting the encryption level of the wireless networking fast configuration through the configuration constraint amount refers to dynamically adjusting the encryption strategy in the configuration process according to the obtained configuration constraint amount.
Citation Information
Patent Citations
Wireless local area network context control protocol
CN101742496A
A cloud security fast distribution network method and distribution network system
CN109005537A
Determining configuration for, and location of, wireless or wired network equipment
WO2004066077A2