Parameter configuration method and related device
After the device connects to the Wi-Fi network of the CPE or router, it can simultaneously configure the parameters of the router and CPE using a two-in-one wizard interface, which solves the problem of cumbersome parameter configuration in the existing technology and improves the user experience and operational efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2024-12-13
- Publication Date
- 2026-06-16
AI Technical Summary
When accessing a Wi-Fi network provided by a combination of routing devices, the existing technology involves a cumbersome process of configuring the parameters of the CPE and router, requiring multiple switching of Wi-Fi networks, which complicates the user's operation.
A parameter configuration method is provided, which allows the device to simultaneously access the Wi-Fi network provided by a CPE or a router. The method guides the user to configure the parameters of both the router and CPE through a two-in-one wizard interface, reducing Wi-Fi network switching and simplifying user operation.
By reducing the number of Wi-Fi network switching times, the user configuration experience is improved, the parameter configuration process is simplified, and the operational efficiency is increased.
Smart Images

Figure CN122227261A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a parameter configuration method and related equipment. Background Technology
[0002] After a device connects to the Wireless Fidelity (Wi-Fi) network provided by the routing equipment suite, it can transmit data via the Wi-Fi network. The routing equipment suite includes Customer Premises Equipment (CPE) and routers. It should be understood that CPE can also be referred to as customer front-end equipment.
[0003] In a possible implementation, before accessing the Wi-Fi network provided by a combination of routing devices (e.g., a CPE and a router), the device needs to configure parameters for the CPE and router, such as the CPE login password, the router login password, the router's Wi-Fi password, and the Wi-Fi name. After configuration, the device can access the Wi-Fi network provided by the combination of routing devices.
[0004] However, in most implementations, configuring the routing device combination is quite cumbersome. For example, during CPE configuration, the device connects to the Wi-Fi network provided by the CPE and configures the CPE's parameters. After configuration, the device disconnects from the Wi-Fi network provided by the CPE and connects to the Wi-Fi network provided by the router. Under the router's Wi-Fi network, the device configures the router's parameters. After both the router and CPE parameters are configured, the device can use the Wi-Fi networks provided by both the CPE and the router; this configuration process is rather cumbersome. Summary of the Invention
[0005] This application provides a parameter configuration method and related equipment. When configuring the parameters of a combination of routing devices, the equipment can access the Wi-Fi network provided by either the router or the CPE. The equipment can guide the user to configure the parameters of both the router and the CPE simultaneously through a two-in-one wizard. It can also manage the router and the CPE at the same time, reducing Wi-Fi network switching and simplifying user operations.
[0006] A first aspect provides a parameter configuration method applied to a device, the method comprising: the device accessing a Wi-Fi network, the Wi-Fi network including a Wi-Fi network provided by a router or a Wi-Fi network provided by a CPE; the device displaying a first interface, the first interface including a first card and a second card; the first card being used to configure parameters of the router, and the first card including information indicating that a connection has been established between the router and the device; the second card being used to configure parameters of the CPE, and the second card including information indicating that a connection has been established between the CPE and the device; in response to a trigger operation on the first card, the device displaying a second interface, the second interface including a first control and a return control; the first control including one or more controls related to configuring parameters of the router; in response to a trigger operation on the return control, the device returning to the first interface; in response to a trigger operation on the second card, the device displaying a third interface, the third interface including a second control; the second control including one or more controls related to configuring parameters of the CPE.
[0007] This process can correspond to Figures 6-7 The scenario shown illustrates a device management router and CPE. For example, the first interface may correspond to... Figure 6 As shown in the interface 'a', the first card can correspond to router card 601, and the second card can correspond to CPE card 602. Router card 601 indicates that the router is online, and CPE card 602 indicates that the CPE is online. The device can configure both the router and the CPE.
[0008] Specifically, the triggering operation for the first card can correspond to... Figure 6 The first interface, shown as 'a', shows the click operation for router card 601; the second interface can be the router's configuration interface, corresponding to... Figure 6 The interface shown in Figure 'c'. The first control can be, for example... Figure 6 The interface shown in Figure c contains several configuration items related to the router.
[0009] The device returns to the first screen via the back control, and the first screen can correspond to... Figure 7 The interface shown in Figure 'a' is shown in the diagram. It should be understood that after the device returns to the first interface, router card 601 still indicates that the router is online, CPE card 602 still indicates that the CPE is online, and the Wi-Fi network accessed by the device remains unchanged.
[0010] The trigger operation for the second card can correspond to... Figure 7 The third interface, shown in Figure 'a', represents the click operation for CPE card 602; the third interface can be the CPE configuration interface, corresponding to... Figure 7 The interface shown in Figure 'c'. The second control can be, for example... Figure 7The interface shown in Figure c contains several configuration items related to CPE.
[0011] Optionally, before entering the second interface, the device may display, for example... Figure 6 The administrator login interface, shown as 'b', is used to verify user identity. Before entering the third interface, the device may display, for example... Figure 7 The administrator login interface shown in b is used to verify user identity.
[0012] In this way, when the device is connected to the Wi-Fi network provided by either the CPE or the router, the device can manage both the CPE and the router simultaneously, reducing Wi-Fi switching, thereby simplifying user operations and improving the user experience.
[0013] In one possible implementation, after the device connects to the Wi-Fi network, the following steps are also included: the device displays a fourth interface; the fourth interface includes wizard information to guide the user in configuring the router's parameters and / or the CPE's parameters; the router's parameters include one or more of the following: the router's Wi-Fi name, the router's Wi-Fi password, the router's Wi-Fi network mode, and the router's login password; the CPE's parameters include one or more of the following: the CPE's Wi-Fi name, the CPE's Wi-Fi password, and the router's login password.
[0014] The fourth interface can be used to display wizard information. For example, the fourth interface can display two-in-one wizard information, such as... Figures 3-5 As shown; the fourth interface can also display a single CPE wizard message or a single router wizard message (not shown in the figure). In this way, when the device connects to the Wi-Fi network provided by either the CPE or the router, the device can trigger wizard messages for configuring the unconfigured routing device in the routing device combination, guiding the user to configure the router and / or CPE according to the wizard information; reducing Wi-Fi switching, thereby simplifying user operations and improving the user experience.
[0015] In one possible implementation, the device displays a fourth interface, including: when the device is not configured with a CPE and the device is not configured with a router, the device displays first wizard information on the fourth interface, which is used to guide the user to configure the parameters of the router and the CPE at the same time.
[0016] The first guide information can be, for example, a two-in-one guide information, such as... Figures 3-5As shown. When the device connects to the Wi-Fi network provided by either the CPE or the router, and neither the router nor the CPE is configured, the device can trigger a two-in-one wizard message to guide the user in configuring the parameters of both the router and the CPE simultaneously. In this way, after connecting to the Wi-Fi network provided by either the CPE or the router, the device can use the two-in-one wizard message to help the user complete the CPE and router configuration process in one go, simplifying the user operation.
[0017] In one possible implementation, the device displays a fourth interface, including: if the device has a CPE configured but no router configured, the device displays second wizard information on the fourth interface, which guides the user to configure router parameters; or, if the device has a router configured but no CPE configured, the device displays third wizard information on the fourth interface, which guides the user to configure CPE parameters.
[0018] The second guidance information can be a single router guidance information; the third guidance information can be a single CPE guidance information. In this way, after connecting to the Wi-Fi network provided by either the CPE or the router, the device can trigger guidance information for the unconfigured router in the routing device combination to guide the user through the parameter configuration of that router. This process reduces Wi-Fi network switching. For example, after connecting to the Wi-Fi network provided by the CPE, the device can configure the parameters of an unconfigured router without switching from the CPE's Wi-Fi network to the router's Wi-Fi network; thus simplifying user operations and improving the user experience.
[0019] In one possible implementation, before the device displays the fourth interface, the method further includes: the device obtaining the router's wizard status and the CPE's wizard status; the router's wizard status indicates whether the router has completed network configuration; the CPE's wizard status indicates whether the CPE has completed network configuration; the wizard status includes a configured status and an unconfigured status; the device displaying the fourth interface includes: the device displaying the fourth interface based on the router's wizard status and the CPE's wizard status; wherein, if both the router's wizard status and the CPE's wizard status are unconfigured, the fourth interface displays first wizard information; if the router's wizard status is unconfigured and the CPE's wizard status is configured, the fourth interface displays second wizard information; if the router's wizard status is configured and the CPE's wizard status is unconfigured, the fourth interface displays third wizard information.
[0020] It should be understood that whether the device triggers a combined two-in-one wizard message or a single routing device wizard message depends on the wizard status of the router and the CPE. If both the router's wizard status and the CPE's wizard status are detected as unconfigured, the device displays a combined two-in-one wizard message; if the router's wizard status is unconfigured and the CPE's wizard status is configured, the device displays a single router wizard message; if the router's wizard status is configured and the CPE's wizard status is unconfigured, the device displays a single CPE wizard message. This allows the device to trigger the appropriate wizard message based on the router's and CPE's wizard status, reducing redundant configuration of routing devices.
[0021] In one possible implementation, the router's wizard status and the CPE's wizard status are obtained by the device from the router or CPE; wherein the router's wizard status and the CPE's wizard status are synchronized in the following manner: the router obtains the CPE's IP address; the router establishes a communication channel with the CPE based on the CPE's IP address; the router sends its wizard status to the CPE based on the communication channel, and the CPE sends its wizard status to the router based on the communication channel.
[0022] This process can correspond to Figure 8 Steps S801-S803 in the illustrated embodiment, or Figure 12 S1201-S1203 in the illustrated embodiment. Thus, before the device connects to the Wi-Fi network provided by either the CPE or the router, the router can establish a secure encrypted channel with the CPE to facilitate data transmission. Simultaneously, the router and CPE can synchronize the router's wizard state and the CPE's wizard state in advance based on the communication channel, thereby ensuring that after the device connects to any Wi-Fi network, the corresponding routing device can provide the device with the router's wizard state and the CPE's wizard state, enabling the device to trigger the corresponding wizard information.
[0023] In one possible implementation, the Wi-Fi network is a Wi-Fi network provided to the CPE, and the wizard information includes first wizard information; after the device displays a fourth interface, it includes: in response to a first operation, the device instructs the router to configure router parameters based on the CPE and the communication channel; the first operation is used to configure the router parameters; in response to a second operation, the device instructs the CPE to configure CPE parameters; the second operation is used to configure CPE parameters; if the router's whitelist includes the CPE's IP address, the device displays information indicating that the router and CPE have been successfully configured.
[0024] This process applies to scenarios where the device triggers a two-in-one wizard after connecting to the Wi-Fi network provided by the CPE. After connecting to the CPE's Wi-Fi network, the device can communicate with the CPE, and can also communicate with the router through the CPE. (See reference...) Figure 13 The relevant descriptions in the illustrated embodiments.
[0025] Specifically, the first operation could be, for example, in Figures 3-5 The operations used to configure router parameters include, for example, triggering the next step control 403, triggering the agree control 406, triggering the start configuration control 409, entering the Wi-Fi name and password in input box 504, triggering selection box 506, or triggering selection box 507, etc. The second operation may be, for example, in... Figures 3-5 Operations used to configure CPE parameters include, for example, entering a password in the CPE password input box 308 and clicking the login control 309, triggering the next step control 403, triggering the agree control 406, triggering the start configuration control 409, and triggering the selection box 507. Information indicating successful router and CPE configuration may include, for example... Figure 5 The prompt message 508 appears on the interface shown in Figure c.
[0026] It is understood that the first operation can be performed before or after the second operation. The embodiments of this application do not require the execution order of the first and second operations.
[0027] In this way, after accessing the Wi-Fi network provided by the CPE, the device can complete the configuration of both the router and the CPE at the same time, reducing the number of operations required for users to switch Wi-Fi networks. In addition, the whitelist setting can reduce the problem of devices being unable to communicate with the router due to WAN-side access to LAN being restricted.
[0028] In one possible implementation, the Wi-Fi network is a Wi-Fi network provided by the CPE; after the device displays the fourth interface, it includes: in response to the first operation, the device instructs the router to configure the router's parameters based on the CPE and the communication channel; if the router's whitelist includes the CPE's IP address, the device displays information indicating that the router configuration is successful.
[0029] This process can be either configuring the router based on a single router wizard after the device connects to the Wi-Fi network provided by the CPE, or managing the router based on a router card. After connecting to the Wi-Fi network provided by the CPE, the device can communicate with the CPE, and the device can also communicate with the router through the CPE. See reference [link / reference]. Figure 14The relevant description in the embodiment shown in b, or Figure 6 The relevant descriptions in the embodiments shown are as follows.
[0030] Specifically, the first operation may be, for example, an operation used to configure router parameters when the device displays a single router wizard message; or, the first operation may be, for example, in... Figure 6 The interface shown in 'c' represents the triggering operations for multiple configuration items.
[0031] In this way, after accessing the Wi-Fi network provided by the CPE, the device can guide the user to configure the router based on a single router wizard information, and / or configure the router through a router card, reducing the number of operations the user has to switch Wi-Fi networks during parameter configuration; in addition, the whitelist setting can reduce the problem of devices being unable to communicate with the router due to WAN-side access to LAN being restricted.
[0032] Optionally, the CPE's IP address is the IP address of the CPE in routing mode. In this way, by using a whitelist and the CPE's IP address in routing mode, the router can be controlled to allow external IP addresses of the CPE to access internal network resources in parameter configuration scenarios; simultaneously, the router can be controlled to deny external IP addresses of the CPE from accessing internal network resources in other scenarios, thereby improving the security of the network configuration process.
[0033] In one possible implementation, the Wi-Fi network is a Wi-Fi network provided by the router, and the wizard information includes first wizard information; after the device displays a fourth interface, it includes: in response to a first operation, the device instructs the router to configure the router's parameters; in response to a second operation, the device instructs the CPE to configure the CPE's parameters based on the router and the communication channel; the device displays information indicating that the router and CPE have been successfully configured.
[0034] This process can be used when a device triggers a two-in-one wizard after connecting to the Wi-Fi network provided by a router. After connecting to the Wi-Fi network, the device can communicate with the router, and it can also communicate with the CPE through the router. (See reference...) Figure 10 The relevant descriptions in the illustrated embodiments illustrate this. In this way, after accessing the Wi-Fi network provided by the router, the device can simultaneously configure both the router and the CPE, reducing the need for users to switch Wi-Fi networks.
[0035] In one possible implementation, the Wi-Fi network is a Wi-Fi network provided by the router; after the device displays the fourth interface, it includes: in response to the second operation, the device instructs the CPE to configure CPE parameters based on the router and communication channel. The device displays information indicating successful CPE configuration.
[0036] This process can be either configuring the CPE based on a single CPE wizard after the device connects to the Wi-Fi network provided by the router, or managing the CPE based on a CPE card. After connecting to the Wi-Fi network provided by the router, the device can communicate with the router, and the device can also communicate with the CPE through the router. See reference [link / reference]. Figure 11 The relevant description in the embodiment shown in Figure a, or Figure 7 The relevant descriptions in the embodiments shown are as follows.
[0037] Specifically, the second operation may be, for example, an operation used to configure CPE parameters when the device displays a single CPE wizard message; or, the second operation may be, for example, in... Figure 7 The interface shown in 'c' represents the triggering operations for multiple configuration items.
[0038] In this way, after accessing the Wi-Fi network provided by the router, the device can guide the user to configure the router based on a single CPE wizard message, and / or configure the router through a CPE card, reducing the number of operations the user needs to switch Wi-Fi networks during the parameter configuration process.
[0039] In one possible implementation, the communication channel is obtained as follows: the router initiates a device discovery request to the CPE; in response to the device discovery request, the CPE returns a successful probe message to the router; the router initiates an encryption request to the CPE, which includes a DTLS request; the router initiates registration with the CPE; and if the registration is successful, a communication channel is established between the router and the CPE.
[0040] This process can be referenced. Figure 9 The relevant descriptions in the illustrated embodiments will not be repeated here. In this way, a secure communication channel can be established between the router and the CPE, thereby improving the security of data transmission between the router and the CPE.
[0041] The second aspect provides a parameter configuration method applied to a router, the method comprising: when the router and CPE are connected by a wire, the router obtains the IP address of the CPE; the router establishes a communication channel with the CPE based on the CPE's IP address; the router connects to the device based on the Wi-Fi network provided by the router; when the device receives a first operation, the router configures the router's parameters; the first operation is used to configure the router's parameters; when the device receives a second operation, the router notifies the CPE to configure the CPE's parameters based on the communication channel; the second operation is used to configure the CPE's network configuration parameters.
[0042] This process can Figure 8 and Figure 10The relevant descriptions in the illustrated embodiments illustrate this. In this way, the router can establish communication with the CPE, enabling the device to configure router parameters or, based on the router's instructions to the CPE, configure CPE parameters after accessing the router's Wi-Fi network. This eliminates the need to switch Wi-Fi networks when configuring CPE parameters, thereby reducing user operations and improving the user experience.
[0043] In one possible implementation, before the router connects to the device via the Wi-Fi network provided by the router, the method further includes: the router sending its wizard status to the CPE via a communication channel, and obtaining the CPE's wizard status from the CPE; after the router connects to the device via the Wi-Fi network provided by the router, the method further includes: the router sending its wizard status and the CPE's wizard status to the device to instruct the device to display wizard information based on the router's wizard status and the CPE's wizard status; wherein, the wizard status includes a configured status and an unconfigured status; the wizard information includes first wizard information, second wizard information, and third wizard information; the first wizard information is used to guide the user to configure both the router's parameters and the CPE's parameters simultaneously; the second wizard information is used to guide the user to configure the router's parameters; the third wizard information is used to guide the user to configure the CPE's parameters; the router's wizard status and the CPE's wizard status are both unconfigured, corresponding to the first wizard information; the router's wizard status is unconfigured and the CPE's wizard status is configured, corresponding to the second wizard information; the router's wizard status is configured and the CPE's wizard status is unconfigured, corresponding to the third wizard information.
[0044] In this way, before the device connects to the Wi-Fi network provided by either the CPE or the router, both the router and the CPE store the router's wizard state and the CPE's wizard state. Thus, after connecting to the Wi-Fi network provided by either the CPE or the router, the CPE or the router can instruct the device to trigger wizard information for configuring the unconfigured routing devices in the routing device combination, guiding the user to configure the router and / or CPE according to the wizard information; reducing Wi-Fi switching, thereby simplifying user operation and improving the user experience.
[0045] In one possible implementation, the device does not access the Wi-Fi network provided by the router, but accesses the Wi-Fi network provided by the CPE. The method further includes: when the device receives the first operation, the router searches for the IP address of the CPE in the whitelist; if the whitelist includes the IP address of the CPE, the router receives the indication information from the CPE based on the communication channel, and the router configures itself according to the indication information.
[0046] This process corresponds to the process of configuring the router based on the combined wizard information, a single router wizard information, or a router card after accessing the Wi-Fi network provided by the CPE. See the following for reference: Figure 13 The illustrated embodiment or Figure 14 The relevant description in embodiment b is shown in the figure. The first operation may correspond to the operation used to configure the router in the two-in-one wizard information, the operation used to configure the router in the single router wizard information, or the operation used to configure the router in the router's configuration interface.
[0047] In this way, after accessing the Wi-Fi network provided by the CPE, the device can guide the user to configure the router based on the two-in-one wizard information, guide the user to configure the router based on the single router wizard information, or configure the router through the router card, reducing the number of operations that the user has to switch Wi-Fi networks during the parameter configuration process; in addition, the whitelist setting can reduce the problem of the device being unable to communicate with the router due to the WAN side accessing the LAN being restricted.
[0048] In one possible implementation, the router establishes a communication channel with the CPE based on the CPE's IP address, including: the router initiating a device discovery request to the CPE; the router receiving a successful discovery message from the CPE; the router initiating an encryption request to the CPE, which includes a DTLS request; the router initiating registration with the CPE; and, if registration is successful, the router establishing a communication channel with the CPE.
[0049] In this way, a secure communication channel can be established between the router and the CPE, thereby improving the security of data transmission between the router and the CPE.
[0050] The third aspect provides a parameter configuration method applied to a CPE, the method comprising: when the CPE and the router are connected by a wire, the CPE sends its IP address to the router; the CPE establishes a communication channel with the router based on its IP address; the CPE connects to the device based on the Wi-Fi network provided by the CPE; when the device receives a first operation, the CPE notifies the router to configure the router's parameters based on the communication channel; wherein, the first operation is used to configure the router's parameters; the router includes a whitelist, which includes the CPE's IP address; when the device receives a second operation, the CPE configures its parameters; the second operation is used to configure the CPE's parameters.
[0051] This process can Figure 12 and Figure 13The relevant descriptions in the illustrated embodiments illustrate this. In this way, the CPE can establish communication with the router, enabling the device to configure CPE parameters or, based on CPE instructions, configure router parameters after accessing the Wi-Fi network provided by the CPE. This eliminates the need to switch Wi-Fi networks while configuring router parameters, thereby reducing user operations and improving the user experience.
[0052] In one possible implementation, before the CPE connects to the device via the Wi-Fi network provided by the CPE, the method further includes: the CPE sending its wizard status to the router via a communication channel, and obtaining the router's wizard status from the router; after the CPE connects to the device via the Wi-Fi network provided by the CPE, the method further includes: the CPE sending both the router's wizard status and its own wizard status to the device, instructing the device to display wizard information based on the router's wizard status and the CPE's wizard status; wherein the wizard status includes a configured state and an unconfigured state; the wizard information includes first wizard information, second wizard information, and third wizard information; the first wizard information is used to guide the user to simultaneously configure the router's network configuration parameters and the CPE's parameters; the second wizard information is used to guide the user to configure the router's parameters; the third wizard information is used to guide the user to configure the CPE's parameters; the router's wizard status and the CPE's wizard status are both unconfigured, corresponding to the first wizard information; the router's wizard status is unconfigured and the CPE's wizard status is configured, corresponding to the second wizard information; the router's wizard status is configured and the CPE's wizard status is unconfigured, corresponding to the third wizard information.
[0053] In this way, before the device connects to the Wi-Fi network provided by either the CPE or the router, both the router and the CPE store the router's wizard state and the CPE's wizard state. Thus, after connecting to the Wi-Fi network provided by either the CPE or the router, the CPE or the router can instruct the device to trigger wizard information for configuring the unconfigured routing devices in the routing device combination, guiding the user to configure the router and / or CPE according to the wizard information; reducing Wi-Fi switching, thereby simplifying user operation and improving the user experience.
[0054] In one possible implementation, when the device is not connected to the Wi-Fi network provided by the CPE, but is connected to the Wi-Fi network provided by the router, the method further includes: when the device receives the second operation, the CPE receives the instruction information from the router based on the communication channel, and the CPE configures itself according to the instruction information.
[0055] This process corresponds to the configuration of the CPE by the device based on the combined wizard information, a single CPE wizard information, or a CPE card after accessing the Wi-Fi network provided by the router. See [reference needed]. Figure 10 The illustrated embodiment or Figure 11 The relevant description in embodiment a is shown in Figure 1. The second operation may correspond to the operation used to configure the CPE in the two-in-one wizard information, the operation used to configure the CPE in the single CPE wizard information, or the operation used to configure the CPE in the CPE configuration interface.
[0056] In this way, after accessing the Wi-Fi network provided by the router, the device can guide the user to configure the CPE based on the two-in-one wizard information, guide the user to configure the CPE based on the single CPE wizard information, or configure the CPE through the CPE card, reducing the user's operation of switching Wi-Fi networks during parameter configuration.
[0057] In one possible implementation, the CPE establishes a communication channel with the router based on the CPE's IP address, including: in response to a device discovery request from the router, the CPE returns a successful probe message to the router; the CPE receives an encryption request from the router, the encryption request including a DTLS request; the CPE receives a registration request initiated by the router; and if the registration is successful, the CPE establishes a communication channel with the router.
[0058] In this way, a secure communication channel can be established between the router and the CPE, thereby improving the security of data transmission between the router and the CPE.
[0059] The fourth aspect provides an apparatus including one or more processors and one or more memories, the one or more memories being used to store one or more programs; the one or more processors being used to invoke one or more programs to cause the apparatus to perform the methods described in the first aspect or any possible implementation thereof.
[0060] The fifth aspect provides a router including one or more processors and one or more memories, the one or more memories being used to store one or more programs; the one or more processors being used to invoke one or more programs to cause the router to perform the methods described in the second aspect or any possible implementation thereof.
[0061] The sixth aspect provides a CPE including one or more processors and one or more memories, the one or more memories being used to store one or more programs; the one or more processors being used to invoke one or more programs to cause the CPE to perform the methods described in the third aspect or any possible implementation of the third aspect.
[0062] The seventh aspect provides a readable storage medium (also referred to as a computer-readable storage medium) storing a program or instructions that, when executed on a device, cause the device to perform the methods described in the first aspect, the second aspect, the third aspect, or any possible implementation of the first aspect, the second aspect, and the third aspect.
[0063] The eighth aspect provides a program product including a program that, when run on a device, causes the device to perform the methods described in the first aspect, the second aspect, the third aspect, or any possible implementation of the first aspect, the second aspect, and the third aspect.
[0064] A ninth aspect provides a chip or chip system comprising one or more processors and one or more communication interfaces, wherein the one or more processors are configured to run programs or instructions to perform the methods described in the first aspect, the second aspect, the third aspect, or any possible implementation of the first aspect, the second aspect, and the third aspect. The communication interfaces in the chip may be input / output interfaces, pins, or circuits, etc.
[0065] In one possible implementation, the chip or chip system described above in this application further includes at least one memory storing instructions. The memory can be an internal storage unit of the chip, such as a register or cache, or it can be a storage unit of the chip itself (e.g., read-only memory, random access memory, etc.).
[0066] It should be understood that aspects four through nine of this application correspond to the technical solutions of aspects one, two, or three of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description
[0067] Figure 1 This is a schematic diagram of a communication system provided in an embodiment of this application;
[0068] Figure 2 A schematic diagram illustrating a possible scenario for configuring a CPE and router in a given implementation;
[0069] Figure 3 A schematic diagram of the interface for simultaneously configuring CPE and router information in an embodiment of this application;
[0070] Figure 4 A schematic diagram of the interface for simultaneously configuring CPE and router information in an embodiment of this application;
[0071] Figure 5 A schematic diagram of the interface for simultaneously configuring CPE and router information in an embodiment of this application;
[0072] Figure 6 A schematic diagram of the interface of the management router provided in an embodiment of this application;
[0073] Figure 7 A schematic diagram of the interface for managing CPE provided in an embodiment of this application;
[0074] Figure 8 A flowchart illustrating a parameter configuration method provided in an embodiment of this application;
[0075] Figure 9 A schematic diagram illustrating the process of establishing a communication channel between a CPE and a router, provided in an embodiment of this application;
[0076] Figure 10 A schematic diagram illustrating a process for triggering wizard information for simultaneously configuring a CPE and a router, provided in an embodiment of this application;
[0077] Figure 11 This application provides a schematic diagram of a process for triggering CPE wizard information or router wizard information in an embodiment of the present application.
[0078] Figure 12 A flowchart illustrating another parameter configuration method provided in an embodiment of this application;
[0079] Figure 13 A schematic diagram illustrating another process for triggering wizard information to simultaneously configure CPE and router, provided as an embodiment of this application;
[0080] Figure 14 A schematic diagram of another process for triggering CPE wizard information or router wizard information provided in an embodiment of this application;
[0081] Figure 15 A schematic diagram of the structure of a device 1500 provided in an embodiment of this application;
[0082] Figure 16 This is a schematic diagram of the parameter configuration device provided in an embodiment of this application. Detailed Implementation
[0083] To facilitate understanding, the relevant terms and concepts involved in the embodiments of this application will be introduced below:
[0084] 1. Equipment
[0085] The devices in this application embodiment include, but are not limited to, mobile phones, tablets, personal digital assistants, handheld devices with wireless communication functions, computing devices, in-vehicle devices, wearable devices, virtual reality devices, augmented reality devices, smart screens, smart home appliances, etc. The form of the devices is not specifically limited in this application embodiment.
[0086] 2. Other terms
[0087] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0088] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0089] It should be noted that the phrase "at...time" in the embodiments of this application can refer to the instant at which a certain situation occurs, or to a period of time after the occurrence of a certain situation; the embodiments of this application do not specifically limit this. Furthermore, the display interface provided in the embodiments of this application is merely an example, and the display interface may include more or less content.
[0090] Figure 1 A schematic diagram of a communication system applicable to an embodiment of this application is shown. For example... Figure 1 As shown, the communication system may include network devices, CPEs, routers, and devices.
[0091] The network equipment can be used to provide a mobile communication network, which can be a 4G network, 5G network, or 6G network, etc., and this application does not limit this. The network equipment can be access network equipment, or it can be an LTE base station, NR base station, centralized unit, remote radio module, micro base station, relay, distributed unit, transmission reception point (TRP) or transmission point (TP), or any other access equipment, etc., and this application does not limit this.
[0092] CPEs can be deployed outdoors and are also known as outdoor units (ODUs), while routers can be deployed indoors and are also known as indoor units (IDUs), Wi-Fi routers, or devices attached to the CPE. In this embodiment, the outdoor CPE and the indoor router do not support a mesh network structure; they can be connected via Ethernet cable. It should be understood that CPEs can also be deployed indoors. Furthermore, CPEs include, but are not limited to, 5G CPEs and 4G CPEs.
[0093] Specifically, a CPE can receive mobile communication signals from network devices and convert them into wired or wireless communication signals. Mobile communication signals correspond to mobile communication networks; wired communication signals can be, for example, Ethernet signals; and wireless communication signals correspond to wireless communication networks, such as wireless local area networks (WLANs) and Wi-Fi networks. In some scenarios, the CPE converts mobile communication signals into wired communication signals and transmits them to a router via a network cable; for example, if the mobile communication network is a 5G network, the CPE can convert the 5G signal into an Ethernet signal. In other scenarios, the CPE can convert mobile communication signals into wireless communication signals and communicate with devices based on these wireless communication signals; for example, if the wireless communication network is a Wi-Fi network, the CPE can provide Wi-Fi signals, and the CPE and devices can communicate via Wi-Fi.
[0094] The router receives wired communication signals from the CPE and converts them into wireless communication signals. Taking a Wi-Fi network as an example, the router can convert wired communication signals into Wi-Fi signals. The router can then be used to provide wireless communication services to devices. For example, mobile phones, tablets, wearable devices, smart home devices, and other devices can access the router's wireless communication network to achieve internet access.
[0095] In a possible implementation, users need to configure the CPE and router through the device before the device can connect to the Wi-Fi network. This configuration process is rather cumbersome.
[0096] Taking the initial configuration of a CPE and router as an example, the device can first connect to the Wi-Fi network provided by the CPE, and the device can display CPE wizard information. The CPE wizard information can be used to guide the user in configuring the CPE through the user interface (UI). During the CPE configuration process, the device can configure parameters such as the CPE login password and IP address; and the device can inform the user of relevant terms and conditions during CPE use through user agreements, privacy notices, and other prompts.
[0097] After the user configures the CPE parameters according to the CPE wizard information, the device can disconnect the Wi-Fi network provided by the CPE and connect to the Wi-Fi network provided by the router; the router's Wi-Fi network and the CPE's Wi-Fi network are different. After connecting to the router's Wi-Fi network, the device can display router wizard information; the router wizard information can be used to guide the user in configuring the router through the UI interface. During the router configuration process, the device can configure parameters such as the router's Wi-Fi name (also known as the router's service set identifier (SSID)) and Wi-Fi password; and the device can inform the user of relevant terms and conditions during router use through user agreements, privacy notices, and other prompts.
[0098] As can be seen from the above process, during the initial configuration of the CPE and router, the device needs to configure the CPE separately according to the CPE wizard information, and the router separately according to the router wizard information. During this process, the user cannot configure the CPE and router simultaneously, resulting in many repetitive steps in the parameter configuration process and making the user operation cumbersome. For example, the prompts for selecting options on the CPE and router are duplicated, as are the steps for setting login passwords for the CPE and router.
[0099] In some implementations, if a device first connects to the Wi-Fi network provided by a CPE, it cannot trigger the wizard information for simultaneously configuring the CPE and router (also known as the "two-in-one wizard information"). This is because connecting a device to the Wi-Fi network provided by an outdoor CPE is equivalent to connecting the device to a wide area network (WAN). There is no problem when configuring the CPE using its Wi-Fi network; however, when configuring the router using the CPE's Wi-Fi network, the device will attempt to access the router on the local area network (LAN) side through the WAN side. This access path may be blocked by the device's security settings to prevent security risks. Therefore, the device cannot use the two-in-one wizard when configuring the router and CPE.
[0100] After configuring the CPE and router, the device can continue to modify the parameters of the CPE and / or router. However, in some implementations, modifying the parameters of the CPE and / or router can be quite cumbersome.
[0101] The following is combined with Figure 2 The process of setting up the CPE and router in a possible implementation is described.
[0102] When a user wants to modify the router's parameters, the device can connect to the router's Wi-Fi network. After connecting to the router's Wi-Fi network, the device can display something like... Figure 2 The interface shown in Figure 'a'. Figure 2 The interface shown in 'a' can be a device management interface, such as the interface of a smart living application, which can be used to manage and control various smart devices.
[0103] exist Figure 2 In the interface shown in Figure 'a', the device can display router card 201, which can be used to manage multiple configuration items of the router. Specifically, when the device connects to the Wi-Fi network provided by the router, router card 201 can display the router's name (e.g., Router 1) and its online status. Users can configure router parameters through operations on router card 201.
[0104] As can be seen, the device does not display the CPE card when connecting to the Wi-Fi network provided by the router. At this time, the user can only modify the router's parameters using the device, but not the CPE's parameters. If the user wants to modify the CPE, the device needs to first disconnect from the Wi-Fi network provided by the router and then connect to the Wi-Fi network provided by the CPE. This process is as follows: Figure 2 As shown in b in the figure.
[0105] After connecting to the Wi-Fi network provided by the CPE, the device can display as follows: Figure 2 The interface shown in b includes a CPE card 202, which can be used to manage multiple configuration items of the CPE. When the device connects to the Wi-Fi network provided by the CPE, the CPE card 202 can display the CPE's name (e.g., CPE1) and its online status. Users can configure CPE parameters through operations on the CPE card 202.
[0106] In possible implementations, Figure 2The interface shown in b may also include a router card 201. Since the device is not connected to the router's Wi-Fi network, the router card 201 may be offline; for example, it may display "Not Connected." In this case, the device cannot modify the router's configuration through the router card 201. Alternatively, in a possible implementation, Figure 2 The interface shown in b can display only CPE card 202 and not router card 201.
[0107] Therefore, in a possible implementation, if the user modifies the parameters of the router or CPE, the device needs to connect to the corresponding Wi-Fi network. This process involves switching Wi-Fi networks, which is relatively complicated for the user.
[0108] Furthermore, in potential implementations, outdoor CPEs need to establish a reliable signal connection with network equipment such as base stations, making the CPE installation location variable and potentially resulting in scenarios where the CPE and router are far apart. In such cases, the coverage area of the Wi-Fi network provided by the CPE may not overlap with the coverage area of the Wi-Fi network provided by the router. Figure 2 In scenario b, the user needs to move to the coverage area of the Wi-Fi network provided by the CPE before the device can access the Wi-Fi network. Furthermore, the coverage area of the Wi-Fi network provided by the CPE does not overlap with the router's coverage area, making it impossible for the user to configure both the router and the CPE simultaneously, thus making the configuration process cumbersome.
[0109] In view of this, embodiments of this application provide a parameter configuration method. The CPE and router are connected, for example, via a network cable, and the CPE and router are cascaded. In a cascaded scenario, the CPE and router can communicate securely, allowing a device to manage both the router and CPE simultaneously when accessing the Wi-Fi network provided by either the CPE or the router, thus simplifying user operations. For example, when configuring the router and CPE for the first time, accessing the Wi-Fi network provided by either the CPE or the router will trigger a combined wizard, helping the user complete the CPE and router configuration process in one go. Furthermore, in subsequent management, the device can manage the router and CPE by accessing the Wi-Fi network provided by the router; conversely, the device can manage the router and CPE by accessing the Wi-Fi network provided by the CPE, thereby reducing the need for switching Wi-Fi networks and simplifying the configuration process.
[0110] In this embodiment, the device can provide users with a two-in-one wizard to help them quickly configure the CPE and router. For example, even if the device has not configured the CPE or the router, connecting the device to either the CPE or the router's Wi-Fi network will trigger the two-in-one wizard.
[0111] If the device has already been configured with either a CPE or a router, it can trigger a single wizard message to avoid reconfiguration by the user. For example, if the device has already completed the router configuration process, it can trigger the CPE wizard message after connecting to the Wi-Fi network provided by either the CPE or the router. Similarly, if the device has already completed the CPE configuration process, it can trigger the router wizard message after connecting to the Wi-Fi network provided by either the CPE or the router.
[0112] Let's combine the following... Figures 3-5 The two-in-one wizard information in the embodiments of this application is described.
[0113] Even without a CPE and router configured, the device can access the Wi-Fi network provided by the CPE. In some embodiments, a tag may be affixed to the CPE, containing the CPE's Wi-Fi name and password, allowing the device to access the CPE's Wi-Fi network. In other embodiments, the tag may include a scan code (e.g., a QR code). After scanning the code, the device can display a Wi-Fi management interface to prompt the user to control the device's access to the CPE's Wi-Fi network. In this embodiment, the device can also access the Wi-Fi network provided by a router, which will not be described again here.
[0114] After connecting to the Wi-Fi network provided by the CPE, the device can access the network by scanning the QR code on the CPE label. Figure 3 The interface shown in Figure 'a'. Figure 3 The interface shown in 'a' can be used to prompt users to connect the CPE and router via wired connection. For example, Figure 3 The interface shown in Figure 'a' may include a prompt message 301 and a next step control 302; the prompt message 301 may be, for example, "Connect the CPE to the new router with a network cable"; the next step control 302 is used to provide wizard information for proceeding to the next step.
[0115] In this embodiment of the application, after the user connects the CPE and the router using a network cable, the device can query the wizard status of the CPE and the wizard status of the router; the wizard status of the CPE is used to indicate whether the CPE has been configured and the wizard status of the router is used to indicate whether the router has been configured; the wizard status may include a configured status and an unconfigured status.
[0116] Specifically, when both the CPE and router wizard states are in an unconfigured state, the device can trigger the display of the combined wizard information. When the CPE wizard state is unconfigured and the router wizard state is configured, the device can trigger the display of the CPE wizard information. When the CPE wizard state is configured and the router wizard state is unconfigured, the device can trigger the display of the router wizard information. When both the CPE wizard state and router wizard state are configured, the device may not trigger the display of the combined wizard information, router wizard information, or CPE wizard information.
[0117] The following example illustrates the display process of the combined wizard information, with both wizards in an unconfigured state.
[0118] Both the CPE wizard state and the router wizard state are in an unconfigured state, and in... Figure 3 When the device receives a trigger operation for the next step control 302 in the interface shown in Figure a, it can display as follows: Figure 3 The interface shown in b is shown in the image. Figure 3 The interface shown in b may include prompt information 303, illustration 304, next step control 305, and skip control 310.
[0119] The prompt message 303 can be used to inform the user that the current wizard is a two-in-one wizard, and can also be used to prompt the user to insert a subscriber identity module (SIM card) or activate an eSIM. For example, prompt message 303 could be "You are currently configuring a CPE + router networking process, you need to insert a data SIM card into the CPE device first." Illustration 304 can be used to indicate the SIM card insertion location and direction, the next step control 305 is used to proceed to the next step of the wizard, and the skip control 310 can be used to skip the current settings interface and proceed to the next step of the wizard.
[0120] It should be noted that, Figure 3 The interface shown as 'b' is optional. In some scenarios, the device may not display, for example, the interface shown during the display of the two-in-one wizard information. Figure 3 The interface shown in b is an example. For instance, the CPE can be configured with a built-in eSIM, eliminating the need for the user to manually insert a SIM card. Alternatively, if the user has pre-inserted a SIM card into the CPE, the device may not display any special information upon detecting the insertion of a SIM card or activation of an eSIM. Figure 3 The interface shown in b is shown in the image.
[0121] After the user inserts the SIM card according to prompt 303 and illustration 304, the user can... Figure 3 In the interface shown in b, click the Next control 305. In response to the triggering operation of the Next control 305, the device can display as follows: Figure 3 The interface shown in c is shown in the image. Figure 3 The interface shown in c may include prompt information 306, illustration 307, CPE password input box 308, and login control 309.
[0122] The prompt message 306 can be used to prompt the user to log in to the CPE. For example, prompt message 306 could state, "You are currently configuring a CPE + router networking process. You need to find and enter the CPE login password; the login password is the same as the web login password, and the initial password is on the bottom of the device." Figure 307 shows the location to find the initial CPE login password; the CPE password input box 308 is used to enter the CPE login password; and the login control 309 can be used to log in to the CPE using the CPE login password. Optionally, Figure 3 The interface shown in 'c' may also include a 'Forgot Password' control, which can be used to change the CPE login password.
[0123] exist Figure 3 In the interface shown in c, when the user enters the correct CPE password and the device receives a trigger operation for the login control 309, the device can enter... Figure 4 The example shown is the start configuration interface. In this embodiment, the start configuration interface can be multiple interfaces, used to help users understand the relevant terms and conditions during network device use. For example, the start configuration interface may include a wireless broadband device privacy notification interface, a user agreement interface, and an idle-time upgrade start interface, etc.
[0124] For example, the device may display a wireless broadband device privacy notification interface, such as... Figure 4 The interface shown in Figure 'a' includes a prompt message 401, a cancel control 402, and a next control 403. The prompt message 401 provides information related to the wireless broadband device privacy notification. The cancel control 402 can be used to cancel the configuration process; the next control 403 provides wizard information to proceed to the next step.
[0125] exist Figure 4 In the interface shown in Figure a, the device receives a trigger operation for the next step control 403. In response to the trigger operation for the next step control 403, the device can display as follows: Figure 4 The user agreement interface shown in b is shown in the image. Figure 4The interface shown in b may include a prompt message 404, a rejection control 405, and an agreement control 406. The prompt message 404 is used to prompt the user with information related to the user agreement. The rejection control 405 can be used to reject the user agreement and cancel the configuration process; the agreement control 406 can be used to provide wizard information for proceeding to the next step.
[0126] exist Figure 4 In the interface shown in b, the device receives a trigger operation for the consent control 406. In response to the trigger operation for the consent control 406, the device can display as follows: Figure 4 The "c" in the image shows the idle time upgrade interface. Figure 4 The interface shown in Figure 'c' may include prompt message 407, manual installation control 408, and start configuration control 409. Prompt message 407 prompts the user whether to initiate idle-time upgrades. Manual installation control 408 provides an entry point for users to manually install programs, components, or software used for networking; for example, users can manually set their internet connection type, such as broadband account access, automatic IP address acquisition, or static IP address. Start configuration control 409 can be used to enter the parameter configuration process for the CPE and router.
[0127] It should be noted that this embodiment describes the start configuration interface by taking the sequential display of the wireless broadband device privacy notification interface, the user agreement interface, and the start idle time upgrade interface as an example. In practical applications, the device may also display one or more start configuration interfaces in other orders; or the start configuration interface may include other forms of interfaces, which will not be listed in this embodiment.
[0128] Optionally, in this embodiment, the device may also display multiple protocol information simultaneously in a single start configuration interface. For example, the device displays a start configuration interface that includes multiple selection boxes and a start configuration control. The selection boxes may include a privacy notification selection box, a user agreement selection box, and a start idle time upgrade selection box. When the user selects all the selection boxes and clicks the start configuration control, the device can execute the parameter configuration process. This embodiment does not limit the specific implementation of the start configuration interface.
[0129] In the embodiments of this application, Figure 4 In the interface shown in Figure c, when a trigger operation is received for the start configuration control 409, the device can enter the parameter configuration process of the CPE and router. The parameter configuration process can be as follows: Figure 5 As shown. For example, in response to a trigger operation on the start configuration control 409, the device displays as shown. Figure 5 The interface shown in Figure 'a'.
[0130] Figure 5The interface shown in 'a' is the network detection interface. In this interface, the device can display a prompt message 501, which can be used to inform the user that the device is automatically detecting the network and to ask the user to wait; for example, prompt message 501 could be "Automatically detecting your internet connection method."
[0131] After the test is completed, the device can display the following: Figure 5 The interface shown in b is shown in the image. Figure 5 The interface shown in b is the Wi-Fi settings interface. In this interface, the device can display a CPE identifier 502, a router identifier 503, an input box 504, a save configuration control 505, and one or more selection boxes.
[0132] CPE identifier 502 indicates the parameters currently being configured for the CPE; router identifier 503 indicates the parameters currently being configured for the router. It can be understood that CPE identifier 502 and router identifier 503 can respectively reflect the current configuration status of the CPE and router. For example, in... Figure 5 In the interface shown in b, CPE identifier 502 indicates that no CPE is currently configured (e.g., CPE identifier 502 is grayed out), and router identifier 503 indicates that the router is being configured. Figure 5 The interface shown in b is for setting router parameters. In this embodiment, the device may also use other methods to indicate that it is currently configuring the CPE or router. Taking the device currently configuring router parameters as an example, the router identifier can display a dynamic effect to indicate that the router is being configured; or, for example, the router identifier can be enlarged to indicate that the router is being configured. These are not listed here. Furthermore, in this embodiment, the router identifier and CPE identifier can be either illustrations or text; illustrations can be as shown in CPE identifier 502 and router identifier 503, and text can be, for example, "CPE" and "router," etc. This embodiment does not impose any limitations on these.
[0133] Specifically, input box 504 can be used to input the router's Wi-Fi name and Wi-Fi password. Selection boxes can be used to indicate the on or off state of a configuration option. One or more selection boxes may be, for example, selection boxes 506 and 507. For instance, selection box 506 can be in a closed state, indicating that Wi-Fi wall-penetrating mode is not enabled; selection box 507 can be in an open state, indicating that the Wi-Fi password is used as the login password between the router and the CPE. Selection boxes may also include other configuration options, which will not be listed individually in this embodiment. The save configuration control 505 can be used to save user-set parameters, such as the Wi-Fi name, Wi-Fi password, and the status of configuration options.
[0134] Optionally, the device can switch the router's Wi-Fi setup interface to the CPE's Wi-Fi setup interface. For example, in response to a trigger operation targeting CPE identifier 502, the device can display CPE identifier 502, router identifier 503, and related CPE configuration items; where CPE identifier 502 indicates that the CPE is being configured, and router identifier 503 indicates that the router is not currently configured (e.g., router identifier 503 is grayed out, not shown in the figure); the device can modify CPE configuration items such as name and password.
[0135] exist Figure 5 In the interface shown in b, when a trigger operation is received for the save configuration control 505, the device can save the parameters set by the user and display them as shown in the image. Figure 5 The interface shown in c is shown in the image. Figure 5 The interface shown as 'c' is the configuration completion screen. This screen may include prompt message 508, the Wi-Fi name, the Wi-Fi password, and the login password. Prompt message 508 can be used to inform the user that the router and CPE have been configured and that the user can use the Wi-Fi network to access the Internet; prompt message 508 may be, for example, "Congratulations, the network is connected." The user controls the device to connect to the Wi-Fi network based on the Wi-Fi name and Wi-Fi password displayed on the configuration completion screen, thereby achieving network access.
[0136] It should be noted that, in this embodiment of the application, when neither the CPE nor the router is configured, the device can trigger the following: Figures 3 to 5 The two-in-one wizard information is shown. It can be understood that after connecting to the Wi-Fi network provided by either the CPE or the router, the device can simultaneously configure both the CPE and the router based on the two-in-one wizard information until configuration is complete. During this process, the device does not need to switch Wi-Fi networks, simplifying user operations.
[0137] Meanwhile, the CPE wizard information can include configuration items such as user agreement, privacy notice, and idle time upgrade, and the router wizard information can also include configuration items such as user agreement, privacy notice, and idle time upgrade; the two-in-one wizard information can combine the configuration items of CPE and router, allowing users to complete the parameter configuration preparation work with a single selection operation, thereby reducing the number of start configuration interfaces in the wizard information; it can also reduce repetitive operations by users.
[0138] It is understood that in this embodiment, the combined wizard information applies when neither the CPE nor the router has been configured. In some scenarios, the device may have already configured the CPE or router based on a single wizard information. In such cases, when configuring the router or CPE subsequently, the device may not trigger the combined wizard information and instead use the wizard information for the single router or CPE to configure it, thereby reducing redundant configuration. This embodiment will not provide a detailed description of the interfaces for the router wizard information and the CPE wizard information.
[0139] The above embodiments combined Figures 3 to 5 The wizard information triggered when configuring the CPE and router for the first time in this application embodiment is described below. Figure 6 and Figure 7 The scenarios for managing CPEs and routers in the embodiments of this application are described.
[0140] Figure 6 A schematic diagram of the interface of the management router provided in an embodiment of this application is shown. Figure 6 As shown:
[0141] The device can manage the CPE and router based on the Smart Life application. For example, on the desktop, when a trigger action is received targeting the Smart Life application icon, the device can launch the Smart Life application and display something like... Figure 6 The interface shown in Figure 'a'. Figure 6 The interface shown as 'a' in the image can be the homepage of the smart living application, which displays the cards of devices that have been connected. For example, when a device is based on... Figures 3-5 After configuring the CPE and router using the wizard information shown, the device can display router card 601 and CPE card 602.
[0142] The router card 601 may include the router name, router connection status, and a diagram of the router. See also... Figure 6 As shown in the interface 'a', the router name can be, for example, Router 1. The router's connection status can be online (connection status can also include offline status, not shown in the figure; connection status can also be referred to as connected and not connected). It should be understood that when connected to the Wi-Fi network provided by either the router or the CPE, the device can set the router's connection status to online; when not connected to the Wi-Fi network provided by either the router or the CPE, the device can set the router's connection status to offline.
[0143] CPE card 602 may include the CPE name, CPE connection status, and a diagram of the CPE. See also Figure 6As shown in interface 'a', the CPE name can be, for example, CPE1. The CPE's connection status can be online. Similarly, when connected to the Wi-Fi network provided by either the router or the CPE, the device can set the CPE's connection status to online; when not connected to either the router's or the CPE's Wi-Fi network, the device can set the CPE's connection status to offline.
[0144] In this embodiment, after accessing the Wi-Fi network provided by either the router or the CPE, the device can display both the router card 601 and the CPE card 602, and both the router and the CPE are online. This means that, Figure 6 In the interface shown in 'a', the device can configure both the router and the CPE.
[0145] Let's take setting up a router as an example. Figure 6 In the interface shown in Figure a, the device receives a click operation on router card 601; in response to this operation, the device can enter the router's configuration interface, such as... Figure 6 The interface shown in c; Figure 6 In the interface shown in Figure c, the device can display prompts 603 and 604, as well as multiple configuration items. Prompt 603 indicates the router's connection status and network quality; for example, prompt 603 could be "Connected; WLAN quality is excellent." Prompt 604 characterizes the router's Wi-Fi network speed; for example, prompt 604 could be "Upload speed xx bps, Download speed xx bps." Multiple configuration items may include, for example, access device controls, smart detection controls, parental controls, network speed test controls, online class acceleration controls, and game acceleration controls. The device can... Figure 6 The interface shown in c provides users with an entry point to set router parameters. This embodiment of the application does not limit the specific content of the router's configuration interface.
[0146] In some embodiments, the device may verify the user's identity upon first use of the router card 601 to enhance the security of the configuration process. For example, in... Figure 6 In the interface shown in Figure a, when a trigger operation is received for router card 601, the device can display as follows: Figure 6 The administrator login interface shown in b is shown in the image. Figure 6 In the interface shown in b, the device can display a password input box 605 and a login control 606. When the user enters the router's login password in the password input box 605 and clicks the login control 606, the device can verify the entered password. After successful verification, the device can display the following: Figure 6The interface shown in 'c' allows users to... Figure 6 The interface shown in 'c' allows you to modify and configure the router's parameters.
[0147] Alternatively, if the router card 601 and CPE card 602 are displayed in the smart living application interface, the device can also configure the CPE.
[0148] The process of setting up the CPE on the device can be as follows: Figure 7 As shown:
[0149] For example, in Figure 7 In the interface shown in Figure 'a', the device can display router card 601 and CPE card 602; router card 601 and CPE card 602 can be referenced. Figure 6 The relevant descriptions in the interface shown in Figure 'a' are not repeated here. When a click operation is received for CPE card 602, the device can enter the CPE configuration interface, such as... Figure 7 The interface shown in c; Figure 7 In the interface shown in c, the device can display prompts 701, 702, 703, and multiple configuration items.
[0150] Message 701 can be used to reflect the CPE's connection status and network quality; for example, message 701 could be "Connected; Excellent WLAN quality." Message 702 can be used to reflect network traffic usage; for example, message 702 could be "Used xx MB; Set a data plan." Message 703 can be used to indicate the CPE's Wi-Fi network speed; for example, message 703 could be "Upload speed xx bps, Download speed xx bps." Multiple configuration items can include, for example, access device controls, SMS controls, parental controls, WLAN settings controls, etc. The device can be accessed through... Figure 7 The interface shown in c provides users with an entry point to set CPE parameters. This embodiment of the application does not limit the specific content of the CPE configuration interface.
[0151] In some embodiments, the device may verify the user's identity upon first use of the CPE card 602 to enhance the security of the configuration process. For example, upon receiving a trigger operation for the CPE card 602, the device may display the following: Figure 7 The administrator login interface shown in b is shown in the image. Figure 7 In the interface shown in b, the device can display a password input box 704 and a login control 705. When the user enters the CPE login password in the password input box 705 and clicks the login control 705, the device can verify the entered password. After successful verification, the device can display the following: Figure 7 The interface shown in 'c' allows users to... Figure 7The interface shown in 'c' allows you to modify and set the parameters of the CPE.
[0152] and Figure 2 Compared to the scenario shown, in this embodiment, when accessing the Wi-Fi network provided by either the router or the CPE, the device can simultaneously display both the router card and the CPE card in the smart living application interface. The router's connection status is shown as online in the router card, and the CPE's connection status is shown as online in the CPE card. That is, when accessing either Wi-Fi network, the device can manage both the router and the CPE simultaneously.
[0153] And in Figure 2 In the possible implementations shown, when accessing the Wi-Fi network provided by the router, the device displays the router card as online, and the device either does not display the CPE card or displays the CPE card as offline. Figure 2 (The scenario shown is where the CPE card is not displayed offline). That is, when connected to a Wi-Fi network provided by a router, the device can only configure the router, not the CPE. Similarly, when connected to a Wi-Fi network provided by a CPE, the device displays the online CPE card, and the device does not display the router card. Figure 2 (The scenario where the router card is not displayed is not shown), or the router card is displayed in an offline state. That is, when connected to the Wi-Fi network provided by the CPE, the device can only configure the CPE, and cannot configure the router.
[0154] It is understandable that in practical applications, after configuring the router and CPE based on the two-in-one wizard information, CPE wizard information, or router wizard information, the device can access the Wi-Fi network provided by the routing device combination and use that Wi-Fi network for internet access. In this embodiment, the device can manage both the router and the CPE simultaneously. However, in a possible implementation, the device can only manage the router; if it needs to manage the CPE, the device first disconnects from the Wi-Fi network provided by the router and connects to the Wi-Fi network provided by the CPE, and then manages the CPE. Therefore, in this embodiment, the solution of managing both the router and CPE simultaneously reduces the need to switch Wi-Fi networks during parameter configuration, thereby simplifying user operations during the parameter configuration process.
[0155] The above embodiments combined Figures 3-7 The scenarios for parameter configuration in the embodiments of this application have been described below. Figures 8-14 The process configured in the embodiments of this application will be described.
[0156] Figure 8This document illustrates a flowchart of a parameter configuration method provided in an embodiment of this application. Figure 8 As shown:
[0157] For example, in S801, when the router is wired to the CPE, the router obtains the Internet Protocol (IP) address of the CPE.
[0158] A wired connection between a router and a CPE can be achieved by using a network cable to connect the router and the CPE via Ethernet.
[0159] The CPE's IP address can serve as its network identifier, used to identify its network location; it can also be referred to as the CPE's gateway IP. In this embodiment, the CPE's IP address can be used in data transmission scenarios; for example, during data transmission, a router can send data to the CPE via its IP address, and the CPE can then forward the data to network devices. Furthermore, the CPE's IP address can also be used for secure access control; for instance, it can control the CPE's access permissions to the internal network using an external IP address (e.g., the CPE's IP address) to enhance the security of the access process.
[0160] In some embodiments, the CPE's IP address can be the WAN IP address of the CPE in routing mode.
[0161] After the router is wired to the CPE, the router can obtain the CPE's IP address from the CPE via Dynamic Host Configuration Protocol (DHCP).
[0162] The process of obtaining the CPE's IP address can be as follows: The router sends a DHCP discover message; upon receiving the DHCP discover message, the CPE responds with a DHCP offer message, which includes parameters such as the CPE's IP address, subnet mask, and DNS server address; the router receives the CPE's DHCP offer message and sends a DHCP request message to the CPE; after receiving the DHCP request, the CPE sends a DHCP acknowledgement message and completes the configuration.
[0163] Using DHCP, the CPE can assign an IP address to the router; for example, the CPE's IP address could be 192.168.8.1. The router can then send data packets to the Internet based on the CPE's IP address.
[0164] S802. The router establishes a communication channel with the CPE based on the CPE's IP address.
[0165] The communication channel can be used to support secure communication between the router and the CPE. For example, this communication channel can be used to synchronize wizard states between the CPE and the router. The communication channel can also be used to transmit instructions for configuration parameters. For instance, when not connected to a Wi-Fi network provided by the router, the device can send instructions for configuration parameters to the router via the CPE and the communication channel between the CPE and the router; or, when not connected to a Wi-Fi network provided by the CPE, the device can send instructions for configuration parameters to the CPE via the router and the communication channel between the CPE and the router.
[0166] After the router obtains the configuration parameters from the CPE, a communication channel is established between the router and the CPE, thereby enabling data transmission between the router and the CPE.
[0167] Establishing a communication channel between the router and the CPE may include, for example, detecting the connection between the router and the CPE; and establishing a secure communication channel between the router and the CPE. The process of establishing a communication channel can be found in [link to documentation]. Figure 9 :
[0168] In some embodiments, after the router obtains configuration parameters from the CPE, the router can detect the connection relationship with the CPE to ensure that the two can communicate with each other. The router can use steps S901 and S902 to detect whether the communication channel is available:
[0169] S901, the router initiates a device discovery request.
[0170] Device discovery requests can be used to automatically detect and identify devices in a network environment. A device discovery request can be a data packet that includes information such as a protocol identifier, router IP address, router device type, request type, time-to-live (TTL), and sequence number.
[0171] S902: When the CPE receives a device discovery request, it returns a successful detection message (also known as a detection OK message). The successful detection message can be a data packet containing information such as the CPE name, the CPE's IP address, and the router device type.
[0172] The above process ensures that the communication channel between the router and the CPE is unobstructed and that the CPE and router can recognize each other. Afterwards, the router and CPE can use this communication channel to transmit data.
[0173] In some embodiments, to ensure data security during transmission, the router and CPE can establish an encrypted communication channel. For example, the router and CPE can use datagram transport layer security (DTLS) to enhance the confidentiality and integrity of data transmission.
[0174] This process can be illustrated by steps S903 and S904, for example:
[0175] S903, the router initiates a DTLS request to the CPE.
[0176] Specifically, the router's DTLS request to the CPE can include: the router sending a DTLS client hello message to the CPE, which includes the encryption algorithms supported by the router, the DTLS version, and a random number used to negotiate security parameters; the CPE responding to the DTLS client hello message by returning a DTLS server hello message to the router, which includes the encryption algorithms supported by the CPE, the DTLS version, and a random number; the router obtaining the CPE's Certificate Authority (CA) certificate; after successful verification, the router and CPE exchanging keys; and the router and CPE using the keys to send finish messages.
[0177] S904, the router initiates registration with the CPE.
[0178] The process of a router initiating registration with a CPE may include: the router sending a registration request to the CPE, which includes the router's identification information; and after successful verification of the router, the CPE sending a registration response message to indicate successful registration.
[0179] After registration is complete, a DTLS channel is established between the router and the CPE. Data can be transmitted between the router and the CPE using the DTLS channel, thereby improving the security of data transmission between the router and the CPE.
[0180] It should be noted that, in this embodiment, the communication channel can be a combination of a network cable channel and a DTLS channel. The CPE and router can be connected via a wired connection, for example, through a network cable channel. The network cable channel provides the physical connection between the CPE and the router, as well as the data link layer transmission capability. The DTLS channel provides security at the transport layer between the CPE and the router. When the CPE and the router interact with data, data is transmitted from the CPE to the router via the network cable channel, or vice versa. During transmission, the DTLS channel encrypts and authenticates the data to ensure its security and integrity. The data transmitted between the CPE and the router may include, for example, the CPE's wizard status, the router's wizard status, instructions for configuring CPE parameters, and instructions for configuring router parameters. Optionally, in this embodiment, the communication channel may also include only a network cable channel to achieve data transmission between the CPE and the router; this embodiment does not impose any limitations on this.
[0181] It is understood that other encryption methods may also be used to establish a secure communication channel between the router and the CPE in the embodiments of this application. The embodiments of this application do not impose any limitations on this.
[0182] S803. The router uses the communication channel to send the router's wizard status to the CPE, and to obtain the CPE's wizard status from the CPE.
[0183] The router's wizard status refers to the configuration status of the router's wizard information, indicating whether the router has completed parameter configuration; the router's wizard status includes configured and unconfigured states. The CPE's wizard status refers to the configuration status of the CPE's wizard information, indicating whether the CPE has completed parameter configuration; the CPE's wizard status can include configured and unconfigured states.
[0184] After establishing a communication channel, the router and CPE can use this channel to securely transmit information, such as wizard status. In this embodiment, the router can synchronize wizard status with the CPE; for example, the router can obtain its own wizard status and send it to the CPE; simultaneously, the CPE can obtain its own wizard status and send it to the router, thereby achieving information synchronization.
[0185] It is understood that in this embodiment, the wizard status can be used to indicate whether the device displays wizard information and the type of wizard information displayed; the type of wizard information may be, for example, a two-in-one wizard information, router wizard information, and CPE wizard information. The types of wizard information will be explained in subsequent steps S805 and S806, and will not be elaborated upon here.
[0186] Furthermore, synchronizing the wizard status between the router and CPE allows the device to quickly obtain the wizard status of both the router and CPE when accessing the Wi-Fi network provided by either the router or the CPE, and select the appropriate type of wizard information based on the wizard status. For example, after accessing the Wi-Fi network provided by the router, the device can communicate with the router and simultaneously obtain the wizard status of both the router and the CPE. Similarly, after accessing the Wi-Fi network provided by the CPE, the device can communicate with the CPE and simultaneously obtain the wizard status of both the router and the CPE. Therefore, to simplify the process of switching Wi-Fi networks during subsequent parameter configuration, the router and CPE can synchronize their wizard information beforehand.
[0187] Optionally, the S804 router adds the CPE's IP address to a whitelist; the whitelist can be used to restrict external IP addresses from accessing the internal network.
[0188] The whitelist can be a whitelist of WAN-to-LAN IPs, that is, a whitelist of external IP addresses accessing the internal network. In this embodiment, the CPE can act as the WAN side, and the external IP address can be the CPE's IP address. The router can act as the LAN side; after adding the CPE's IP address to the whitelist, it can access the router's LAN resources through the CPE's WAN interface.
[0189] The process of a router establishing a whitelist can be as follows: the router identifies and records trusted IP addresses, such as the CPE's IP address; the router adds the CPE's IP address to the firewall or access control list (ACL); the router instructs the CPE to use the CPE's IP address to access internal network resources, thus ensuring that access requests from CPEs in the whitelist are processed correctly.
[0190] In this way, the router can restrict specific IP addresses (such as the CPE's IP address) from accessing the LAN through a whitelist. This not only improves network security but also reduces the problem of devices being unable to access the router using the CPE's Wi-Fi network after connecting to it. This allows devices to be configured with both the router and CPE simultaneously on any Wi-Fi network and also reduces the need for users to switch Wi-Fi networks during parameter configuration.
[0191] S805: The device connects to the Wi-Fi network provided by the router and obtains the router's wizard status and the CPE's wizard status.
[0192] Understandably, when connected to a Wi-Fi network provided by a router, a device can interact with the router. For example, the router stores its wizard status and the CPE's wizard status synchronized from the CPE side, and the router can return the router's wizard status and the CPE's wizard status to the device.
[0193] S806: The device triggers the wizard information display process based on the wizard status of the router and the wizard status of the CPE.
[0194] For example, the process of triggering the display of wizard information based on the wizard status of the router and the wizard status of the CPE may include the following scenarios: when both the wizard status of the CPE and the wizard status of the router are in an unconfigured state, the device may trigger wizard information to configure both the CPE and the router simultaneously; or, when the wizard status of the CPE is in an unconfigured state and the wizard status of the router is in a configured state, the device may trigger CPE wizard information; or, when the wizard status of the CPE is in a configured state and the wizard status of the router is in an unconfigured state, the device may trigger router wizard information; or, when both the wizard status of the CPE and the wizard status of the router are in a configured state, the device may not display wizard information.
[0195] In some embodiments, when both the CPE's wizard state and the router's wizard state are in an unconfigured state, the device can trigger wizard information to configure both the CPE and the router simultaneously, as shown below. Figure 10 As shown:
[0196] When configuring the CPE and router for the first time, both the CPE and router wizards will be in an unconfigured state. At this point, the device can display wizard information for configuring both the CPE and router simultaneously, for example... Figures 3-5 The wizard information shown is a two-in-one wizard. The wizard information for configuring both the CPE and the router can include wizard information for configuring the CPE and wizard information for configuring the router.
[0197] It is understandable that the wizard information used to configure the CPE differs from the aforementioned CPE wizard information; similarly, the wizard information used to configure the router differs from the aforementioned router wizard information. Taking the CPE as an example, the CPE wizard information can be understood as a guide to the complete process from starting to completing the CPE configuration. When the CPE wizard information is triggered, the interface displayed on the device is related to CPE configuration. The wizard information used to configure the CPE, however, can be the CPE-related wizard information from the combined wizard information, such as... Figure 5In the interface shown in b, the selection box 507 allows you to use the Wi-Fi password as the login password for the CPE, which can be used as the wizard information for configuring the CPE. The selection box 507 also allows you to use the Wi-Fi password as the login password for the router, which can be used as the wizard information for configuring the router. That is, when displaying the two-in-one wizard information, the interface can display the wizard information for configuring the CPE and the wizard information for configuring the router simultaneously or sequentially.
[0198] After accessing the Wi-Fi network provided by the router, the device can configure the router according to the wizard information used to configure the router; and the device can configure the CPE according to the wizard information used to configure the CPE.
[0199] When configuring based on wizard information for configuring a router, the device can send the instructions corresponding to the wizard information to the router to instruct the router to perform the relevant configuration. When configuring based on wizard information for configuring a CPE, the device can send the instructions corresponding to the wizard information for configuring the CPE to the CPE through the router to instruct the CPE to perform the relevant configuration.
[0200] For example, in Figure 5 In the interface shown in b, the user enters the Wi-Fi name and Wi-Fi password in input box 504, then selects checkbox 507 and clicks the save configuration control 505. In response to these operations, the device can instruct the router to set the router's Wi-Fi name and password, and to set the Wi-Fi password as the router's login password. Furthermore, in response to these operations, the device can transmit the instruction to set the Wi-Fi password as the CPE's login password via the router to the CPE, which then sets the Wi-Fi password as its login password.
[0201] In this way, after connecting to the Wi-Fi network provided by either the router or the CPE, the device can complete the configuration of both the router and the CPE at the same time, reducing the number of operations required for users to switch Wi-Fi networks.
[0202] In other embodiments, when the CPE's wizard state is unconfigured and the router's wizard state is configured, the device can trigger CPE wizard information, such as... Figure 11 As shown in 'a':
[0203] The device may first install and configure the router, and then install the CPE. In this case, the CPE wizard status will be "unconfigured," while the router wizard status will be "configured." The device can then display CPE wizard information to guide the user through the CPE configuration process; however, the device will not display router wizard information.
[0204] It is understood that the CPE wizard information in this embodiment may be the same as or different from the CPE wizard information in possible implementations. For example, if a user configures the router and then configures the CPE for the first time, the user may set a different login password for the CPE than the previously configured router password; the user may intend to change the router password for ease of memorization. In this case, the CPE wizard information in this embodiment may also include, for example... Figure 5 The selection box 507 in the interface shown in b is designed to help users change the passwords of the router and CPE with one click. This application does not limit the specific content of the CPE wizard information.
[0205] It should be noted that, in this embodiment of the application, after accessing the Wi-Fi network provided by the router, the device can configure the CPE according to the CPE wizard information. In this process, the device can first send the instructions corresponding to the CPE wizard information to the router, and then access the CPE through the router, thereby passing the instructions corresponding to the CPE wizard information to the CPE; the CPE can respond to the corresponding instructions and configure the parameters of the CPE.
[0206] In some other embodiments, when the CPE's wizard state is configured and the router's wizard state is unconfigured, the device can trigger router wizard information, such as... Figure 11 As shown in b:
[0207] The device may first install and configure the CPE, and then subsequently install the router. In this case, the CPE's wizard status will be "configured," while the router's wizard status will be "unconfigured." In this situation, the device can display the router wizard information to guide the user through the router configuration process; however, the device will not display the CPE wizard information. Afterward, the device can configure the router based on the router wizard information.
[0208] In some embodiments, the device may have already configured the CPE and router, in which case both the CPE's wizard status and the router's wizard status will be "configured". In this case, the device does not display wizard information, but instead displays something like... Figure 6 The interface shown in 'a' or Figure 7 The interface shown in Figure 'a'.
[0209] In this way, the device can trigger the corresponding wizard information based on the wizard status of the router and the wizard status of the CPE, thereby cascading the configuration scenarios of the router and CPE. This allows a set of wizard information to configure a combination of routing devices simultaneously, reducing the number of operations required for users to switch Wi-Fi networks.
[0210] S807. After configuration, the device can display a router card and a CPE card; the router card indicates that the router is online, and the CPE card indicates that the CPE is online.
[0211] After both the router and CPE are configured, the device can display, for example... Figure 6 The interface shown in 'a' or Figure 7 The interface shown in Figure 'a' includes a router card 601 and a CPE card 602, both of which indicate an online status. The device can use router card 601 to set or modify relevant router information, such as... Figure 6 As shown. The device can also use the CPE card 602 to set or modify relevant CPE information, such as... Figure 7 As shown.
[0212] Among them, with Figure 6 Taking the interface shown in Figure a as an example, step S807 can be used to display... Figure 5 After displaying the interface shown in 'c', the device exits the Smart Life app; upon relaunching the Smart Life app, the device may display... Figure 6 The interface shown in 'a'. Alternatively, step S807 can also be displayed... Figure 5 After the interface shown in 'c' appears, the device receives a trigger operation for the configuration completion control; in response to this trigger operation, the device enters... Figure 6 The interface shown in 'a' is not limited to this embodiment.
[0213] It should be noted that the process of configuring a router using a router card is similar to the process of configuring a router using wizard information. For example, after connecting to the Wi-Fi network provided by the router, the device can communicate with the router; the device can configure or modify the router's parameters based on the configuration items in the router card.
[0214] Similarly, the process of configuring a CPE using a CPE card is similar to the process of configuring a CPE using wizard information. For example, after connecting to the Wi-Fi network provided by the router, the device can communicate with the CPE through the router; the device can send relevant instructions to the router to configure the CPE based on the configuration items in the CPE card; the router then transmits the relevant instructions to the CPE, thereby enabling the configuration or modification of the CPE's parameters.
[0215] Thus, when connected to the Wi-Fi network provided by the router, the device can configure both the CPE and the router simultaneously, reducing Wi-Fi switching, thereby simplifying user operations and improving the user experience.
[0216] It should be noted that in this embodiment, step S804 is an optional step. In some embodiments, the device may guide the user during the configuration process through wizard information or other information, enabling the device to access the Wi-Fi network provided by the router. In this case, the device may use... Figure 8 The embodiment describes configuring both the router and the CPE simultaneously. The device can access the LAN-side router using the Wi-Fi network provided by the router; the device can also access the WAN-side CPE through the LAN-side router, and this access path is allowed by default. Therefore, when it is determined that the Wi-Fi network provided by the router is used (e.g., there is a prompt message for guiding access to the Wi-Fi network provided by the router), there is no scenario in this embodiment where an external IP address (e.g., CPE) on the WAN side is used to access internal network resources (e.g., the router). In other words, this embodiment does not require a whitelist to restrict access permissions for external IP addresses, and the router does not need to execute step S804. This embodiment does not impose any limitations on this.
[0217] Figure 12 This document illustrates a flowchart of another parameter configuration method provided in an embodiment of this application, as shown below. Figure 12 As shown:
[0218] For example, in S1201, when the router is wired to the CPE, the router obtains the IP address of the CPE.
[0219] S1202. The router establishes a communication channel with the CPE.
[0220] S1203. The router sends its wizard status to the CPE and retrieves the CPE's wizard status from the CPE.
[0221] Steps S1201-S1203 can be referred to the relevant descriptions in steps S801-S803, and will not be repeated here.
[0222] S1204. The router adds the CPE's IP address to the whitelist; the whitelist can be used to restrict the access permissions of external IP addresses to the internal network.
[0223] Step S1204 can be referred to the relevant description in step S804, and will not be repeated here.
[0224] It should be noted that step S1204 is not an optional step in this embodiment. In this embodiment, the device can access the Wi-Fi network provided by the CPE and use the Wi-Fi network provided by the CPE to configure both the router and the CPE simultaneously. During this process, the device communicates with the CPE, using the Wi-Fi network provided by the CPE to access the CPE on the WAN side; the device also accesses the router on the LAN side through the CPE on the WAN side.
[0225] In this embodiment, when using a CPE to access a router, the router can obtain the CPE's IP address and search for it in a whitelist. If the whitelist includes the CPE's IP address, the router can allow the CPE to use that IP address to access internal network resources. This reduces the chances of the CPE failing to access the router, thereby enabling the router to be configured via the CPE.
[0226] That is, if it is determined that the device is using the Wi-Fi network provided by the CPE (for example, if there is a prompt message to guide access to the Wi-Fi network provided by the CPE), or if it is uncertain whether the device is using the Wi-Fi network provided by the router or the Wi-Fi network provided by the CPE, the router can add the CPE's IP address to the whitelist to prevent the CPE from being blocked when accessing the router.
[0227] It should be noted that, in this embodiment, the CPE's IP address can be the IP address of the CPE in routing mode. When the device accesses the Wi-Fi network provided by the CPE and the CPE and router are configured, the CPE is in routing mode. The router can allow the CPE to access internal network resources using its IP address through a whitelist.
[0228] In some other scenarios, the CPE can operate in bridge mode. In bridge mode, the CPE is not assigned an IP address. After the router connects to the CPE, the router obtains a public IP address (also known as a live IP address) from the Internet Service Provider (ISP). In this case, the CPE's IP address is a live IP address, which is different from the CPE's IP address in routing mode; this live IP address is not included in the router's whitelist.
[0229] In this way, by using a whitelist and the CPE's IP address in routing mode, the router can be controlled to allow the CPE's external IP address to access internal network resources in parameter configuration scenarios; at the same time, the router can be controlled to deny the CPE's external IP address from accessing internal network resources in other scenarios, thereby improving the security of the parameter configuration process.
[0230] S1205. The device connects to the Wi-Fi network provided by the CPE and obtains the router's wizard status and the CPE's wizard status.
[0231] Understandably, when connected to the Wi-Fi network provided by the CPE, the device can interact with the CPE. For example, the CPE stores its wizard status and the router's wizard status synchronized from the router side, and the CPE can return the router's wizard status and the CPE's wizard status to the device.
[0232] S1206. The device triggers the wizard information display process based on the wizard status of the router and the wizard status of the CPE.
[0233] Step S1206 can be referred to the relevant description in step S806, and will not be repeated here.
[0234] It should be noted that, since the Wi-Fi networks accessed in step S1206 and step S806 are different, the process of configuring the router and CPE through the Wi-Fi network differs in some ways, as shown below:
[0235] In some embodiments, when both the CPE's wizard state and the router's wizard state are in an unconfigured state, the device can trigger wizard information to configure both the CPE and the router simultaneously, as shown below. Figure 13 As shown:
[0236] Specifically, after the device connects to the Wi-Fi network provided by the CPE, the device can configure the CPE according to the wizard information used to configure the CPE; and the device can access the router through the CPE, and if the access path is allowed, the device can configure the router according to the wizard information used to configure the router.
[0237] When configuring based on the wizard information used to configure the CPE, the device can send the instructions corresponding to the wizard information to the CPE to instruct the CPE to perform the relevant configuration. When configuring based on the wizard information used to configure the router, the device can attempt to send the instructions corresponding to the wizard information used to configure the router to the router through the CPE; if the router's whitelist includes the CPE's IP address, and the CPE's access path to the router is allowed, then the router receives the instructions corresponding to the wizard information used to configure the router and performs router configuration.
[0238] For example, in Figure 5In the interface shown in b, the user enters the Wi-Fi name and Wi-Fi password in input box 504, then selects checkbox 507 and clicks the save configuration control 505. In response to these operations, the device can instruct the CPE to set the Wi-Fi password as the CPE's login password. Furthermore, in response to these operations, the device can send instructions corresponding to the router configuration wizard information to the CPE, allowing the CPE to access the router. These instructions, such as those for setting the router's Wi-Fi name and password, and setting the Wi-Fi password as the router's login password, can be used to configure the router. If the router's whitelist includes the CPE's IP address, the router can receive instructions corresponding to the router configuration wizard information. The router can then set its Wi-Fi name and password, and set the Wi-Fi password as the router's login password.
[0239] In this way, after connecting to the Wi-Fi network provided by either the router or the CPE, the device can complete the configuration of both the router and the CPE at the same time, reducing the number of operations required for users to switch Wi-Fi networks.
[0240] In other embodiments, when the CPE's wizard state is unconfigured and the router's wizard state is configured, the device can trigger CPE wizard information; for example... Figure 14 As shown in a: After accessing the Wi-Fi network provided by the CPE, the device can communicate with the CPE and configure the CPE according to the CPE wizard information.
[0241] In some embodiments, when the CPE's wizard status is configured and the router's wizard status is unconfigured, the device can trigger router wizard information; for example... Figure 14 As shown in b:
[0242] After triggering the router wizard, users can configure the router's parameters according to the wizard. During the parameter configuration process, the device can attempt to send the instructions corresponding to the router wizard to the router via the CPE. The router searches for the CPE's IP address in its whitelist. If the router's whitelist includes the CPE's IP address, the CPE's access path to the router is allowed, and the router receives the instructions corresponding to the router wizard, thus configuring the router according to the wizard.
[0243] S1207. After configuration, the device can display the router card and the CPE card; the router card indicates that the router is online, and the CPE card indicates that the CPE is online.
[0244] Step S1207 can be referred to the relevant description in step S807, and will not be repeated here.
[0245] Thus, when the device is connected to the Wi-Fi network provided by the CPE, it can configure both the CPE and the router simultaneously, reducing Wi-Fi switching, thereby simplifying user operations and improving the user experience.
[0246] It should be noted that, in Figure 8 and Figure 14 In the illustrated embodiment, after accessing the Wi-Fi network provided by either the router or the CPE, the device can configure both the router and the CPE. Therefore, the parameter configuration method shown in this application embodiment can reduce the impact of distance on the parameter configuration process.
[0247] For example, if the router and CPE are far apart, and the device is within the Wi-Fi coverage area of the router but not within the Wi-Fi coverage area of the CPE, the device can only search for the Wi-Fi network provided by the router. In this case, the device can use the Wi-Fi network provided by the router to configure the router and CPE. It should be understood that the router and CPE are connected via a network cable, allowing the device to communicate with the CPE using the router. This avoids the scenario where the device cannot communicate with the CPE due to not being able to find its Wi-Fi network.
[0248] Alternatively, if the device is within the Wi-Fi network coverage area provided by the CPE but not within the Wi-Fi network coverage area provided by the router, the device can only detect the Wi-Fi network provided by the CPE. In this case, the device can use the Wi-Fi network provided by the CPE to configure the router and the CPE. It should be understood that the CPE and router are connected via a network cable, allowing the device to communicate with the router using the CPE. Furthermore, the router allows the CPE to access internal network resources through a whitelist. This prevents scenarios where the device cannot communicate with the router due to the inability to detect the router's Wi-Fi network or restricted WAN access to the LAN.
[0249] This reduces the need for users to move around to search for Wi-Fi networks when the router and CPE are far apart, thus simplifying the parameter configuration process.
[0250] Figure 15 A schematic diagram of the structure of device 1500 in an embodiment of this application is shown.
[0251] Device 1500 may include one or more processors 1501, one or more memories 1502, one or more wireless communication modules 1503, and one or more displays 1504.
[0252] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on device 1500. In other embodiments of this application, device 1500 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0253] Processor 1501 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0254] The wireless communication function of device 1500 can be realized through wireless communication module 1503 and antenna.
[0255] Antennas are used to transmit and receive electromagnetic wave signals.
[0256] The wireless communication module 1503 can provide solutions for wireless communication applications on the device 1500, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), near field communication (NFC), infrared (IR) technology, etc.
[0257] In this embodiment, the wireless communication module 1503 receives electromagnetic waves via an antenna, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to the processor 1501. The wireless communication module 1503 can also receive signals to be transmitted from the processor 1501, perform frequency modulation and amplification on them, and convert them into electromagnetic waves for radiation via the antenna; thereby realizing wireless communication with a router or CPE.
[0258] Device 1500 provides a display function via display screen 1504. Display screen 1504 is used to display images, videos, etc. In this embodiment, during parameter configuration, display screen 1504 can be used to display wizard information, router cards, and CPE cards to assist users in configuring the router and / or CPE, such as... Figures 3-7 As shown.
[0259] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0260] The parameter configuration method of the embodiments of this application has been described above. The apparatus for executing the above method provided in the embodiments of this application is described below. Those skilled in the art will understand that the methods and apparatus can be combined and referenced with each other, and the related apparatus provided in the embodiments of this application can execute the steps in the above parameter configuration method.
[0261] like Figure 16 As shown, the device 1600 can be used in equipment, CPE, routers, circuits, hardware components, or chips. The device includes a display unit 1601 and a processing unit 1602. The display unit 1601 supports the display steps performed by the device 1600; the processing unit 1602 supports the information processing steps performed by the device 1600.
[0262] In a possible implementation, the device 1600 may also include a communication unit 1603. Specifically, the communication unit is used to support the device 1600 in performing the steps of sending and receiving data. The communication unit 1603 may be an input or output interface, pins, or circuits, etc.
[0263] In a possible embodiment, the device may further include a storage unit 1604. The processing unit 1602 and the storage unit 1604 are connected via a line. The storage unit 1604 may include one or more memories, which may be devices in one or more devices or circuits used for storing programs or data. The storage unit 1604 may exist independently and be connected to the processing unit 1602 of the device via a communication line. Alternatively, the storage unit 1604 may be integrated with the processing unit 1602.
[0264] Storage unit 1604 may store programs or instructions for methods in the device, so that processing unit 1602 executes the methods in the above embodiments. Storage unit 1604 may be a register, cache, or RAM, etc., and may be integrated with processing unit 1602. Storage unit 1604 may be a read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, and may be independent of processing unit 1602.
[0265] This application provides an apparatus comprising: one or more processors and one or more memories; the one or more memories storing programs or instructions; and the one or more processors executing the programs or instructions stored in the memories, causing the apparatus to perform the above-described method.
[0266] This application provides a router, which includes: one or more processors and one or more memories; the one or more memories store programs or instructions; the one or more processors execute the programs or instructions stored in the memories, causing the router to perform the above-described method.
[0267] This application provides a CPE, which includes: one or more processors and one or more memories; the one or more memories store programs or instructions; the one or more processors execute the programs or instructions stored in the memories, causing the CPE to perform the above-described methods.
[0268] This application provides a chip. The chip includes a processor, which is used to call programs or instructions in memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those in the related embodiments described above, and will not be repeated here.
[0269] This application also provides a readable storage medium (also referred to as a computer-readable storage medium). The readable storage medium stores a program. When the program is executed by a processor, it implements the above-described method. The methods described in the above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof.
[0270] This application provides a program product (also known as a computer program product), which includes a computer program that, when run, causes a device to perform the above-described method.
[0271] It should be noted that the modules or components described in the above embodiments can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), etc. Furthermore, when a module is implemented through processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors capable of calling program code, such as a controller. Additionally, these modules can be integrated together to implement a system-on-a-chip (SOC).
[0272] The term "multiple" in this document refers to two or more. The term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the preceding and following related objects; in formulas, " / " indicates a "division" relationship. Additionally, it should be understood that in the description of this application, words such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or order.
[0273] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application.
[0274] It is understood that, in the embodiments of this application, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
Claims
1. A parameter configuration method, characterized in that, Applied to a device, the method includes: The device connects to a Wi-Fi network, which includes a Wi-Fi network provided by a router or a Wi-Fi network provided by a customer premises equipment (CPE). The device displays a first interface, which includes a first card and a second card. The first card is used to configure the parameters of the router and includes information indicating that the router and the device have established a connection. The second card is used to configure the parameters of the CPE and includes information indicating that the CPE and the device have established a connection. In response to a trigger operation on the first card, the device displays a second interface, which includes a first control and a return control; the first control includes one or more controls related to configuring parameters of the router. In response to a triggering operation on the return control, the device returns to the first interface; In response to a trigger operation on the second card, the device displays a third interface, the third interface including a second control; the second control includes one or more controls related to configuring parameters of the CPE.
2. The method according to claim 1, characterized in that, After the device connects to the Wi-Fi network, it also includes: The device displays a fourth interface; the fourth interface includes wizard information, which guides the user to configure the parameters of the router and / or the CPE; the router parameters include one or more of the following: the router's Wi-Fi name, the router's Wi-Fi password, the router's Wi-Fi network mode, and the router's login password; the CPE parameters include one or more of the following: the CPE's Wi-Fi name, the CPE's Wi-Fi password, and the router's login password.
3. The method according to claim 2, characterized in that, The device displays a fourth interface, including: If the device is not configured with the CPE and the device is not configured with the router, the device displays first wizard information on the fourth interface. The first wizard information is used to guide the user to configure the parameters of the router and the parameters of the CPE at the same time.
4. The method according to claim 2, characterized in that, The device displays a fourth interface, including: When the device has configured the CPE but has not configured the router, the device displays second wizard information on the fourth interface. The second wizard information is used to guide the user to configure the parameters of the router. Alternatively, if the device has not configured the CPE but has configured the router, the device displays third wizard information on the fourth interface, which guides the user to configure the parameters of the CPE.
5. The method according to any one of claims 2-4, characterized in that, Before the device displays the fourth interface, it also includes: The device acquires the wizard status of the router and the wizard status of the CPE; the wizard status of the router is used to indicate whether the router has completed network configuration; the wizard status of the CPE is used to indicate whether the CPE has completed network configuration; the wizard status includes a configured status and an unconfigured status; the device displays a fourth interface, including: The device displays the fourth interface based on the wizard status of the router and the wizard status of the CPE; wherein, if both the wizard status of the router and the wizard status of the CPE are in an unconfigured state, the fourth interface displays first wizard information; if the wizard status of the router is in an unconfigured state and the wizard status of the CPE is in a configured state, the fourth interface displays second wizard information; if the wizard status of the router is in a configured state and the wizard status of the CPE is in an unconfigured state, the fourth interface displays third wizard information.
6. The method according to claim 5, characterized in that, The router's wizard status and the CPE's wizard status are obtained by the device from the router or the CPE; wherein, the router's wizard status and the CPE's wizard status are synchronized in the following manner: the router obtains the CPE's IP address; the router establishes a communication channel with the CPE based on the CPE's IP address; the router sends its wizard status to the CPE based on the communication channel, and the CPE sends its wizard status to the router based on the communication channel.
7. The method according to claim 6, characterized in that, The Wi-Fi network is the Wi-Fi network provided by the CPE, and the wizard information includes the first wizard information; After the device displays the fourth interface, it includes: In response to the first operation, the device instructs the router to configure the router's parameters based on the CPE and the communication channel; the first operation is used to configure the router's parameters. In response to the second operation, the device instructs the CPE to configure the parameters of the CPE; the second operation is used to configure the parameters of the CPE. If the IP address of the CPE is included in the router's whitelist, the device displays information indicating that the router and the CPE have been successfully configured.
8. The method according to claim 6, characterized in that, The Wi-Fi network is the Wi-Fi network provided by the CPE; After the device displays the fourth interface, it includes: In response to the first operation, the device instructs the router to configure the router's parameters based on the CPE and the communication channel; If the IP address of the CPE is included in the router's whitelist, the device displays information indicating that the router has been successfully configured.
9. The method according to claim 6, characterized in that, The Wi-Fi network is the Wi-Fi network provided by the router, and the wizard information includes the first wizard information; After the device displays the fourth interface, it includes: In response to the first operation, the device instructs the router to configure the router's parameters. In response to the second operation, the device instructs the CPE to configure the parameters of the CPE based on the router and the communication channel; The device displays information indicating that the router and the CPE have been successfully configured.
10. The method according to claim 6, characterized in that, The Wi-Fi network is the Wi-Fi network provided by the router; After the device displays the fourth interface, it includes: In response to the second operation, the device instructs the CPE to configure the parameters of the CPE based on the router and the communication channel; The device displays information indicating that the CPE has been successfully configured.
11. The method according to any one of claims 6-10, wherein the communication channel is obtained by the router initiating a device discovery request to the CPE; and in response to the device discovery request, the CPE returns a successful detection message to the router; The router initiates an encryption request to the CPE, the encryption request including a Datagram Transport Layer Security (DTLS) request; The router initiates registration with the CPE; Upon successful registration, a communication channel is established between the router and the CPE.
12. A parameter configuration method, characterized in that, Applied to a router, the method includes: When the router and CPE are connected by wire, the router obtains the IP address of the CPE; The router establishes a communication channel with the CPE based on the CPE's IP address; The router connects to the device based on the Wi-Fi network provided by the router; When the device receives the first operation, the router configures the router's parameters; the first operation is used to configure the router's parameters. When the device receives the second operation, the router notifies the CPE to configure the parameters of the CPE based on the communication channel; the second operation is used to configure the network configuration parameters of the CPE.
13. The method according to claim 12, characterized in that, Before the router connects to the device based on the Wi-Fi network provided by the router, the following is also included: The router sends its wizard status to the CPE and retrieves the CPE's wizard status from the CPE based on the communication channel. After the router connects to the device based on the Wi-Fi network provided by the router, the following is also included: The router sends its wizard status and the CPE's wizard status to the device, instructing the device to display wizard information based on these statuses. The wizard status includes a configured state and a non-configured state. The wizard information includes first wizard information, second wizard information, and third wizard information. The first wizard information guides the user to configure both the router's parameters and the CPE's parameters simultaneously. The second wizard information guides the user to configure the router's parameters. The third wizard information guides the user to configure the CPE's parameters. A non-configured state for both the router and the CPE corresponds to the first wizard information. A configured state for both the router and the CPE corresponds to the second wizard information. A configured state for both the router and the CPE corresponds to the third wizard information.
14. The method according to claim 12 or 13, characterized in that, The method further includes: The device is not connected to the Wi-Fi network provided by the router, but is connected to the Wi-Fi network provided by the CPE. When the device receives the first operation, the router searches for the IP address of the CPE in the whitelist; If the whitelist includes the IP address of the CPE, the router receives indication information from the CPE based on the communication channel, and the router configures itself according to the indication information.
15. The method according to any one of claims 12-14, characterized in that, The router establishes a communication channel with the CPE based on the CPE's IP address, including: The router initiates a device discovery request to the CPE; The router receives the successful probe information returned by the CPE; The router initiates an encryption request to the CPE, the encryption request including a DTLS request; The router initiates registration with the CPE; Upon successful registration, the router establishes a communication channel with the CPE.
16. A parameter configuration method, characterized in that, Applied to CPE, the method includes: When the CPE and the router are connected by a wire, the CPE sends its IP address to the router. The CPE establishes a communication channel with the router based on the CPE's IP address; The CPE connects to the device based on the Wi-Fi network provided by the CPE; When the device receives the first operation, the CPE notifies the router to configure the router's parameters based on the communication channel; wherein, the first operation is used to configure the router's parameters; the router includes a whitelist, which includes the IP address of the CPE; When the device receives the second operation, the CPE configures the parameters of the CPE; the second operation is used to configure the parameters of the CPE.
17. The method according to claim 16, characterized in that, Before the CPE connects to the device based on the Wi-Fi network provided by the CPE, the following is also included: The CPE sends its wizard status to the router via the communication channel, and obtains the router's wizard status from the router. After the CPE connects to the device based on the Wi-Fi network provided by the CPE, the following is also included: The CPE sends the router's wizard status and the CPE's wizard status to the device, instructing the device to display wizard information based on the router's wizard status and the CPE's wizard status. The wizard status includes a configured state and a non-configured state. The wizard information includes first wizard information, second wizard information, and third wizard information. The first wizard information guides the user to simultaneously configure the router's network configuration parameters and the CPE's parameters. The second wizard information guides the user to configure the router's parameters. The third wizard information guides the user to configure the CPE's parameters. The router's wizard status and the CPE's wizard status are both in a non-configured state, corresponding to the first wizard information. The router's wizard status is in a non-configured state and the CPE's wizard status is in a configured state, corresponding to the second wizard information. The router's wizard status is in a configured state and the CPE's wizard status is in a non-configured state, corresponding to the third wizard information.
18. The method according to claim 16 or 17, characterized in that, When the device is not connected to the Wi-Fi network provided by the CPE, but is connected to the Wi-Fi network provided by the router, the method further includes: When the device receives the second operation, the CPE receives indication information from the router based on the communication channel, and the CPE configures itself according to the indication information.
19. The method according to any one of claims 16-18, characterized in that, The CPE establishes a communication channel with the router based on the CPE's IP address, including: In response to a device discovery request from the router, the CPE returns a successful detection message to the router; The CPE receives an encryption request from the router, the encryption request including a DTLS request; The CPE receives a registration request initiated by the router; Upon successful registration, the CPE establishes a communication channel with the router.
20. A device, characterized in that, The device includes: one or more processors and one or more memories; The one or more memories are used to store one or more programs, and the one or more processors call the one or more programs to cause the device to perform the method as described in any one of claims 1-11.
21. A router, characterized in that, The router includes: one or more processors and one or more memories; The one or more memories are used to store one or more programs, and the one or more processors call the one or more programs to cause the router to perform the method as described in any one of claims 12-15.
22. A CPE, characterized in that, The CPE includes: one or more processors and one or more memories; The one or more memories are used to store one or more programs, and the one or more processors call the one or more programs to cause the CPE to perform the method as described in any one of claims 16-19.