Router network connection method and system, child router, and parent router
The method of connecting child routers to parent routers through network separation and secure access to connection information addresses self-networking challenges, ensuring reliable and automatic network expansion in bundled systems.
Patent Information
- Application Number
- JP2022565979
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-29
- Filing Date
- 2021-04-06
- Publication Date
- 2024-08-21
- Estimated Expiration
- 2041-04-06
AI Technical Summary
Existing bundled routers face challenges in self-networking due to uncertainties in Wi-Fi coverage areas and PLC power line phase crossings, leading to incomplete network connections and the need for manual configuration when expanding networks.
A method and system for connecting child routers to parent routers through physical and software network separation, enabling secure access to network connection information, and automatic configuration using preconfigured decryption algorithms and authentication processes.
Ensures secure and accurate network connection between child and parent routers, eliminating interference from Wi-Fi coverage and PLC power line issues, allowing plug-and-play functionality and efficient network expansion without manual configuration.
Smart Images

Figure 0007537674000001 
Figure 0007537674000006 
Figure 0007537674000007
Abstract
Description
[Technical field]
[0001] This application relates to the field of communications technology, and in particular to a router networking method and system, a child router, and a parent router. [Background technology]
[0002] As bandwidth speeds continue to increase, users with demands for Blu-ray and mobile gaming services need to be able to get good Wi-Fi coverage anywhere in their homes to ensure network speed and quality, so bundled routers are becoming more and more popular with users with larger homes.
[0003] Currently, commercially available bundled routers are usually connected through Wi-Fi / Ethernet / PLC (Power Line Communication). Every router in the bundled router is an independent individual. In the initial configuration, some bundled routers may have the Wi-Fi parameters or PLC parameters of the bundled router pre-configured upon delivery. After powering on, the child router will automatically scan the configured parent router and initiate automatic connection. However, self-network connection may not be possible due to uncertainties in the Wi-Fi coverage area or factors interfering with Wi-Fi, as well as the phase crossing of the PLC power line or factors interfering with the PLC power line. Summary of the Invention
[0004] In view of this, the embodiments of the present application provide a router network method and system, a child router, a parent router, an apparatus, and a storage medium to solve the problem that self-network connection may not be possible between bundled routers due to uncertainty about Wi-Fi coverage area or factors interfering with Wi-Fi, and phase crossing of PLC power lines or factors interfering with PLC power lines.
[0005] According to a first aspect, an embodiment of the present application provides a router network connection method, including:
[0006] A child router is inserted into an interface of a parent router and coupled to the parent router, the child router accesses a first network by using the interface of the parent router and obtains network connection information from the first network, the child router is removed from the interface of the parent router and inserted into the target interface, and accesses a second network corresponding to the target interface based on the network connection information.
[0007] It can be understood that a specific implementation scenario of a router network connection may be as follows:
[0008] A user inserts a child router into the interface of a parent router, which may be specifically located in the living room of the user's home.
[0009] Then, after being inserted into an interface of a parent router, the child router accesses a network, which is the first network corresponding to the interface.
[0010] The first network is provided by a parent router. A connected device (such as a child router) may be inserted into an interface of the parent router by using a network cable head or plug to access the first network and communicate with the parent router by using the first network. It may be understood that the parent router and the child router may be considered as two nodes communicating with each other in the first network, and the two nodes exchange information by using a communication link established with the first network.
[0011] In particular, the first network includes network connection information for accessing the second network, such as an ETH connection password, a Wi-Fi password, or a PLC domain password. The second network can be understood as a network used by a user to access the Internet on a daily basis, i.e., a local area network provided by a parent router, by using which a wide area network can be connected. It can be understood that since there is network isolation between the first network and the second network, the communication link established between the parent router and the child router by using the first network can be considered as a secure link. The child router needs to be inserted to obtain the network connection information, which can effectively guarantee the security of the network connection information. No person other than the resident user can obtain the network connection information. It can be understood that the first network can be considered as a secure network for the device to exchange information with the parent router.
[0012] Then, the child router obtains the network connection information when accessing the first network, and completes self-configuration of the network connection between the child router and the parent router.
[0013] Finally, the child router is pulled out from the interface of the parent router and inserted into a target interface (e.g., a socket, corresponding to the second network) in a room with a relatively weak signal, and accesses the second network by using the network connection information. In this case, the child router functions as a router for expanding the signal of the parent router, and performs the function of strengthening the signal.
[0014] In this embodiment of the present application, an interface is arranged in a parent router to realize the self-configuration of the network connection between the child router and the parent router. The child router obtains accurate network connection information in a secure network environment corresponding to the interface of the parent router, and through removal, can access a second network based on the network connection information to extend the signal of the parent router.
[0015] With reference to the above aspects and any possible implementations, an implementation is further provided. The interface for insertion includes a network cable interface or a power line interface. It can be understood that in this embodiment of the application, the interface of the first network is specifically a physical interface, which can couple and separate the child router and the parent router.
[0016] With reference to the above aspects and any possible implementations, an implementation is further provided. The manner of network separation includes physical separation and / or software separation, and the software separation includes bridge separation and / or IP layer separation. It can be understood that there is network separation between the first network and the second network, and therefore, when the child router accesses the first network, it is equivalent to accessing a secure link. However, other users (e.g., neighbors) cannot access this secure link, and the child router may obtain network connection information from the first network.
[0017] With reference to the above aspects and any possible implementations, an implementation is further provided: The child router accessing a first network and obtaining network connection information from the first network includes:
[0018] The child router decrypts the encrypted domain password broadcasted in the first network by using a pre-configured decryption algorithm to obtain a decrypted domain password. The child router accesses the first network based on the decrypted domain password to obtain network connection information from the first network. It can be understood that the child router needs to perform decryption to access the first network. Both the encryption algorithm and the decryption algorithm, which are respectively for the first network and for the child router, can be set by the manufacturer. Other different bundled routers cannot access the first network even if they can be inserted into the interface of the parent router, thereby further improving the security of the first network.
[0019] With reference to the foregoing aspects and any possible implementations, an implementation is further provided: Accessing the second network based on the network connection information includes:
[0020] The child router performs network access authentication by using the network connection information, and if the network connection information meets the condition for accessing the second network, the child router accesses the second network. It can be understood that the authentication process is a verification process. For example, when using a PLC interface to access the second network, the child router performs authentication based on a domain password set for the child router, that is, based on the domain password, the child router determines which network to specifically access. There may be multiple second networks, and the second networks can be accessed precisely through the network access authentication.
[0021] With reference to the above aspects and any possible implementations, after the child router is inserted into the interface of the parent router and coupled with the parent router, the method further includes determining whether the child router is in a delivery state, and resetting the child router to return to a delivery state if the child router is in a non-delivery state. It can be understood that some failures may occur during the use of the child router and the parent router, resulting in the child router being unable to network connect with the parent router. A child router that is in a failure state during use is usually in a non-delivery state. When a failure occurs, the delivery status may be determined after the child router is inserted into the parent router, and the self-network connection may be reset to resynchronize the child router's binding information.
[0022] With reference to the above aspects and any possible implementations, an implementation is further provided: When the child router is in a non-delivery state, resetting the child router to return to a delivery state includes:
[0023] When the child router is in a non-distribution state, the child router randomly generates a first parameter and transmits the first parameter to the parent router.
[0024] The child router receives the concatenated parameters sent by the parent router, and the concatenated parameters are obtained through encryption by using a pre-configured public key after a second parameter randomly generated by the parent router is concatenated with the first parameter.
[0025] The child router decrypts the concatenated parameters by using a pre-configured private key, and determines whether the result obtained through the decryption is the same as the first parameter. If the result is the same as the first parameter, the child router sends a reset request information to the parent router. The pre-configured private key is paired with the pre-configured public key.
[0026] The child router receives response information sent by the parent router, and the response information includes a string obtained through encryption by using a pre-configured public key after the first parameter, the second parameter, and the reset command are concatenated.
[0027] The child router decrypts the response information by using a preset secret key, and determines whether the result obtained through decryption is the same as the first parameter and the second parameter. If the result is the same as the first parameter and the second parameter, the child router is reset according to the reset command to return to a delivery state.
[0028] It can be appreciated that the security and accuracy of resetting the child router can be improved through encryption with the string.
[0029] With reference to the above aspects and any possible implementations, an implementation is further provided: The child router is reset to return to a delivery state based on DHCP. After the child router is inserted into the parent router, DHCP can be used to trigger an operation to reset the child router to automatically reset the child router and re-network the child router with the parent router.
[0030] According to a second aspect, an embodiment of the present application provides a router network connection method, including:
[0031] By using an interface of the parent router, the parent router is coupled to the child router, a network corresponding to the interface of the parent router is a first network, there is network separation between the first network and a second network, and the second network is a local area network provided by the parent router.
[0032] The parent router uses a first network to provide network connection information to the child router, so that the child router accesses a second network based on the network connection information and functions as a router to extend the signal of the parent router. With reference to the above aspects and any possible implementations, an implementation is further provided. The interface includes a network cable interface, a wireless network interface, or a power line interface.
[0033] It can be understood that a specific implementation scenario of a router network connection may be as follows:
[0034] A user inserts a child router into the interface of a parent router, which is located in the living room of the user's home.
[0035] Then, after being inserted into an interface of a parent router, the child router accesses a network corresponding to the interface, which is a first network. The first network is provided by the parent router. A connected device (such as a child router) may be inserted into an interface of the parent router by using a network cable head or plug to access the first network, and communicate with the parent router by using the first network. It can be understood that the parent router and the child router can be considered as two nodes communicating with each other in the first network, and the two nodes exchange information by using the communication link established with the first network. It is noted that in one embodiment, a connected device can only access the first network by being physically inserted into an interface of the parent router.
[0036] In particular, the first network includes network connection information for accessing the second network, such as an ETH connection password, a Wi-Fi password, or a PLC domain password. The second network can be understood as a network used by the user to access the Internet on a daily basis, and the user's neighbors can access the second network if the neighbors have the network connection information. It can be understood that since there is network isolation between the first network and the second network, the communication link established between the parent router and the child router using the first network can be considered as a secure link. The child router needs to be inserted to obtain the network connection information, which can effectively guarantee the security of the network connection information. No person other than the resident user can obtain the network connection information. It can be understood that the first network can be considered as a secure network for the device to exchange information with the parent router.
[0037] Then, the child router obtains the network connection information when accessing the first network, and completes self-configuration of the network connection between the child router and the parent router.
[0038] Finally, the child router is pulled out from the interface of the parent router and inserted into a target interface (e.g., a socket, corresponding to the second network) in a room with a relatively weak signal, and accesses the second network by using the network connection information. In this case, the child router functions as a router for expanding the signal of the parent router, and performs the function of strengthening the signal.
[0039] In this embodiment of the present application, an interface is arranged in a parent router to realize the self-configuration of the network connection between the child router and the parent router. The child router obtains accurate network connection information in a secure network environment corresponding to the interface of the parent router, and through removal, can access a second network based on the network connection information to extend the signal of the parent router.
[0040] With reference to the above aspects and any possible implementations, an implementation is further provided, in which the interface includes a network cable interface or a power line interface. It can be understood that in this embodiment of the application, the interface of the first network is specifically a physical interface, which can couple and separate the child router and the parent router.
[0041] With reference to the above aspects and any possible implementations, an implementation is further provided. The manner of network separation includes physical separation and / or software separation, and the software separation includes bridge separation and / or IP layer separation. It can be understood that there is network separation between the first network and the second network, and therefore, when the child router accesses the first network, it is equivalent to accessing a secure link. However, other users (e.g., neighbors) cannot access this secure link, and the child router may obtain network connection information from the first network.
[0042] With reference to the above aspects and any possible implementations, an implementation is further provided. An encrypted domain password is broadcast in a first network, and a child router decrypts the encrypted domain password broadcast in the first network by using a pre-configured decryption algorithm to obtain the decrypted domain password, and then accesses the first network based on the decrypted domain password to obtain network connection information. It can be understood that the child router needs to perform decryption to access the first network. Both the encryption algorithm and the decryption algorithm, which are respectively for the first network and for the child router, can be set by the manufacturer. Other different bundled routers cannot access the first network even if they can be inserted into the interface of the parent router, thereby further improving the security of the first network.
[0043] With reference to the above aspects and any possible implementations, an implementation is further provided. After the parent router is coupled with the child router by using the interface of the parent router, the method further includes determining whether the child router is in a delivery state, and resetting the child router to return to a delivery state if the child router is in a non-delivery state. It can be understood that some failure may occur during the use of the child router and the parent router, resulting in the child router being unable to network connect with the parent router. The child router that is in use and has a failure is usually in a non-delivery state. When a failure occurs, the delivery status may be determined after the child router is inserted into the parent router, and the self-network connection may be reset to resynchronize the binding information of the child router.
[0044] With reference to the above aspects and any possible implementations, an implementation is further provided: When the child router is in a non-delivery state, resetting the child router to return the child router to a delivery state includes:
[0045] When the child router is in a non-distributing state, the parent router receives a first parameter sent by the child router, the first parameter being randomly generated by the child router.
[0046] The parent router randomly generates a second parameter, concatenates the second parameter with the first parameter, and then obtains a concatenated parameter through encryption using a pre-configured public key, and sends the concatenated parameter to the child router.
[0047] The parent router receives reset request information sent by the child router, generates a reset command based on the reset request information, concatenates the first parameter, the second parameter, and the reset command, and then obtains a string through encryption using a pre-configured public key, and sends the string to the child router as response information.
[0048] If the child router successfully verifies the response information, the parent router resets the child router by using a reset command, returning the child router to a delivery state.
[0049] It can be appreciated that the security and accuracy of resetting the child router can be improved through encryption with the string.
[0050] With reference to the above aspects and any possible implementations, an implementation is further provided. The child router is reset based on DHCP to return the child router to a delivery state. After the child router is inserted into the parent router, DHCP can be used to trigger an operation to reset the child router to automatically reset the child router and re-network the child router with the parent router.
[0051] According to a third aspect, an embodiment of the present application provides a router network connection system including a parent router and a child router. The parent router includes an interface, and the interface of the parent router is configured to couple the child router to the parent router and to separate the child router from the parent router. The child router and the parent router are configured to perform the following:
[0052] A child router is inserted into an interface of a parent router and coupled to the parent router, a network corresponding to the interface of the parent router is a first network, a network separation exists between the first network and a second network, and the second network is a local area network provided by the parent router.
[0053] The child router accesses the first network.
[0054] A parent router provides network connection information to a child router by using a first network, the network connection information being used to access a second network.
[0055] The child router obtains network connection information from the first network.
[0056] The child router is removed from the parent router by unplugging it from the parent router's interface.
[0057] The child router is inserted into the target interface, and the network corresponding to the target interface is the second network.
[0058] The child router accesses the second network based on the network connection information by using the target interface, and the child router functions as a router for extending the signal of the parent router.
[0059] With reference to the above aspects and any possible implementations, an implementation is further provided: The interface of the parent router includes a network cable interface or a power line interface.
[0060] With reference to the above aspects and any possible implementations, an implementation is further provided. A first network is provided by a parent router. When a connected device needs to access the first network, the connected device needs to be inserted into an interface of the parent router by using a network cable head or plug to access the first network, and communicates with the parent router by using the first network. The connected device includes a child router.
[0061] With reference to the above aspects and any possible implementations, an implementation is further provided: The network separation method includes physical separation and / or software separation, and the software separation includes bridge separation and / or IP layer separation.
[0062] With reference to the above aspects and any possible implementations, an implementation is further provided: The child router is further configured to:
[0063] The child router decrypts the encrypted domain password broadcasted in the first network by using a preconfigured decryption algorithm to obtain a decrypted domain password.
[0064] The child router accesses the first network based on the decrypted domain password.
[0065] With reference to the above aspects and any possible implementations, an implementation is further provided: The child router is further configured to:
[0066] The child router performs network access authentication by using the network connection information, and if the network connection information meets the condition for accessing the second network, the child router accesses the second network.
[0067] With reference to the above aspects and any possible implementations, an implementation is further provided: The network connection information includes an ETH connection password, a PLC domain password, or a Wi-Fi connection password.
[0068] With reference to the above aspects and any possible implementations, an implementation is further provided, wherein the parent router is further configured to: Determine whether the child router is in a delivery state, If the child router is in a non-distributing state, reset the child router to return it to a distributing state.
[0069] With reference to the above aspects and any possible implementations, an implementation is further provided: The child router and the parent router are further configured to:
[0070] When the child router is in a non-distribution state, the child router randomly generates a first parameter and transmits the first parameter to the parent router.
[0071] The parent router receives the first parameter sent by the child router.
[0072] The parent router randomly generates a second parameter, concatenates the second parameter with the first parameter, and then obtains a concatenated parameter through encryption using a pre-configured public key, and sends the concatenated parameter to the child router.
[0073] The child router receives the concatenation parameters sent by the parent router.
[0074] The child router decrypts the concatenated parameters by using a preset private key, and determines whether the result obtained through the decryption is the same as the first parameter. If the result is the same as the first parameter, the child router sends a reset request information to the parent router. The preset private key is paired with the preset public key.
[0075] The parent router receives reset request information sent by the child router, generates a reset command based on the reset request information, concatenates the first parameter, the second parameter, and the reset command, and then obtains a string through encryption using a pre-configured public key, and sends the string to the child router as response information.
[0076] The child router receives the response information sent by the parent router.
[0077] The child router decrypts the response information by using a preset secret key, and determines whether a result obtained through decryption is equal to the first parameter and the second parameter, and if the result is equal to the first parameter and the second parameter, the child router is reset according to the reset command to return to a delivery state.
[0078] With reference to the above aspects and any possible implementations, an implementation is further provided: The child router is reset based on DHCP to return the child router to a delivery state.
[0079] According to a fourth aspect, an embodiment of the present application provides a child router including an access component corresponding to an interface of a parent router, the access component being configured together with the interface of the parent router to couple or decouple the parent router and the child router, the child router including a processor and a memory, the memory storing program instructions that, when executed by the processor, enable the child router to perform the router network connection method according to the first aspect.
[0080] According to a fifth aspect, an embodiment of the present application provides a parent router including an interface of the parent router, the interface of the parent router configured to couple or decouple the parent router and the child router together with an access component in the child router corresponding to the interface of the parent router. The parent router includes a processor and a memory. The memory stores program instructions that, when executed by the processor, enable the parent router to perform the router network connection method according to the second aspect.
[0081] According to a sixth aspect, an embodiment of the present application provides a router network connection device, the device including several modules, which enable a child router to execute the router network connection method according to the first aspect.
[0082] According to a seventh aspect, an embodiment of the present application provides another router network connection device, the device including several modules, which enable a parent router to execute the router network connection method according to the second aspect.
[0083] According to an eighth aspect, an embodiment of the present application provides a non-volatile readable storage medium, the non-volatile readable storage medium storing program instructions, which, when executed by a computer, enable the computer to execute the router network connection method according to the first aspect.
[0084] According to a ninth aspect, an embodiment of the present application provides another non-volatile readable storage medium, the non-volatile readable storage medium storing program instructions, which, when executed by a computer, enable the computer to execute the router network connection method according to the second aspect.
[0085] In the embodiment of this application, by using the network separation existing between the first network and the second network, the network connection information is accurately obtained from the first network without interference, and the function of automatic network connection between the child router and the parent router is realized by using the network connection information. Thus, in the network connection between the child router and the parent router, the interference of Wi-Fi coverage area or factors interfering with Wi-Fi, the phase crossing of PLC power line or factors interfering with PLC power line, and the like can be eliminated, and the self-network connection can be successfully realized. Furthermore, compared with the child router and the parent router in the conventional bundled router, the detachable and combinable composite router in the embodiment of this application is independent from each other, and the detachable and combinable composite router can implement the plug-and-play function. [Brief description of the drawings]
[0086] [Figure 1] FIG. 2 is a schematic diagram of a router configuration according to an embodiment of the present application. [Diagram 2] 1 is a schematic diagram of a bundling router according to an embodiment of the present application. [Diagram 3] 2 is a flowchart of a router network connection method according to an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of the structure of a child router according to an embodiment of the present application; [Diagram 5] FIG. 2 is a schematic diagram of the structure of a parent router according to an embodiment of the present application; [Figure 6] FIG. 2 is a schematic diagram obtained after a child router is inserted into the interface of a parent router according to an embodiment of the present application; [Figure 7] FIG. 2 is a schematic diagram of achieving network isolation from an aspect of a parent router according to an embodiment of the present application; [Figure 8] 1 is an interaction flowchart of distributing a reset command using a DHCP procedure according to an embodiment of the present application. [Figure 9]FIG. 2 is a schematic diagram of using a detachable and detachable composite router in one real-world scenario according to one embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0087] Hereinafter, the technical solutions in the embodiments of this application will be described with reference to the accompanying drawings in the embodiments of this application. In the description of the embodiments of this application, " / " means "or" unless otherwise specified. For example, A / B can represent A or B. In this specification, "and / or" simply describes an association relationship to describe related objects, and represents that three relationships can exist. For example, A and / or B can represent the following three cases: only A exists, both A and B exist, and only B exists.
[0088] The terms "first" and "second" below are intended for descriptive purposes only and should not be understood as indicating or implying a relative importance or quantity of the technical features depicted. Thus, features qualified by "first" or "second" may explicitly or implicitly include one or more of those features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0089] In the embodiments of this application, words such as "example" or "for example" are used to denote providing an example, illustration, or explanation. Any embodiment or design solution described in the embodiments of this application as an "example" or "for example" should not be construed as being preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "example" or "for example" is intended to concretely present a related concept.
[0090] FIG. 1 is a schematic diagram of the configuration of a router 100.
[0091] The router 100 may include a processor 110 , a memory 120 , wireless communication circuitry 130 , an antenna 131 , and a network port 140 .
[0092] It may be understood that the configuration shown in this embodiment of the application does not constitute a particular limitation on the router 100. In some other embodiments of the application, the router 100 may include more or fewer components than those shown in the figures, combine some components, split some components, or have a different component arrangement. The components shown in the figures may be implemented using hardware, software, or a combination of software and hardware.
[0093] The memory 120 is configured to store instructions and data. The processor 110 may call the instructions or data stored in the memory 120. The network port 140 may include a wired network interface. The wired network interface may be configured to connect to an Internet network using a wired network, such as broadband, and may provide Internet access to a plurality of terminals. The network port 140 may also include a mobile communication module, which may be configured to connect to a core network using a wireless communication technology. The wireless communication circuit 130 may be configured to communicate using a wireless local area network standard, such as a Wi-Fi network. The wireless communication circuit 130 may be one or more components integrating at least one communication processor module. The wireless communication circuit 130 may receive electromagnetic waves using the antenna 132, perform frequency modulation and filtering on the electromagnetic wave signal, and send the processed signal to the processor 110. The wireless communication module may further receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal to be transmitted, convert the signal to be transmitted into an electromagnetic wave by using the antenna 132, and radiate the electromagnetic wave.
[0094] Currently, commercially available bundled routers usually include a child router and a parent router. As shown in FIG. 2, the child router and the parent router in the bundled router are both independent and separate, and cannot be combined. The child router usually has a few less functions than the parent router. The child-parent router is mainly used in a large house. For example, the parent router is placed in the living room of the large house, and the child router is placed in another place, such as a room, so that the child router can be networked with the parent router, thereby increasing the strength of the signal covered by Wi-Fi at the child router's location and ensuring the speed and quality of the network.
[0095] When a bundled router is set up for the first time, the parent router settings need to be completed first, such as the Wi-Fi connection password, blacklist, whitelist, the maximum number of users who can access the parent router, and the user name, and other setting information. After the parent router settings are completed, the user can add a child router using a related APP (application). Currently, in some bundled routers, the Wi-Fi parameters or PLC parameters of the bundled router are pre-configured upon delivery, so that after power-on, the child router can automatically scan the configured parent router and initiate automatic connection to the parent router based on the pre-configured Wi-Fi or PLC parameters. However, if the child router is placed in an inappropriate location, the Wi-Fi coverage area or factors interfering with Wi-Fi, as well as the phase crossing of the PLC power line or factors interfering with the PLC power line, are uncertain, so that the network connection settings of the bundled router cannot reach a 100% success rate (for example, data packets may be dropped when receiving information using Wi-Fi in some locations).
[0096] In addition, for residential types that cannot be covered by the bundled router, users need to purchase additional single package (child) routers in addition to the bundled router for expansion. However, due to security requirements, bundling parameters cannot be pre-configured for single package routers. When expanding the network, self-network connection cannot be completed, and users must configure it manually. The installation of single package routers cannot implement plug-and-play.
[0097] An embodiment of this application provides a router network connection method. As shown in Figure 3, the method includes the following steps:
[0098] S10: A child router is inserted into an interface of a parent router and coupled to the parent router, a network corresponding to the interface of the parent router is a first network, there is network separation between the first network and a second network, and the second network is a local area network provided by the parent router.
[0099] Compared with the prior art bundling router, the composite router including the child router and the parent router is detachable and combinable, and the child router and the parent router can be used independently of each other or together. The child router can be specifically connected to the parent router by using the interface of the parent router.
[0100] Fig. 4 is a schematic diagram of the structure of a child router. As shown in Fig. 4, the child router includes a plug (which is a two-pin plug shown in the figure, but may actually be a different type of plug, such as a three-pin plug) configured to be inserted into an interface (which corresponds to a plug, and the interface of the parent router is specifically a socket) of the parent router.
[0101] Figure 5 is a schematic diagram of the structure of a parent router. As shown in Figure 5, multiple interfaces (sockets) are arranged on the base of the parent router, and the child router and the parent router can be connected by inserting the plug of the child router into the socket of the base of the parent router. Specifically, Figure 6 is a schematic diagram obtained after the child router is inserted into the interface of the parent router. It can be seen from Figure 6 that the parent router can be connected to and coupled with multiple child routers.
[0102] Also, the interface of the parent router may include an interface of network port structure type (an interface used to connect to a network cable in a residential scenario, usually called a network port). If the interface of the parent router is an interface of network port structure type, the access head of the access component of the child router is a network cable head of network port structure type. The specific structure used for the interface of the parent router is not limited here, and the structure type used for the access component of the child router corresponds to that used for the interface of the parent router.
[0103] Also, the interface into which the child router is inserted corresponds to a first network. The first network is provided by the parent router. When the connected device needs to access the first network, the connected device needs to be inserted into the interface of the parent router by using a network cable head or plug to access the first network. The connected device communicates with the parent router by using the first network. The connected device may specifically be the child router, or may be other electronic devices that can be connected to the parent router using the interface of the parent router.
[0104] Also, there is a network separation between the first network and the second network. The second network is a local area network provided by a parent router. A residential user may access the local area network provided by the parent router with a computing device, such as a computer. The second network may be connected to a network based on a wide area network (WAN) interface (the parent router is connected to the WAN interface to access a remote network, such as the Internet). The user's computer may be connected to the parent router using a LAN interface to access the local area network (i.e., the second network) provided by the parent router, and the second network may be understood as a network used to access the Internet on a daily basis. It may be understood that a WAN network is a remote network that connects computers in local area networks or metropolitan area networks in different regions to communicate with each other. After accessing the second network, the user's computer may log in to a network, such as the Internet. After being connected to the second network, the user's computer may perform network communication with electronics devices in different regions. In contrast, there is a network separation between the first network and the second network. The first network cannot be used to log in to a remote network, such as the Internet, and cannot communicate with electronics devices in different regions. The child router can only access the parent router by inserting it into an interface of the parent router. It can be understood that since there is network separation between the first network and the second network, and the first network can only be accessed by inserting it into an interface of the parent router, the communication link established between the parent router and the child router by using the first network can be considered as a secure link.The child router needs to be inserted to obtain the network connection information, which can effectively guarantee the security of the network connection information. It can be understood that no one other than the resident user can obtain the network connection information. The first network can be regarded as a secure network for the device to exchange information with the parent router.
[0105] The terminal device and the child router may access the second network via a wireless connection (Wi-Fi), a wired connection (by using an ETH interface or a PLC interface), or the like. In particular, a network corresponding to an interface of the parent router is the first network, and the first network is provided by the parent router. A network accessed by the child router after the child router is inserted into an interface of the parent router and coupled with the parent router is the first network. It can be understood that when the child router is inserted into a socket of a room in a house, a network corresponding to the socket of the room in the house where the child router is inserted is the second network. However, in this application, the child router accesses the first network after being coupled with the parent router. The first network can be considered as a secure link, and there is network separation between the first network and the second network.
[0106] In one embodiment, the child router is inserted into the interface of the parent router and coupled with the parent router. There is a network separation between the second network and the first network corresponding to the interface of the parent router. It can be understood that the second network can be understood as an ETH, Wi-Fi, or PLC network that is in the user's home and used to access the Internet, and there is a network separation between the second network and the first network. The first network can be considered as a secure link, which is used only by the resident user and is not exposed to the outside as the Wi-Fi used in the home. It can be understood that the first network can be considered as a secure network for the device to exchange information with the parent router. In contrast, the second network is different from the first network, and other residential users can search for the name of the second network (e.g., Wi-Fi) and use the Wi-Fi after learning the Wi-Fi connection password.
[0107] It can be understood that since a Wi-Fi connection password needs to be known to connect to the Wi-Fi, the Wi-Fi connection password is not disclosed in the Wi-Fi broadcast information in the Wi-Fi communication link. In this embodiment of the application, by providing a secure link to a user through network separation between a first network and a second network, the user can obtain network connection information, such as a Wi-Fi connection password, by using the first network to successfully connect to the second network.
[0108] It can be understood that the child router is connected to the parent router by using an interface, and a secure link (first network) is set through network separation, which effectively eliminates the influence of Wi-Fi coverage area or factors interfering with Wi-Fi, as well as phase crossing of PLC power lines or factors interfering with PLC power lines, and helps the child router successfully achieve network connection with the parent router.
[0109] S20: The child router accesses the first network.
[0110] S30: A parent router provides network connection information to a child router by using a first network, and the network connection information is used to access a second network.
[0111] S40: The child router obtains network connection information from the first network.
[0112] The network connection information is information that the child router needs to access the second network. The network connection information may specifically include an ETH connection password, a PLC domain password, or a Wi-Fi connection password. For example, after accessing the first network, the child router may simultaneously obtain PLC domain information (such as a PLC domain password) and Wi-Fi access information (such as a Wi-Fi connection password) to access the second network. It can be understood that, for security considerations, the PLC domain information is not disclosed to the PLC link of the second network, and may be indirectly obtained by using the PLC link of the first network. Similarly, the Wi-Fi access information is not disclosed to the second network, and may be indirectly obtained by using the first network.
[0113] In one embodiment, a parent router provides network connection information to a child router by using a first network, and the child router may obtain the network connection information after accessing the first network.
[0114] In one embodiment, a child router accesses a first network, and the child router can obtain network connection information from the first network safely and quickly by using the feature that there is network separation between the first network and the second network. Due to the network separation, the child router can eliminate the influence of Wi-Fi coverage area or factors interfering with Wi-Fi and phase crossing of PLC power line or factors interfering with PLC power line, therefore the child router can obtain network connection information successfully and accurately, and the child router can realize network connection with the parent router.
[0115] S50: The child router is removed from the parent router by being pulled out from the interface of the parent router.
[0116] A child router and a parent router have a relationship in which the child router and the parent router can be joined and separated, and a child router can be joined to and removed from a parent router by using an interface of the parent router.
[0117] S60: A child router is inserted into a target interface, and a network corresponding to the target interface is a second network.
[0118] S70: The child router accesses the second network based on the network connection information by using the target interface, and the child router functions as a router for extending the signal of the parent router.
[0119] The target interface may specifically be an interface located in a location, such as a room in a user's home, where enhanced network coverage is required.
[0120] In one embodiment, after being unplugged from the parent router, the child router is plugged into an interface (e.g., a PLC power line socket) located at a location where network coverage needs to be enhanced, and accesses the second network by using the target interface.
[0121] In one embodiment, the child router obtains network connection information using the first network during connection to the parent router, which corresponds to completing the configuration of the child router when the child router is combined with the parent router. After the child router is inserted into the target interface, the child router can implement automatic network connection with the parent router based on the completed configuration.
[0122] In one embodiment, a user may specifically perform operations in a real scenario based on the following steps: insert a child router into an interface (such as a base socket, etc.) of a parent router, and then insert it into an interface (such as a PLC power line socket, etc.) in a place where network coverage needs to be enhanced, such as in a room of a house, to complete an automatic network connection between the child router and the parent router. Note that the child router inserted into the target interface is used as a router for extending the signal of the parent router. For example, the child router functions as a router with the relay function of the parent router.
[0123] In this embodiment of the application, by using the network separation existing between the first network and the second network, the network connection information is accurately obtained from the first network without interference, and the function of automatic network connection between the child router and the parent router is realized by using the network connection information. Thus, in the network connection between the child router and the parent router, the interference of Wi-Fi coverage area or factors interfering with Wi-Fi, the phase crossing of PLC power line or factors interfering with PLC power line, and the like can be eliminated, and the self-network connection can be successfully realized. Furthermore, compared with the child router and the parent router in the traditional bundled router, the detachable and combinable composite router in the embodiment of the application is independent from each other, and the detachable and combinable composite router can implement the plug-and-play function.
[0124] Also, in this embodiment of the application, the detachable and combineable composite router can further keep the child router and the parent router in a connected state (the child router and the parent router are combined), i.e., the child router does not need to be pulled out from the parent router. In this case, the child router and the parent router can use channel planning instructions (which are used to plan channels, and the user can input or preset the channel planning instructions on the application that manages the child router and the parent router) to enable the parent router and one or more accessed child routers to provide network services on different channels, such as the 2.4G band (which is not only the 2.4G frequency, but the 2.4G band is a frequency range). It can be understood that when the child router and the parent router remain in a connected state, the combined routers can be used as a multi-frequency router, and the child router can access a second network through a Wi-Fi connection. Also, the number of computer devices (such as mobile phones, computers, or other terminals) that are allowed to access the multi-frequency router increases accordingly. In this embodiment of the application, when the child router and the parent router remain in a connected state and function as a multi-frequency router, the multi-frequency router can be extended to multiple networks of different channels. In a specific application, when a guest visits a user, the user can use a multi-band router to extend a guest network for use by the guest. Since the user and the guest use different channels, it can solve network usage problems such as device access contention and radio interference between network users. In addition, the original bundled router is usually used in a large house. Meanwhile, the detachable and combineable composite router in this application can be applied to a large house in a detached state, and can be extended to multiple networks of different bands in a combined state and applied to a small house.
[0125] Also, in step S10, the interface for insertion includes an interface that can access the first network, such as a network cable interface or a power line interface. The network cable interface can specifically be an ETH (Ethernet) interface, and the power line interface can specifically be a PLC interface. PLC technology is a communication method in which data and media signals are transmitted by using power lines. In this technology, a high frequency wave carrying information is loaded onto an electric current, and then the information is transmitted using a cable, and an adapter that receives the information separates the high frequency wave from the electric current and transmits the high frequency wave to a computer or a phone to which the information should be transmitted, so that the PLC interface can be used to access the Internet through broadband. It can be understood that in this embodiment, the interface of the first network is specifically a physical interface, and the child router and the parent router can be coupled or detached. The interface of the first network further includes a wireless network interface, such as an interface used to connect to Wi-Fi. The wireless network interface is a virtual interface, and can also be used to access the second network. For example, after being inserted into a parent router, a child router may access a second network via Wi-Fi, such that the combination of the parent router and child router is used as a multi-frequency router.
[0126] In step S10, the network separation method includes physical separation and / or software separation, and the software separation includes bridge separation and / or IP layer separation.
[0127] It can be understood that there is a network separation between the first network and the second network, and therefore, when the child router accesses the first network, it is equivalent to accessing a secure link. However, other users (such as neighbors) cannot access this secure link. In a general case, when the router network connection is performed, due to the influence of the Wi-Fi coverage area or factors interfering with Wi-Fi, as well as the phase crossing of the PLC power line or factors interfering with the PLC power line, incomplete network connection information may be obtained during the router network connection. As a result, the network connection cannot be performed normally or the network connection information cannot be obtained. As a result, the step of network authentication (determining the specific network to access) cannot be performed. For example, when the position of the child router is not within the Wi-Fi coverage, the network signal is weak, the wireless network signal interferes with it, etc., the child router cannot obtain accurate and complete network connection information, which causes network failure. In another example, when there is a phase crossing or interference of the power line on the PLC interface connected to the child router, the child router cannot obtain accurate and complete network connection information. As a result, network authentication fails and the child router cannot access the second network.
[0128] In one embodiment, network separation may be implemented by physical separation and / or software separation. When the network connection is implemented using a PLC interface, a specific network separation manner is physical separation. Specifically, there are two independent PLC chips on the parent router, which are PLC chip 1 and PLC chip 2, respectively. The parent router is inserted into a high-power PLC link using PLC chip 1, corresponding to PLC domain 1, and accesses a second network. A socket on the parent router is supplied with low power using PLC chip 2, corresponding to PLC domain 2, and accesses a first network. It should be noted that the high power and low power of PLC can be separated independently, and PLC domain 1 and PLC domain 2 do not affect each other. It can be understood that the high power circuit corresponding to PLC domain 1 may correspond to the circuit used when power is used in daily life in a user's home. The low power circuit corresponding to PLC domain 2 is different from the high power circuit corresponding to PLC domain 1.
[0129] In addition, in step S20, the child router accessing the first network specifically includes: the child router decrypts the encrypted domain password broadcasted in the first network by using a pre-configured decryption algorithm to obtain the decrypted domain password; the child router accesses the first network based on the decrypted domain password to obtain network connection information from the first network; it can be understood that the child router needs to perform decryption to access the first network. Both the encryption algorithm and the decryption algorithm, which are respectively for the first network and for the child router, can be set by the manufacturer. Other different bundled routers cannot access the first network even if they can be inserted into the interface of the parent router, thereby further improving the security of the first network.
[0130] Also, in step S40, the child router accesses the second network based on the network connection information by using the target interface specifically includes: the child router performs network access authentication by using the network connection information, and if the network connection information meets the condition for accessing the second network, the child router accesses the second network. It can be understood that the authentication process is a verification process. For example, when using a PLC interface to access the second network, the child router performs authentication based on a domain password set for the child router, that is, based on the domain password, the child router determines the network to be specifically accessed by the child router. It can be understood that there may be multiple second networks, and different second networks can be accurately accessed through network access authentication.
[0131] It can be understood that the network corresponding to the interface of the parent router is the first network, and the child router can access the first network after being inserted into the interface of the parent router. There is network separation between the first network and the second network. Compared with the second network, the first network can be considered as a secure link and is used only by residential users. The terminal devices, child routers, and the like may be connected to the parent router by wire (ETH interface or PLC interface) or wirelessly (Wi-Fi) to access the second network.
[0132] In one embodiment, when the child router implements a network connection with the parent router by using a PLC interface (accessing the second network where the parent router is placed to strengthen the network signal of the second network of the parent router), the implementation procedure in one specific scenario may be as follows: A user inserts a child router with a plug into the socket on the base of the parent router, and the child router accesses the PLC domain 2 in advance (the PLC domain password is not set in the child router by default). In this case, the child router accesses a secure link. In addition, the secure link (PLC domain 2) broadcasts an encrypted domain password encrypted by using a pre-configured algorithm. The child router can decrypt the encrypted domain password by using a pre-configured pair decryption algorithm to obtain the domain password of the PLC domain 2. In this case, the child router officially accesses the PLC domain 2, and obtains and synchronizes the domain password of the PLC domain 1. The domain password of the PLC domain 1 can implement the function of the child router to automatically complete the network connection with the parent router. Then, the child router is inserted into a high-power circuit, for example, inserted into a socket in a room of the user's house after being unplugged. The child router is connected to the PLC domain 1 (PLC domain 1 corresponds to a high-power circuit, i.e., a user uses the network by using the PLC domain 1) based on the synchronized (set) domain password of the PLC domain 1 to perform authentication, and determines whether the synchronized domain password of the child router is the same as the check password of the authentication target. After it is determined that the synchronized domain password of the child router is the same as the check password of the authentication target, the child router accesses the second network in which the parent router is located.
[0133] In this embodiment of the application, two independent PLC chips are placed in the parent router to implement physical separation and distinguish the circuit of high power from the circuit of low power. When inserted into the parent router, the child router accesses the PLC domain 2 corresponding to the circuit of low power, and when inserted into the target interface, the child router accesses the PLC domain 1 corresponding to the circuit of high power. The self-network connection function in physical separation is implemented by using the domain password of the PLC domain 1 synchronized with the PLC domain 2, which can eliminate the influence factors such as the phase crossing of the power line crossover and the power line interference, so as to ensure that the automatic network connection between the child router and the parent router can be completed successfully.
[0134] In one embodiment, in addition to physical separation, network separation through software separation may be implemented. Software separation includes bridge separation and / or IP layer separation. Bridge separation is a mechanism that can assign different network cable interfaces or PLC interfaces to different bridge devices by using a bridge mechanism of the Linux kernel. A bridge device is a virtual network device and has the function of a network device. An IP address and a MAC address (Media Access Control Address, also called a Local Area Network Address (LAN address), etc.) can be set to the bridge device. A bridge device is a virtual switch and has a function similar to that of a physical switch. It can be understood that a general network device has only two ports, and data that enters from one port goes out from the other port. For example, in a physical network card, data received from an external physical network is forwarded to a kernel protocol stack, and data from the protocol stack is forwarded to an external physical network. However, the case of a bridge device is different. A bridge device can have multiple ports. Data can enter from any port, and the specific port from which the data is sent after entering can be determined based on the MAC address.
[0135] In one embodiment, as shown in FIG. 7, br0 (which is a bridge device numbered 0, and a parent router may include one or more bridge devices) of a parent router is connected to a LAN (local area network) interface through which a user normally accesses the Internet, br0 may include an ETH network interface and a Wi-Fi interface (when the router needs to connect to a second network, the router needs to use a WAN interface, and may be connected to a LAN interface in addition to being connected to a WAN interface within a certain range, such as a home, school, or the like), and brX (which is a bridge device numbered X, and X is an integer greater than 0) includes an ETH network interface and / or a PLC interface. Through the division of br0 and brX, network isolation from TCP / IP (Transmission Control Protocol / Internet Protocol) layer 2 (MAC layer, also called data link layer) may be implemented. Specifically, software isolation may be implemented by assigning different MAC addresses to br0 and brX. It can be understood that Br0 is connected to the LAN interface through which the user usually accesses the Internet, which corresponds to Br0 being the side through which the user usually uses the network (second network), and Br0 can further include a Wi-Fi interface (which is a virtual interface, and the terminal device can use the Wi-Fi interface to access the second network). When the wireless signal coverage is fairly good, the user can connect to the second network using the Wi-Fi interface. brX can be regarded as a secure bridge separated from br0 by network separation at the MAC layer of TCP / IP. Implementing a network connection using software separation, which is clearly bridge separation, is similar to implementing a network connection using physical separation.The main difference is that a bridge device is a virtual network device.
[0136] In one embodiment, if the network connection is implemented based on bridge separation by using an ETH network interface, a PLC interface, or the like, the steps carried out in a specific scenario may be as follows: the child router uses an ETH network interface or a PLC interface to access the first network where the secure bridge brX is located, and obtains and synchronizes network connection information from the first network. Then, the child router is pulled out from the parent router and inserted into a target interface, such as an ETH network interface or a PLC interface in a room of the user's house, or the child router is connected to a Wi-Fi interface through a wireless connection. Finally, the child router accesses the second network based on the network connection information. It can be understood that there is bridge separation between the secure bridge brX and the bridge br0 corresponding to the second network. Therefore, after being inserted into the ETH network interface or PLC interface of the secure bridge brX, the child router obtains network connection information from the secure bridge that does not appear in the broadcast information of br0, and synchronizes the network connection information to complete the network settings of the network connection, so that the child router can realize an automatic network connection based on the synchronized network settings after accessing the target interface.
[0137] In one embodiment, IP layer separation can be used to implement the function of automatic network connection between a child router and a parent router. Specifically, IP layer separation can implement software separation by using IPTABLES. IPTABLES is an IP information packet filtering system integrated with the Linux kernel. When a Linux system is connected to the Internet or a LAN, or connected to a proxy server of a LAN or the Internet, the IP information packet system can well control IP information packet filtering and complete the firewall setting of the Linux system. It can be understood that the software separation implemented by IPTABLES is mainly separation performed on the third layer (network layer, also called IP layer) of TCP / IP. Specifically, IPTABLES can be used to set different network segments for br0 and brX, and in the routing path phase of the two network segments, network layer separation between br0 and brX is formed.
[0138] In one embodiment, similar to the steps carried out in the above specific scenario of implementing network connection using bridge separation, when the network connection is implemented based on IP layer separation by using ETH network interface, PLC interface, or the like, the steps may be as follows: the child router uses ETH network interface or PLC interface to access the first network with brX located in network segment 1 (secure network segment), and obtains and synchronizes network connection information from the first network. Then, the child router is pulled out from the parent router and inserted into a target interface, such as an ETH network interface or PLC interface in a room of the user's house, or the child router is connected to a Wi-Fi interface via a wireless connection. Finally, the child router accesses the second network based on the network connection information. It can be understood that there is IP layer separation between brX located in the secure network segment and a bridge br0 corresponding to the second network, and after being inserted into the ETH network interface / Wi-Fi interface / PLC interface of brX located in the secure network segment, the child router obtains and synchronizes network connection information from the secure network segment to complete the network settings of the network connection, so that after the child router accesses the target interface, it can realize an automatic network connection based on the synchronized network settings.
[0139] In addition, bridge separation and IP layer separation may exist simultaneously to jointly form an overall software separation, which has a better effect than bridge separation and IP layer separation used separately, and the implementation of automatic network connection is more reliable. In addition, physical separation and software separation may also exist simultaneously. For example, when software separation is implemented, the PLC interface can be used simultaneously, which can further ensure the implementation of automatic network connection.
[0140] In addition, after step S10, i.e., after the child router is inserted into the interface of the parent router, the following steps are further included: It is determined whether the child router is in a delivering state, and if the child router is in a non-delivering state, it is reset to return the child router to a delivering state.
[0141] It can be understood that some failures may occur during the use of the child router and the parent router, and as a result, the child router may not be able to network connect with the parent router. The child router that is in use and has a failure is usually in a non-distributed state. When a failure occurs, the child router may determine the distribution status after being inserted into the parent router and reset the self-network connection to resynchronize the binding information of the child router. Specifically, if the child router is determined to be in a distributed state, it indicates that the binding information of the child router is synchronized for the first time (the child router is configured) or after a reset. If the child router is determined to be in a non-distributed state, it indicates that the binding information of the child router has been synchronized before, and a reset operation may be performed on the child router in the non-distributed state. It can be understood that when a failure occurs during network connection, the network connection may be established again by using a reset operation, and there is no need to manually reconfigure the network connection information of the child router. A preset status identifier may be used to determine whether the child router is in a distributed state. For example, if the binding information of a child router is not synchronized or the binding information is not synchronized after a reset, the status identifier of the child router is 0. If the binding information of a child router is synchronized, the status identifier of the child router is 1.
[0142] Also, resetting the child router to return it to a delivery state includes the steps of:
[0143] (1) A child router randomly generates a first parameter and transmits the first parameter to a parent router.
[0144] (2) The child router receives a concatenated parameter sent by the parent router, and the concatenated parameter is obtained through encryption by using a pre-configured public key after a second parameter randomly generated by the parent router is concatenated with the first parameter.
[0145] (3) The child router decrypts the concatenated parameters by using a pre-configured private key, and determines whether the result obtained through the decryption is the same as the first parameters. If the result is the same as the first parameters, the child router sends a reset request information to the parent router. The pre-configured private key is paired with the pre-configured public key.
[0146] (4) The child router receives response information sent by the parent router, and the response information includes a string obtained through encryption by using a pre-configured public key after the first parameter, the second parameter, and the reset command are concatenated.
[0147] (5) The child router decrypts the response information by using a pre-configured secret key, and determines whether the result obtained through decryption is the same as the first parameter and the second parameter. If the result is the same as the first parameter and the second parameter, the child router is reset according to the reset command to return to the delivery state.
[0148] It can be appreciated that the security and accuracy of resetting the child router can be improved through encryption with the string.
[0149] In one embodiment, the step of resetting the child router to return it to a delivery state may be specifically implemented based on an extended Dynamic Host Configuration Protocol (DHCP) procedure, specifically, information may be exchanged using DHCP option packets to ensure that the child router is automatically reset and re-networked with the parent router after it is inserted into the parent router.
[0150] 8 is an interaction flowchart of distributing a reset command by using a DHCP procedure. Specifically, it includes the following steps:
[0151] Step 01: A child router randomly generates a first parameter RV1.
[0152] Step 01: The child router uses DHCP discover to send an Option 233 packet including RV1 to the parent router.
[0153] Step 03: The parent router receives and obtains the RV1 sent by the child router. The parent router randomly generates a second parameter RV2, concatenates RV2 and RV1, and then obtains the concatenated parameter through encryption by using a pre-configured public key.
[0154] Step 04: The parent router sends the connection parameters to the child router.
[0155] Step 05: The child router receives the concatenated parameters sent by the parent router. The child router decrypts the concatenated parameters by using a pre-configured secret key, and determines whether the result obtained through decryption is the same as RV1.
[0156] Step 06: If the result is the same as RV1, the child router sends the reset request information to the parent router. The pre-configured private key is paired with the pre-configured public key.
[0157] Step 07: The parent router receives the reset request information sent by the child router, generates a reset command based on the reset request information, and after concatenating RV1, RV2 and the reset command, obtains a string through encryption by using a pre-configured public key.
[0158] Step 08: The parent router transmits the character string to the child router as response information.
[0159] Step 09: The child router receives the response information sent by the parent router. The child router decrypts the response information by using a pre-configured secret key, and determines whether the result obtained through decryption is the same as the first parameter and the second parameter. If the result is the same as the first parameter and the second parameter, the child router is reset according to the reset command to return to the delivery state.
[0160] In this embodiment of the application, an extended DHCP procedure is used to deliver a reset command based on which child routers are reset.
[0161] In one embodiment, in a real scenario, when a problem occurs in the network connection between a child router and a parent router, the child router can be inserted into the parent router to solve the failure through self-healing, which can improve the processing efficiency of failure recovery.
[0162] Figure 9 is a schematic diagram of using a detachable and combinable composite router in one real scenario. As shown in Figure 9, in a user's house, a parent router is placed in a certain room (e.g., living room), and child routers are inserted into sockets in some rooms (e.g., bedrooms) that have weak signals. And the parent router in the living room can be combined with the child routers as a whole to provide multiple multi-frequency networks of different network segments. It can be understood that, compared with the traditional bundled router, the detachable and combinable composite router in this application can realize network connection at the first network connection, and the network connection is not affected by Wi-Fi coverage area or factors that interfere with Wi-Fi, phase crossing of PLC power line or factors that interfere with PLC power line, and the like.
[0163] In addition, when a conventional bundled router is expanded by using a single-package child router, there are no pre-configured parameters due to security requirements. Therefore, self-network connection cannot be completed when expanding the network, and users need to configure it manually. The detachable and combinable composite router in this application can implement a plug-and-play function, and users do not need to configure it manually. Furthermore, if a failure occurs in the detachable and combinable composite router in this application, the child router can be reset by being inserted into the parent router again to complete automatic network connection.
[0164] In the embodiment of this application, by using the network separation existing between the first network and the second network, the network connection information is accurately obtained from the first network without interference, and the function of automatic network connection is realized by using the network connection information. Thus, in the network connection between the coupled routers, the interference of Wi-Fi coverage area or factors interfering with Wi-Fi, the phase crossing of PLC power line or factors interfering with PLC power line, and the like can be eliminated, and the self-network connection can be successfully realized. Furthermore, compared with the child router and the parent router in the traditional bundled router, the detachable and combineable composite router in this embodiment of this application is independent of each other, and the detachable and combineable composite router implements the plug-and-play function, thereby improving efficiency.
[0165] It should be understood that the sequence of steps does not imply the execution order in the above embodiments. The execution order of the processes should be determined based on the functions and internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0166] An embodiment of this application provides a child router including an access component (e.g., a plug) corresponding to an interface of a parent router. The access component and the interface of the parent router are used to couple or separate the parent router and the child router. The child router includes a processor and a memory. The memory stores program instructions, which, when executed by the processor, enable the child router to execute the steps performed by the child router in the router network connection method in the above embodiment.
[0167] An embodiment of the present application further provides a parent router including an interface of the parent router. The interface of the parent router and an access component in a child router corresponding to the interface of the parent router are used to couple the parent router and the child router, or to separate the parent router and the child router. The parent router includes a processor and a memory. The memory stores program instructions, and when the program instructions are executed by the processor, the parent router is enabled to execute the steps performed by the child router in the router network connection method in the above embodiment.
[0168] An embodiment of the present application further provides a router network connection device, which includes several execution modules, and the execution modules enable a child router to execute the steps performed by the child router in the router network connection method in the above embodiment.
[0169] An embodiment of the present application further provides a router network connection device, which includes several execution modules, which enable a parent router to execute the steps performed by the parent router in the router network connection method in the above embodiment.
[0170] An embodiment of the present application further provides a non-volatile readable storage medium, which stores program instructions, which, when executed by a processor, enable a child router to execute the steps performed by the child router in the router network connection method in the above embodiment.
[0171] An embodiment of the present application further provides a non-volatile readable storage medium, which stores program instructions, which, when executed by a processor, enable a parent router to execute the steps performed by the parent router in the router network connection method in the above embodiment.
[0172] It should be clear that the described embodiments are merely some, but not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are included in the protection scope of this application.
[0173] It can be clearly understood by those skilled in the art that for the sake of simple and concise description, the above division into functional units and modules is merely used as an example for description. In practical application, the above functions can be allocated to different functional units and modules for implementation based on requirements, that is, the internal structure of the device is divided into different functional units or modules to implement all or part of the above functions.
[0174] The above embodiments are merely intended to describe the technical solutions of this application, and do not limit this application. Although this application has been described in detail with reference to the above embodiments, those skilled in the art should understand that, without departing from the spirit and scope of the technical solutions of the embodiments of this application, those skilled in the art can still make modifications to the technical solutions described in the above embodiments, or make equivalent substitutions to some technical features thereof, and such modifications and substitutions shall fall within the protection scope of this application.
Claims
1. A router network connection method, comprising: A child router is inserted into an interface of a parent router and coupled to the parent router, a network corresponding to the interface of the parent router is a first network, a network separation exists between the first network and a second network, the second network is a local area network provided by the parent router, and the network separation method includes physical separation and / or software separation; accessing the first network by the child router and obtaining network connection information from the first network, the network connection information being used to access the second network; Remove the child router from the parent router by unplugging the child router from the interface of the parent router; Insert the child router into a target interface, and a network corresponding to the target interface is the second network; The child router accesses the second network based on the network connection information by using the target interface, and the child router functions as a router for expanding the signal of the parent router. Having said that, After inserting the child router into an interface of a parent router and coupling the child router to the parent router, the method further comprises: Determining whether the child router is in a delivery state; If the child router is in a non-distributing state, resetting the child router to return to a delivering state; Having said that, resetting the child router to return to a delivering state when the child router is in a non-delivering state, randomly generating a first parameter by the child router when the child router is in a non-distribution state and sending the first parameter to the parent router; receiving, by the child router, a concatenated parameter sent by the parent router, the concatenated parameter being obtained through encryption by using a pre-configured public key after a second parameter randomly generated by the parent router is concatenated with the first parameter; Decrypting the concatenated parameters by the child router using a preset private key, determining whether the result obtained through decryption is the same as the first parameter, and sending a reset request information to the parent router if the result is the same as the first parameter, wherein the preset private key is paired with the preset public key; receiving, by the child router, response information sent by the parent router, the response information having a string obtained through encryption by using the pre-configured public key after the first parameter, the second parameter, and a reset command are concatenated; decrypting the response information by the child router using the preset secret key, determining whether a result obtained through decryption is equal to the first parameter and the second parameter, and resetting the child router according to the reset command to return to a delivery state if the result is equal to the first parameter and the second parameter; Having that, method.
2. 2. The method of claim 1, wherein the first network is provided by the parent router, and a connected device accesses the first network by inserting it into the interface of the parent router by using a network cable head or plug, and communicates with the parent router by using the first network, the connected device comprising the child router.
3. The accessing of the first network by the child router and the obtaining of network connection information from the first network includes: decrypting, by the child router, the encrypted domain password broadcast in the first network by using a pre-configured decryption algorithm to obtain a decrypted domain password; accessing, by the child router, the first network based on the decrypted domain password, and obtaining the network connection information from the first network; 3. The method according to claim 1, further comprising:
4. The accessing of the second network based on the network connection information includes: performing network access authentication by using the network connection information, by the child router, and accessing the second network by the child router when the network connection information satisfies a condition for accessing the second network; 4. The method according to claim 1 , further comprising:
5. The method of any one of claims 1 to 4, wherein the network connection information comprises an ETH connection password, a PLC domain password, or a Wi-Fi connection password.
6. The method of claim 1 , wherein the resetting of the child router back to a delivery state is performed based on DHCP.
7. A router network connection method, comprising: A parent router is coupled to a child router by using an interface of the parent router, a network corresponding to the interface of the parent router is a first network, there is a network separation between the first network and a second network, the second network is a local area network provided by the parent router, and the network separation scheme includes physical separation and / or software separation; providing network connection information to the child router by the parent router using the first network, so that the child router accesses the second network based on the network connection information and functions as a router for expanding the signal of the parent router; Having said that, After the coupling of the parent router with the child router by using an interface of the parent router, the method further comprises: Determining whether the child router is in a delivery state; If the child router is in a non-distributing state, resetting the child router to return it to a distributing state; Having said that, resetting the child router to return the child router to a delivering state when the child router is in a non-delivery state, receiving, by the parent router, a first parameter sent by the child router when the child router is in a non-delivery state, the first parameter being randomly generated by the child router; The parent router randomly generates a second parameter, concatenates the second parameter with the first parameter, and then obtains a concatenated parameter through encryption using a pre-configured public key, and sends the concatenated parameter to the child router; Receive, by the parent router, the reset request information sent by the child router, generate a reset command according to the reset request information, concatenate the first parameter, the second parameter and the reset command, and then obtain a string through encryption by using the preset public key, and send the string to the child router as response information; resetting the child router by using the reset command, by the parent router, when the child router successfully verifies the response information, to return the child router to a delivery state; Having that, method.
8. The method of claim 7 , wherein the interface comprises a network cable interface or a power line interface.
9. 9. The method of claim 7 or 8, wherein the first network is provided by the parent router, and a connected device is inserted into the interface of the parent router by using a network cable head or plug to access the first network and communicates with the parent router by using the first network, the connected device comprising the child router.
10. 10. The method according to claim 7, further comprising: broadcasting an encrypted domain password in the first network, such that the child router decrypts the encrypted domain password broadcast in the first network by using a pre-configured decryption algorithm to obtain a decrypted domain password, and accesses the first network based on the decrypted domain password to obtain the network connection information.
11. The method according to any one of claims 7 to 10, wherein the network connection information comprises an ETH connection password, a PLC domain password, or a Wi-Fi connection password.
12. 12. The method of claim 7, wherein the resetting of the child router to return it to a delivery state is performed based on DHCP.
13. A router network connection system having a parent router and a child router, the parent router having an interface, the interface of the parent router configured to couple the child router to the parent router and to separate the child router from the parent router, the child router and the parent router configured to perform the following items: The child router is inserted into the interface of the parent router and coupled to the parent router, a network corresponding to the interface of the parent router is a first network, there is network separation between the first network and a second network, the second network is a local area network provided by the parent router, and the network separation scheme includes physical separation and / or software separation; the child router accesses the first network; the parent router provides network connection information to the child router by using the first network, the network connection information being used to access the second network; the child router obtains the network connection information from the first network; the child router is removed from the parent router by being unplugged from the interface of the parent router; The child router is inserted into a target interface, and a network corresponding to the target interface is the second network; The child router accesses the second network based on the network connection information by using the target interface, and the child router functions as a router for expanding a signal of the parent router. The method is configured to: The parent router further comprises: Determining whether the child router is in a delivery state; If the child router is in a non-distributing state, resetting the child router to return it to a distributing state; It is configured as follows: The child router and the parent router are further configured to perform the following items: When the child router is in a non-distribution state, the child router randomly generates a first parameter and sends the first parameter to the parent router; the parent router receives the first parameter sent by the child router; The parent router randomly generates a second parameter, concatenates the second parameter with the first parameter, and obtains a concatenated parameter through encryption using a pre-configured public key, and sends the concatenated parameter to the child router; The child router receives the linking parameters sent by the parent router; The child router decrypts the concatenated parameters by using a preset private key, determines whether the result obtained through decryption is the same as the first parameter, and sends a reset request information to the parent router if the result is the same as the first parameter, and the preset private key is paired with the preset public key; The parent router receives the reset request information sent by the child router, generates a reset command according to the reset request information, and concatenates the first parameter, the second parameter, and the reset command, and then obtains a string through encryption using the pre-configured public key, and sends the string to the child router as response information; The child router receives the response information sent by the parent router; the child router decrypts the response information by using the preset secret key, determines whether a result obtained through decryption is equal to the first parameter and the second parameter, and resets the child router according to the reset command to return to a delivery state if the result is equal to the first parameter and the second parameter; configured to perform system.
14. The system of claim 13 , wherein the interface of the parent router comprises a network cable interface or a power line interface.
15. 15. The system of claim 13 or 14, wherein the first network is provided by the parent router, and a connected device is inserted into the interface of the parent router by using a network cable head or plug to access the first network and communicates with the parent router by using the first network, the connected device comprising the child router.
16. A child router, the child router having an access component corresponding to an interface of a parent router, the access component being configured, together with the interface of the parent router, to couple the parent router to the child router or to separate the parent router from the child router, the child router having a processor and a memory, the memory storing program instructions that, when executed by the processor, enable the child router to perform the router network connection method described in any one of claims 1 to 6.
17. A parent router, the parent router having an interface of the parent router, the interface of the parent router, together with an access component in a child router corresponding to the interface of the parent router, configured to couple the parent router to the child router or to separate the parent router from the child router, the parent router having a processor and a memory, the memory storing program instructions that, when executed by the processor, enable the parent router to perform the router network connection method described in any one of claims 7 to 12.
18. A computer readable storage medium having program instructions, which when executed on an apparatus enables the apparatus to carry out a method according to any one of claims 1 to 12.
19. A computer program, when said computer program is run on an apparatus, enabling said apparatus to carry out the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Wireless network system and wireless setting information setting method in wireless network system
JP2006197060A
Transmission method for configuration information, transmission system for configuration information, router, and terminal
JP2009246414A
Multi-access point wireless networking autoconfiguration
WO2018118150A1
