A method for realizing quick network configuration of WiFi router wireless networking by using network cable

By using network cable connections and dynamic key generation algorithms, the problems of interference and security risks in WiFi router wireless networking have been solved, enabling fast and secure wireless networking, simplifying the operation process and improving the user experience.

CN120128924BActive Publication Date: 2025-12-12GUANGZHOU TOZED KANGWEI INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510151336.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-12-12
Estimated Expiration
2045-02-11

AI Technical Summary

Technical Problem

Existing WiFi router wireless networking methods are susceptible to wireless channel interference, are complex to operate, and pose security risks, requiring manual input of connection information.

Method used

Connect the LAN ports of the main router and the slave router with a network cable, generate encryption keys using a dynamic key generation algorithm, perform digital signature and decryption verification, and adjust the encryption level to achieve fast and secure wireless networking.

Benefits of technology

It improves the stability and security of wireless networking, simplifies the configuration process, enhances data integrity and prevents man-in-the-middle attacks, and optimizes network configuration efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128924B_ABST
    Figure CN120128924B_ABST
Patent Text Reader

Abstract

The application provides a method for realizing fast network configuration of WiFi router wireless networking by using a network cable, relates to the technical field of wireless networking, and comprises the following steps: a master router sends an identity authentication request message to a slave router, the slave router generates an encrypted key by using a dynamic key generation algorithm built in the slave router, and then the encrypted key is used to digitally sign the MAC address and random challenge data of the slave router to generate a response message, so as to determine the configuration cost of a request configuration stage; the response message is sent to the master router, the authentication signature data in the response message is verified by using a decryption key of the master router, and then the configuration cost of a response configuration stage is determined; the configuration cost of the request configuration stage and the configuration cost of the response configuration stage are used to constrain the network configuration process to obtain a configuration constraint quantity; and the encryption level of the fast network configuration of the wireless networking is adjusted by using the configuration constraint quantity. The application can realize fast network configuration of WiFi router wireless networking by using a network cable, so that the security of network configuration is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of wireless networking, and more particularly, to a method for realizing fast network configuration of WiFi router wireless networking by using network cable. BACKGROUND

[0002] In order to improve the WiFi coverage capability, people often use multiple WiFi routers for wireless networking to realize more convenient and comprehensive wireless network coverage. Common WiFi router wireless networking modes mainly include WDS mode, wireless repeater mode and Mesh mode. Different wireless networking modes have different network configuration methods to realize the interconnection between multiple WiFi routers. For a WiFi router that has not been connected to wireless networking, if WDS mode is used to realize access, the WiFi mac address, Wi-Fi SSID, password and other information of the bridged router need to be input. If wireless repeater mode is used to access, the WiFi SSID and password of the existing repeater device need to be input. If the WiFi router supports Mesh mode, the mesh function needs to be started through a key or the like, and the WiFi router needs to be connected to other mesh routers for networking.

[0003] The wireless networking network configuration method in the prior art realizes the mutual identification between routers in a wireless manner, which is easy to be disturbed by the wireless channel and cause unsuccessful identification. Some network configuration methods also need the user to actively input the WiFi information of the accessed router to realize connection, which is relatively complex. In the process of networking, the network is configured in a purely wireless manner, which is easy to cause other routers outside the networking range to access the wireless networking, causing security risks. By introducing wired connection in the process of wireless networking network configuration, the identity recognition and WiFi connection information sharing are realized through wired interconnection of the router LAN port, which can avoid the complex operation of manually inputting WiFi connection information, and avoid the interference and security risks of wireless network configuration. Therefore, how to realize fast network configuration of WiFi router wireless networking by using network cable and improve the security of network configuration has become a difficult problem in the industry. SUMMARY

[0004] The present application provides a method for realizing fast network configuration of WiFi router wireless networking by using network cable, which can realize fast network configuration of WiFi router wireless networking by using network cable, thereby improving the security of network configuration.

[0005] The present application provides a method for realizing fast network configuration of WiFi router wireless networking by using network cable, which can realize fast network configuration of WiFi router wireless networking by using network cable, thereby improving the security of network configuration.

[0006] The master router is connected with the slave router through the LAN port of the network cable;

[0007] The master router sends a request message for authentication 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;

[0008] The MAC address of the slave router and preset random challenge data are digitally signed by using the encryption key, thereby generating a response message, and the configuration cost of the request configuration stage is determined according to the generation time length of the encryption key and the encryption strength of the digital signature;

[0009] The response message is sent to the master router, a decryption key is generated through the dynamic key generation algorithm in the master router, the authentication signature data in the response message is verified by using the decryption key, and the configuration cost of the response configuration stage is determined according to the complexity of the verification process;

[0010] The process of the wireless networking fast network configuration is constrained by the minimum cost according to the configuration cost of the request configuration stage and the configuration cost of the response configuration stage, a configuration constraint quantity is obtained, and the encryption level of the wireless networking fast network configuration is adjusted by using the configuration constraint quantity.

[0011] In the embodiment, the MAC address of the slave router and the preset random challenge data are digitally signed by using the encryption key, thereby generating a response message, and the configuration cost of the request configuration stage is determined according to the generation time length of the encryption key and the encryption strength of the digital signature.

[0012] The MAC address of the slave router and the preset random challenge data are spliced to obtain splicing data with a fixed structure;

[0013] The splicing data is hashed by using the encryption key, thereby generating encryption signature data;

[0014] The encryption signature data and the configuration state of the slave router are encapsulated, thereby obtaining a response message.

[0015] In the embodiment, the configuration cost of the request configuration stage is determined according to the generation time length of the encryption key and the encryption strength of the digital signature.

[0016] The key generation cost is determined by the generation time length of the encryption key;

[0017] The encryption strength cost is determined by the encryption strength of the digital signature;

[0018] The configuration cost of the request configuration stage is determined 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 the configuration cost of the response configuration phase is determined based on the complexity of the verification process, specifically including:

[0020] The authentication signature data in the response message is verified using the decryption key, and the computation time and system resource usage during the signature verification process are recorded to obtain the complexity of the verification operation.

[0021] The configuration cost of the response configuration phase is determined by the complexity and the verification value obtained from the verification operation.

[0022] In this embodiment, the configuration cost of the request configuration phase and the configuration cost of the response configuration phase are used to impose a minimum cost constraint on the wireless networking fast configuration process, resulting in the following specific configuration constraint quantities for wireless networking fast configuration:

[0023] The minimum cost weights for the request configuration phase and the response configuration phase are determined using simulation data from router network configuration.

[0024] 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.

[0025] The minimum configuration cost of the response configuration phase is determined by the minimum cost weight of the response configuration phase and the configuration cost of the response configuration phase.

[0026] The configuration constraints for rapid wireless networking are determined based on the minimum configuration cost of the request configuration phase and the minimum configuration cost of the response configuration phase.

[0027] In this embodiment, the LAN port refers to the interface used to connect devices in a 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 process of the router generating an encryption key using its built-in dynamic key generation algorithm after receiving the request message means that the router calculates a unique and secure encryption key based on its MAC address, device serial number, and message header information using the dynamic key generation algorithm after receiving the request message.

[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 means dynamically adjusting the encryption strategy during the configuration process based on the obtained configuration constraint.

[0032] The technical scheme provided by the embodiments disclosed in the application has the following beneficial effects:

[0033] By connecting the master router and the slave router through the LAN port of the network cable, the master router sends an identity authentication request message to the slave router through the LAN port, the slave router generates an encryption key through the 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 to generate a response message, and the configuration cost of the request configuration stage is determined according to the generation time length of the encryption key and the encryption strength of the digital signature; the response message is sent to the master router, a decryption key is generated through the dynamic key generation algorithm in the master router, the authentication signature data in the response message is verified using the decryption key, and the configuration cost of the response configuration stage is determined according to the complexity of the verification process; the process of wireless networking fast network configuration is constrained by the minimum cost of the request configuration stage and the response configuration stage, the configuration constraint quantity is obtained, and the encryption level of the wireless networking fast network configuration is adjusted through the configuration constraint quantity.

[0034] As can be seen in the application, the process of wireless networking fast network configuration is constrained by the minimum cost of the request configuration stage and the response configuration stage, the configuration constraint quantity is obtained, and the encryption level of the wireless networking fast network configuration is adjusted through the configuration constraint quantity; first, through the network cable connection, the problem of unsuccessful connection caused by signal interference during pure wireless configuration can be avoided, thereby improving the stability and reliability of the connection, and eliminating the interference on the wireless channel to ensure that the routers can successfully identify and complete the network configuration task in a dense environment; second, the master router sends an identity authentication request message to the slave router through the LAN port, activates the dynamic key generation algorithm in the slave router, generates an encryption key, enhances the security of the network configuration process, and avoids the complex operation of manually inputting WiFi connection information, greatly simplifying the configuration process and improving the user experience; then, the steps of digitally signing the MAC address of the slave router and the preset random challenge data using the encryption key and generating a response message further improve 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, thereby enhancing the data security of the entire network configuration process; finally, the minimum cost constraint is performed through the configuration cost of the request configuration stage and the response configuration stage, and the encryption level in the network configuration process is dynamically adjusted according to the configuration constraint quantity, so that the network configuration can be optimized in terms of efficiency according to the actual network environment and device performance while ensuring security, which not only improves the network configuration speed, but also balances the network security and efficiency according to the configuration cost, ensuring that the entire network configuration process is fast and secure, and meeting the needs of different scenarios. BRIEF DESCRIPTION OF DRAWINGS

[0035] The accompanying drawings, which are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings:

[0036] Figure 1 is a flow chart of a method for realizing WiFi router wireless networking and fast network configuration by using a network cable according to the present application;

[0037] Figure 2 is an exemplary flow chart for determining the configuration cost of the request configuration stage according to the present application. DETAILED DESCRIPTION

[0038] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the embodiments and the accompanying drawings, the exemplary embodiments of the present application and the description thereof serve to explain the present application and do not limit the present application. It should be noted that the present application has been in the actual research and development stage.

[0039] In order to better understand the above technical solutions, the above technical solutions will be described in detail below with reference to the accompanying drawings and specific embodiments, referring to Figure 1 , which is an exemplary flow chart of a method for realizing WiFi router wireless networking and fast network configuration by using a network cable according to the present embodiment of the present application, the method comprising the following steps:

[0040] In step S1, the master router and the slave router are connected through the LAN port of the network cable.

[0041] In specific implementation, it should be noted that the LAN port in the present application refers to a local area network interface (Local Area Network Port, LAN), which is an interface for connecting devices in a local area network, and is usually an Ethernet interface (such as an RJ45 interface). Through the LAN port, the device can join the same local area network and perform data communication and resource sharing. Specifically, the power switches of the master router and the slave router are started to ensure that the master router and the slave router are in a powered-on state. A network cable is used, one end of which is inserted into the LAN port of the master router and the other end of which is inserted into the LAN port of the slave router. After the connection is completed, the slave router will be an extension device of the master router, providing network coverage and device access.

[0042] In step S2, the master router sends a request message for identity authentication 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.

[0043] It should be noted that the master router sends the request message for authentication to the slave router through the LAN port in the present application refers to that the master router initiates an authentication request to the slave router through the LAN port, verifies the legitimacy of the slave router through the request message and establishes a connection relationship, wherein the request message is a network data packet for initiating identity authentication, which contains necessary information required for authentication, and the request message specifically includes identity information of the master router and message header information, the identity information such as MAC (Media Access Control) address and device serial number is used to identify the source of the master router, and the message header information includes protocol type (such as TCP / UDP) and message length, which is used to ensure the integrity of the message structure.

[0044] It should be further noted that the slave router generates an encryption key through a built-in dynamic key generation algorithm after receiving the request message refers to that 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 after receiving the request message, which is used for subsequent signature and encryption operations; in specific implementation, the MAC address, device serial number, protocol type (such as TCP / UDP) and message length of the slave router are obtained from the request message, the MAC address, device serial number, protocol type (such as TCP / UDP) and message length of the slave router are mapped into a vector, the vector is taken as a request message vector, the request message vector is taken as an input parameter of the key generation algorithm, a unique encryption key is calculated and generated by the key generation algorithm, for example, 3F4A8D9C2B7E1F4D6A8C9B2E3F4A7D1E, and the encryption key is stored in the memory for subsequent steps; it should be noted that the key generation algorithm in the present application can adopt a hash function-based key generation algorithm (Hash-based Message Authentication Code, HMAC), and the encryption key generation code is: Key = HMAC-SHA256 (MAC address + device serial number + message length, protocol type).

[0045] In step S3, the MAC address of the slave router and the preset random challenge data are digitally signed by using the encryption key, and a response message is generated, and the configuration cost of the request configuration stage is determined according to the generation time length of the encryption key and the encryption strength of the digital signature.

[0046] In the present embodiment, the MAC address of the slave router and the preset random challenge data are digitally signed by using the encryption key, and a response message is generated, which can be realized by the following steps:

[0047] The MAC address of the slave router and the preset random challenge data are spliced to obtain splicing data with a fixed structure.

[0048] hashing the splicing data by using the encryption key to generate encrypted signature data;

[0049] encapsulating the encrypted signature data and the configuration state of the router to obtain a response message.

[0050] It should be noted that the fixed structure refers to a splicing structure, and the fixed structure in the application can adopt a data splicing form of a MAC address + random challenge data. In other embodiments, other forms can also be adopted, which are not limited specifically herein.

[0051] It should be further noted that the random challenge data refers to a randomly generated data used to prevent replay attacks in an encryption communication process. The main role 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 preset random challenge data in the application has a value range of 0 to 1000. In a specific implementation, firstly, the MAC address of the router and the preset random challenge data can be spliced by using a data splicing structure of a MAC address + random challenge data to obtain splicing data. Then, the encryption key can be used as an input parameter of a SHA-256 algorithm of the prior art, and a unique encryption signature can be generated by using the SHA-256 algorithm to encrypt the splicing data to obtain encrypted signature data. Finally, the timestamp, the device ID information and the encrypted signature data of the router can be packet encapsulated, and the packet obtained by the encapsulation can be used as a response message.

[0052] Preferably, in the embodiment, reference is made to FIG. 3. Figure 2 It is shown that the figure is an exemplary flow chart for determining the configuration cost of the request configuration stage in the embodiment of the application. The configuration cost of the request configuration stage can be determined according to the generation time length of the encryption key and the encryption strength of the digital signature, and the following steps can be adopted to achieve the configuration cost of the request configuration stage in the embodiment:

[0053] In step S31, the key generation cost is determined by the generation time length of the encryption key.

[0054] In step S32, the encryption strength cost is determined by the encryption strength of the digital signature.

[0055] In step S33, the configuration cost of the request configuration stage is determined according to the key generation cost and the encryption strength cost.

[0056] It should be noted that the key generation cost in the present application reflects the time cost of the dynamic key generation process, which is mainly related to the complexity of the encryption algorithm used, the system resource consumption (such as computing power, memory occupation) and the generation time length; the encryption strength cost in the present application represents the influence of the encryption strength used in the digital signature process on the demand for computing resources and the processing complexity, the higher the encryption strength, the stronger the security of the algorithm, but the calculation amount and time cost will also increase; in addition, the configuration cost in the present application refers to the comprehensive measurement of the computing resources, time and system overhead required to ensure security and complete the configuration task in the request configuration stage.

[0057] In specific implementation, first, the start and end time of dynamic key generation is recorded using a timing module to obtain the actual generation time length, and the ratio between the generation time length and the preset time threshold is taken as the key generation cost, wherein the preset time threshold can usually adopt the average generation time length of the historical encryption key generation time length; then, according to the encryption algorithm type and security parameters (such as key length, encryption round number) of the dynamic key, the encryption strength is graded by a preset cost table, the digital signature generated from the router is parsed, and the complexity of the calculation (such as signature length or encryption time) is taken as the encryption strength cost; finally, the key generation cost and the encryption strength cost are weighted and summarized, and the value calculated by weighting is taken as the configuration cost of the request configuration stage, wherein the configuration cost can be determined by the following formula, that is: configuration cost = (key generation cost x a) + (encryption strength cost x b), wherein a and b are adjustment coefficients.

[0058] In step S4, the response message is sent to the master router, a decryption key is generated by a dynamic key generation algorithm in the master router, the authentication signature data in the response message is verified using the decryption key, and then the configuration cost of the response configuration stage is determined according to the complexity of the verification process.

[0059] It should be noted that when the master router receives the response message, the response message is parsed to obtain the configuration state of the slave router and the encryption signature data of the slave router response, the identity information of the slave router is extracted from the configuration state of the slave router, and the identity information (i.e. time stamp, device ID information) of the slave router is input into the dynamic key generation algorithm to obtain the decryption key.

[0060] In the present embodiment, the authentication signature data in the response message is verified using the decryption key, and then the configuration cost of the response configuration stage is determined according to the complexity of the verification process, which can be implemented by the following steps:

[0061] The authentication signature data in the response message is verified by the decryption key, and the calculation time and system resource usage during the signature verification process are recorded, and then the complexity of the verification operation is obtained;

[0062] The verification value obtained by the complexity and the verification operation determines the configuration cost of the response configuration stage.

[0063] In a specific implementation, first, the 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, and 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, the verification value obtained by the system during the signature verification operation is obtained, which 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 by the verification operation are used as input parameters of the cost model, and a cost value is output by the cost model, which is used as the configuration cost of the response configuration stage.

[0064] It should be noted that the configuration cost of the response configuration stage in the present application refers to the comprehensive measurement of the calculation resources, time and system overhead consumed by the master router for the verification operation of the response message from the slave router in the wireless networking network configuration process. The cost is mainly determined by the calculation complexity of the verification signature, the time consumption of the decryption process, the consumption of system resources, etc. It is usually used to reflect the processing cost required in the response configuration stage and help evaluate the influence of this stage on the overall network configuration process.

[0065] In step S5, the wireless networking fast network configuration process is subjected to minimum cost constraint by the configuration cost of the request configuration stage and the configuration cost of the response configuration stage, and the configuration constraint quantity of the wireless networking fast network configuration is obtained, and then the encryption level of the wireless networking fast network configuration is adjusted by the configuration constraint quantity.

[0066] In the present embodiment, the configuration constraint quantity of the wireless networking fast network configuration can be obtained by subjecting the wireless networking fast network configuration process to minimum cost constraint by the configuration cost of the request configuration stage and the configuration cost of the response configuration stage, which can be implemented by the following steps:

[0067] The minimum cost weight of the request configuration stage and the minimum cost weight of the response configuration stage are determined by the simulation data of the router network configuration.

[0068] The minimum configuration cost of the request configuration stage is determined by the minimum cost weight of the request configuration stage and the configuration cost of the request configuration stage.

[0069] determine the minimum configuration cost of the response configuration phase by combining the minimum cost weight of the response configuration phase and the configuration cost of the response configuration phase;

[0070] determine the configuration constraint quantity of the wireless networking fast configuration network according to the minimum configuration cost of the request configuration phase and the minimum configuration cost of the response configuration phase.

[0071] In a specific implementation, first, in the simulation environment of the router configuration network, the cost characteristics of the request configuration phase and the response configuration phase are analyzed through multiple experiments or simulation data, and the minimum cost weights of the request configuration phase and the response configuration phase are obtained through the simulation data; second, the minimum configuration cost of the request configuration phase can be calculated by combining (multiplying) the minimum cost weight and the configuration cost of the request configuration phase, and the configuration cost of the phase with a larger weight is relatively high, and the resource consumption of the phase can be optimized by adjusting the algorithm or the configuration strategy, for example, the generation time is shortened by optimizing the key generation algorithm, or the calculation burden is reduced by adjusting the encryption strength; then, the minimum configuration cost of the response configuration phase is obtained by combining (multiplying) the minimum cost weight of the response configuration phase and the configuration cost of the response configuration phase, and the complexity that may be increased in the signature verification process and the decryption operation in the response message needs to be considered, and the algorithm is adjusted to reduce the cost; finally, the minimum configuration cost of the request configuration phase and the minimum configuration cost of the response configuration phase are combined (added) to determine the final configuration constraint quantity by comprehensively considering the influence of the two, and the configuration constraint quantity reflects the balance between security and efficiency in the entire configuration network process, and the system can adjust the parameters such as the encryption strength and the key generation mode in the configuration network process according to the configuration constraint quantity to ensure the minimum cost of the entire configuration network process.

[0072] It should be noted that the configuration constraint quantity in the present application refers to a measurement standard obtained by performing minimum cost constraint calculation on the configuration cost of the request configuration phase and the response configuration phase in the wireless networking fast configuration network process, which represents the balance constraint between security and efficiency in the configuration network process, guides the optimization and adjustment of various parameters (such as the encryption strength and the key generation time) in the configuration process, and the size of the configuration constraint quantity determines the tolerable calculation resource consumption and security level in the configuration network process to ensure that the configuration network process is fast and meets certain security requirements.

[0073] It also needs to be explained that the adjustment of the encryption level of the wireless networking fast configuration network by the configuration constraint quantity in the present application refers to dynamically adjusting the encryption strategy in the configuration network process according to the obtained configuration constraint quantity, so as to optimize the balance between the configuration network speed and security; the specific implementation mode includes: if the configuration constraint quantity is low, it means that the configuration network process can bear a higher calculation cost, at this time, the encryption level can be improved (such as using stronger encryption algorithm, longer key, etc.) to enhance the security; and if the configuration constraint quantity is high, it means that the configuration network process is sensitive to resource consumption, and the encryption level needs to be reduced (such as using relatively light encryption algorithm or shorter key) to improve the configuration network efficiency, which adjusts the configuration cost and security demand through dynamic evaluation to ensure that the configuration network process is both fast and has sufficient security protection.

[0074] As can be seen, in the present application, the process of the wireless networking fast configuration network is constrained by the minimum cost of the configuration cost of the request configuration stage and the configuration cost of the response configuration stage, the configuration constraint quantity is obtained, and then the encryption level of the wireless networking fast configuration network is adjusted by the configuration constraint quantity; first, through the network connection, the problem of unsuccessful connection caused by signal interference in 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 the routers can successfully identify and complete the configuration network task in a dense environment; second, the master router sends an identity authentication request message to the slave router through the LAN port to activate the dynamic key generation algorithm in the slave router to generate an encryption key, which enhances the security of the configuration network process, avoids the complex operation of manually inputting WiFi connection information, greatly simplifies the configuration process, and improves the user experience; then, the steps of digitally signing the MAC address of the slave router and the preset random challenge data using the encryption key and generating a response message further improve the security of the configuration network, the digital signature not only ensures the integrity of the data, but also prevents potential man-in-the-middle attacks, thereby enhancing the data security of the entire configuration network process; finally, the minimum cost constraint is performed on the configuration cost of the request configuration stage and the response configuration stage, and the encryption level in the configuration network process is dynamically adjusted according to the configuration constraint quantity, so that the network configuration can optimize the configuration network efficiency according to the actual network environment and device performance while ensuring security, which not only improves the configuration network speed, but also balances the network security and efficiency according to the configuration cost, ensures that the entire configuration network process is fast and safe, and meets the needs in different scenarios.

[0075] The above specific embodiments further illustrate the purpose, technical solutions and advantages of the present application, and it should be understood that the above description is only a specific embodiment of the present application and is not used to limit the protection scope of the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for realizing quick network configuration of WiFi router wireless networking by using a network cable, characterized in that, The method comprises the following steps: connecting the master router and the slave router through the LAN port of the network cable; the master router sends a request message for identity authentication 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 preset random challenge data are digitally signed using the encryption key to generate a response message, and the configuration cost of the request configuration stage is determined according to the generation time length of the encryption key and the encryption strength of the digital signature; the response message is sent to the master router, a decryption key is generated through the dynamic key generation algorithm in the master router, the authentication signature data in the response message is verified using the decryption key, and then the configuration cost of the response configuration stage is determined according to the complexity of the verification process; the process of wireless networking fast network configuration is constrained by the minimum cost of the request configuration stage and the response configuration stage, and the configuration constraint quantity is obtained, and then the encryption level of the wireless networking fast network configuration is adjusted through the configuration constraint quantity.

2. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, wherein, The MAC address of the slave router and the preset random challenge data are spliced to obtain splicing data with a fixed structure; the splicing data is hashed using the encryption key to generate encrypted signature data; the encrypted signature data and the configuration state of the slave router are encapsulated to obtain the response message. The generation time length of the encryption key is used to determine the key generation cost; 3. The method of claim 1, wherein the method further comprises: the encryption strength of the digital signature is used to determine the encryption strength cost; the complexity of the verification operation is obtained by performing 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 in the signature verification process; the complexity of the verification operation is obtained by performing 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 in the signature verification process; the complexity of the verification operation is obtained by performing 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 in the signature verification process.

4. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, wherein, The minimum cost weights of the request configuration stage and the response configuration stage are determined through simulation data of router network configuration; the minimum configuration cost of the request configuration stage is determined through the minimum cost weight of the request configuration stage and the configuration cost of the request configuration stage; the minimum configuration cost of the response configuration stage is determined through the minimum cost weight of the response configuration stage and the configuration cost of the response configuration stage; 5. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, characterized in that, ​ ​ ​ ​ The configuration constraint quantity of the wireless networking fast configuration is determined according to the minimum configuration cost of the request configuration stage and the minimum configuration cost of the response configuration stage.

6. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, wherein, The LAN port refers to an interface for connecting devices in a local area network.

7. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, wherein, The request message is a network packet for initiating identity authentication.

8. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, wherein, The encryption key generated by the router through the built-in dynamic key generation algorithm after receiving the request message refers to that the router calculates a unique and secure encryption key according to the MAC address of the router, the device serial number and the message header information by using a dynamic key generation algorithm after receiving the request message.

9. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, wherein, The dynamic key generation algorithm specifically refers to a key generation algorithm based on a hash function.

10. The method for quickly configuring network of WiFi router wireless networking by using network cable according to claim 1, wherein, Adjusting the encryption level of the wireless networking fast configuration through the configuration constraint quantity refers to dynamically adjusting the encryption strategy in the configuration process according to the obtained configuration constraint quantity.

Citation Information

Patent Citations

  • Wireless local area network context control protocol

    CN101742496A

  • A cloud security fast distribution network method and distribution network system

    CN109005537A