Network setting method, device, and system
By establishing a wired connection and exchanging information between user premises equipment and routing equipment, the complex setup problem when building a wireless network with different types of network equipment is solved, thus simplifying the setup process and improving efficiency.
Patent Information
- Application Number
- PCT/CN2025/096220
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-03
- Filing Date
- 2025-05-21
- Publication Date
- 2026-01-08
AI Technical Summary
In existing wireless network technologies, when user premises equipment and routing equipment of different types are used to build a wireless network, the setup process is cumbersome and inefficient, requiring users to connect to two separate network devices to configure parameters.
User premises equipment and routing equipment are connected via wired connection, store each other's network information, and determine their own and each other's network parameter settings status through message exchange, generating a network settings interface. User equipment only needs to connect to one network device to complete the parameter settings for both parties.
It reduces user operation steps, improves the efficiency of wireless network setup, and simplifies the user setup process.
Smart Images

Figure CN2025096220_08012026_PF_FP_ABST
Abstract
Description
Method, device and system for network setting
[0001] The present application claims priority to the Chinese patent application No. 202410889463.1, filed on July 3, 2024, and entitled "Method, device and system for network setting", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application belongs to the field of communication technology, and particularly relates to a method, device and system for network setting. BACKGROUND
[0003] Due to the convenience of wireless network networking, it is applied to multiple scenes in life and work to provide high-speed and reliable communication networks for devices under the coverage of the wireless network. Users can access the wireless network to achieve data transmission and Internet communication functions. With the continuous development of wireless network technology, the number and types of network devices for building wireless networks are also increasing. If a wireless network covering indoor and outdoor scenes is to be built, user premises equipment and routing equipment of two different types of network devices are often used to build the wireless network.
[0004] The existing wireless network technology does not support mesh networking because the user premises equipment and the routing equipment belong to two different types of network devices. When the wireless network is built by the above two network devices, the user needs to access the wireless network of the above two network devices respectively to set the network parameters of the above two network devices, thereby increasing the operation steps of the user to set the wireless network and bringing inconvenience to the user. SUMMARY
[0005] The embodiments of the present application provide a method, device and system for network setting, which can solve the problem of the existing wireless network technology that the setting steps are complicated and the setting efficiency is low when a wireless network is built by two different types of network devices, i.e., user premises equipment and routing equipment.
[0006] The first aspect provides a method for network setting, applied to user premises equipment, wherein the user premises equipment is connected with routing equipment by wire, and the user premises equipment stores second network information of the routing equipment; the method comprises the following steps:
[0007] The user premises equipment receives a first packet sent by a user equipment through a first wireless network, wherein the first wireless network is a wireless network provided by the user premises equipment.
[0008] The user premise equipment sends a second message to the user equipment in response to the first message, the second message comprising first information and second information, the first information being used to indicate whether the first network parameter of the user premise equipment is set up, the first information being determined according to the first network information of the user premise equipment, the second information being used to indicate whether the second network parameter of the routing equipment is set up, the second information being determined according to the second network information;
[0009] The user premise equipment receives the network parameter sent by the user equipment through a second wireless network, the network parameter comprising the set first network parameter corresponding to the user premise equipment and / or the set second network parameter corresponding to the routing equipment, the second wireless network being a wireless network provided by the user premise equipment or a wireless network provided by the routing equipment.
[0010] The implementation of the embodiments of the present application has the following beneficial effects: the user premise equipment stores the second network information of the routing equipment, when the user equipment accesses the first wireless network provided by the user premise equipment, the user premise equipment can determine whether the network parameter setting is completed according to the first information, or determine whether the routing equipment has completed the network parameter setting according to the second information in the second network information, and then generate a corresponding second message and send it to the user equipment, so that the user equipment sends the network parameter of the network equipment which is not set, the user equipment only needs to access the wireless network provided by the user premise equipment to complete the network parameter setting operation of the user premise equipment, and can also complete the network parameter setting operation of the routing equipment, thereby reducing the operation steps required by the user and improving the setting efficiency of the wireless network.
[0011] In a possible implementation manner of the first aspect, the first network information comprises a gateway address of the user premise equipment and the first information, and the second network information comprises wireless network information of the routing equipment and the second information.
[0012] In a possible implementation manner of the first aspect, before the user premise equipment receives the first message sent by the user equipment through the first wireless network, the method further comprises:
[0013] The user premise equipment sends the gateway address of the user premise equipment to the routing equipment.
[0014] The user premise equipment receives a third message sent by the routing equipment.
[0015] The user premise equipment sends a fourth message to the routing equipment in response to the third message, the fourth message comprising third information and the first information, the third information being used to indicate whether the user premise equipment supports the combined setting mode.
[0016] The user premise equipment receives the second network information sent by the routing device.
[0017] In a possible implementation of the first aspect, after the user premise equipment receives the second network information sent by the routing device, the method further includes:
[0018] The user premise equipment sends a fifth message to the routing device after completing setting the first network parameter, and the fifth message is used to trigger the routing device to update the first information in the stored first network information.
[0019] In a possible implementation of the first aspect, after the user premise equipment receives the second network information sent by the routing device, the method further includes:
[0020] The user premise equipment receives a sixth message sent by the routing device.
[0021] The user premise equipment updates the second information in the second network information in response to the sixth message.
[0022] In a possible implementation of the first aspect, when the routing device sets the firewall to the first state, the first wireless network and the second wireless network are the same wireless network provided by the user premise equipment, and the firewall in the first state allows the routing device to interact with the user premise equipment through the wired connection.
[0023] In a possible implementation of the first aspect, after the user premise equipment receives the network parameter sent by the user equipment through the second wireless network, the method further includes:
[0024] If the user premise equipment detects that the network parameter includes a set second network parameter, the user premise equipment sends the set second network parameter to the routing device through the wired connection, and the set second network parameter is used to trigger the routing device to set the wireless network provided by the routing device; and / or
[0025] If the user premise equipment detects that the network parameter includes a set first network parameter, the user premise equipment sets the first wireless network according to the set first network parameter.
[0026] In a possible implementation of the first aspect, when the second wireless network is the wireless network provided by the routing device, the user premise equipment receives the network parameter sent by the user equipment through the second wireless network, including:
[0027] The user premises equipment receives the set first network parameter forwarded by the routing equipment.
[0028] The second aspect provides a network setting method applied to a routing equipment, the routing equipment being wired connected with a user premises equipment, the routing equipment storing first network information of the user premises equipment; the method comprises the following steps:
[0029] The routing equipment receives a first message sent by the user equipment through a third wireless network, the third wireless network being a wireless network provided by the routing equipment.
[0030] The routing equipment sends a second message to the user equipment in response to the first message, the second message comprising first information and second information, the first information being used for indicating whether the first network parameter of the user premises equipment is set, the first information being determined according to the first network information, the second information being used for indicating whether the second network parameter of the routing equipment is set, the second information being determined according to second network information of the routing equipment.
[0031] The routing equipment receives network parameters sent by the user equipment through a fourth wireless network, the network parameters comprising set first network parameters corresponding to the user premises equipment and / or set second network parameters corresponding to the routing equipment, the fourth wireless network being a wireless network provided by the user premises equipment or a wireless network provided by the routing equipment.
[0032] The implementation of the embodiments of the present application has the following beneficial effects: the routing equipment stores the first network information of the user premises equipment, when the user equipment accesses the third wireless network provided by the routing equipment, the routing equipment can determine whether the routing equipment has completed the network parameter setting according to the local second information, or determine whether the user premises equipment has completed the network parameter setting according to the first information in the first network information, and then generate a corresponding second message and send it to the user equipment, so that the user equipment sends the network parameters of the network equipment which have not been set, the user equipment only needs to access the wireless network provided by the routing equipment, and the network parameter setting operation of the routing equipment and the network parameter setting operation of the user premises equipment can be completed, the operation steps required by the user are reduced, and the setting efficiency of the wireless network is improved.
[0033] In a possible implementation manner of the second aspect, the first network information comprises a gateway address of the user premises equipment and the first information, and the second network information comprises wireless network information of the routing equipment and the second information.
[0034] In a possible implementation of the second aspect, before the routing device receives the first message sent by the user device through the third wireless network, the method further includes:
[0035] The routing device receives the gateway address sent by the user premise device;
[0036] The routing device sends a third message to the user premise device;
[0037] The routing device receives a fourth message sent by the user premise device, the fourth message including third information and the first information, the third information indicating whether the user premise device supports the combined setting mode;
[0038] The routing device sends the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode.
[0039] In a possible implementation of the second aspect, after the routing device sends the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode, the method further includes:
[0040] The routing device sends a sixth message to the user premise device after completing the setting of the second network parameter, the sixth message triggering the user premise device to update the second information in the stored second network information.
[0041] In a possible implementation of the second aspect, after the routing device sends the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode, the method further includes:
[0042] The routing device receives a fifth message sent by the user premise device;
[0043] The routing device updates the first information in the first network information in response to the fifth message.
[0044] In a possible implementation of the second aspect, the routing device sends the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode, including:
[0045] The routing device sets a firewall to a first state if the third information indicates that the user premise device supports the combined setting mode, and sends the second network information to the user premise device, the firewall allowing the routing device and the user premise device to interact information through the wired connection when the firewall is in the first state.
[0046] In a possible implementation manner of the second aspect, after the routing device sets the firewall to the first state if it is detected that the third information indicates that the user premises device supports the merging setting mode, the method further includes:
[0047] The routing device sets the firewall to a second state when it is detected that the wired connection is disconnected, and the firewall is in the second state to prohibit the user premises device from sending information to the routing device.
[0048] In a possible implementation manner of the second aspect, when the fourth wireless network is a wireless network provided by the user premises device, the routing device receives network parameters sent by the user equipment through the fourth wireless network, including:
[0049] The routing device receives the set second network parameters forwarded by the user premises device through the wired connection.
[0050] In a possible implementation manner of the second aspect, when the fourth wireless network is a wireless network provided by the routing device, after the routing device receives the network parameters sent by the user equipment through the fourth wireless network, the method further includes:
[0051] If the routing device detects that the network parameters contain the set first network parameters, the routing device sends the set first network parameters to the user premises device through the wired connection, and the set first network parameters are used to trigger the user premises device to set the wireless network provided by the user premises device; and / or
[0052] If the routing device detects that the network parameters contain the set second network parameters, the routing device sets the third wireless network according to the set second network parameters.
[0053] The third aspect provides a network setting method applied to a user equipment, and the method includes:
[0054] The user equipment accesses a fifth wireless network, and the fifth wireless network is a first wireless network or a third wireless network, the first wireless network is a wireless network provided by a user premises device, and the third wireless network is a wireless network provided by a routing device, the routing device is in wired connection with the user premises device, the routing device stores first network information of the user premises device, and the user premises device stores second network information of the routing device.
[0055] The user equipment sends a first packet through the fifth wireless network.
[0056] The user equipment receives a second message sent by a network device corresponding to the fifth wireless network, the second message comprising first information and second information, the first information being used to indicate whether the first network parameter of the user premises equipment is set up, the first information being determined according to the first network information, the second information being used to indicate whether the second network parameter of the routing device is set up, the second information being determined according to the second network information of the routing device;
[0057] The user equipment generates a network setting interface according to the first information and the second information, the network setting interface being used to set up the network parameter of the network device which is not set up in the user premises equipment and the routing device;
[0058] The user equipment sends the network parameter set by the user in the network setting interface through a sixth wireless network, the sixth wireless network being the first wireless network or the third wireless network.
[0059] The embodiments of the present application have the following beneficial effects: since the routing device stores the first network information of the user premises equipment, and the user premises equipment also stores the second network information of the routing device, when the user equipment accesses the wireless network provided by any network device, the setting situation of the network parameter of the two network devices can be determined according to the feedback second message, and then a network setting interface which can be used to set up the network parameter of the network device which is not set up can be generated, the user can complete the setting operation of the network parameter of the two network devices through the network setting interface, the operation steps required by the user are reduced, and the setting efficiency of the wireless network is improved.
[0060] In a possible implementation manner of the third aspect, when the firewall of the routing device is in the first state, and the fifth wireless network is the first wireless network, the user equipment sends the network parameter set by the user in the network setting interface through a sixth wireless network, comprising:
[0061] The user equipment sends the network parameter set by the user in the network setting interface through the first wireless network.
[0062] In a possible implementation manner of the third aspect, the user equipment generates a network setting interface according to the first information and the second information, comprising:
[0063] If the user equipment detects that the second information in the second message indicates that the second network parameter of the routing device is not set up, the user equipment generates the network setting interface comprising the second network parameter of the routing device;
[0064] The user equipment sends the network parameters set by the user in the network setting interface to the user premises equipment through the first wireless network, including:
[0065] The user equipment sends the set second network parameters to the user premises equipment through the first wireless network, so that the user premises equipment sends the set second network parameters to the routing equipment through a wired connection.
[0066] In a possible implementation of the third aspect, when the fifth wireless network is the first wireless network, before the user equipment generates the network setting interface according to the first information and the second information, the method further includes:
[0067] If the user equipment detects that the second information in the second packet indicates that the second network parameters of the routing equipment are not set completely, the user equipment accesses the third wireless network according to the wireless network information corresponding to the routing equipment in the second packet.
[0068] The user equipment sends the network parameters set by the user in the network setting interface to the user premises equipment through the first wireless network, including:
[0069] The user equipment sends the network parameters set by the user in the network setting interface to the user premises equipment through the first wireless network.
[0070] In a possible implementation of the third aspect, when the fifth wireless network is the third wireless network, the user equipment sends the network parameters set by the user in the network setting interface to the user premises equipment through the sixth wireless network, including:
[0071] The user equipment sends the network parameters set by the user in the network setting interface to the routing equipment through the third wireless network; the network parameters include the set first network parameters and / or the set second network parameters.
[0072] In a possible implementation of the third aspect, the user equipment generates the network setting interface according to the first information and the second information, including:
[0073] If the user equipment detects that the second information in the second packet indicates that the second network parameters of the routing equipment are not set completely, the user equipment generates the network setting interface containing the second network parameters corresponding to the routing equipment; and / or
[0074] If the user equipment detects that the first information in the second packet indicates that the first network parameters of the user premises equipment are not set completely, the user equipment generates the network setting interface containing the first network parameters corresponding to the user premises equipment.
[0075] In a possible implementation manner of the third aspect, the user equipment generates a network setting interface according to the first information and the second information, including:
[0076] The user equipment generates the network setting interface containing at least one merged setting control, and the merged setting control is used to simultaneously set the first network parameter and the second network parameter.
[0077] A fourth aspect is a network setting method applied to a wireless network system, the wireless network system including at least two network devices and user equipment, the network devices including user premises equipment and routing equipment, the user premises equipment being wiredly connected with the routing equipment, the user premises equipment storing second network information of the routing equipment, the routing equipment storing first network information of the user premises equipment, the first network information and the second network information being transmitted through the wired connection;
[0078] The method includes:
[0079] The user equipment accesses a fifth wireless network; the fifth wireless network is a first wireless network or a third wireless network; the first wireless network is a wireless network provided by the user premises equipment; the third wireless network is a wireless network provided by the routing equipment;
[0080] The user equipment sends a first message through the fifth wireless network;
[0081] A network device corresponding to the fifth wireless network sends a second message in response to the first message, the second message including first information and second information, the first information being used to indicate whether first network parameters of the user premises equipment are set, the first information being determined according to the first network information, the second information being used to indicate whether second network parameters of the routing equipment are set, the second information being determined according to the second network information of the routing equipment;
[0082] The user equipment generates a network setting interface according to the first information and the second information, the network setting interface being used to set parameters of network devices that are not set in the user premises equipment and the routing equipment;
[0083] The user equipment sends network parameters set by a user in the network setting interface through a sixth wireless network, the sixth wireless network being the first wireless network or the third wireless network.
[0084] The embodiment of the present application has the following beneficial effects: by recording the network information of the opposite end before setting the wireless network of the user premises equipment and the routing equipment, the setting state of the opposite end equipment can be determined in addition to the setting state of the user equipment; when the user equipment accesses the wireless network provided by one of the two network equipment to set the network parameters, the second message can be generated by the two different types of network equipment according to the local network information and the network information of the opposite end, and the user equipment can generate the network setting interface for setting the network equipment without setting the network parameters according to the second message, so that the user can complete the network parameter setting without accessing the wireless network of the two network equipment respectively, the operation steps of the user are reduced, and the setting efficiency of the wireless network setting is improved.
[0085] In a possible implementation manner of the fourth aspect, the first network information comprises the gateway address of the user premises equipment and the first information, and the second network information comprises the wireless network information of the routing equipment and the second information.
[0086] In a possible implementation manner of the fourth aspect, before the user equipment accesses the fifth wireless network, the method further comprises:
[0087] The user premises equipment sends the gateway address of the user premises equipment to the routing equipment.
[0088] The routing equipment sends a third message to the user premises equipment.
[0089] The user premises equipment sends a fourth message to the routing equipment in response to the third message, wherein the fourth message comprises third information and the first information, and the third information is used to indicate whether the user premises equipment supports the combined setting mode.
[0090] The routing equipment sends the second network information to the user premises equipment when it is detected that the third information indicates that the user premises equipment supports the combined setting mode.
[0091] In a possible implementation manner of the fourth aspect, after the routing equipment sends the second network information to the user premises equipment when it is detected that the third information indicates that the user premises equipment supports the combined setting mode, the method further comprises:
[0092] The user premises equipment sends a fifth message to the routing equipment when the user premises equipment completes the network parameter setting.
[0093] The routing equipment updates the first information in the first network information in response to the fifth message.
[0094] In a possible implementation manner of the fourth aspect, after the routing device sends the second network information to the user premises equipment when detecting that the third information indicates that the user premises equipment supports the merging setting mode, the method further includes:
[0095] The routing device sends a sixth message to the user premises equipment when the routing device completes the network parameter setting.
[0096] The user premises equipment updates the second information in the second network information in response to the sixth message.
[0097] In a possible implementation manner of the fourth aspect, after the user premises equipment sends a fourth message to the routing device in response to the third message, the method further includes:
[0098] The routing device sets a firewall to a first state, and the firewall allows the routing device to interact with the user premises equipment through the wired connection when the firewall is in the first state.
[0099] In a possible implementation manner of the fourth aspect, the fifth wireless network is the first wireless network, and before the user equipment generates a network setting interface according to the first information and the second information, the method further includes:
[0100] The user equipment generates the network setting interface including the second network parameter corresponding to the routing device if the user equipment detects that the second information in the second message indicates that the second network parameter of the routing device is not set completely.
[0101] After the user equipment sends a network parameter set by a user in the network setting interface through the first wireless network or the third wireless network, the method further includes:
[0102] The user premises equipment sends the set second network parameter in the network setting interface to the routing device through the wired connection.
[0103] The routing device sets the third wireless network according to the set second network parameter.
[0104] In a possible implementation manner of the fourth aspect, after the routing device sets the firewall to the first state, the method further includes:
[0105] The routing device sets the firewall to a second state when detecting that the wired connection is disconnected, and the firewall prohibits the user premises equipment from sending information to the routing device when the firewall is in the second state.
[0106] In a possible implementation manner of the fourth aspect, the fifth wireless network is the first wireless network, and before the user equipment generates the network setting interface according to the first information and the second information in the second packet, the method further includes:
[0107] If the user equipment detects that the second information in the second packet indicates that the second network parameter of the routing device is not set completely, the user equipment accesses the third wireless network according to the wireless network information in the second packet.
[0108] The user equipment sends the network parameter set by the user in the network setting interface through the first wireless network or the third wireless network, including:
[0109] The user equipment sends the network parameter set by the user in the network setting interface through the third wireless network.
[0110] In a possible implementation manner of the fourth aspect, when the fifth wireless network is the third wireless network, the user equipment sends the network parameter set by the user in the network setting interface through the first wireless network or the third wireless network, including:
[0111] The user equipment sends the network parameter set by the user in the network setting interface to the routing device through the third wireless network, and the network parameter includes the set first network parameter and / or the set second network parameter.
[0112] The routing device sets the third wireless network according to the set second network parameter when detecting that the network parameter includes the set second network parameter; and / or
[0113] The routing device sends the set first network parameter to the user premises equipment through a wired connection when detecting that the network parameter includes the set first network parameter.
[0114] The user premises equipment sets the first wireless network according to the set first network parameter.
[0115] In a possible implementation manner of the fourth aspect, the user equipment generates the network setting interface according to the first information and the second information, including:
[0116] If the user equipment detects that the second information in the second packet indicates that the second network parameter of the routing device is not set completely, the user equipment generates the network setting interface including the second network parameter corresponding to the routing device; and / or
[0117] The user device generates the network setting interface containing the first network parameter corresponding to the user premises device if the first information in the second message indicates that the first network parameter of the user premises device is not set up completely.
[0118] In a possible implementation of the fourth aspect, the user device generates the network setting interface according to the first information and the second information, including:
[0119] The user device generates the network setting interface containing at least one merged setting control, and the merged setting control is used to set the first network parameter and the second network parameter simultaneously.
[0120] In a possible implementation of the fourth aspect, the second message includes a first field, a second field, a third field, a fourth field and a fifth field; the first field is used to store a device type of a network device providing the fifth wireless network; the second field is used to store a setting state of a network parameter corresponding to the network device providing the fifth wireless network; the third field is used to store a setting state of a network parameter corresponding to another network device except the network device providing the fifth wireless network; the fourth field is used to store a gateway address of the user premises device; and the fifth field is used to store wireless network information of the routing device.
[0121] The fifth aspect provides a user premises device, including a memory, a processor and a program stored in the memory, and the processor implements the steps of the network setting method in any one of the first aspect when executing the program.
[0122] The sixth aspect provides a routing device, including a memory, a processor and a program stored in the memory, and the processor implements the steps of the network setting method in any one of the second aspect when executing the program.
[0123] The seventh aspect provides a user device, including a memory, a processor and a program stored in the memory, and the processor implements the steps of the network setting method in any one of the third aspect when executing the program.
[0124] The eighth aspect provides a wireless network system, including the user premises device provided in the fifth aspect, the routing device provided in the sixth aspect and the user device provided in the seventh aspect.
[0125] The ninth aspect provides a readable storage medium, which stores a program, and the program is executed by a processor to implement the steps of the network setting method of any one of the first aspect or implement the steps of the network setting method of any one of the second aspect or implement the steps of the network setting method of any one of the third aspect.
[0126] The tenth aspect provides a program product, which, when running on a device, causes the device to implement the steps of the network setting method of any one of the first aspect or implement the steps of the network setting method of any one of the second aspect or implement the steps of the network setting method of any one of the third aspect.
[0127] It can be understood that the beneficial effects of the second aspect to the tenth aspect can be referred to the related description of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0128] FIG. 1 is a setting flowchart of a prior wireless network;
[0129] FIG. 2 is a structural schematic diagram of a wireless network system provided by an embodiment of the present application;
[0130] FIG. 3 is a flowchart of a network setting method provided by an embodiment of the present application;
[0131] FIG. 4 is an interactive flowchart of a setting preparation stage of the network setting method provided by an embodiment of the present application;
[0132] FIG. 5 is an interactive flowchart of a parameter setting stage provided by an embodiment of the present application;
[0133] FIG. 6 is a schematic diagram of a second packet provided by another embodiment of the present application;
[0134] FIG. 7 is a schematic diagram of a network setting interface provided by an embodiment of the present application;
[0135] FIG. 8 is an interactive flowchart of a parameter setting stage provided by another embodiment of the present application;
[0136] FIG. 9 is a flowchart of a network setting provided by an embodiment of the present application;
[0137] FIG. 10 is an interactive flowchart of a parameter setting stage provided by yet another embodiment of the present application;
[0138] FIG. 11 is a flowchart of a network setting provided by yet another embodiment of the present application;
[0139] FIG. 12 is a flowchart of implementation of the network setting method provided by an embodiment of the present application on a customer premises equipment side;
[0140] FIG. 13 is a flowchart of an implementation of a method for network setting provided by an embodiment of the present application at a routing device side;
[0141] FIG. 14 is a flowchart of an implementation of a method for network setting provided by an embodiment of the present application at a user device side;
[0142] FIG. 15 is a schematic diagram of a structure of a device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0143] In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
[0144] It is to be understood that the terminology "includes", "has", "holds", "contains" and / or "comprising", when used in this specification and in the following claims, indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0145] It is also to be understood that the terminology "and / or" when used in this specification and in the following claims, refers to at least one of the items, or any combination of one or more of the items, and includes any possible combination of the items.
[0146] As used in this specification and in the claims, the term "if" can be interpreted as meaning "when", or "once", or "in response to a determination", or "in response to detecting", as appropriate, depending on the context. Similarly, the phrase "if determined", or "if detected [the described condition or event]" can be interpreted as meaning "once determined", or "in response to a determination", or "once detected [the described condition or event]", or "in response to detecting [the described condition or event]", as appropriate, depending on the context.
[0147] In addition, in the description of the specification and the appended claims, the terms "first", "second", "third", etc. are used only to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
[0148] The existing wireless network technology can build a wireless network through two or more different types of network devices to improve the coverage of the wireless network. Generally, when it is necessary to provide a wireless network for an outdoor scene, a customer premise equipment (CPE) can be deployed in an outdoor area; and for an indoor scene, a routing device can be used to provide a wireless network for an indoor area. If a scene involves an indoor and outdoor area, such as a coffee shop, which includes an outdoor rest area and an indoor rest area, and the two areas need to use the same service set identifier (SSID), it is necessary to use a routing device and a CPE to build a wireless network. Since the two types of different network devices cannot be set up a wireless network through a mesh networking mode at the same time, a user needs to access the wireless networks of the two types of different network devices respectively to complete the network parameter setting of the corresponding network device.
[0149] Exemplarily, FIG. 1 shows a setting flowchart of an existing wireless network. Referring to FIG. 1, a routing device 11 and a CPE 12 are provided in the scene, the routing device 11 can provide a wireless network 1, and the CPE can provide a wireless network 2. A user can perform wireless network setting through a user device 13. The setting process can be described as the following steps:
[0150] Step 1: The user can access the wireless network 1 of the routing device 11 through the user device 13, perform network setting on the wireless network of the routing device 11, such as setting the SSID and access password of the wireless network, and save the management information of the routing device 11 in the user device 13.
[0151] Step 2: The user searches the wireless network 2 provided by the CPE 12 again through the user device 13, and then controls the user device 13 to access the wireless network 2.
[0152] Step 3: After the user device 13 accesses the wireless network 2, the user device 13 can perform network setting on the wireless network 2 to set the same SSID and access password as the routing device, and save the management information of the CPE 12 in the user device 13.
[0153] As can be seen, when a wireless network is built through a CPE and a routing device, the user needs to perform multiple steps of operation of access→setting→access again→setting again to complete the setting of the wireless network, thereby increasing the difficulty of setting the wireless network, reducing the efficiency of setting the wireless network, and affecting the user experience.
[0154] Embodiment one:
[0155] To solve the problems of complex operation steps and low efficiency of network setting in the prior art wireless networking technology when wireless networks are constructed by two different types of network devices, i.e., CPE and routing device, embodiments of the present application provide a network setting method, in which a user can set network devices without network parameters in the same network device interface, thereby reducing the operation steps of the user and improving the efficiency of network setting. The network setting method provided by the embodiments of the present application is applied to a wireless network system. For example, FIG. 2 shows a structure diagram of a wireless network system provided by an embodiment of the present application. As shown in FIG. 2, the wireless network system includes a CPE 21, a routing device 22 and a user device 23. The CPE 21 and the routing device 22 are connected by wire, and the user can connect the two different network devices by wire. If the routing device 22 is a network device supporting fiber access, the CPE 21 and the routing device 22 can also be connected by fiber. It should be understood that the CPE 21 and the routing device 22 can also be connected by other wired or wireless connections.
[0156] In some implementations, the CPE 21 is configured with a communication module, and the CPE 21 can access the Internet or access the online service provided by the operator through the communication module. In this case, the wireless network constructed by the routing device 22 and the CPE 21 improves the flexibility of the wireless network configuration scenario, and enables the access to the Internet without the fiber access to the optical network unit, thereby improving the applicability of the wireless network to outdoor scenarios.
[0157] In the embodiment, the CPE 21 can provide a wireless network 1, and the routing device can provide a wireless network 2. Before the two network devices are set, the wireless networks provided by the two network devices correspond to different SSIDs, and the user needs to configure the network parameters of the two network devices to construct the same wireless network by the CPE 21 and the routing device 22.
[0158] In the embodiment, the user device 23 can select to access the wireless network 1 or the wireless network 2 to set the network parameters of the two network devices according to the actual situation. For example, when the user is in an indoor scenario, the user device 23 can access the wireless network 2 provided by the routing device 22 to set the network parameters of the two network devices through the wireless network 2; when the user is in an outdoor scenario, the user device 23 can access the wireless network 1 provided by the CPE 21 to set the network parameters of the two network devices through the wireless network 1.
[0159] Specifically, FIG. 3 shows a flowchart of a method for network setting provided by an embodiment of the present application. In combination with the wireless network system shown in FIG. 2, the method for network setting provided by the embodiment of the present application specifically includes two stages, namely, a setting preparation stage 31 and a parameter setting stage 32. The setting preparation stage 31 is specifically an interaction process between the CPE and the routing device, while the parameter setting stage 32 is specifically an interaction process among the CPE, the routing device, and the user device. The specific implementation process of the two stages is described below:
[0160] Stage 1: Setting preparation stage
[0161] FIG. 4 shows an interaction flowchart of the setting preparation stage of the method for network setting provided by an embodiment of the present application. Referring to FIG. 4, in the setting preparation stage, the following steps are specifically included:
[0162] In S401, the user premises device establishes a wired connection with the routing device.
[0163] In the embodiment, when the user needs to build a wireless network through the CPE and the routing device, the user can connect the two network devices through a network cable or other wired connection mode. After the two network devices detect that the wired connection is established, the step of information synchronization, i.e., the subsequent step, can be performed.
[0164] In some possible implementation manners, after the CPE and the routing device establish the wired connection, the routing device can be configured with network addresses of each port thereof according to the dynamic host configuration protocol.
[0165] In S402, the user premises device sends a gateway address to the routing device.
[0166] In the embodiment, the CPE is configured with a communication module. For example, if the communication module of the CPE is a mobile communication module, one or more SIM (Subscriber Identification Module) cards or eSIMs can be arranged in the CPE, and the mobile communication module can access a mobile communication network through the SIM card (or eSIM) so that the CPE accesses the Internet or a network service provided by an operator; if the communication module of the CPE is a satellite communication module, the CPE can search for a satellite signal through the satellite module and communicate with the satellite through the satellite communication module, and then access the Internet or a network service provided by a related operator through the satellite. Therefore, the CPE has the function of accessing the Internet, and the network address of the CPE accessing the Internet is the gateway address. After the CPE and the routing device establish the wired connection, the CPE can send the gateway address to the routing device, so that the routing device can subsequently interact with the Internet through the gateway address.
[0167] In the embodiment, after receiving the gateway address sent by the CPE, the routing device can store the gateway address locally. For example, the routing device can store the first network information of the CPE, and the routing device can store the gateway address in the first network information.
[0168] In S403, the routing device sends a third message to the user premises equipment.
[0169] In the embodiment, after receiving the gateway address sent by the CPE, the routing device can send a third message to the CPE. The third message is used to inquire whether the CPE supports the combined setting mode. If the CPE supports the combined setting mode, the routing device can send the stored second network information to the CPE to realize the synchronization of the network information; otherwise, if the CPE does not support the combined setting mode, the routing device does not send the stored second network information to the CPE, and waits for the subsequent network setting of the routing device by the user.
[0170] In S404, the user premises equipment sends a fourth message to the routing device in response to the third message.
[0171] In the embodiment, when receiving the third message sent by the routing device, the CPE can generate a corresponding fourth message. The fourth message is a response message corresponding to the third message, and the fourth message contains third information. The third information is used to indicate whether the CPE supports the combined setting mode.
[0172] In the embodiment, if the CPE supports the combined setting mode, the third information can be set as a first value; if the CPE does not support the combined setting mode, the third information can be set as a second value. In some implementation manners, the first value can be 1, and the second value can be 0.
[0173] In the embodiment, if the CPE supports the combined setting mode, the fourth message can further carry first information corresponding to the CPE. The first information is used to indicate whether the first network parameter of the CPE is set. If the CPE has set the first network parameter, the first information is set as a third value; otherwise, if the CPE has not set the first network parameter, the first information is set as a fourth value. In some implementation manners, the third value can be 1, and the fourth value can be 0.
[0174] In some implementation manners, if the CPE does not support the combined setting mode, the fourth message can only contain the third information set as the second value, and the first information is not encapsulated in the fourth message, or the value of the first information can be randomly set.
[0175] In S405, the routing device sends the second network information to the user premises equipment when detecting that the third information indicates that the CPE supports the combined setting mode.
[0176] In this embodiment, after receiving the second packet sent by the CPE, the routing device can determine the value corresponding to the third information. If the value corresponding to the third information is the first value, it indicates that the CPE supports the combined setting mode, and the operation of S405 is performed, and the first information is stored in the local first network information. Otherwise, if the third information is the second value, it indicates that the CPE does not support the combined setting mode, and the first information carried in the fourth packet can not be read continuously.
[0177] In this embodiment, the second network information can include the wireless network information of the routing device and the second information corresponding to the routing device. The wireless network information can include the SSID of the wireless network of the routing device, the gateway address of the routing device, and if the wireless network of the routing device is set with a password, the wireless network information can further include the SSID and the corresponding password. The second information is used to indicate whether the second network parameter of the routing device is set.
[0178] In this embodiment, if the CPE supports the combined setting mode, the fourth packet can further carry the second information corresponding to the routing device. The second information is used to indicate whether the second network parameter of the routing device is set. If the routing device has set the second network parameter, the second information can be set to the third value. Otherwise, if the routing device has not set the second network parameter, the second information can be set to the fourth value. In some implementations, the third value can be 1, and the fourth value can be 0.
[0179] Optionally, when the routing device detects that the third information indicates that the CPE does not support the combined setting mode, the synchronization process of the network information is ended, that is, the local second network information does not need to be sent to the routing device.
[0180] In some implementations, when the routing device detects that the third information indicates that the CPE supports the combined setting mode, the routing device can establish an encrypted link with the CPE. The encrypted link can be used to transmit the second network information corresponding to the routing device. Since the wireless network information sent by the routing device to the CPE in the subsequent second network information includes the SSID and the password of the routing device, which are personal information, by establishing the encrypted link, the confidentiality of the personal information can be improved, and the risk of data leakage can be reduced.
[0181] Further, as another embodiment of the present application, when the routing device establishes the encrypted link with the CPE, the routing device can set the local firewall to the first state (i.e., open the firewall rule of the routing device). When the firewall of the routing device is in the first state, it allows the wide area network side to send data to the routing device. Since the routing device accesses the Internet through the CPE in the wireless network system, when the firewall of the routing device is in the first state, the routing device allows the CPE to send data to the routing device.
[0182] In some possible implementation manners, after the routing device establishes the encrypted link with the CPE, the CPE can send a seventh message to the routing device, where the seventh message is used to instruct the routing device to send the second network information. After receiving the seventh message sent by the CPE, the routing device sends the above-mentioned second network information to the CPE.
[0183] In the embodiment of the present application, the CPE sends the gateway address to the routing device in S402, and sends the first information to the routing device in S404, and the routing device records the gateway address of the CPE and the first information; similarly, the routing device can also send the second network information to the CPE in S405, and the CPE also records the wireless network information of the routing device and the second information, so as to realize the synchronization of the network information between the two network devices, and subsequent user equipment accessing any wireless network can determine the setting state of the other network device, so as to perform the combined setting of the network parameters.
[0184] It should be noted that in the process of the above-mentioned setting preparation stage 31, the data interaction between the routing device and the CPE is realized through the above-mentioned established wired connection. If the routing device establishes the encrypted link with the CPE, the data with personal information can be transmitted through the encrypted wired connection.
[0185] Further, as another embodiment of the present application, after S405, the method further includes:
[0186] In S406, the user premises device sends a fifth message to the routing device when the first network parameter setting is completed.
[0187] In S407, the routing device updates the first information in the first network information in response to the fifth message.
[0188] In the embodiment, the user can only set the first network parameter of the CPE. For example, the user equipment can be connected with the CPE through a serial interface, and then the first network parameter of the CPE is set; for another example, the user can insert a U disk storing a configuration script with the set first network parameter into the CPE, and the automatic configuration script can be automatically run in the CPE to set the first network parameter.
[0189] In the embodiment, after the CPE completes the setting of the first network parameter, the CPE can update the first information stored locally (for example, update the value corresponding to the first information to the third value), and generate a fifth message corresponding to the first information, and send the fifth message to the routing device. After receiving the fifth message sent by the CPE, the routing device can update the first information in the first network information about the CPE stored this time (for example, update the value corresponding to the first information in the first network information to the third value), so as to keep the first network information synchronized with the actual setting of the CPE.
[0190] In the embodiment, if the user sets the network parameter for the CPE alone, the CPE can also send a corresponding fifth message to the routing device, so as to realize the information synchronization between the two network devices, and avoid the subsequent repeated setting.
[0191] Further, as another embodiment of the present application, after S405, the method can further include:
[0192] In S408, the routing device sends a sixth message to the user premises equipment when the setting of the second network parameter is completed.
[0193] In S409, the user premises equipment updates the second information in the second network information in response to the sixth message.
[0194] In the embodiment, the user can only set the second network parameter of the routing device. For example, the user equipment can be connected to the routing device through a serial interface, and then set the second network parameter of the routing device; for another example, the user can insert a U disk storing a configuration script of the set second network parameter into the routing device, and the automatic configuration script can be automatically run in the routing device to set the second network parameter.
[0195] In the embodiment, after the routing device completes the setting of the second network parameter, the routing device can update the second information stored locally (for example, update the value corresponding to the second information to the third value), and generate a sixth message corresponding to the second information, and send the sixth message to the CPE. After receiving the sixth message sent by the routing device, the CPE can update the second network information about the routing device stored this time (for example, update the value corresponding to the second information in the second network information to the third value), so as to keep the second network information synchronized with the actual setting of the routing device.
[0196] In the embodiment, if the user sets the network parameter for the routing device alone, the routing device can also send a corresponding sixth message to the CPE, so as to realize the information synchronization between the two network devices, and avoid the subsequent repeated setting.
[0197] Stage 2: parameter setting stage
[0198] The user can access the wireless network provided by any network device through the user equipment 23, for example, can access the wireless network 1 provided by the CPE 21, and can also access the wireless network 2 provided by the routing device 22. Therefore, according to the network device accessed by the user equipment and whether the CPE and the routing device can interact information, the above parameter setting stage can be divided into the following three cases:
[0199] Case 1: the user equipment accesses the wireless network provided by the routing device
[0200] Exemplarily, FIG. 5 shows the interaction flowchart of the parameter setting stage provided by an embodiment of the present application. Referring to FIG. 5, in the case that the user equipment accesses the wireless network of the routing device, the method of the network device specifically includes the following steps:
[0201] In S501, the user equipment accesses the wireless network provided by the routing device.
[0202] In the embodiment, if the user equipment is in the coverage range of the wireless network provided by the routing device, the user equipment can search for the SSID corresponding to the routing device, the user can select to access the wireless network provided by the routing device from multiple wireless networks on the user equipment, and the user equipment accesses the wireless network provided by the routing device and establishes the wireless connection with the routing device in response to the selection operation initiated by the user.
[0203] In S502, the user equipment sends a first message to the routing device through the wireless network provided by the routing device.
[0204] In the embodiment, after the user equipment accesses the wireless network provided by the routing device, the user equipment can send the first message to the routing device to determine the setting situation of the network parameters of the routing device and the CPE connected thereto.
[0205] In S503, the routing device sends a second message in response to the first message. The second message includes the first information of the user premises device and the second information of the routing device.
[0206] In the embodiment, after the routing device receives the first message sent by the user equipment, the routing device can generate the second message, wherein the second message includes the first information and the second information. The first information can be stored in the first network information inside the routing device, and the first network information is sent by the CPE to the routing device, and the second information is stored in the second network information inside the routing device. The routing device can determine the network device with which the network parameter setting is not completed according to the above two information, and generate the corresponding second message.
[0207] In some implementations, the second message includes five fields, namely devType, SelfGuide, neighGuide, CPE IP and Router SSID. Table 1 shows a correspondence table of the contents of the fields of the second message according to an embodiment of the present application.
[0208] Table 1
[0209] In the embodiment, since the wireless network accessed by the user equipment is the wireless network provided by the routing device, the SelfGuide is the setting state of the network parameters of the routing device, which can be determined according to the second information. Correspondingly, the neighbor device connected to the routing device is the CPE, and the neighGuide is the setting state of the network parameters of the CPE, which can be determined according to the first information. Correspondingly, if the wireless network accessed by the user is the wireless network provided by the CPE, the SelfGuide is the setting state of the network parameters of the CPE, which can be determined according to the first information. Correspondingly, the neighbor device connected to the CPE is the routing device, and the neighGuide is the setting state of the network parameters of the routing device, which can be determined according to the second information.
[0210] The contents of the fields are recorded in the first network information and the second network information. For example, the SSID of the routing device is recorded in the wireless network information of the routing device in the second network information. Since the routing device and the user premises equipment both store the two kinds of network information, the user equipment can generate the second message when accessing any network device.
[0211] In some possible implementations, if the wireless network of the routing device is set with a password, the second message can further include a password field, which is used to store the password of the wireless network of the routing device.
[0212] In some implementations, the second message further includes third information indicating whether the routing device and the user premises device support the combined setting mode. If the third information corresponds to a first value, it indicates that the routing device and the user premises device support the combined setting mode, and the content of the five fields can be read. If the third information corresponds to a second value, it indicates that the routing device and the user premises device do not support the combined setting mode, and the content of the five fields can not be read. For example, FIG. 6 shows a schematic diagram of a second message according to another embodiment of the present application. As shown in FIG. 6, the second message includes the third information in addition to the five fields of devType, SelfGuide, neighGuide, CPEIP and RouterSSID. The routing device can first set the third information. If the third information corresponds to the second value, the content of the subsequent fields can not be set, thereby improving the efficiency of message generation.
[0213] In S504, the user device generates a network setting interface according to the first information and the second information in the second message.
[0214] In this embodiment, the user device can determine whether the first network parameter of the CPE is set according to the first information in the second message. If the first information corresponds to a third value, it indicates that the CPE has completed setting the first network parameter, and the setting area of the first network parameter can not be set in the network setting interface. If the first information corresponds to a fourth value, it indicates that the CPE has not completed setting the first network parameter, and the setting area of the first network parameter can be set in the network setting interface. Similarly, the user device can determine whether the second network parameter of the routing device is set according to the second information, and determine whether the corresponding setting area needs to be configured in the network setting interface.
[0215] Exemplarily, FIG. 7 shows a schematic diagram of a network setting interface provided by an embodiment of the present application. If the user equipment detects that the first information indicates that the first network parameter of the CPE is not set up completely, and the second information indicates that the second network parameter of the routing device is set up completely, the network setting interface only contains a region 71 of the setting parameter of the CPE, as shown in (a) of FIG. 7, wherein the setting parameter can include the SSID, password, and allocation rule of the network address of the wireless network. If the user equipment detects that the first information indicates that the first network parameter of the CPE is set up completely, and the second information indicates that the second network parameter of the routing device is not set up completely, the network setting interface only contains a region 72 of the setting parameter of the routing device, as shown in (b) of FIG. 7. If the user equipment detects that the first information indicates that the first network parameter of the CPE is not set up completely, and the second information indicates that the second network parameter of the routing device is not set up completely, the network setting interface contains a region 73 of the setting parameter of the CPE, and also contains a region 74 of the setting parameter of the routing device, as shown in (c) of FIG. 7.
[0216] In some possible implementations, no matter whether the CPE and the routing device have completed the setting operation of the network parameter, the operation interface corresponding to the user side is the same, as shown in (d) of FIG. 7. The network setting interface of the wireless network only contains one setting region, i.e., a region 75, which contains the control for setting the wireless network of the two network devices simultaneously, i.e., the combined setting control, such as a control 76 and a control 77, for example, setting the wireless network of the routing device and the wireless network of the CPE to the same SSID, and setting the wireless network and the wireless network of the routing device to the same password. Since the user can set up a wireless network through the CPE and the routing device, the network parameters of the two network devices are the same, and the user can only need to set up once, i.e., whether the routing device and the CPE complete the setting, the operation content of the user is the same, i.e., the network setting interface does not change according to the difference of the first information and the second information. Correspondingly, since the device content of the network setting interface is common to the two devices, the user equipment can generate the set first network parameter and / or the set second network parameter according to the setting data of the combined setting control in the network setting interface. Specifically, the user equipment can determine whether to generate the first network parameter corresponding to the CPE in the background according to the first information, for example, if the first information indicates that the first network parameter of the CPE is not set up completely, the set first network parameter is generated according to the setting data; the user equipment can also determine whether to generate the second network parameter corresponding to the routing device according to the second information, for example, if the second information indicates that the second network parameter of the routing device is not set up completely, the set second network parameter is generated. The user equipment sends the generated network parameter to the routing device, thereby improving the operation efficiency of the user.
[0217] In the embodiment, the user can set the network parameters related to the wireless network in the network setting interface, and after setting the required network parameters in the network setting interface, the user can click the finish control to send the network parameters set by the user to the routing device.
[0218] In S505, the user device sends the network parameters set by the user in the network setting interface to the routing device.
[0219] In the embodiment, the user device can send the network parameters set by the user in the network setting interface to the routing device, so that the routing device and the CPE can set the network parameters. If the network parameters include the set first network parameters of the CPE, the routing device can forward the set first network parameters to the CPE, so that the user device can set the two different types of network devices at the same time without accessing two different types of network devices, which reduces the operation steps of the user and improves the setting efficiency of the wireless network.
[0220] In S506, if the routing device detects that the network parameters sent by the user device include the set second network parameters, the routing device can set the wireless network provided by the routing device according to the set second network parameters.
[0221] In the embodiment, if the routing device does not complete the setting operation of the network parameters, the user can set the second network parameters of the routing device in the network setting interface, and then the network parameters sent by the user device include the set second network parameters, so that the routing device can set the wireless network provided by the routing device according to the set second network parameters, such as adjusting the SSID and password of the wireless network.
[0222] In S507, if the routing device detects that the network parameters sent by the user device include the set first network parameters, the routing device can send the set first network parameters to the CPE through the wired connection.
[0223] In S508, the user premises device sets the wireless network provided by the user premises device according to the set first network parameters.
[0224] In the embodiment, if the CPE does not complete the setting operation of the network parameters, the user can also set the first network parameters of the CPE in the network device. Since the user device accesses the wireless network of the routing device, and the routing device allows to send data to the CPE, the routing device can send the set first network parameters in the network parameters to the CPE, and the CPE can set the wireless network provided by the CPE according to the set first network parameters.
[0225] Further, as another embodiment of the present application, if the wired connection between the CPE and the routing device is disconnected, such as the user unplugging the network cable between the two, after S508, the method can further include:
[0226] In S509, the routing device updates the first information in the first network information stored locally, such as setting the value corresponding to the first information in the first network information to the fourth value.
[0227] In S510, the user premises equipment updates the second information in the second network information stored locally, such as setting the value corresponding to the second information in the second network information to the fourth value.
[0228] In the embodiment, if the user disconnects the wired connection between the two network devices, therefore, the setting state stored by the two network devices needs to be reset. For the CPE, since it is not connected to the routing device, the second information about the routing device stored in the CPE is reset. Similarly, the routing device is not connected to the CPE, therefore, the first information about the CPE stored in the routing device needs to be reset to the fourth value, i.e., the unset state.
[0229] Case 2: the user equipment accesses the wireless network of the user premises equipment, and the user premises equipment does not allow sending information to the routing device
[0230] Exemplarily, FIG. 8 shows the interaction flowchart of the parameter setting stage according to another embodiment of the present application. Referring to FIG. 8, in the case that the user equipment accesses the wireless network of the CPE, and the routing device does not allow the CPE to send information, the method of the network device specifically includes the following steps:
[0231] In S801, the user equipment accesses the wireless network of the user premises equipment.
[0232] In the embodiment, the specific implementation process can be referred to the related description of S501 in the case of accessing the wireless network of the routing device, which will not be repeated here.
[0233] In S802, the user equipment sends a first packet to the user premises equipment through the wireless network of the user premises equipment.
[0234] In the embodiment, the specific implementation process can be referred to the related description of S502 in the case of accessing the wireless network of the routing device, which will not be repeated here.
[0235] In S803, the user premises equipment sends a second packet according to the first information in the first network information and the second information in the second network information in response to the first packet.
[0236] In this embodiment, the implementation process can refer to the related description of S503, which will not be repeated here.
[0237] In S804, if the user equipment detects that the second information indicates that the second network parameter of the routing device is not set, the user equipment accesses the wireless network provided by the routing device according to the wireless network information of the routing device in the second message, for example, accesses the wireless network provided by the routing device according to the SSID of the routing device in the second message. It should be understood that the second message also includes the wireless network information of the routing device.
[0238] In this embodiment, if the second information corresponds to the fourth value, it indicates that the routing device has not set its network parameters, and the related network parameters of the routing device need to be set. Since the CPE cannot send information to the routing device, the second network parameter set by the routing device cannot be sent to the routing device through the CPE. Therefore, the user equipment needs to be guided to access the wireless network provided by the routing device.
[0239] It should be noted that the second message is generated according to the first network information and the second network information, and the second network information records the wireless network information of the routing device, such as the SSID and password of the routing device. Therefore, the user equipment can access the wireless network provided by the routing device according to the wireless network information corresponding to the routing device. The above process does not need to be manually operated by the user, and the above wireless network switching process is transparent to the user, which does not increase the operation steps of the user, thereby improving the user experience.
[0240] In some possible implementation manners, if it is detected that the second information indicates that the second network parameter of the routing device is set, the user equipment can continue to access the wireless network provided by the CPE, and no wireless network switching is needed. Since the second information indicates that the second network parameter of the routing device is set, it indicates that the routing device does not need to be set, and only the CPE needs to be set. At this time, the user equipment can continue to access the wireless network provided by the CPE, and the user equipment sends the first network parameter set by the CPE to the CPE through the wireless network provided by the CPE after the setting is completed.
[0241] In some possible manners, the user device can also access the wireless network provided by the routing device when it is detected that the second information indicates that the setting of the second network parameter of the routing device is completed. Since the user device can set the network parameter for the network device whose network parameter is not set, the user device can also adjust the network parameter for the network device whose network parameter is set. In this case, the network setting interface described above can further include the network parameter that needs to be adjusted. After the network parameter is adjusted, the user device still needs to send data to the routing device. Therefore, the user device accesses the wireless network of the routing device to send the adjusted network parameter to the routing device.
[0242] In S805, the user device generates the network setting interface including the second network parameter.
[0243] In this embodiment, when the user device detects that the first information indicates that the setting of the first network parameter of the CPE is completed, the network setting interface described above can only include the setting area of the second network parameter. When the user device detects that the first information indicates that the setting of the first network parameter of the CPE is not completed, it indicates that the network parameter of the CPE and the routing device needs to be set simultaneously. Therefore, the network setting interface including the first network parameter and the second network parameter can be generated. The specific setting process can be referred to the related description of S504, which is not described here again.
[0244] In S806, the user device sends the network parameter set by the user in the network setting interface to the routing device.
[0245] In S807, when the routing device detects that the network parameter sent by the user device includes the set second network parameter, the routing device can set the wireless network provided by the routing device according to the set second network parameter.
[0246] In S808, when the routing device detects that the network parameter sent by the user device includes the set first network parameter, the routing device can send the set first network parameter to the CPE through the wired connection.
[0247] In S809, the user premises device sets the wireless network provided by the user premises device according to the set first network parameter.
[0248] Further, as another embodiment of the present application, when the wired connection between the CPE and the routing device is disconnected, such as the user unplugs the network cable between the CPE and the routing device, after S508, the following steps can be further included:
[0249] In S810, the routing device updates the first information in the first network information stored locally, for example, sets the first information in the first network information to the fourth value.
[0250] In S811, the user premises equipment updates the second information in the locally stored second network information, for example, sets the second information in the second network information to a fourth value.
[0251] Since the implementation processes of S806-S811 are completely same as those of S505-S510 in case 1, the specific description can be referred to the related description in FIG. 5, which will not be repeated here.
[0252] In order to further illustrate the setting process of the whole wireless network, i.e., combining the preparation stage and the setting stage, FIG. 9 shows a flowchart of network setting provided by an embodiment of the present application. Referring to FIG. 9, the method of network setting can specifically include the following steps:
[0253] In S91, the CPE establishes a wired connection with the routing device.
[0254] In S92, the CPE sends a gateway address to the routing device.
[0255] In S93, the routing device sends a third message to the CPE.
[0256] In S94, the CPE sends a fourth message to the routing device. The fourth message includes the third information and the first information.
[0257] In S95, the routing device establishes an encrypted link with the CPE.
[0258] In S96, the CPE sends a seventh message to the routing device.
[0259] In S97, the routing device sends second network information to the CPE. The second network information includes: the second information, the SSID and the gateway address of the routing device.
[0260] In S98, if the user sets the first network parameter for the CPE alone, the CPE sends a fifth message to the routing device to update the first information in the routing device.
[0261] In S99, if the user sets the second network parameter for the routing device alone, the routing device sends a sixth message to the CPE to update the second information in the CPE.
[0262] In S910, if the user equipment accesses the routing device, a first message is sent to the routing device.
[0263] In S911, the routing device sends a second message to the user equipment.
[0264] In S912, the user equipment sets the network device which is not set.
[0265] In S913, if the user equipment accesses the CPE, the first message is sent to the CPE.
[0266] In S914, the CPE sends the second message to the user equipment.
[0267] In S915, the user equipment accesses the wireless network of the routing device according to the wireless network information of the routing device in the second message.
[0268] In S916, the user equipment sets the un-set network device in the wireless network of the routing device.
[0269] In S917, if the CPE disconnects the wired connection with the routing device, the CPE resets the second information of the local routing device, and the routing device also resets the first information of the local CPE.
[0270] Case 3: the user equipment accesses the wireless network of the user premise device, and the user premise device allows sending information to the routing device, i.e., allows the routing device to interact with the CPE
[0271] Exemplarily, FIG. 10 shows the interaction flowchart of the parameter setting stage according to another embodiment of the present application. Referring to FIG. 10, in the case that the user equipment accesses the wireless network of the CPE, and the routing device allows the CPE to send information (i.e., the firewall of the routing device is in the first state), the method of the network device specifically includes the following steps:
[0272] In S1001, the user equipment accesses the wireless network provided by the user premise device.
[0273] In this embodiment, the specific implementation process can be referred to the related description of S501, which will not be repeated here.
[0274] In S1002, the user equipment sends the first message to the user premise device through the wireless network provided by the user premise device.
[0275] In this embodiment, the specific implementation process can be referred to the related description of S502, which will not be repeated here.
[0276] In S1003, the user premise device sends the second message according to the first information in the first network information and the second information in the second network information in response to the first message.
[0277] In this embodiment, the specific implementation process can be referred to the related description of S503, which will not be repeated here.
[0278] In S1004, the user equipment generates a network setting interface containing the second network parameter corresponding to the routing device and / or the first network parameter corresponding to the user premises equipment according to the first information and the second information.
[0279] In the embodiment, since the firewall of the routing device is in the first state, i.e., allowing the CPE to send information to the routing device, in this case, the user equipment does not need to switch to the wireless network provided by the routing device, i.e., remains connected to the wireless network provided by the user premises equipment, and when detecting that the second information indicates that the second network parameter of the routing device is not set completely, generates a setting interface containing the second network parameter, and the CPE can send the set second network parameter to the routing device subsequently, and the process of generating the network setting interface can be referred to the related description of S504, which will not be repeated here.
[0280] In S1005, the user equipment sends the network parameter set by the user in the network setting interface to the user premises equipment.
[0281] In the embodiment, the same as the case of accessing the wireless network of the routing device, the specific implementation process can be referred to the related description of S505, which will not be repeated here.
[0282] In S1006, if the user premises equipment detects that the network parameter sent by the user equipment includes the set first network parameter, the user premises equipment can set the wireless network provided by the user premises equipment according to the set first network parameter.
[0283] In S1007, if the user premises equipment detects that the network parameter sent by the user equipment includes the set second network parameter, the user premises equipment can send the set second network parameter to the routing device through the wired connection.
[0284] In S1008, the routing device sets the wireless network provided by the routing device according to the set second network parameter.
[0285] In the embodiment, since the routing device allows the CPE to send data, the CPE can transfer the received set second network parameter to the routing device, and the routing device can set the wireless network provided by the routing device according to the set second network parameter.
[0286] Further, as another embodiment of the present application, if the wired connection between the CPE and the routing device is disconnected, such as the user unplugging the network cable between them, after S1008, the process can further include:
[0287] In S1009, the routing device updates the first information in the first network information stored locally, for example, sets the first information in the first network information to a fourth value.
[0288] In S1010, the routing device sets the firewall to the second state. When the firewall is in the second state, the CPE is prohibited from sending data to the routing device.
[0289] In S1011, the user premises device updates the second information in the second network information stored locally, for example, sets the second information in the second network information to a fourth value.
[0290] To further illustrate the setting process of the entire wireless network, i.e., combining the preparation stage and the setting stage, FIG. 11 shows a flowchart of network setting provided by another embodiment of the present application. Referring to FIG. 11, the method of network setting can specifically include the following steps:
[0291] In S111, the CPE establishes a wired connection with the routing device.
[0292] In S112, the CPE sends a gateway address to the routing device.
[0293] In S113, the routing device sends a third message to the CPE.
[0294] In S114, the CPE sends a fourth message to the routing device. The fourth message includes the third information and the first information.
[0295] In S115, the routing device establishes an encrypted link with the CPE, and sets the firewall of the routing device to the first state.
[0296] In S116, the CPE sends a seventh message to the routing device.
[0297] In S117, the routing device sends second network information to the CPE. The second network information includes the second information, the SSID, and the gateway address of the routing device.
[0298] In S118, if the user sets the first network parameter for the CPE alone, the CPE sends a fifth message to the routing device to update the first information in the routing device.
[0299] In S119, if the user sets the second network parameter for the routing device alone, the routing device sends a sixth message to the CPE to update the second information in the CPE.
[0300] In S1110, if the user device accesses the routing device, a first message is sent to the routing device.
[0301] In S1111, the routing device sends a second message to the user device.
[0302] In S1112, the user device sets the network device that is not set.
[0303] In S1113, if the user equipment accesses the CPE, the first message is sent to the CPE.
[0304] In S1114, the CPE sends the second message to the user equipment.
[0305] In S1115, the user equipment sets the network equipment which is not set in the wireless network of the CPE, and if the setting of the routing equipment is needed, the second network parameter after the setting can be sent to the routing equipment through the CPE.
[0306] In S1116, if the CPE disconnects the wired connection with the routing equipment, the CPE resets the second information of the local routing equipment, the routing equipment also resets the first information of the local CPE, and the firewall is restored to the second state.
[0307] As can be seen from the above, in the network setting method provided by the embodiment of the application, the network information of the opposite end is recorded by the two network equipments before the wireless network setting of the user premises equipment and the routing equipment, so that the setting state of the self and the setting state of the opposite end equipment can be determined; when the user equipment accesses the wireless network provided by one of the network equipments to set the network parameter, the second message can be generated by the two different types of network equipments according to the local network information and the network information of the opposite end, and the network setting interface for setting the network equipment which is not set with the network parameter can be generated by the user equipment according to the second message, so that the user can complete the network parameter setting without accessing the wireless network of the two network equipments respectively, the operation steps of the user are reduced, and the setting efficiency of the wireless network setting is improved.
[0308] FIG. 12 shows the implementation flowchart of the network setting method provided by the embodiment of the application on the user premises equipment side. Compared with the embodiments shown in FIGS. 4 to 11, the embodiments shown in FIGS. 4 to 11 explain the network setting method provided by the embodiment of the application from the perspective of the interaction among the user premises equipment, the routing equipment and the user equipment, while the embodiment shown in FIG. 12 explains the network setting method provided by the embodiment of the application from the perspective of the user premises equipment, and the specific description is as follows:
[0309] The user premises equipment is connected with the routing equipment in a wired mode, and the second network information of the routing equipment is stored in the user premises equipment; the method comprises the following steps:
[0310] In S1201, the user premises equipment receives the first message sent by the user equipment through the first wireless network, and the first wireless network is the wireless network provided by the user premises equipment.
[0311] In S1202, the user premise equipment sends a second message to the user equipment in response to the first message, the second message comprising first information and second information, the first information being used to indicate whether the first network parameter of the user premise equipment is set up, the first information being determined according to the first network information of the user premise equipment, the second information being used to indicate whether the second network parameter of the routing equipment is set up, the second information being determined according to the second network information.
[0312] In S1203, the user premise equipment receives the network parameter sent by the user equipment through the second wireless network, the network parameter comprising the set first network parameter corresponding to the user premise equipment and / or the set second network parameter corresponding to the routing equipment, the second wireless network being the wireless network provided by the user premise equipment or the wireless network provided by the routing equipment.
[0313] Optionally, the first network information comprises the gateway address of the user premise equipment and the first information, and the second network information comprises the wireless network information of the routing equipment and the second information.
[0314] Optionally, before the user premise equipment receives the first message sent by the user equipment through the first wireless network, the method further comprises:
[0315] The user premise equipment sends the gateway address of the user premise equipment to the routing equipment.
[0316] The user premise equipment receives a third message sent by the routing equipment.
[0317] The user premise equipment sends a fourth message to the routing equipment in response to the third message, the fourth message comprising third information and the first information, the third information being used to indicate whether the user premise equipment supports the combined setting mode.
[0318] The user premise equipment receives the second network information sent by the routing equipment.
[0319] Optionally, after the user premise equipment receives the second network information sent by the routing equipment, the method further comprises:
[0320] The user premise equipment sends a fifth message to the routing equipment when the first network parameter is set up, the fifth message being used to trigger the routing equipment to update the first information in the stored first network information.
[0321] Optionally, after the user premise equipment receives the second network information sent by the routing equipment, the method further comprises:
[0322] The user premise equipment receives the sixth message sent by the routing device;
[0323] The user premise equipment updates the second information in the second network information in response to the sixth message.
[0324] Optionally, when the routing device sets the firewall to the first state, the first wireless network and the second wireless network are the same wireless network provided by the user premise equipment, and the firewall allows the routing device to interact with the user premise equipment through the wired connection when the firewall is in the first state. For example, the information includes but is not limited to parameters, data, messages, instructions or messages, etc.
[0325] Optionally, after the user premise equipment receives the network parameters sent by the user equipment through the second wireless network, the method further comprises:
[0326] If the user premise equipment detects that the network parameters include the set second network parameters, the user premise equipment sends the set second network parameters to the routing device through the wired connection, and the set second network parameters are used to trigger the routing device to set the wireless network provided by the routing device; and / or
[0327] If the user premise equipment detects that the network parameters include the set first network parameters, the user premise equipment sets the first wireless network according to the set first network parameters.
[0328] Optionally, when the second wireless network is the wireless network provided by the routing device, the user premise equipment receives the network parameters sent by the user equipment through the second wireless network, comprising:
[0329] The user premise equipment receives the set first network parameters forwarded by the routing device.
[0330] FIG. 13 shows a flowchart of the implementation of the method for setting a network provided by an embodiment of the present application on the side of a routing device. Compared with the embodiments shown in FIGS. 4 to 11, the embodiments shown in FIGS. 4 to 11 explain the method for setting a network provided by an embodiment of the present application from the perspective of the interaction among a user premise equipment, a routing device and a user equipment, while the embodiment shown in FIG. 13 explains the method for setting a network provided by an embodiment of the present application from the perspective of a routing device, which is described in detail as follows:
[0331] The routing device is connected with a user premise equipment through a wired connection, and the routing device stores first network information of the user premise equipment; the method comprises:
[0332] In S1301, the routing device receives a first packet sent by the user device through a third wireless network, the third wireless network being a wireless network provided by the routing device;
[0333] In S1302, the routing device sends a second packet to the user device in response to the first packet, the second packet including first information and second information, the first information being used to indicate whether the first network parameter of the user premises device is set up, the first information being determined according to the first network information, the second information being used to indicate whether the second network parameter of the routing device is set up, the second information being determined according to the second network information of the routing device;
[0334] In S1303, the routing device receives network parameters sent by the user device through a fourth wireless network, the network parameters including the set first network parameter corresponding to the user premises device and / or the set second network parameter corresponding to the routing device, the fourth wireless network being a wireless network provided by the user premises device or a wireless network provided by the routing device.
[0335] Optionally, the first network information includes the gateway address of the user premises device and the first information, and the second network information includes the wireless network information of the routing device and the second information.
[0336] Optionally, before the routing device receives the first packet sent by the user device through the third wireless network, the method further includes:
[0337] The routing device receives the gateway address sent by the user premises device;
[0338] The routing device sends a third packet to the user premises device;
[0339] The routing device receives a fourth packet sent by the user premises device, the fourth packet including third information and the first information; the third information being used to indicate whether the user premises device supports the combined setting mode;
[0340] The routing device sends the second network information to the user premises device if it is detected that the third information indicates that the user premises device supports the combined setting mode.
[0341] Optionally, after the routing device sends the second network information to the user premises device if it is detected that the third information indicates that the user premises device supports the combined setting mode, the method further includes:
[0342] The routing device sends a sixth message to the user premise device after completing setting the second network parameter, the sixth message is used to trigger the user premise device to update the second information in the stored second network information.
[0343] Optionally, after the routing device sends the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode, the method further comprises:
[0344] The routing device receives a fifth message sent by the user premise device.
[0345] The routing device updates the first information in the first network information in response to the fifth message.
[0346] Optionally, the routing device sends the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode, comprising:
[0347] The routing device sets a firewall to a first state if the third information indicates that the user premise device supports the combined setting mode, and sends the second network information to the user premise device, the firewall allows the routing device and the user premise device to interact information through the wired connection when the firewall is in the first state. For example, the information includes but is not limited to parameters, data, messages, instructions or messages, etc.
[0348] Optionally, after the routing device sets the firewall to the first state if the third information indicates that the user premise device supports the combined setting mode, the method further comprises:
[0349] The routing device sets the firewall to a second state if the wired connection is detected to be disconnected, the firewall prohibits the user premise device from sending information to the routing device when the firewall is in the second state.
[0350] Optionally, the routing device receives the network parameter sent by the user device through a fourth wireless network, comprising:
[0351] The routing device receives the set second network parameter forwarded by the user premise device through the wired connection, and the fourth wireless network is a wireless network provided by the user premise device.
[0352] Optionally, when the fourth wireless network is a wireless network provided by the routing device, after the routing device receives the network parameter sent by the user device through the fourth wireless network, the method further comprises:
[0353] The routing device sends the set first network parameter to the user premise device through the wired connection if it is detected that the set first network parameter is included in the network parameters, and the set first network parameter is used to trigger the user premise device to set the wireless network provided by the user premise device; and / or
[0354] The routing device sets the third wireless network according to the set second network parameter if it is detected that the set second network parameter is included in the network parameters.
[0355] FIG. 14 shows a flowchart of the implementation of the method for setting a network provided by an embodiment of the present application on the user device side. Compared with the embodiments shown in FIGS. 4-11, the embodiments shown in FIGS. 4-11 explain the method for setting a network provided by an embodiment of the present application from the perspective of the interaction among the user premise device, the routing device and the user device, while the embodiment shown in FIG. 14 explains the method for setting a network provided by an embodiment of the present application from the perspective of the user device, which is specifically described as follows:
[0356] In S1401, the user device accesses a fifth wireless network, the fifth wireless network being a first wireless network or a third wireless network, the first wireless network being a wireless network provided by a user premise device, the third wireless network being a wireless network provided by a routing device, the routing device being in wired connection with the user premise device, the routing device storing first network information of the user premise device, and the user premise device storing second network information of the routing device;
[0357] In S1402, the user device sends a first packet through the fifth wireless network;
[0358] In S1403, the user device receives a second packet sent by a network device corresponding to the fifth wireless network, the second packet including first information and second information, the first information being used to indicate whether the first network parameter of the user premise device is set, the first information being determined according to the first network information, and the second information being used to indicate whether the second network parameter of the routing device is set, the second information being determined according to the second network information of the routing device;
[0359] In S1404, the user device generates a network setting interface according to the first information and the second information, the network setting interface being used to set the network parameters of the network device which is not set in the user premise device and the routing device.
[0360] In S1405, the user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, which is the first wireless network or the third wireless network.
[0361] Optionally, when the firewall of the routing device is in the first state and the fifth wireless network is the first wireless network, the user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, including:
[0362] The user equipment sends the network parameters set by the user in the network setting interface through the first wireless network.
[0363] Optionally, the user equipment generates a network setting interface according to the first information and the second information, including:
[0364] The user equipment generates the network setting interface containing the second network parameters of the routing device if it detects that the second information in the second packet indicates that the second network parameters of the routing device are not set completely.
[0365] The user equipment sends the network parameters set by the user in the network setting interface through the first wireless network, including:
[0366] The user equipment sends the set second network parameters to the user premise equipment through the first wireless network, so that the user premise equipment sends the set second network parameters to the routing device through a wired connection.
[0367] Optionally, when the fifth wireless network is the first wireless network, before the user equipment generates a network setting interface according to the first information and the second information, it further includes:
[0368] The user equipment accesses the third wireless network according to the wireless network information of the routing device included in the second packet if it detects that the second information in the second packet indicates that the second network parameters of the routing device are not set completely.
[0369] The user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, including:
[0370] The user equipment sends the network parameters set by the user in the network setting interface through the third wireless network.
[0371] Optionally, when the fifth wireless network is the third wireless network, the user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, including:
[0372] The user equipment sends the network parameters set by the user in the network setting interface to the routing device through the third wireless network; the set network parameters include the set first network parameters and / or the set second network parameters.
[0373] Optionally, the user equipment generates the network setting interface according to the first information and the second information, including:
[0374] The user equipment generates the network setting interface containing the second network parameters corresponding to the routing device if it is detected that the second information in the second packet indicates that the second network parameters of the routing device are not set completely; and / or
[0375] The user equipment generates the network setting interface containing the first network parameters corresponding to the user premise equipment if it is detected that the first information in the second packet indicates that the first network parameters of the user premise equipment are not set completely.
[0376] Optionally, the user equipment generates the network setting interface according to the first information and the second information, including:
[0377] The user equipment generates the network setting interface containing at least one merged setting control, and the merged setting control is used to set the first network parameters and the second network parameters simultaneously.
[0378] FIG. 15 is a structural schematic diagram of the device according to an embodiment of the present application. As shown in FIG. 15, the device 15 according to the embodiment includes at least one processor 150 (only one processor is shown in FIG. 15, and the number of the processors can match the number of the chips actually included in the device in the embodiment), a memory 151, and a program 152 stored in the memory 151 and executable on the at least one processor 150, and the processor 150 implements the steps in the method embodiments of any of the above network settings when executing the program 152.
[0379] The device 15 can be a tablet computer, a smart phone, a notebook computer, a user premise equipment, a routing device, etc. The device can include, but is not limited to, the processor 150 and the memory 151. Those skilled in the art can understand that FIG. 15 is only an example of the device 15, and does not constitute a limitation on the device 15, and can include more or fewer components than those shown in the figure, or combine certain components, or different components, for example, can also include an input / output device, a network access device, etc.
[0380] The processor 150 can be a central processing unit, and can also be other general purpose processors, digital signal processors, application specific integrated circuits, programmable logic devices, discrete gates or transistor logic components, discrete hardware components, etc. The general purpose processor can be a microprocessor or can also be any conventional processor.
[0381] The memory 151 can be an internal storage unit of the device 15, such as a hard disk or a memory of the device 15 in some embodiments. The memory 151 can also be an external storage device of the device 15, such as a plug-in hard disk, a smart memory card, a secure digital card, a flash memory card, etc. equipped on the device 15 in other embodiments. Further, the memory 151 can include both the internal storage unit and the external storage device of the device 15. The memory 151 is used to store an operating system, application programs, data, and other programs, such as program codes of the programs, etc. The memory 151 can also be used to temporarily store data that has been output or will be output.
[0382] It should be noted that the information interaction, execution process, etc. between the above devices, since based on the same concept as the method embodiments of the present application, the specific functions and the technical effects brought by them can be referred to the method embodiments part, and will not be repeated here.
[0383] The embodiments of the present application further provide a device, which comprises at least one processor, a memory, and a program stored in the memory and executable on the at least one processor, and the processor implements the steps in any of the above method embodiments when executing the program.
[0384] The embodiments of the present application further provide a readable storage medium (also referred to as a computer readable storage medium), which stores a program, and the program is executable on a processor to implement the steps in any of the above method embodiments.
[0385] The embodiments of the present application provide a program product (also referred to as a computer readable storage medium), which, when the program product is run on a device, causes the device to implement the steps in any of the above method embodiments.
[0386] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit them; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of network setup, characterized by, The application is applied to a user premise equipment which is wired connected with a routing device, and the user premise equipment stores second network information of the routing device; the method comprises: The user premise equipment receives a first message sent by a user equipment through a first wireless network, and the first wireless network is a wireless network provided by the user premise equipment; The user premise equipment sends a second message to the user equipment in response to the first message, and the second message comprises first information and second information, the first information is used to indicate whether a first network parameter of the user premise equipment is set, the first information is determined according to first network information of the user premise equipment, and the second information is used to indicate whether a second network parameter of the routing device is set, and the second information is determined according to the second network information; The user premise equipment receives network parameters sent by the user equipment through a second wireless network, and the network parameters comprise the set first network parameter corresponding to the user premise equipment and / or the set second network parameter corresponding to the routing device, and the second wireless network is a wireless network provided by the user premise equipment or a wireless network provided by the routing device.
2. The method of claim 1, wherein, The first network information comprises a gateway address of the user premise equipment and the first information, and the second network information comprises wireless network information of the routing device and the second information.
3. The method of claim 2, wherein, Before the user premise equipment receives the first message sent by the user equipment through the first wireless network, the method further comprises: The user premise equipment sends the gateway address of the user premise equipment to the routing device; The user premise equipment receives a third message sent by the routing device; The user premise equipment sends a fourth message to the routing device in response to the third message, and the fourth message comprises third information and the first information, and the third information is used to indicate whether the user premise equipment supports a merging setting mode; The user premise equipment receives the second network information sent by the routing device.
4. The method of claim 3, wherein, After the user premise equipment receives the second network information sent by the routing device, the method further comprises: When the user premise equipment completes setting the first network parameter, the user premise equipment sends a fifth message to the routing device, and the fifth message is used to trigger the routing device to update the first information in the stored first network information.
5. The method of claim 3, wherein, After the user premise equipment receives the second network information sent by the routing device, the method further comprises: The user premise equipment receives a sixth message sent by the routing device; The user premise equipment updates the second information in the second network information in response to the sixth message.
6. The method according to any one of claims 1 to 5, characterized in that, When the routing device sets a firewall to a first state, the first wireless network and the second wireless network are the same wireless network provided by the user premise equipment, and when the firewall is in the first state, the routing device is allowed to interact information with the user premise equipment through the wired connection.
7. The method of claim 6, wherein, after the user premises equipment receives the network parameters sent by the user equipment through the second wireless network, further comprising: if the user premises equipment detects that the network parameters include the set second network parameters, the user premises equipment sends the set second network parameters to the routing equipment through the wired connection, the set second network parameters are used to trigger the routing equipment to set the wireless network provided by the routing equipment; and / or if the user premises equipment detects that the network parameters include the set first network parameters, the user premises equipment sets the first wireless network according to the set first network parameters.
8. A method of network setup, characterized by, applied to a routing equipment, the routing equipment is wiredly connected with a user premises equipment, and the routing equipment stores first network information of the user premises equipment; the method comprises: the routing equipment receives a first message sent by a user equipment through a third wireless network, the third wireless network being a wireless network provided by the routing equipment; the routing equipment sends a second message to the user equipment in response to the first message, the second message including first information and second information, the first information being used to indicate whether first network parameters of the user premises equipment are set, the first information being determined according to the first network information, and the second information being used to indicate whether second network parameters of the routing equipment are set, the second information being determined according to second network information of the routing equipment; the routing equipment receives network parameters sent by the user equipment through a fourth wireless network, the network parameters including set first network parameters corresponding to the user premises equipment and / or set second network parameters corresponding to the routing equipment, the fourth wireless network being a wireless network provided by the user premises equipment or a wireless network provided by the routing equipment.
9. The method of claim 8, wherein, the first network information includes a gateway address of the user premises equipment and the first information, and the second network information includes wireless network information of the routing equipment and the second information.
10. The method of claim 9, wherein, before the routing equipment receives the first message sent by the user equipment through the third wireless network, further comprising: the routing equipment receives the gateway address sent by the user premises equipment; the routing equipment sends a third message to the user premises equipment; the routing equipment receives a fourth message sent by the user premises equipment, the fourth message including third information and the first information, the third information being used to indicate whether the user premises equipment supports a combined setting mode; if the routing equipment detects that the third information indicates that the user premises equipment supports the combined setting mode, the routing equipment sends the second network information to the user premises equipment.
11. The method of claim 10, wherein, after the routing equipment sends the second network information to the user premises equipment if the routing equipment detects that the third information indicates that the user premises equipment supports the combined setting mode, further comprising: The routing device sends a sixth message to the user premise device after completing setting the second network parameter, and the sixth message is used to trigger the user premise device to update the second information in the stored second network information.
12. The method of claim 10, wherein, The routing device further comprises the following steps after sending the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode: The routing device receives a fifth message sent by the user premise device; The routing device updates the first information in the first network information in response to the fifth message.
13. The method of claim 10, wherein, The routing device sends the second network information to the user premise device if the third information indicates that the user premise device supports the combined setting mode, and the method comprises the following steps: The routing device sets a firewall to a first state if the third information indicates that the user premise device supports the combined setting mode, and sends the second network information to the user premise device, and the firewall allows the routing device and the user premise device to interact information through the wired connection when the firewall is in the first state.
14. The method according to any one of claims 8 to 13, characterized in that, The routing device further comprises the following steps after receiving the network parameter sent by the user device through the fourth wireless network when the fourth wireless network is the wireless network provided by the routing device: The routing device sends the set first network parameter to the user premise device through the wired connection if the network parameter contains the set first network parameter, and the set first network parameter is used to trigger the user premise device to set the wireless network provided by the user premise device; and / or The routing device sets the third wireless network according to the set second network parameter if the network parameter contains the set second network parameter.
15. A method of a network device, the method comprising: The method is applied to a user device, and the method comprises the following steps: The user device accesses a fifth wireless network, and the fifth wireless network is a first wireless network or a third wireless network, the first wireless network is a wireless network provided by a user premise device, and the third wireless network is a wireless network provided by a routing device, the routing device is wiredly connected to the user premise device, the routing device stores first network information of the user premise device, and the user premise device stores second network information of the routing device; The user device sends a first message through the fifth wireless network; The user device receives a second message sent by a network device corresponding to the fifth wireless network, and the second message comprises first information and second information, the first information is used to indicate whether a first network parameter of the user premise device is set, the first information is determined according to the first network information, the second information is used to indicate whether a second network parameter of the routing device is set, and the second information is determined according to the second network information of the routing device; The user equipment generates a network setting interface according to the first information and the second information, and the network setting interface is used for setting parameters of a network device which is not set in the user premises equipment and the routing device; The user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, and the sixth wireless network is the first wireless network or the third wireless network.
16. The method of claim 15, wherein, When the firewall of the routing device is in the first state and the fifth wireless network is the first wireless network, the user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, and the method comprises the following steps of: The user equipment sends the network parameters set by the user in the network setting interface through the first wireless network.
17. The method of claim 16, wherein, The user equipment generates a network setting interface according to the first information and the second information, and the method comprises the following steps of: If the user equipment detects that the second information in the second message indicates that the second network parameters of the routing device are not set, the user equipment generates the network setting interface comprising the second network parameters corresponding to the routing device; The user equipment sends the network parameters set by the user in the network setting interface through the first wireless network, and the method comprises the following steps of: The user equipment sends the set second network parameters to the user premises equipment through the first wireless network, so that the user premises equipment sends the set second network parameters to the routing device through a wired connection.
18. The method of claim 15, wherein, When the fifth wireless network is the first wireless network, before the user equipment generates a network setting interface according to the first information and the second information, the method further comprises the following steps of: If the user equipment detects that the second information in the second message indicates that the second network parameters of the routing device are not set, the user equipment accesses the third wireless network according to the wireless network information of the routing device included in the second message; The user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, and the method comprises the following steps of: The user equipment sends the network parameters set by the user in the network setting interface through the third wireless network.
19. The method of claim 15, wherein, When the fifth wireless network is the third wireless network, the user equipment sends the network parameters set by the user in the network setting interface through a sixth wireless network, and the method comprises the following steps of: The user equipment sends the network parameters set by the user in the network setting interface to the routing device through the third wireless network, and the set network parameters comprise the set first network parameters and / or the set second network parameters.
20. The method according to any one of claims 15-19, characterized by, The user equipment generates a network setting interface according to the first information and the second information, and the method comprises the following steps of: If the user equipment detects that the second information in the second message indicates that the second network parameters of the routing device are not set, the user equipment generates the network setting interface comprising the second network parameters corresponding to the routing device; and / or The user device generates the network setting interface including the first network parameter corresponding to the user premise equipment if the first information in the second message indicates that the first network parameter of the user premise equipment is not set up completely.
21. The method according to any one of claims 15-19, characterized by, The user device generates the network setting interface according to the first information and the second information, including: The user device generates the network setting interface including at least one combined setting control, which is used to set the first network parameter and the second network parameter simultaneously.
22. A customer premises equipment, comprising: The user premise equipment includes a memory, a processor, and a program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.
23. A routing device, comprising: The routing device includes a memory, a processor, and a program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of claims 8 to 14 when executing the program.
24. A user equipment, comprising: The user device includes a memory, a processor, and a program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of claims 15 to 21 when executing the program.
25. A wireless network system, characterized by The wireless network system includes the user premise equipment according to claim 22, the routing device according to claim 23, and the user device according to claim 24.
Citation Information
Patent Citations
System and method for configuring network parameters fast
CN102572891A
Network route optimization method and system based on TR069
CN114024895A
Dynamic node reconfiguration and provisioning of network devices
US11153181B1
Multi-mode wireless apparatus and methods of operation
US20210227628A1