Configuration method, device and readable storage medium

CN119496705BActive Publication Date: 2026-06-16HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2023-08-17
Publication Date
2026-06-16

Smart Images

  • Figure CN119496705B_ABST
    Figure CN119496705B_ABST
Patent Text Reader

Abstract

The application provides a configuration method, device and readable storage medium, wherein the method comprises: establishing a wireless communication connection with a first device; receiving device information sent by the first device; the device information comprises a configuration state of the first device, a domain name of the first device, a configuration state of a second device connected with the first device and a domain name of the second device; if the configuration state of the first device is unconfigured and the configuration state of the second device is unconfigured, displaying one or more to-be-configured items of the first device based on the domain name of the first device and displaying one or more to-be-configured items of the second device based on the domain name of the second device; receiving first configuration information input by a user to the one or more to-be-configured items of the first device and receiving second configuration information input by the user to the one or more to-be-configured items of the second device; and sending the first configuration information and the second configuration information to the first device. The embodiment of the application can effectively improve the configuration efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a configuration method, device and readable storage medium. Background Technology

[0002] Currently, most indoor scenarios use an optical network unit (ONU) and an indoor router to provide network access to users. In this connection method, the ONU connects to the operator's fiber optic access network equipment on one end and to the indoor router on the other. However, due to the poor mobility of the ONU or the limited availability of operator fiber optic access network equipment in some areas, this method may not be suitable for various indoor scenarios. Customer premises equipment (CPE) is a highly mobile device that is independent of the availability of operator fiber optic access network equipment. It can directly receive mobile signals emitted by base stations and convert them into wireless fidelity (Wi-Fi) signals. When an outdoor CPE is connected to an indoor router, the indoor router can receive the Wi-Fi signal converted from the mobile signal by the outdoor CPE, and indoor users can use this Wi-Fi signal to access the internet.

[0003] Typically, with both the outdoor CPE and indoor router configured at their default settings, users can connect to the internet via the indoor router's Wi-Fi signal. However, due to the poor security of the default configuration, users can customize the configuration of both the outdoor CPE and indoor router before accessing the internet. For example, a user might first connect to and configure the outdoor CPE; then, disconnect from the outdoor CPE and establish a connection with the indoor router to configure it. This configuration method is inefficient, and improving configuration efficiency is a pressing issue. Summary of the Invention

[0004] This application provides a configuration method, device, and readable storage medium that can effectively improve configuration efficiency.

[0005] The first aspect provides a configuration method applied to a device, the method comprising:

[0006] Establish a wireless communication connection with the first device; receive device information sent by the first device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device; if the configuration status of the first device is not configured and the configuration status of the second device is not configured, then display one or more unconfigurable items of the first device based on the domain name of the first device, and display one or more unconfigurable items of the second device based on the domain name of the second device; receive first configuration information input by the user for one or more unconfigurable items of the first device, and receive second configuration information input by the user for one or more unconfigurable items of the second device; send the first configuration information and the second configuration information to the first device.

[0007] By implementing the method described in the first aspect, after establishing a wireless communication connection with the first device, the device can learn about the configuration status, domain name, and configuration status and domain name of the second device through the connected first device. Furthermore, when both the first and second devices are in an unconfigured state, the device receives first and second configuration information input by the user to configure both devices. In this process, the device does not need to disconnect from the first device or establish a connection with the second device; it can complete the configuration of both devices by establishing a connection with only one device, effectively improving configuration efficiency.

[0008] In conjunction with the first aspect, in one possible implementation, the method further includes: if the configuration status of the first device is unconfigured and the configuration status of the second device is configured, then displaying one or more unconfigurable items of the first device; receiving third configuration information input by the user for one or more unconfigurable items of the first device; and sending the third configuration information to the first device.

[0009] Based on this implementation, when the first device is not configured and the second device is configured, the device can receive the third configuration information of the first device through the connected first device, thereby configuring the first device.

[0010] In conjunction with the first aspect, in one possible implementation, the method further includes: if the configuration status of the first device is configured and the configuration status of the second device is unconfigured, then displaying one or more unconfigurable items of the second device; receiving fourth configuration information input by the user for one or more unconfigurable items of the second device; and sending the fourth configuration information to the first device.

[0011] Based on this implementation, when the first device is configured and the second device is not configured, the device does not need to disconnect the connected first device and establish a connection with the second device. Instead, it can receive the fourth configuration information of the second device through the connected first device, thereby configuring the second device and effectively improving the configuration efficiency.

[0012] In conjunction with the first aspect, in one possible implementation, displaying the configurable items of the first device based on the domain name of the first device, and displaying the configurable items of the second device based on the domain name of the second device, includes: displaying one or more configurable items of the first device in a first area of ​​the display interface based on the domain name of the first device; and displaying one or more configurable items of the second device in a second area of ​​the display interface based on the domain name of the second device.

[0013] Based on this implementation method, the configuration items of the first device and the configuration items of the second device can be displayed simultaneously in different areas of the same display interface. This method makes it possible for users to input the first configuration information and the second configuration information at the same time, and can reduce the operation of switching interfaces, thereby further improving the configuration efficiency.

[0014] In conjunction with the first aspect, in one possible implementation, the display interface of one or more configurable items on the first device is different from the display interface of one or more configurable items on the second device.

[0015] Based on this implementation method, the configuration items of the first device and the configuration items of the second device can be displayed on different display interfaces.

[0016] In conjunction with the first aspect, in one possible implementation, the first device is an outdoor customer pre-installation device (CPE) and the second device is an indoor router; or, the first device is an indoor router and the second device is an outdoor CPE.

[0017] Based on this implementation method, the device can establish a connection with either the outdoor CPE or the indoor router, and configure any devices not configured in either the outdoor CPE or the indoor router. This method is adaptable to different user choices regarding the devices connected to the device, effectively improving configuration adaptability.

[0018] The second aspect provides a configuration method applied to the first device, the method comprising:

[0019] Establish a wireless communication connection with the device; send device information to the device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device; if the configuration status of the first device is not configured, and the configuration status of the second device is not configured, then receive the first configuration information and the second configuration information sent by the device; the first configuration information is the configuration information input by the user for one or more items to be configured on the first device, and the second configuration information is the configuration information input by the user for one or more items to be configured on the second device; configure the first device based on the first configuration information; send the second configuration information to the second device, the second configuration information being used to configure the second device.

[0020] In conjunction with the second aspect, in one possible implementation, the method further includes: if the configuration status of the first device is unconfigured and the configuration status of the second device is configured, then receiving third configuration information sent by the devices; and configuring the first device based on the third configuration information.

[0021] In conjunction with the second aspect, in one possible implementation, the method further includes: if the configuration status of the first device is configured and the configuration status of the second device is unconfigured, then receiving the fourth configuration information sent by the device; sending the fourth configuration information to the second device, wherein the second configuration information is used to configure the second device.

[0022] In conjunction with the second aspect, in one possible implementation, the first device is an indoor router, and the second device is an outdoor customer pre-installation device (CPE). Before establishing a wireless communication connection with the device, the method further includes: sending a Dynamic Host Configuration Protocol (DHCP) request message to the second device; receiving a DHCP acknowledgment message sent by the second device, the DHCP acknowledgment message carrying the configuration status of the second device and the domain name of the second device; and storing the configuration status of the second device and the domain name of the second device.

[0023] Based on this implementation, during the DHCP message exchange process, the DHCP acknowledgment message sent by the outdoor CPE to the indoor router enables the indoor router to know the configuration status and domain name of the outdoor CPE based on the DHCP acknowledgment message. After the device connects to the indoor router, it can complete the configuration of one or more of the indoor router and outdoor CPE based on the device information stored in the indoor router.

[0024] In conjunction with the second aspect, in one possible implementation, the DHCP acknowledgment message is sent to the first device after the second device disables the broadcast of the Service Set Identifier (SSID).

[0025] Based on this implementation, during the DHCP message exchange process, the outdoor CPE can disable the broadcast of the Service Set Identifier (SSID). As a result, when the device searches for connectable devices, it will not find the outdoor CPE, and the device can establish a connection with the indoor router that it finds.

[0026] In conjunction with the second aspect, in one possible implementation, the first device is an outdoor CPE and the second device is an indoor router. Before establishing a wireless communication connection with the devices, the method further includes: receiving a DHCP request message sent by the second device, the DHCP request message carrying the configuration status of the second device and the domain name of the second device; and storing the configuration status of the second device and the domain name of the second device.

[0027] Based on this implementation, during the DHCP message exchange process, the indoor router sends a DHCP request message to the outdoor CPE, enabling the outdoor CPE to know the configuration status and domain name of the indoor router based on the DHCP request message. After the device connects to the outdoor CPE, it can complete the configuration of one or more of the indoor router and the outdoor CPE based on the device information stored in the outdoor CPE.

[0028] In conjunction with the second aspect, in one possible implementation, sending the second configuration information to the second device includes: sending the second configuration information to the second device after the first device and the second device have passed identity authentication.

[0029] Based on this implementation method, the second configuration information can be sent to the indoor router after the first and second devices have been successfully authenticated, which can ensure the security of the indoor router.

[0030] A third aspect provides an apparatus including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store program code that, when executed by the one or more processors, causes the apparatus to perform the methods of any possible implementation of the first aspect or the second aspect described above.

[0031] The fourth aspect provides a communication system including a device, a first device, and a second device, wherein the device is configured to perform a method in any possible implementation of the first aspect, and the first device is configured to perform a method in any possible implementation of the second aspect.

[0032] The fifth aspect provides a readable storage medium storing program code that, when run on a device, causes the device to perform the method in any possible implementation of the first aspect or the second aspect described above.

[0033] The sixth aspect provides a program product including program code that, when the program product is run on a device, causes the device to perform the methods in any of the above aspects or any possible implementations of the second aspect above. Attached Figure Description

[0034] Figure 1 This is a schematic diagram of the architecture of a communication system provided in an embodiment of this application;

[0035] Figure 2 This is a schematic diagram of the hardware structure of a device provided in an embodiment of this application;

[0036] Figures 3A-3I These are some interface diagrams provided in the embodiments of this application;

[0037] Figure 4 This is a flowchart illustrating a configuration method provided in an embodiment of this application;

[0038] Figure 5 This is a flowchart illustrating another configuration method provided in an embodiment of this application;

[0039] Figure 6 This is a flowchart illustrating another configuration method provided in an embodiment of this application;

[0040] Figures 7A-7C These are some other interface diagrams provided in the embodiments of this application. Detailed Implementation

[0041] The embodiments of this application will now be described with reference to the accompanying drawings.

[0042] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0043] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, 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 (item) 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 (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0044] To facilitate understanding of the embodiments of this application, the following is a description of the technical terms used in the embodiments of this application:

[0045] I. Configuration Wizard

[0046] A configuration wizard, also known as a setup wizard, is a function that guides users to configure a device. In this application, configuration refers to user-defined configuration, including custom modifications to the default configuration.

[0047] For devices that provide a configuration wizard function, the device displays a configuration wizard interface when triggered by a user. This configuration wizard interface includes various configurable items. In this embodiment, the configuration wizard in the device can guide the user to perform custom configuration of the customer front-end device (CPE) and / or router, including but not limited to one or more of device connection, network configuration, and routing configuration. The various configurable items in the configuration wizard interface include, but are not limited to, one or more of the following: connection method, Wi-Fi name, Wi-Fi password, media access control address (MAC), internet access method, channel, security options, and service set identifier (SSID). The user can input the configuration information of the CPE and / or router according to the various configurable items displayed in the configuration wizard interface. Correspondingly, the device can receive the configuration information of the CPE and / or router. The CPE can be configured based on its configuration information, and the router can be configured based on its configuration information. After the CPE and / or router complete the configuration, the device can prompt the user that the configuration is complete.

[0048] Optionally, the device can display one or more configuration wizard interfaces. When displaying a configuration wizard interface, the device can also display a switching control for that interface. The user can trigger this switching control to switch to any configuration wizard interface and configure the items to be configured in that interface.

[0049] Optionally, the user may trigger the display of the configuration wizard interface on the device in ways including but not limited to: touch trigger, voice trigger, or trigger via the device's peripheral devices (such as keyboard, remote control, etc.).

[0050] II. Dynamic Host Configuration Protocol (DHCP) Message Interaction

[0051] DHCP is a network management protocol used for the centralized dynamic management and configuration of Internet Protocol Addresses (IP addresses). DHCP employs a server / client management model, where a client sends an IP address configuration request to a server, and the server responds by dynamically assigning an IP address, subnet mask, and other parameters to the client. Specifically, this process involves the interaction of four types of messages between the server and the client: First, the client broadcasts a DHCP Discover message to various servers; each server receiving the DHCP Discover message selects an available IP address from an address pool within a network segment and sends it to the client via a DHCP Offer message; after receiving the first DHCP Offer message, the client sends a DHCP Request message to various servers to notify them that it has selected an IP address offered by a particular server; finally, when the selected server receives the DHCP Request message, it replies to the client with a DHCP Acknowledgment message (DHCP ACK message), indicating that the IP address from the DHCP Offer message has been assigned to the client.

[0052] In this embodiment, the outdoor CPE can interact with the indoor router via DHCP, enabling the outdoor CPE to dynamically assign IP addresses to the indoor router. Furthermore, by expanding the fields of the messages in the DHCP interaction, the outdoor CPE and / or the indoor router can know each other's domain names and configuration status, allowing users to configure one or more of these devices by connecting to the outdoor CPE or the indoor router.

[0053] It should be understood that the configuration status in this article includes configured or not configured. For example, configured is represented by 1 and not configured is represented by 0.

[0054] The communication system described in the embodiments of this application is as follows: The configuration method proposed in the embodiments of this application can be applied to... Figure 1 The communication system shown, such as Figure 1 As shown, the communication system includes device 101, device 102, and device 103. Device 101 is deployed outdoors, while devices 102 and 103 are deployed indoors. Device 101 and device 102 establish a communication connection.

[0055] Users can configure devices 101 and 102 that are not configured through device 103. After configuring devices 101 and 102, users can connect device 103 to device 102, which is also deployed indoors, and then access the Internet through device 102.

[0056] Optionally, when configuring devices 101 and 102 that are not configured, the user can establish a wireless communication connection with device 101 using device 103; or establish a wireless communication connection with device 102 using device 103. For example, the wireless communication connection is a Wi-Fi connection.

[0057] For example, Figure 1 In the communication system shown, device 103 can be connected to device 102 during both the configuration phase and the internet access phase: that is, after device 103 connects to the Wi-Fi of device 102, device 103 configures the unconfigured devices in device 101 and device 102 through the connected device 102; after both device 101 and device 102 have been configured, device 103 directly accesses the internet based on the Wi-Fi of the connected device 102.

[0058] Alternatively, as an example, device 103 can connect to device 101 during the configuration phase and then connect to device 102, which is also deployed indoors, during the internet access phase: that is, after device 103 connects to the Wi-Fi of device 101, device 103 configures the unconfigured devices in device 101 and device 102 through the connected device 101; after both device 101 and device 102 have completed configuration, device 103 disconnects from the Wi-Fi connection of device 101, and then device 103 connects to the Wi-Fi of device 102 and accesses the internet after connecting to the Wi-Fi of device 102.

[0059] Optionally, the connection methods for devices 101 and 102 can be direct connection via network cable, wireless connection, etc.

[0060] Optionally, there may be one or more devices that are not configured in devices 101 and devices 102.

[0061] For example, device 101 can be an outdoor customer pre-installation device (CPE), device 102 can be an indoor router, and device 103 can be a user's device (e.g., a smartphone, tablet, laptop, etc.).

[0062] Please see Figure 2 , Figure 2 This is a schematic diagram of the hardware structure of a device provided in an embodiment of this application. The device can be as described above. Figure 1 Device 101, Device 102 or Device 103.

[0063] For example, the device includes one or more processors 110 and one or more memories 120. The one or more memories 120 and the one or more processors 110 are coupled. The coupling in the embodiments of this application is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, for information exchange between devices, units, or modules.

[0064] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0065] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0066] Memory 120 is used to store program code and data. In some embodiments, memory 120 is a cache memory. This memory can store program code or data that the processor 110 has just used or that is used repeatedly. If the processor 110 needs to use the program code or data again, it can directly retrieve it from memory 120. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0067] The processor 110 may operate in conjunction with the memory 120, or at least one of the memory 120 may be included in the processor 110.

[0068] The device may also include a communication interface 130, which may optionally include a standard wired interface or a wireless interface (such as Wi-Fi or a mobile communication interface). The communication interface 130 is controlled by the processor 110 for sending and receiving data. The communication interface 130 may also optionally enable data or signal communication between internal devices of the device.

[0069] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the device. In other embodiments of this application, the device 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.

[0070] The following section, combining the aforementioned communication systems and specific application scenarios, will... Figures 3A to 3IThe user interaction process involved in the embodiments of this application is illustrated with examples:

[0071] After the user turns on the WLAN connection function in device 103, it can display Figure 3A The interface shown is Figure 3A The interface shown includes a list of available wireless local area networks (WLANs) detected by the device. The list includes four WLANs: CPE-001, Router-001, Router-002, and Router-003. CPE-001 (equivalent to device 101) is the WLAN identifier for the outdoor customer front-end device; Router-001 (equivalent to device 102) is the WLAN identifier for the indoor router. Both Router-001 and device 103 are located indoors, and Router-001 is connected to CPE-001; Router-002 and Router-003 are the WLAN identifiers for the remaining routers.

[0072] In one possible implementation, device 103 receives Figure 3B In operation 301, and in response to operation 301, connect to the CPE-001 WLAN via Wi-Fi technology; after device 103 successfully connects to CPE-001, device 103 displays... Figure 3C The interface shown includes a notification message indicating a successful connection to the CPE-001 (i.e., connected). Furthermore, the user can operate device 103 from... Figure 3C The interface shown switches to Figure 3D The interface shown is Figure 3D The interface shown includes system time, system date, weather, emails, gallery, smart living features, music, etc. Device 103 can receive... Figure 3D Operation 302 in the middle, and display in response to operation 302. Figure 3E The interface shown is in Figure 3EThe upper half of the interface displays the configuration wizard interface 303 for CPE-001, and the lower half displays the configuration wizard interface 304 for Router-001. Both the CPE-001 configuration wizard interface 303 and the Router-001 configuration wizard interface 304 include configuration guidance (i.e., ①. Device Connection — ②. Network Configuration — ③. Routing Configuration — ④. Configuration Complete), and prompts when the configuration guidance is in the first step (the first step is device connection) (i.e., 1. Please confirm whether it is connected to the LAN port of CPE-001 / WAN port of Router-001; 2. Please plug in the network cable firmly, or replace it with a different network cable; 3. If all of the above are confirmed, please retest), and a "Retest" control. Users can complete the device connection, network configuration, and routing configuration of CPE-001 and Router-001 according to the configuration guidance. After the CPE-001 and Router-001 are configured, the user can operate device 103 to display... Figure 3C The interface shown, and through the... Figure 3C In the middle, Router-001 performs a connection operation, causing device 103 to disconnect from CPE-001 and connect to the Router-001 WLAN via Wi-Fi technology. After device 103 successfully connects to Router-001, it can access the Internet through the Router-001 Wi-Fi signal. Optionally, when operating device 103 to connect to the Router-001 WLAN, the user also needs to enter Internet access verification information, such as the Wi-Fi password set during network configuration.

[0073] In another possible implementation, device 103 receives Figure 3F In operation 305, and in response to operation 305, connect to the WLAN of Router-001 via Wi-Fi technology; after device 103 successfully connects to Router-001, the device displays... Figure 3G The interface shown includes a notification message indicating a successful connection for Router-001 (i.e., connected). Furthermore, the user can operate device 103 from... Figure 3G The interface shown switches to Figure 3D The interface shown. Further, device 103 receives... Figure 3D Operation 302 in the middle, and display in response to operation 302. Figure 3E The interface in the middle, Figure 3EThe interface shown displays the configuration wizard interface 303 for CPE-001 in the upper half and the configuration wizard interface 304 for Router-001 in the lower half. Similarly, users can follow the configuration wizards in CPE-001 configuration wizard interface 303 and Router-001 configuration wizard interface 304 to complete the device connection, network configuration, and routing configuration for CPE-001 and Router-001. After CPE-001 and Router-001 are configured, device 103 can access the Internet through Router-001. Optionally, before accessing the Internet through Router-001, users need to enter verification information, such as the Wi-Fi password set during network configuration.

[0074] Optionally, the configuration wizard interfaces of CPE-001 and Router-001 can also be displayed in other ways. For example, the Router-001 configuration wizard interface can be displayed in the upper half of the interface, and CPE-001 in the lower half; or, the Router-001 configuration wizard interface can be displayed in the left half of the interface, and CPE-001 in the right half; or, the Router-001 configuration wizard interface can be displayed in the right half of the interface, and CPE-001 in the left half; or, the Router-001 configuration wizard interface can be displayed first, followed by the CPE-001 configuration wizard interface; or, the CPE-001 configuration wizard interface can be displayed first, followed by the Router-001 configuration wizard interface.

[0075] Optionally, if CPE-001 is not configured but Router-001 is configured, the configuration wizard interface for CPE-001 can be displayed, but the configuration wizard interface for Router-001 cannot be displayed. For example, device 103 can be configured as follows: Figure 3H The interface shown. Alternatively, device 103 can also use other display methods.

[0076] Optionally, if CPE-001 is configured but Router-001 is not, the configuration wizard interface for Router-001 can be displayed, while the configuration wizard interface for CPE-001 is not displayed. For example, device 103 can be configured as follows: Figure 3I The interface shown. Alternatively, device 103 can also use other display methods.

[0077] The following is through Figure 4 The configuration method proposed in this application is described below: Please refer to [link / reference]. Figure 4 , Figure 4 This is a flowchart illustrating a configuration method provided in an embodiment of this application. The method includes steps S401 to S408. Wherein:

[0078] S401, The device establishes a wireless communication connection with the first device.

[0079] Specifically, the device can turn on the WLAN switch and display the first device's WLAN in the list of available WLANs; after the user selects the first device's WLAN, the device establishes a wireless communication connection with the first device via Wi-Fi technology.

[0080] Optionally, the first device can be an indoor router or an outdoor CPE.

[0081] For example, if both the outdoor CPE and the indoor router have SSID broadcast enabled, the device can search for the WLANs of both the outdoor CPE and the indoor router. Accordingly, the device will display at least the WLANs of the indoor router and the outdoor CPE in the list of available WLANs. Users can select to connect to the indoor router's WLAN or the outdoor CPE's WLAN from the list of available WLANs, with the first device being the device corresponding to the WLAN selected by the user.

[0082] Alternatively, if the outdoor CPE disables SSID broadcasting and the indoor router enables SSID broadcasting, the device will not be able to find the outdoor CPE's WLAN, but it can find the indoor router's WLAN. Consequently, the device will display at least the indoor router's WLAN in the available WLAN list, and will not display the outdoor CPE's WLAN. Users can choose to connect to the indoor router's WLAN, with the indoor router being the first device selected.

[0083] S402, The first device sends device information to the device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device.

[0084] Optionally, when the first device is an indoor router, the second device is an outdoor CPE; when the first device is an outdoor CPE, the second device is an indoor router. The first and second devices can be connected via a direct network cable connection, wireless connection, or other methods.

[0085] The configuration status of the first device is either configured or not configured; the configuration status of the second device is either configured or not configured.

[0086] The domain name of the first device is the URL used to manage the first device. For example, by accessing the domain name, the device can display its configuration wizard interface. The configuration wizard interface includes one or more configurable items for the first device, allowing the user to configure it. Optionally, the first device may have one or more configuration wizard interfaces.

[0087] The domain name of the second device is the URL used to manage the second device. For example, by accessing the domain name, the device can display its configuration wizard interface. This interface includes one or more configurable items for the second device, allowing users to configure it. Optionally, the number of configuration wizard interfaces for the second device can be one or more.

[0088] In one possible implementation, after receiving a user's trigger operation, the device can send a device information retrieval message to the first device; then, the first device, in response to the retrieval message, sends device information to the device. For example, the device may have a management application installed for managing the first and second devices, and the user's trigger operation could be the user launching the management application. For example, after successfully connecting to the first device, the device can switch the display to [other devices] based on user actions. Figure 3D The interface shown is in Figure 3D In the process, when the device receives the user's operation 302 on the Smart Life APP, the device sends a device information acquisition message to the first device, where operation 302 is used to start Smart Life.

[0089] In another possible implementation, after successfully connecting to the first device, the device can automatically send a device information retrieval message to the first device; then, the first device responds to the retrieval message by returning the device information. For example, the device displays... Figure 3C Then, it automatically sends a device information retrieval message to the first device; and retrieves the device information returned by the first device based on the retrieval message.

[0090] Optionally, before the first device sends device information to the second device, the first device may interact with the second device, enabling the first device to receive and store the configuration status and domain name of the second device; and upon receiving a device information retrieval message from the device, the first device sends to the device the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device. This interaction process will be carried out through the following... Figure 5 Corresponding embodiments and Figure 6 The corresponding implementation examples are described below.

[0091] S403. If the configuration status of the first device is not configured and the configuration status of the second device is not configured, then the device displays one or more unconfigurable items of the first device based on the domain name of the first device, and displays one or more unconfigurable items of the second device based on the domain name of the second device.

[0092] In this context, one or more configurable items for the first device refer to one or more items that require configuration by the user; one or more configurable items for the second device refer to one or more items that require configuration by the user. The device can display one or more configurable items for the first device by displaying the configuration wizard interface of the first device, which includes one or more configurable items for the first device; and it can also display one or more configurable items for the second device by displaying the configuration wizard interface of the second device, which includes one or more configurable items for the second device.

[0093] For example, the configuration wizard interface of the first device and the configuration wizard interface of the second device include, but are not limited to, interfaces corresponding to one or more of the following: device connection, network configuration, routing configuration, and configuration completion. The device can automatically switch to the next interface after detecting that the previous interface has been configured. For example, for Figure 3E The interface shown is the CPE-001 configuration wizard interface 303. When the device detects that the device connection is correct, the display can switch from the CPE-001 device connection interface to the CPE-001 network configuration interface.

[0094] Optionally, switching between the interfaces corresponding to device connection, network configuration, routing configuration, and configuration completion can also be triggered by an "interface switching" control. For example, users can operate the "interface switching" control to switch to the next interface while completing configuration on the previous one. Alternatively, during the configuration process, users can switch from any interface to other interfaces by operating the "interface switching" control. This method allows for more flexible configuration order during the configuration process.

[0095] Furthermore, the configuration items included in these interfaces include, but are not limited to, one or more of the following: device connection, Wi-Fi name, Wi-Fi password, media access control address (MAC), internet access method, channel settings, security option settings, and service set identifier (SSID) settings.

[0096] In a first possible implementation, the device displays one or more configurable items of the first device based on the domain name of the first device, and displays one or more configurable items of the second device based on the domain name of the second device, including: displaying one or more configurable items of the first device in a first area of ​​the display interface based on the domain name of the first device; and displaying one or more configurable items of the second device in a second area of ​​the display interface based on the domain name of the second device.

[0097] Specifically, the device can access the configuration wizard interface of the first device based on the domain name of the first device, and then display the configuration wizard interface of the first device in the first area of ​​the display interface. The configuration wizard interface of the first device includes one or more items to be configured for the first device. At the same time, the device can access the configuration wizard interface of the second device based on the domain name of the second device, and then display the configuration wizard interface of the second device in the second area of ​​the display interface. The configuration wizard interface of the second device includes one or more items to be configured for the second device.

[0098] The first area and the second area of ​​the display interface are different, and the division between the first and second areas is a preset division method. For example, in the preset division method, the first area is the upper half of the display interface, and the second area is the lower half of the display interface, such as in a device display... Figure 3E The interface shown. Alternatively, the first area is the left half of the display interface; the second area is the right half of the display interface; and so on. Based on this method, the device can simultaneously display the configuration items of the first device and the configuration items of the second device in different areas of the same display interface. This method makes it possible for users to simultaneously input the first configuration information and the second configuration information, and can reduce the operation of interface switching, further improving configuration efficiency. For example, the device displays... Figure 3E The interface shown allows users to compare... Figure 3E The device connection prompts for both CPE-001 and Router-001 confirm that CPE-001 is connected to the WAN port of Router-001 and Router-001 is connected to the LAN port of CPE-001. After both CPE-001 and Router-001 device connections are configured, the devices display the network configuration interfaces for both Router-001 and CPE-001. This configuration method facilitates user comparison and confirmation of the configurations for CPE-001 and Router-001, improving configuration accuracy.

[0099] In the second possible implementation, the display interface for the configuration items on the first device is different from that on the second device. Specifically, the device may first display all the configuration wizard interfaces of the first device (for example, sequentially displaying the device connection interface, network configuration interface, routing configuration interface, and configuration completion interface of the first device) before displaying the configuration wizard interface of the second device.

[0100] Optionally, if the configuration wizard interfaces of the first device and the second device are of the same type, then the device will display one or more configurable items of the first device and one or more configurable items of the second device in a split-screen manner according to the first possible implementation method described above; otherwise, the device will first display one or more configurable items of one of the first devices and one of the second devices in sequence, and then display one or more configurable items of the other device in sequence, according to the second possible implementation method described above.

[0101] For example, when developing configuration wizard interfaces for a first device and a second device, if the number of configuration wizard interfaces for the first device is the same as the number of configuration wizard interfaces for the second device, and the content included in the configuration wizard interfaces is similar, then the configuration wizard interfaces for the first device and the second device belong to the same type of configuration wizard interface. For instance, if both the Router-001 and CPE-001 configuration wizard interfaces include four interfaces, and these four interfaces are, in order, a device connection interface, a network configuration interface, a routing configuration interface, and a configuration completion interface, then the Router-001 and CPE-001 configuration wizard interfaces belong to the same type of interface. Conversely, if the Router-001 configuration wizard interface includes one interface (this one interface includes all the content that needs to be configured and can be browsed by scrolling up and down), and the CPE-001 configuration wizard interface includes four interfaces, then the Router-001 and CPE-001 configuration wizard interfaces do not belong to the same type of interface.

[0102] S404. The device receives first configuration information input by the user for one or more configuration items to be configured on the first device, and receives second configuration information input by the user for one or more configuration items to be configured on the second device.

[0103] The first configuration information is used to configure the first device, and the second configuration information is used to configure the second device. This configuration includes, but is not limited to, device connection configuration, network configuration, and routing configuration.

[0104] If the device displays one or more configurable items from the first device and one or more configurable items from the second device using the first possible implementation method described above, then the device may first receive the first configuration wizard interface from the first device (e.g., ...). Figure 3E The first configuration information of the interface connecting the two devices, the second configuration information of the first configuration wizard interface of the second device; and then receiving the second configuration wizard interface of the first device (such as...). Figure 3E The first configuration information of the network configuration interface and the second configuration information of the second configuration wizard interface of the second device; and so on.

[0105] If the device displays the configuration items of the first device and the second device using the second possible implementation method described above, the device can receive the second configuration information after receiving the first configuration information.

[0106] S405, The device sends first configuration information and second configuration information to the first device.

[0107] Optionally, the device may send the first configuration information and the second configuration information to the first device in real time upon receiving the first configuration information and the second configuration information. Alternatively, the device may send the first configuration information and the second configuration information to the first device after receiving all of the first configuration information and the second configuration information.

[0108] Accordingly, the first device can receive the first configuration information and the second configuration information sent by the device.

[0109] S406. The first device configures itself based on the first configuration information.

[0110] Optionally, after configuration is complete, the first device can send a configuration completion notification message to the device, and the device will display a prompt indicating that the first device has completed configuration based on this notification message. For example, for Figure 3E In the upper half of the CPE-001 configuration wizard interface 303 shown, after the device sends the first configuration information of device connection, network configuration and routing configuration to CPE-001 and CPE-001 completes the configuration, the device can receive a notification message that the CPE-001 has completed the configuration, and thus display the content corresponding to the interface "④. Configuration Complete" in the upper half of the display interface.

[0111] S407. The first device sends the second configuration information to the second device.

[0112] The first device can forward the received second configuration information to the second device; correspondingly, the second device can receive the second configuration information sent by the first device.

[0113] S408. The second device configures itself based on the second configuration information.

[0114] Optionally, after the second device is configured, it can send a configuration completion notification message to the first device, and the device can then display a prompt indicating that the second device has completed the configuration based on the notification message.

[0115] Optionally, after the first and second devices are configured, the device can access the Internet using either the first or the second device. For example, after both the first and second devices are configured, the device can display a prompt indicating that it can access the Internet via either the first or the second device, allowing the user to operate the device to access the Internet based on the prompt.

[0116] For example, the device displays a prompt message indicating that the user can access the Internet through the first device. This prompt message includes entering the Wi-Fi password of the first device. The user then enters the Wi-Fi password of the first device, and if the entered Wi-Fi password is correct, the user can establish a connection with the first device and access the Internet through the device.

[0117] Alternatively, the device may display a prompt indicating that internet access can be accessed via a second device, including whether to switch to connecting to the second device. Once the user confirms switching, the device prompts the user to enter the second device's Wi-Fi password. If the user enters the correct password, a connection can be established between the device and the second device, allowing internet access.

[0118] Optionally, the device may display the device with the better signal quality between the first and second devices as the device that can access the internet. For example, for an indoor device, the indoor router has a better signal quality than the outdoor CPE, so the device may display a message indicating that internet access can be accessed through the indoor router.

[0119] based on Figure 4 In the described embodiment, after establishing a wireless communication connection with the first device, the device can learn about the configuration status, domain name, and configuration status and domain name of the second device through the connected first device. Furthermore, when both the first and second devices are not configured, the device receives first and second configuration information input by the user to configure both devices. During this process, the device does not need to disconnect from the first device or establish a connection with the second device; it can complete the configuration of both devices by establishing a connection with only one device, effectively improving configuration efficiency.

[0120] The following is through Figure 5 Using the first device as an indoor router and the second device as an outdoor CPE, for Figure 4 The configuration method shown is described in further detail below: Please refer to [link / reference]. Figure 5 , Figure 5 This is a flowchart illustrating another configuration method provided in an embodiment of this application. The method includes steps S501 to S511.

[0121] in:

[0122] S501: The indoor router sends a Dynamic Host Configuration Protocol (DHCP) request message to the outdoor CPE.

[0123] In the DHCP message exchange, the indoor router can first broadcast a DHCP discovery message to the outdoor CPE; then the indoor router receives a DHCP offer message from the outdoor CPE; in response to the DHCP offer message, the indoor router sends a DHCP request message to the outdoor CPE.

[0124] S502. The outdoor CPE sends a DHCP acknowledgment message to the indoor router. The DHCP acknowledgment message carries the configuration status of the outdoor CPE and the domain name of the outdoor CPE.

[0125] After receiving the DHCP request message from the indoor router, the outdoor CPE sends a DHCP acknowledgment message to the indoor router and extends the fields of the DHCP acknowledgment message, which carry the configuration status and domain name of the outdoor CPE.

[0126] Optionally, the outdoor CPE can disable SSID broadcasting before sending a DHCP acknowledgment message to the indoor router. This way, when searching the list of available WLANs, the device will only search for the indoor router's WLAN, not the outdoor CPE's. This method facilitates guiding users to connect to the indoor router, which is also deployed indoors, during the configuration phase, eliminating the need to switch connected devices after configuration is complete and reducing user operational complexity.

[0127] S503, the indoor router stores the configuration status of the outdoor CPE and the domain name of the outdoor CPE.

[0128] The indoor router receives DHCP acknowledgment messages from the outdoor CPE and parses the fields in the DHCP acknowledgment messages to obtain the configuration status and domain name of the outdoor CPE. The indoor router then stores the obtained configuration status and domain name of the outdoor CPE.

[0129] Optionally, the indoor router can also store its own configuration status and domain name.

[0130] S504. The device establishes a wireless communication connection with the indoor router.

[0131] S505, the indoor router sends device information to the device.

[0132] S506. If the configuration status of the indoor router is not configured and the configuration status of the outdoor CPE is not configured, the device displays one or more unconfigurable items of the indoor router based on the domain name of the indoor router, and displays one or more unconfigurable items of the outdoor CPE based on the domain name of the outdoor CPE.

[0133] S507. The device receives first configuration information input by the user for one or more configuration items to be configured on the indoor router, and receives second configuration information input by the user for one or more configuration items to be configured on the outdoor CPE.

[0134] S508: The device sends the first configuration information and the second configuration information to the indoor router.

[0135] S509: The indoor router is configured based on the first configuration information.

[0136] Optionally, after the indoor router is configured, the stored configuration status of the indoor router can be modified, and the modified configuration status of the indoor router will be "configured".

[0137] S510, the indoor router sends the second configuration information to the outdoor CPE.

[0138] S511, the outdoor CPE is configured based on the second configuration information.

[0139] Optionally, after the outdoor CPE is configured, the indoor router can send a configuration completion notification message to the device. Based on this notification message, the device displays a prompt that the outdoor CPE is configured. Furthermore, the indoor router modifies the stored configuration status of the outdoor CPE, and the modified configuration status of the outdoor CPE is set to "configured".

[0140] The implementation methods of S504 to S511 can be referred to the implementation methods of S401 to S408, and will not be elaborated here.

[0141] Based on this implementation, during the DHCP message exchange process, the DHCP acknowledgment message sent by the outdoor CPE to the indoor router enables the indoor router to know the configuration status and domain name of the outdoor CPE. After the device connects to the indoor router, it can complete the configuration of the indoor router and the outdoor CPE based on the device information stored in the indoor router.

[0142] The following is through Figure 6 Using the first device as an outdoor CPE and the second device as an indoor router, for Figure 6 The configuration method shown is described in further detail below: Please refer to [link / reference]. Figure 6 , Figure 6 This is a flowchart illustrating another configuration method provided in an embodiment of this application. The method includes steps S601 to S613.

[0143] in:

[0144] S601: The indoor router sends a Dynamic Host Configuration Protocol (DHCP) request message to the outdoor CPE. The DHCP request message carries the configuration status of the indoor router and the domain name of the indoor router.

[0145] In the DHCP message exchange, the indoor router can first broadcast a DHCP discovery message to the outdoor CPE; then the indoor router receives a DHCP offer message from the outdoor CPE; in response to the DHCP offer message, the indoor router sends a DHCP request message to the outdoor CPE, and carries the configuration status and domain name of the indoor router in the extended fields of the DHCP request message.

[0146] S602, the outdoor CPE sends a DHCP confirmation message to the indoor router.

[0147] After receiving a DHCP request message from the indoor router, the outdoor CPE sends a DHCP acknowledgment message to the indoor router.

[0148] The S603 outdoor CPE stores the configuration status of the indoor router and the domain name of the indoor router.

[0149] The outdoor CPE obtains the configuration status and domain name of the indoor router by parsing the fields in the received DHCP request message, and then stores the configuration status and domain name of the indoor router.

[0150] Optionally, the outdoor CPE also stores its own configuration status and domain name.

[0151] S604, outdoor CPE and indoor router authenticate each other.

[0152] In this embodiment, when the outdoor CPE and indoor router are connected via a direct Ethernet cable, one end of the cable connects to the LAN port of the outdoor CPE, and the other end connects to the WAN port of the indoor router. Since the indoor router accesses data from the outdoor CPE through the WAN port during subsequent configuration—that is, it manages the indoor router through the WAN port—this poses a security risk. Therefore, authentication between the indoor router and the outdoor CPE is required. This application does not limit the authentication method.

[0153] S605: After successful authentication between the indoor router and the outdoor CPE, enable WAN port listening.

[0154] S606. The device establishes a wireless communication connection with the outdoor CPE.

[0155] S607. The outdoor CPE sends equipment information to the device.

[0156] S608. If the configuration status of the outdoor CPE is not configured and the configuration status of the indoor router is not configured, the device displays one or more unconfigurable items of the outdoor CPE based on the domain name of the outdoor CPE, and displays one or more unconfigurable items of the indoor router based on the domain name of the indoor router.

[0157] S609. The device receives first configuration information input by the user for one or more configuration items to be configured on the outdoor CPE, and receives second configuration information input by the user for one or more configuration items to be configured on the indoor router.

[0158] S610, the device sends the first configuration information and the second configuration information to the outdoor CPE.

[0159] S611, the outdoor CPE is configured based on the first configuration information.

[0160] Optionally, after the outdoor CPE is configured, the configuration status of the stored outdoor CPE can be modified. The modified outdoor CPE will then be set to "configured".

[0161] S612, the outdoor CPE sends the second configuration information to the indoor router.

[0162] S613, the indoor router is configured based on the second configuration information.

[0163] Specifically, the indoor router can listen through the enabled WAN port to receive the second configuration information and configure the indoor router based on the second configuration information.

[0164] Optionally, after configuring the indoor router, you can also disable WAN port listening. This effectively prevents external attacks on the WAN port from affecting the indoor router, thereby improving its security.

[0165] Optionally, after the indoor router completes its configuration, it can also send a configuration completion notification message to the device via the outdoor CPE. Based on this notification message, the device displays a prompt that the indoor router has been configured. Furthermore, the outdoor CPE modifies the stored configuration status of the indoor router, and the modified configuration status of the indoor router is set to "configured".

[0166] Based on this implementation, during the DHCP message exchange process, the indoor router can send a DHCP request message to the outdoor CPE, enabling the outdoor CPE to know the configuration status and domain name of the indoor router. After the device connects to the outdoor CPE, it can complete the configuration of one or more of the indoor router and the outdoor CPE based on the device information stored in the outdoor CPE.

[0167] It is understandable that, in addition to the above Figure 5 or Figure 6 In the illustrated implementation, the indoor router and outdoor CPE can also send their own configuration status and domain name to each other during the DHCP message exchange process. This ensures that both the indoor router and the outdoor CPE store the configuration status and domain name of both devices. Once a device establishes a connection with either the outdoor CPE or the indoor router, it can configure both devices. This method is adaptable to different user choices regarding the devices connected to the device, effectively improving configuration versatility.

[0168] For example, before executing steps S401 to S408 above, the indoor router sends a Dynamic Host Configuration Protocol (DHCP) request message to the outdoor CPE. The DHCP request message carries the configuration status and domain name of the indoor router. The outdoor CPE receives and parses the DHCP request message, then stores its own configuration status and the domain name of the indoor router. Next, the outdoor CPE sends a DHCP acknowledgment message to the indoor router. The DHCP acknowledgment message carries the configuration status and domain name of the outdoor CPE. The indoor router receives and parses the DHCP acknowledgment message, then stores its own configuration status and the domain name of the outdoor CPE. Then, the user selects either the indoor router or the outdoor CPE as the first device; correspondingly, any unselected device becomes the second device, thus enabling the devices to perform the above operations. Figure 4 The corresponding implementation involves configuring the indoor router and the outdoor CPE.

[0169] The above embodiments describe the configuration method when neither the first device nor the second device is configured. The following provides supplementary information on the cases where the first device is not configured alone, the second device is not configured alone, and both the first and second devices are configured:

[0170] 1. The first device (e.g., outdoor CPE) is not configured, while the second device (e.g., indoor router) is configured.

[0171] In one possible implementation, the device establishes a wireless communication connection with the first device; the first device sends device information to the device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device; if the configuration status of the first device is not configured and the configuration status of the second device is configured, the device displays one or more unconfigurable items of the first device; the device receives third configuration information input by the user for one or more unconfigurable items of the first device; the device sends the third configuration information to the first device; the first device performs configuration based on the third configuration information.

[0172] The third configuration information can be referred to the description of the first configuration information in the above embodiments, and the third configuration information may be the same as or different from the first configuration information.

[0173] Optionally, when displaying one or more configurable items for the first device, the device may display the configuration wizard interface of the first device on the display screen, but not the configuration wizard interface of the second device. For example, the device may display as follows: Figure 3H The interface shown.

[0174] Optionally, when displaying the configuration items for the first device, the device may display the configuration wizard interface for the first device and the configuration wizard interface for the second device that has already been configured. For example, if the first device is CPE-001 and the second device is Router-001, then the device displays... Figure 7A The interface shown includes a device connection interface in the CPE-001 configuration wizard interface 701. This interface includes a prompt message indicating that the network cable is not connected to the LAN port of CPE-001-001 when the device connection is not configured. Since Router-001 has been configured, a configuration completion interface is displayed in the Router-001 configuration wizard interface 702. This configuration completion interface includes a prompt indicating that Router-001 has been configured (i.e., Router-001 has been configured).

[0175] 2. The first device (e.g., outdoor CPE) is configured, but the second device (e.g., indoor router) is not configured.

[0176] In one possible implementation, the device establishes a wireless communication connection with a first device; the first device sends device information to the device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device; if the configuration status of the first device is configured and the configuration status of the second device is not configured, the device displays one or more unconfigurable items of the second device; receives fourth configuration information input by the user for one or more unconfigurable items of the second device; sends the fourth configuration information to the first device; the first device sends the fourth configuration information to the second device; and the second device performs configuration based on the fourth configuration information.

[0177] The fourth configuration information can be referred to the description of the second configuration information in the above embodiments, and the fourth configuration information may be the same as or different from the second configuration information.

[0178] Optionally, when displaying one or more configurable items for the second device, the device may display the configuration wizard interface of the second device on the display screen, but not the configuration wizard interface of the first device. For example, the device may display as follows: Figure 3H The interface shown.

[0179] Optionally, when displaying the configuration items for the second device, the device may display both the configuration wizard interface for the second device and the configuration wizard interface for the first device that has already been configured. For example, if the first device is CPE-001 and the second device is Router-001, then the device displays... Figure 7B The interface shown indicates that since CPE-001 has been configured, a configuration completion screen is displayed in CPE-001 configuration wizard interface 703, which includes a prompt indicating that CPE-001 has been configured (i.e., CPE-001 has been configured). In Router-001 configuration wizard interface 704, a device connection screen is displayed, which includes a prompt indicating that the network cable is not connected to the Router-001's WAN port if the device connection is not configured.

[0180] 3. The first device has been configured, and the second device has been configured.

[0181] In one possible implementation, the device establishes a wireless communication connection with a first device; the first device sends device information to the device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device; if the configuration status of the first device is configured and the configuration status of the second device is configured, the device can display the management card of the first device and the management card of the second device, for example, the device displays... Figure 7C The interface shown. (As shown) Figure 7CAs shown, the device's interface includes management card 705 for CPE-001, management card 706 for Router-001, and management card 707 for adding a new device. Management card 705 for CPE-001 displays the name, connection status, configuration status, and a control 708 for "View detailed configuration information." Management card 706 for Router-001 displays the name, connection status, configuration status, and a control 709 for "View detailed configuration information." Users can trigger either control 708 or control 709 to display the configuration wizard interface indicating that CPE-001 or Router-001 has been configured. Figure 7A The configuration wizard interface 702 for Router-001 is a pre-configured configuration wizard interface for Router-001.

[0182] Optionally, for the above three situations, before connecting the device to the first device, the first device may also perform the following: Figure 5 S501 to S503 in the corresponding embodiments or Figure 6 In the corresponding embodiment, steps S601-S605 involve DHCP message exchange with the second device so that device information can be stored in the first device. The device can then establish a connection with the first device, thereby configuring any unconfigured devices in either the first or second device. This method is adaptable to different user choices regarding the devices connected to the device, effectively improving configuration adaptability.

[0183] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0184] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0185] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0186] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0187] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium. The aforementioned storage medium may include: USB flash drive, portable hard drive, magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), and other media capable of storing program code.

[0188] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A configuration method, characterized by, Applied to a device, the method includes: Establish a wireless communication connection with the first device; Receive device information sent by the first device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device. If the configuration status of the first device is not configured, and the configuration status of the second device is not configured, then one or more unconfigurable items of the first device are displayed based on the domain name of the first device, and one or more unconfigurable items of the second device are displayed based on the domain name of the second device; wherein, the one or more unconfigurable items of the first device are used to prompt the user to configure one or more of the following: the physical connection method between the first device and the second device, the network parameters of the first device, or the routing parameters of the first device; the one or more unconfigurable items of the second device are used to prompt the user to configure one or more of the following: the physical connection method between the first device and the second device, the network parameters of the second device, or the routing parameters of the second device; Receive first configuration information input by the user for one or more configuration items to be configured on the first device, and receive second configuration information input by the user for one or more configuration items to be configured on the second device; The first configuration information and the second configuration information are sent to the first device. The first configuration information is used to configure the first device, and the second configuration information is used to be sent to the second device via the first device to configure the second device.

2. The method of claim 1, wherein, The method further includes: If the configuration status of the first device is not configured and the configuration status of the second device is configured, then one or more unconfigurable items of the first device are displayed; Receive third configuration information input by the user for one or more configurable items of the first device; The third configuration information is sent to the first device.

3. The method of claim 1, wherein, The method further includes: If the configuration status of the first device is configured and the configuration status of the second device is not configured, then one or more unconfigurable items of the second device are displayed; Receive fourth configuration information input by the user for one or more configurable items of the second device; The fourth configuration information is sent to the first device.

4. The method according to any one of claims 1 to 3, characterized in that, The display of one or more configurable items of the first device based on the domain name of the first device, and the display of one or more configurable items of the second device based on the domain name of the second device, include: Based on the domain name of the first device, one or more configurable items of the first device are displayed in the first area of ​​the display interface; Based on the domain name of the second device, one or more configurable items of the second device are displayed in the second area of ​​the display interface.

5. The method according to any one of claims 1 to 3, characterized in that, The display interface of one or more configurable items on the first device is different from the display interface of one or more configurable items on the second device.

6. The method according to any one of claims 1-3, characterized in that, The first device is an outdoor customer pre-installation device (CPE) and the second device is an indoor router; or, the first device is an indoor router and the second device is an outdoor CPE.

7. A configuration method, characterized by, Applied to a first device, the method includes: Establish a wireless communication connection with the device; Send device information to the device; the device information includes the configuration status of the first device, the domain name of the first device, the configuration status of the second device connected to the first device, and the domain name of the second device; If both the first and second devices are configured, then the system receives first and second configuration information sent by the devices. The first configuration information is configuration information input by the user for one or more configurable items on the first device, and the second configuration information is configuration information input by the user for one or more configurable items on the second device. The one or more configurable items on the first device are used to prompt the user to configure one or more of the following: the physical connection method between the first and second devices, the network parameters of the first device, or the routing parameters of the first device. The one or more configurable items on the second device are used to prompt the user to configure one or more of the following: the physical connection method between the first and second devices, the network parameters of the second device, or the routing parameters of the second device. Based on the first configuration information, the first device is configured; The second configuration information is sent to the second device, and the second configuration information is used to configure the second device.

8. The method of claim 7, wherein, The method further includes: If the configuration status of the first device is not configured and the configuration status of the second device is configured, then the third configuration information sent by the device is received. The first device is configured based on the third configuration information.

9. The method of claim 7, wherein, The method further includes: If the configuration status of the first device is configured and the configuration status of the second device is not configured, then the fourth configuration information sent by the device is received. The fourth configuration information is sent to the second device, and the fourth configuration information is used to configure the second device.

10. The method according to any one of claims 7-9, characterized in that, The first device is an indoor router, and the second device is an outdoor customer pre-installation device (CPE). Before establishing a wireless communication connection with the device, the method further includes: Send a Dynamic Host Configuration Protocol (DHCP) request message to the second device; Receive a DHCP confirmation message sent by the second device, the DHCP confirmation message carrying the configuration status of the second device and the domain name of the second device; Store the configuration status of the second device and the domain name of the second device.

11. The method according to claim 10, characterized in that, The DHCP confirmation message is sent to the first device after the second device disables the Service Set Identifier (SSID) broadcast.

12. The method according to any one of claims 7-9, characterized in that, The first device is an outdoor CPE, the second device is an indoor router, and before establishing a wireless communication connection with the devices, the method further includes: Receive a DHCP request message sent by the second device, wherein the DHCP request message carries the configuration status of the second device and the domain name of the second device; Store the configuration status of the second device and the domain name of the second device.

13. The method according to claim 12, characterized in that, Sending the second configuration information to the second device includes: After the first device and the second device have successfully authenticated each other, the second configuration information is sent to the second device.

14. A device, characterized in that, The device includes: one or more processors, and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store program code that, when the one or more processors execute the program code, causes the device to perform the method as claimed in any one of claims 1-6 or 7-13.

15. A readable storage medium, characterized in that, Includes program code that, when run on the device, causes the device to perform the method as claimed in any one of claims 1-6 or 7-13.