Configuration method and device and readable storage medium
By establishing a wireless communication connection between the outdoor CPE and the indoor router, and directly receiving and sending configuration information, the problem of low configuration efficiency in the prior art is solved, and a more efficient and adaptable configuration process is achieved.
Patent Information
- Application Number
- CN202311053342.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2043-08-17
AI Technical Summary
In the prior art, the configuration efficiency of outdoor CPE and indoor router is low, and users need to gradually connect and configure various devices, resulting in complex and time-consuming operations.
The device establishes a wireless communication connection with an outdoor CPE or an indoor router through the device, receives device information to determine the item to be configured, and allows the user to synchronize the input configuration information, and directly sends configuration information to the device to complete the configuration.
This method effectively improves configuration efficiency, reduces the complexity and time-consuming of user operations, and can display multiple configuration items at the same time, supporting configuration adaptability of different devices.
Smart Images

Figure CN119496705A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a configuration method, device and readable storage medium. Background Art
[0002] At present, most indoor scenarios use the connection method of optical network unit and indoor router to provide users with network. In this connection method, one end of the optical network unit is connected to the operator's optical access network equipment, and the other end is connected to the indoor router. However, due to the poor mobility of the optical network unit or the lack of popularity of the operator's optical access network equipment in some areas, the above method may not be suitable for various indoor scenarios. Customer premise equipment (CPE) is a device with strong mobility and does not rely on the popularity of the operator's optical access network equipment. It can directly receive the mobile signal sent by the base station and convert the mobile signal into a wireless fidelity (wireless fidelity, Wi-Fi) signal. When the outdoor CPE is connected to the indoor router, the indoor router can receive the Wi-Fi signal converted from the mobile signal by the outdoor CPE, and the indoor users can use the Wi-Fi signal to access the Internet.
[0003] Usually, when the outdoor CPE and indoor router are both in default configuration, users can access the Internet by connecting to the Wi-Fi signal of the indoor router through the device. However, since the default configuration is less secure, users can customize the outdoor CPE and indoor router and access the Internet after the customized configuration. For example, the user first connects to the outdoor CPE through the device and configures the outdoor CPE; then, the user disconnects from the outdoor CPE and establishes a connection with the indoor router through the device to configure the indoor router. It can be seen that this configuration method is inefficient, and how to improve the configuration efficiency has become one of the problems to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a configuration method, a device, and a readable storage medium, which can effectively improve configuration efficiency.
[0005] A first aspect provides a configuration method, which is applied to a device, and the method includes:
[0006] Establish a wireless communication connection with a first device; receive device information sent by the first device; the device information includes a configuration status of the first device, a domain name of the first device, a configuration status of a second device connected to the first device, and a domain name of the second device; if the configuration status of the first device is unconfigured, and the configuration status of the second device is unconfigured, then display one or more items to be configured of the first device based on the domain name of the first device, and display one or more items to be configured of the second device based on the domain name of the second device; receive first configuration information input by a user for one or more items to be configured of the first device, and receive second configuration information input by a user for one or more items to be configured 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 the device establishes a wireless communication connection with the first device, the device can know the configuration status of the first device, the domain name of the first device, the configuration status of the second device, and the domain name of the second device through the connected first device. In addition, when the configuration status of the first device is unconfigured and the configuration status of the second device is unconfigured, the device receives the first configuration information and the second configuration information input by the user to configure the first device and the second device. In this process, the device does not need to disconnect from the first device and establish a connection with the second device. The device can complete the configuration of the first device and the second device by establishing a connection with one device, which can effectively improve the configuration efficiency.
[0008] In combination with the first aspect, in a possible implementation, the method also includes: if the configuration status of the first device is unconfigured and the configuration status of the second device is configured, displaying one or more items to be configured of the first device; receiving third configuration information input by the user for one or more items to be configured 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 may receive the third configuration information of the first device through the connected first device, thereby configuring the first device.
[0010] In combination with the first aspect, in a possible implementation, the method also includes: if the configuration status of the first device is configured and the configuration status of the second device is unconfigured, displaying one or more items to be configured of the second device; receiving fourth configuration information input by the user for one or more items to be configured of the second device; and sending the fourth configuration information to the first device.
[0011] Based on this implementation method, when the first device has been configured and the second device has not been configured, the device no longer needs to disconnect the connected first device to establish a connection with the second device, but can receive the fourth configuration information of the second device through the connected first device, thereby configuring the second device, effectively improving the configuration efficiency.
[0012] In combination with the first aspect, in a possible implementation method, the to-be-configured items of the first device are displayed based on the domain name of the first device, and the to-be-configured items of the second device are displayed based on the domain name of the second device, including: based on the domain name of the first device, displaying one or more to-be-configured items of the first device in a first area of the display interface; based on the domain name of the second device, displaying one or more to-be-configured items of the second device in a second area of the display interface.
[0013] Based on this implementation method, the to-be-configured items of the first device and the to-be-configured items of the second device can be displayed simultaneously in different areas of the same display interface. This method makes it possible for the user to synchronously input the first configuration information and the second configuration information, and can reduce the operation of interface switching, further improving configuration efficiency.
[0014] In combination with the first aspect, in a possible implementation manner, a display interface of one or more items to be configured on the first device is different from a display interface of one or more items to be configured on the second device.
[0015] Based on this implementation, the to-be-configured items of the first device and the to-be-configured items of the second device may be displayed on different display interfaces.
[0016] In combination with the first aspect, in a possible implementation manner, the first device is an outdoor customer premise equipment 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, the device can establish a connection with any of the outdoor CPE and the indoor router, and can configure the unconfigured devices in the outdoor CPE and the indoor router. This method can adapt to the different choices of the device to which the device is connected, effectively improving the adaptability of the configuration.
[0018] A second aspect provides a configuration method, which is applied to a first device, and the method includes:
[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 unconfigured, and the configuration status of the second device is unconfigured, 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 of the first device, and the second configuration information is the configuration information input by the user for one or more items to be configured of the second device; configure the first device based on the first configuration information; send the second configuration information to the second device, and the second configuration information is used to configure the second device.
[0020] In combination with the second aspect, in a possible implementation, the method further includes: if the configuration state of the first device is unconfigured and the configuration state of the second device is configured, receiving third configuration information sent by the device; and configuring the first device based on the third configuration information.
[0021] In combination with the second aspect, in a possible implementation, the method also includes: if the configuration status of the first device is configured and the configuration status of the second device is unconfigured, receiving fourth configuration information sent by the device; sending the fourth configuration information to the second device, and the second configuration information is used to configure the second device.
[0022] In combination with the second aspect, in a possible implementation, the first device is an indoor router, and the second device is an outdoor customer premise equipment CPE. Before establishing a wireless communication connection with the device, the method also includes: sending a Dynamic Host Configuration Protocol DHCP request message to the second device; receiving 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; storing the configuration status of the second device and the domain name of the second device.
[0023] Based on this implementation method, during the interaction of DHCP messages, the DHCP confirmation message sent by the outdoor CPE to the indoor router can enable the indoor router to know the configuration status and domain name of the outdoor CPE based on the DHCP confirmation message, and after the device is connected to the indoor router, the configuration of one or more of the indoor router and the outdoor CPE can be completed based on the device information stored in the indoor router.
[0024] In conjunction with the second aspect, in a possible implementation manner, the DHCP confirmation message is sent to the first device after the second device turns off the service set identifier SSID broadcast.
[0025] Based on this implementation, during the interaction of DHCP messages, the outdoor CPE can turn off the service set identifier SSID broadcast, so that when the device searches for connectable devices, it will not search for the outdoor CPE, and the device can establish a connection with the searched indoor router.
[0026] In combination with the second aspect, in a 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 device, the method also 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; storing the configuration status of the second device and the domain name of the second device.
[0027] Based on this implementation method, during the interaction of DHCP messages, the indoor router can send a DHCP request message to the outdoor CPE, so that the outdoor CPE can know the configuration status and domain name of the indoor router based on the DHCP request message, and after the device is connected to the outdoor CPE, the device 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 combination with the second aspect, in a possible implementation manner, sending the second configuration information to the second device includes: after the first device and the second device are authenticated, sending the second configuration information to the second device.
[0029] Based on this implementation, after the first device and the second device are authenticated, the second configuration information can be sent to the indoor router. This method can ensure the security of the indoor router.
[0030] A third aspect provides a device, comprising 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 codes, and when the one or more processors execute the program codes, the device executes the method in any possible implementation of the first aspect or the second aspect.
[0031] A fourth aspect provides a communication system, including a device, a first device, and a second device, wherein the device is used to execute the method in any possible implementation of the first aspect, and the first device is used to execute the method in any possible implementation of the second aspect.
[0032] A fifth aspect provides a readable storage medium, which stores program code. When the program code runs on a device, the device executes a method in any possible implementation of the first aspect or the second aspect.
[0033] A sixth aspect provides a program product, including a program code. When the program product runs on a device, the device executes a method in any possible implementation of any of the above aspects or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
[0035] Figure 2 It is a schematic diagram of the hardware structure of a device provided in an embodiment of the present application;
[0036] Figure 3A-Figure 3I These are some interface schematic diagrams provided in the embodiments of the present application;
[0037] Figure 4 It is a flowchart of a configuration method provided in an embodiment of the present application;
[0038] Figure 5 It is a flowchart of another configuration method provided in an embodiment of the present application;
[0039] Figure 6 It is a flowchart of another configuration method provided in an embodiment of the present application;
[0040] Figure 7A-7C These are some other interface schematic diagrams provided in the embodiments of the present application. DETAILED DESCRIPTION
[0041] The embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0042] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0043] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers 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 mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0044] To facilitate understanding of the embodiments of the present application, the professional terms involved in the embodiments of the present application are first introduced below:
[0045] 1. Configuration Wizard
[0046] The configuration wizard, also known as the setup wizard, refers to a function that guides users to configure the device. The configuration in this application refers to user-defined configuration, including customized modifications to the default configuration.
[0047] For a device that can provide a configuration wizard function, the device displays a configuration wizard interface when triggered by the user, and the configuration wizard interface includes various items to be configured. In an embodiment of the present application, the configuration wizard in the device can guide the user to perform custom configuration on the customer premise equipment CPE and / or router, including but not limited to one or more of device connection, network configuration, and routing configuration. The various items to be configured in the configuration wizard interface include but are not limited to: one or more of connection mode, wireless fidelity (wireless fidelity, Wi-Fi) name, Wi-Fi password, media access control address (media access control address, MAC), Internet access mode, channel, security options, service set identifier (slervice set identifier, SSID), etc. The user can enter the configuration information of the CPE and / or router according to the various items to be configured displayed on the configuration wizard interface, and accordingly, the device can receive the configuration information of the CPE and / or router. Among them, the CPE can be configured based on the configuration information of the CPE, and the router can be configured based on the configuration information of the router. After the CPE and / or router completes the configuration, the device can prompt the user that the configuration is complete.
[0048] Optionally, the number of configuration wizard interfaces may be one or more, and when displaying the configuration wizard interface, the device may also display a switch control for the configuration wizard interface. The user may trigger the switch control to switch to any configuration wizard interface and configure the items to be configured in any configuration wizard interface.
[0049] Optionally, the user triggers the device to display the configuration wizard interface in a manner including, but not limited to, touch triggering, voice triggering, or triggering through a peripheral device of the device (such as a keyboard, remote control, etc.).
[0050] 2. Dynamic Host Configuration Protocol (DHCP) message interaction
[0051] DHCP is a network management protocol used to centrally manage and configure Internet Protocol addresses (IP addresses) dynamically. DHCP adopts a server / client management mode, that is, the client initiates an IP address configuration request to the server, and the server responds to the IP address configuration request and dynamically allocates parameters such as IP address and subnet mask to the client. Specifically, the process involves the interaction of four types of messages between the server and the client: first, the client broadcasts a DHCP discovery message (i.e., DHCP DISCOVER message) to each server; each server that receives the DHCP discovery message selects an available IP address from the address pool of a network segment and sends it to the client through a DHCP offer message (i.e., DHCP OFFER message); after the client receives the first DHCP OFFER message, it sends a DHCP request message (i.e., DHCP REQUEST message) to each server to notify it that it has selected the IP address provided by a certain server; finally, when the selected server receives the DHCP request message, the server replies to the client with a DHCP confirmation message (i.e., DHCP ACK message), indicating that the IP address in the above DHCP offer message has been allocated to the client for use.
[0052] In the embodiment of the present application, the outdoor CPE can perform DHCP interaction with the indoor router, so that the outdoor CPE can dynamically allocate an IP address to the indoor router. In addition, by expanding the fields of the message in the DHCP interaction, the outdoor CPE and / or the indoor router can know the domain names and configuration status of both parties, so that the user can complete the configuration of one or more of the two 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 unconfigured, for example, configured is represented by 1 and unconfigured is represented by 0.
[0054] The communication system in the embodiment of the present application is introduced as follows: The configuration method proposed in the embodiment of the present application can be applied to Figure 1 The communication system shown in Figure 1 As shown, the communication system includes device 101, device 102 and device 103. Device 101 is deployed outdoors, and devices 102 and 103 are deployed indoors. Device 101 establishes a communication connection with device 102.
[0055] The user can configure the unconfigured devices in device 101 and device 102 through device 103. After the configuration of device 101 and device 102 is completed, the user can establish a connection between device 103 and device 102 which is also deployed indoors, and then surf the Internet through device 102.
[0056] Optionally, when configuring an unconfigured device in device 101 and device 102, the user may use device 103 to establish a wireless communication connection with device 101, or use device 103 to establish a wireless communication connection with device 102. 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 the configuration stage and the Internet access stage: that is, after device 103 is connected to the Wi-Fi of device 102, device 103 configures unconfigured devices in device 101 and device 102 through the connected device 102; when device 101 and device 102 have completed the configuration, device 103 directly accesses the Internet based on the Wi-Fi of the connected device 102.
[0058] Or, for example, device 103 may be connected to device 101 during the configuration phase, and then connected to device 102 which is also deployed indoors during the Internet access phase: that is, after device 103 is connected to the Wi-Fi of device 101, device 103 configures unconfigured devices in device 101 and device 102 through the connected device 101; when both device 101 and device 102 have completed the 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 method between the device 101 and the device 102 may be a direct connection method via a network cable, a wireless connection method, or the like.
[0060] Optionally, the number of unconfigured devices in device 101 and device 102 may be one or more.
[0061] For example, device 101 may be an outdoor customer premise equipment (CPE), device 102 may be an indoor router, and device 103 may be a user's device (eg, a smart phone, a tablet computer, a portable computer, etc.).
[0062] See also Figure 2 , Figure 2 is a schematic diagram of the hardware structure of a device provided in an embodiment of the present application, which can be the above-mentioned Figure 1 Device 101, device 102 or device 103 in.
[0063] For example, the device includes one or more processors 110 and one or more memories 120. One or more memories 120 are coupled to one or more processors 110. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
[0064] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. 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. The interface 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] The memory 120 is used to store program codes and data. In some embodiments, the memory 120 is a cache memory. The memory can store program codes or data that have just been used or are cyclically used by the processor 110. If the processor 110 needs to use the program code or data again, it can be directly called from the memory 120. This avoids repeated access, 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 one or more memories 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, a wireless interface (such as Wi-Fi, a mobile communication interface, etc.), and the communication interface 130 is controlled by the processor 110 to send and receive data; the communication interface 130 may optionally also realize data or signal communication between internal devices of the device.
[0069] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the device. In other embodiments of the present application, the device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0070] In combination with the above communication system and specific application scenarios, Figure 3A to Figure 3IThe interactive process involved in the embodiment of the present application is introduced by way of example:
[0071] When the user turns on the WLAN connection function in the device 103, the Figure 3A The interface shown, Figure 3A The interface shown includes a list of available wireless local area networks (WLANs) detected by the device, and the list of available WLANs includes four WLANs, namely, CPE-001, Rounter-001, Rounter-002, and Rounter-003. Among them, CPE-001 (equivalent to device 101) is the WLAN identifier of the outdoor customer front-end device, Rounter-001 (equivalent to device 102) is the WLAN identifier of the indoor router, Rounter-001 and device 103 are both located indoors, and Rounter-001 is connected to CPE-001; Rounter-002 and Rounter-003 are the WLAN identifiers of the remaining routers.
[0072] In one possible implementation, the device 103 receives Figure 3B In operation 301, in response to operation 301, the device 103 is connected to the WLAN of CPE-001 through Wi-Fi technology; after the device 103 is successfully connected to CPE-001, the device 103 displays Figure 3C The interface shown includes a prompt message that CPE-001 is successfully connected (ie, connected). Further, the user can operate device 103 from Figure 3C The interface shown switches to Figure 3D The interface shown, Figure 3D The interface shown includes system time, system date, weather, email, gallery, smart life, music, etc. Device 103 can receive Figure 3D In operation 302, and in response to operation 302, display Figure 3E The interface shown in Figure 3EThe upper area of the interface shown displays the configuration wizard interface 303 of CPE-001, and the lower area displays the configuration wizard interface 304 of Rounter-001. Both the configuration wizard interface 303 of CPE-001 and the configuration wizard interface 304 of Rounter-001 include configuration guidance (i.e.: ①. Device connection—②. Network configuration—③. Routing configuration—④. Configuration completed), as well as prompt information 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 Rounter-001; 2. Please plug in the network cable tightly, or replace a network cable; 3. If all of the above are confirmed, please re-test), and a "Re-test" control. Users can complete the device connection, network configuration, and routing configuration of CPE-001 and Rounter-001 according to the configuration guidance. After the configuration of CPE-001 and Rounter-001 is completed, the user can operate device 103 to display Figure 3C The interface shown in the figure, and through Figure 3C Rounter-001 performs a connection operation, so that device 103 is disconnected from CPE-001 and connected to Rounter-001 WLAN through Wi-Fi technology; after device 103 is successfully connected to Rounter-001, device 103 can access the Internet through Rounter-001's Wi-Fi signal. Optionally, when the user operates device 103 to connect to Rounter-001 WLAN, he or she also needs to enter Internet access verification information, such as the Wi-Fi password set during network configuration.
[0073] In another possible implementation, the device 103 receives Figure 3F In operation 305, in response to operation 305, the device 103 is connected to the WLAN of Rounter-001 through Wi-Fi technology; after the device 103 is successfully connected to Rounter-001, the device displays Figure 3G The interface shown includes a prompt message that Rounter-001 is successfully connected (ie, connected). Further, the user can operate the device 103 from Figure 3G The interface shown switches to Figure 3D Further, the device 103 receives Figure 3D In operation 302, and in response to operation 302, display Figure 3E The interface in Figure 3EThe interface shown has a configuration wizard interface 303 of CPE-001 in the upper area, and a configuration wizard interface 304 of Rounter-001 in the lower area. Similarly, the user can complete the device connection, network configuration, and routing configuration of CPE-001 and Rounter-001 according to the configuration guides in the configuration wizard interface 303 of CPE-001 and the configuration wizard interface 304 of Rounter-001. After the configuration of CPE-001 and Rounter-001 is completed, the device 103 can access the Internet through Rounter-001. Optionally, before the user accesses the Internet through Rounter-001, he or she needs to enter the Internet verification information, such as the Wi-Fi password set during the network configuration.
[0074] Optionally, the configuration wizard interface of CPE-001 and the configuration wizard interface of Rounter-001 can also be displayed in other ways. For example, the configuration wizard interface of Rounter-001 is displayed in the upper half of the interface, and CPE-001 is displayed in the lower half of the interface; or, the configuration wizard interface of Rounter-001 is displayed in the left half of the interface, and CPE-001 is displayed in the right half of the interface; or, the configuration wizard interface of Rounter-001 is displayed in the right half of the interface, and CPE-001 is displayed in the left half of the interface; or, the configuration wizard interface of Rounter-001 is displayed first and then the configuration wizard interface of CPE-001 is displayed; or, the configuration wizard interface of CPE-001 is displayed first and then the configuration wizard interface of Rounter-001 is displayed.
[0075] Optionally, if CPE-001 is not configured and Rounter-001 is configured, the configuration wizard interface of CPE-001 may be displayed, but the configuration wizard interface of Rounter-001 may not be displayed. Figure 3H Alternatively, the device 103 may also adopt other display modes.
[0076] Optionally, if CPE-001 has been configured and Rounter-001 has not been configured, the configuration wizard interface of Rounter-001 may be displayed, and the configuration wizard interface of CPE-001 may not be displayed. Fig. 3I Alternatively, the device 103 may also adopt other display modes.
[0077] Below through Figure 4 For an introduction to the configuration method proposed in this application: see Figure 4 , Figure 4 4 is a flow chart of a configuration method provided in an embodiment of the present application. The method includes S401 to S408. Among them:
[0078] S401: A device establishes a wireless communication connection with a first device.
[0079] Specifically, the device can turn on the WLAN switch and display the WLAN of the first device in the available WLAN list; after the user selects the WLAN of the first device, the device establishes a wireless communication connection with the first device through Wi-Fi technology.
[0080] Optionally, the first device is an indoor router or the first device is an outdoor CPE.
[0081] For example, if both the outdoor CPE and the indoor router enable the service set identifier SSID broadcast, the device can search for the WLANs of the outdoor CPE and the indoor router. Accordingly, the device displays at least the WLANs of the indoor router and the outdoor CPE in the available WLAN list. The user can select a device from the available WLAN list to connect to the WLAN of the indoor router or the WLAN of the outdoor CPE, and the first device is the device corresponding to the WLAN selected by the user.
[0082] Alternatively, if the outdoor CPE turns off the SSID broadcast and the indoor router turns on the SSID broadcast, the device cannot search for the WLAN of the outdoor CPE but can search for the WLAN of the indoor router. Accordingly, the device displays at least the WLAN of the indoor router in the available WLAN list but does not display the WLAN of the outdoor CPE. The user can choose to connect to the WLAN of the indoor router, and the first device is the indoor router.
[0083] S402. The first device sends device information to the device; the device information includes a configuration state of the first device, a domain name of the first device, a configuration state of a second device connected to the first device, and a 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 device and the second device can be connected by a direct network cable connection, a wireless connection, or the like.
[0085] The configuration status of the first device is configured or unconfigured; the configuration status of the second device is configured or unconfigured.
[0086] The domain name of the first device is a website address for managing the first device. For example, the device can display a configuration wizard interface of the first device by accessing the domain name of the first device. The configuration wizard interface of the first device includes one or more items to be configured of the first device so that the user can configure the first device. Optionally, the number of configuration wizard interfaces of the first device is one or more.
[0087] The domain name of the second device is a website address for managing the second device. For example, the device can display a configuration wizard interface of the second device by accessing the domain name of the second device. The configuration wizard interface of the second device includes one or more items to be configured of the second device so that the user can configure the second device. Optionally, the number of configuration wizard interfaces of the second device is one or more.
[0088] In a possible implementation, after receiving a trigger operation from the user, the device may send a message to obtain device information to the first device; then, in response to the acquisition message, the first device sends device information to the device. For example, the device may be installed with a management application for managing the first device and the second device, and the user's trigger operation may be the user's startup operation of the management application. For example, after the device successfully connects to the first device, the device may switch the display to Figure 3D The interface shown in Figure 3D In the embodiment, 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 the operation 302 is used to start the smart life.
[0089] In another possible implementation, after successfully connecting to the first device, the device may automatically send a message to obtain device information to the first device; then the first device returns the device information to the device in response to the message. Figure 3C Afterwards, a device information acquisition message is automatically sent to the first device; and the device information returned by the first device based on the acquisition message is acquired.
[0090] Optionally, before the first device sends device information to the device, the first device may interact with the second device, so that the first device can receive and store the configuration status of the second device and the domain name of the second device; and when receiving the device information acquisition message sent by the device, send 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 to the device. This interaction process will be carried out through the following Figure 5 The corresponding embodiments and Figure 6 The corresponding embodiments are introduced.
[0091] S403: If the configuration status of the first device is unconfigured and the configuration status of the second device is unconfigured, the device displays one or more items to be configured of the first device based on the domain name of the first device, and displays one or more items to be configured of the second device based on the domain name of the second device.
[0092] Among them, the one or more items to be configured of the first device refer to one or more contents that the user needs to configure on the first device; the one or more items to be configured of the second device refer to one or more contents that the user needs to configure on the second device. The device may display the one or more items to be configured of the first device by displaying the configuration wizard interface of the first device, and the configuration wizard interface of the first device includes the one or more items to be configured of the first device; and display the one or more items to be configured of the second device by displaying the configuration wizard interface of the second device, and the configuration wizard interface of the second device includes the one or more items to be configured of 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, one or more corresponding interfaces of device connection, network configuration, routing configuration, and configuration completion. The device may automatically switch to the next interface after detecting that the configuration of the previous interface is completed. Figure 3E In the interface shown, the configuration wizard interface 303 of CPE-001, when the device detects that the device is connected correctly, the device can switch the display from the device connection interface of CPE-001 to the network configuration interface of CPE-001.
[0094] Optionally, the switching of interfaces corresponding to one or more of device connection, network configuration, routing configuration, and configuration completion can also be triggered by the "interface switching" control. For example, the user can operate the "interface switching" control to switch to the next interface when the configuration of the previous interface is completed. Alternatively, during the configuration process, the user can switch from any interface to the remaining interfaces by operating the "interface switching" control. This method can make the order of user configuration more flexible during the configuration process.
[0095] In addition, the items to be configured in the above-mentioned interfaces include but are not limited to: one or more of: device connection, Wi-Fi name, Wi-Fi password, media access control address (MAC), Internet access method, channel setting, security option setting, service set identifier (SSID) setting, etc.
[0096] In a first possible implementation, the device displays one or more items to be configured of the first device based on the domain name of the first device, and displays one or more items to be configured of the second device based on the domain name of the second device, including: based on the domain name of the first device, displaying one or more items to be configured of the first device in a first area of the display interface; based on the domain name of the second device, displaying one or more items to be configured of the second device in a second area of the display interface.
[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, and the configuration wizard interface of the first device includes one or more items to be configured of 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, and the configuration wizard interface of the second device includes one or more items to be configured of the second device.
[0098] The first area of the display interface is different from the second area of the display interface, and the first area and the second area are divided in a preset division manner. For example, in the preset division manner, the first area is the upper half of the display interface, and the second area is the lower half of the display interface. 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 items to be configured of the first device and the items to be configured of the second device in different areas of the same display interface. This method makes it possible for the user to input the first configuration information and the second configuration information simultaneously, and can reduce the operation of interface switching, further improving the configuration efficiency. For example, the device displays Figure 3E The interface shown in the figure, and then the user compares Figure 3E The prompt information of the device connection of CPE-001 and the prompt information of the device connection of Rounter-001 are displayed, confirming that CPE-001 is connected to the WAN port of Rounter-001, and Rounter-001 is connected to the LAN port of CPE-001; after the device connection of CPE-001 and the device connection of Rounter-001 are configured, the device displays the network configuration interface of Rounter-001 and the network configuration interface of CPE-001. This configuration method is convenient for users to compare and confirm the configuration of CPE-001 and Rounter-001, which can improve the accuracy of configuration.
[0099] In a second possible implementation, the display interface of the items to be configured of the first device is different from the display interface of the items to be configured of the second device. Specifically, the device may first display all the configuration wizard interfaces of the first device (for example, sequentially display the device connection interface, network configuration interface, routing configuration interface, and configuration completion interface of the first device), and then display the configuration wizard interface of the second device.
[0100] Optionally, if the configuration wizard interfaces of the first device and the second device belong to the same type of configuration wizard interface, the device displays one or more items to be configured of the first device and one or more items to be configured of the second device in split screen according to the first possible implementation method mentioned above; otherwise, the device first displays one or more items to be configured of one of the first device and the second device in sequence, and then displays one or more items to be configured of the other of the first device and the second device in sequence in accordance with the second possible implementation method mentioned above.
[0101] For example, when developing the configuration wizard interface of the first device and the configuration wizard interface of the second device, the number of the configuration wizard interface of the first device is the same as the number of the configuration wizard interface of the second device, and the content included in the configuration wizard interface is similar, the configuration wizard interface of the first device and the configuration wizard interface of the second device belong to the same type of configuration wizard interface. For example, the configuration wizard interface of Rounter-001 and the configuration wizard interface of CPE-001 both include four interfaces, and the four interfaces are respectively the device connection interface, the network configuration interface, the routing configuration interface and the configuration completion interface, then the configuration wizard interface of Rounter-001 and the configuration wizard interface of CPE-001 belong to the same type of interface. On the contrary, when the configuration wizard interface of Rounter-001 includes one interface (this interface includes all the content that needs to be configured, which can be browsed by sliding up and down), and the configuration wizard interface of CPE-001 includes four interfaces, then the configuration wizard interface of Rounter-001 and the configuration wizard interface of CPE-001 do not belong to the same type of interface.
[0102] S404: The device receives first configuration information input by a user for one or more items to be configured on a first device, and receives second configuration information input by a user for one or more items to be configured on a 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. The configuration includes but is not limited to: device connection, network configuration, and routing configuration.
[0104] If the device uses the first possible implementation method to display one or more items to be configured of the first device and one or more items to be configured of the second device, the device may first receive a first configuration wizard interface of the first device (such as Figure 3E The first configuration information of the interface connected to the device in the middle), 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 of the second device and the second configuration information of the second configuration wizard interface of the second device; and so on.
[0105] If the device displays the to-be-configured items of the first device and the to-be-configured items of the second device using the second possible implementation manner, the device may 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 when receiving the first configuration information and the second configuration information. Alternatively, the device sends the first configuration information and the second configuration information to the first device after receiving all the first configuration information and the second configuration information.
[0108] Accordingly, the first device may receive the first configuration information and the second configuration information sent by the device.
[0109] S406: The first device configures the first device based on the first configuration information.
[0110] Optionally, after the configuration is completed, the first device may send a configuration completion notification message to the device, and the device displays a prompt indicating that the configuration of the first device is completed based on the notification message. Figure 3E In the upper area where the configuration wizard interface 303 of CPE-001 is 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 configuration of CPE-001 is completed, thereby displaying the content corresponding to the interface "④. Configuration Completed" in the upper area of the display interface.
[0111] S407: The first device sends second configuration information to the second device.
[0112] The first device may forward the received second configuration information to the second device; correspondingly, the second device may receive the second configuration information sent by the first device.
[0113] S408: The second device configures the second device based on the second configuration information.
[0114] Optionally, after the configuration of the second device is completed, the first device may send a notification message of configuration completion to the device, and the device may display a prompt indicating that the configuration of the second device is completed based on the notification message.
[0115] Optionally, after the first device and the second device are configured, the device can access the Internet based on the first device or the second device. For example, after the first device and the second device are configured, the device can display a prompt message that the user can access the Internet through the first device or the second device, so that the user can operate the device to access the Internet according to the prompt message.
[0116] For example, the device displays a prompt message that allows Internet access through the first device, and the prompt message includes entering the Wi-Fi password of the first device. Then the user enters the Wi-Fi password of the first device, and when the entered Wi-Fi password is correct, the device can establish a connection with the first device and access the Internet.
[0117] Alternatively, the device displays a prompt message that the user can access the Internet through the second device, and the prompt message includes whether to switch to connecting to the second device to access the Internet. After the user determines to switch to connecting to the second device to access the Internet, the device prompts the user to enter the Wi-Fi password of the second device. When the user enters the correct Wi-Fi password for the second device, the user can establish a connection with the second device through the device and access the Internet.
[0118] Optionally, the device displayed by the device as the device that can access the Internet is the device with better signal quality between the first device and the second device. For example, for a device located indoors, the signal quality of the indoor router is better between the outdoor CPE and the indoor router, so the device displays a prompt message that the Internet can be accessed through the indoor router.
[0119] based on Figure 4 In the described embodiment, after the device establishes a wireless communication connection with the first device, it can know the configuration status of the first device, the domain name of the first device, the configuration status of the second device, and the domain name of the second device through the connected first device. In addition, when the configuration status of the first device is unconfigured and the configuration status of the second device is unconfigured, the device receives the first configuration information and the second configuration information input by the user to configure the first device and the second device. In this process, the device does not need to disconnect from the first device and establish a connection with the second device. The device can complete the configuration of the first device and the second device by establishing a connection with one device, which can effectively improve the configuration efficiency.
[0120] Below through Figure 5 , the first device is an indoor router, the second device is an outdoor CPE, Figure 4 The configuration method shown is further described: See Figure 5 , Figure 5 It is a flowchart of another configuration method provided by an embodiment of the present application. The method includes S501 to S511.
[0121] in:
[0122] S501. The indoor router sends a Dynamic Host Configuration Protocol DHCP request message to the outdoor CPE.
[0123] Among them, 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 sent by 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 confirmation message to the indoor router. The DHCP confirmation 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 confirmation message to the indoor router and extends the field of the DHCP confirmation message. The extended field of the DHCP confirmation message carries the configuration status and domain name of the outdoor CPE.
[0126] Optionally, the outdoor CPE can also turn off the service set identifier SSID broadcast before sending a DHCP confirmation message to the indoor router. In this way, when the device searches for the list of available WLANs, it will not search for the WLAN of the outdoor CPE, but only the WLAN of the indoor router. This method can easily guide users to connect to the indoor router that is also deployed indoors during the configuration phase, so that after the configuration is completed, there is no need to switch the connected device, reducing the complexity of the user's operation.
[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 the DHCP confirmation message from the outdoor CPE and obtains the configuration status and domain name of the outdoor CPE by parsing the fields in the DHCP confirmation message. The indoor router then stores the obtained configuration status and domain name of the outdoor CPE.
[0129] Optionally, the indoor router may 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 unconfigured and the configuration status of the outdoor CPE is unconfigured, the device displays one or more items to be configured of the indoor router based on the domain name of the indoor router, and displays one or more items to be configured 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 items to be configured of the indoor router, and receives second configuration information input by the user for one or more items to be configured of 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 configures the indoor router based on the first configuration information.
[0136] Optionally, after completing the configuration of the indoor router, the stored configuration state of the indoor router may be modified, and the configuration state of the indoor router after modification is configured.
[0137] S510: The indoor router sends second configuration information to the outdoor CPE.
[0138] S511. The outdoor CPE configures the outdoor CPE based on the second configuration information.
[0139] Optionally, after completing the configuration, the outdoor CPE may also send a configuration completion notification message to the device through the indoor router. Based on the notification message, the device displays a prompt indicating that the outdoor CPE configuration is completed; and the indoor router modifies the stored configuration status of the outdoor CPE, and the modified configuration status of the outdoor CPE is configured.
[0140] The implementation of S504 to S511 may refer to the implementation of S401 to S408, and will not be described in detail here.
[0141] Based on this implementation method, during the interaction of DHCP messages, the DHCP confirmation message sent by the outdoor CPE to the indoor router can make the indoor router aware of the configuration status and domain name of the outdoor CPE, and after the device is connected to the indoor router, the configuration of the indoor router and the outdoor CPE can be completed based on the device information stored in the indoor router.
[0142] Below through Figure 6 , the first device is an outdoor CPE, the second device is an indoor router, Figure 6 The configuration method shown is further described: See Figure 6 , Figure 6 It is a flowchart of another configuration method provided by an embodiment of the present application. The method includes 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] Among them, 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 sent by the outdoor CPE; in response to the DHCP offer message, the indoor router sends a DHCP request message to the outdoor CPE, and by extending the field of the DHCP request message, the configuration status and domain name of the indoor router are carried in the extended field of the DHCP request message.
[0146] S602: The outdoor CPE sends a DHCP confirmation message to the indoor router.
[0147] After receiving the DHCP request message sent by the indoor router, the outdoor CPE sends a DHCP confirmation message to the indoor router.
[0148] S603: The 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 of the indoor router and the domain name of the indoor router by parsing the fields in the received DHCP request message, and stores the configuration status of the indoor router and the domain name of the indoor router.
[0150] Optionally, the outdoor CPE also stores its own configuration status and domain name.
[0151] S604: The outdoor CPE performs identity authentication with the indoor router.
[0152] In the embodiment of the present application, when the outdoor CPE and the indoor router are connected by direct network cable connection, one end of the network cable is connected to the LAN port of the outdoor CPE, and the other end is connected 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, the indoor router is managed through the WAN port, which poses a security risk, the indoor router needs to authenticate the outdoor CPE. This application does not limit the authentication method.
[0153] S605: After the indoor router and outdoor CPE pass identity authentication, enable WAN port monitoring.
[0154] S606: The device establishes a wireless communication connection with the outdoor CPE.
[0155] S607: The outdoor CPE sends device information to the device.
[0156] S608. If the configuration status of the outdoor CPE is unconfigured and the configuration status of the indoor router is unconfigured, the device displays one or more items to be configured of the outdoor CPE based on the domain name of the outdoor CPE, and displays one or more items to be configured 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 items to be configured of the outdoor CPE, and receives second configuration information input by the user for one or more items to be configured of the indoor router.
[0158] S610: The device sends first configuration information and second configuration information to an outdoor CPE.
[0159] S611: The outdoor CPE configures the outdoor CPE based on the first configuration information.
[0160] Optionally, after completing the configuration of the outdoor CPE, the stored configuration state of the outdoor CPE may be modified, and the configuration state of the modified outdoor CPE is configured.
[0161] S612: The outdoor CPE sends second configuration information to the indoor router.
[0162] S613: The indoor router configures the indoor router based on the second configuration information.
[0163] Specifically, the indoor router can receive the second configuration information through the opened WAN port monitoring, and configure the indoor router based on the second configuration information.
[0164] Optionally, after completing the configuration of the indoor router, you can also turn off the WAN port monitoring. This method can effectively prevent the indoor router from being attacked by the outside world on the WAN port, thereby improving the security of the indoor router.
[0165] Optionally, after completing the configuration of the indoor router, the indoor router may also send a configuration completion notification message to the device through the outdoor CPE. Based on the notification message, the device displays a prompt indicating that the configuration of the indoor router is completed; and the outdoor CPE modifies the stored configuration status of the indoor router, and the modified configuration status of the indoor router is configured.
[0166] Based on this implementation method, during the interaction of DHCP messages, the DHCP request message sent by the indoor router to the outdoor CPE can make the outdoor CPE aware of the configuration status and domain name of the indoor router, and after the device is connected to the outdoor CPE, the configuration of one or more of the indoor router and the outdoor CPE can be completed 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 implementation mode shown, the indoor router and the outdoor CPE can also send their own configuration status and domain name to each other in the DHCP message interaction project, so that the configuration status and domain name of the two devices are stored in the indoor router or the outdoor CPE. The device can establish a connection with either the outdoor CPE or the indoor router, and can configure the outdoor CPE and the indoor router. This method can adapt to different choices of users for the devices to be connected to the device, effectively improving the adaptability of the configuration.
[0168] For example, before executing the above steps S401 to S408, 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. The outdoor CPE receives and parses the DHCP request message, and then stores its own configuration status and domain name as well as that of the indoor router. Then, the outdoor CPE sends a DHCP confirmation message to the indoor router. The DHCP confirmation message carries the configuration status of the outdoor CPE and the domain name of the outdoor CPE. The indoor router receives and parses the DHCP confirmation message, and then stores its own configuration status and domain name as well as that of the outdoor CPE. Then, the user selects the indoor router or the outdoor CPE as the first device, and accordingly, the unselected device is the second device, so that the device can execute the above steps. Figure 4 In the corresponding embodiment, the indoor router and the outdoor CPE are configured.
[0169] The above embodiment introduces the configuration method when both the first device and the second device are not configured. The following is a supplementary introduction to the case where the first device alone is not configured, the case where the second device alone is not configured, and the case where both the first device and the second device are configured:
[0170] 1. The first device (e.g., outdoor CPE) is not configured, and the second device (e.g., indoor router) is configured
[0171] In a 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 a configuration status of the first device, a domain name of the first device, a configuration status of a second device connected to the first device, and a domain name of the second device; if the configuration status of the first device is unconfigured and the configuration status of the second device is configured, the device displays one or more items to be configured of the first device; the device receives third configuration information input by a user for one or more items to be configured of the first device; the device sends the third configuration information to the first device; and the first device is configured based on the third configuration information.
[0172] The third configuration information may refer to the description of the first configuration information in the above embodiment, and the third configuration information may be the same as or different from the first configuration information.
[0173] Optionally, when displaying one or more items to be configured of the first device, the device may display a configuration wizard interface of the first device on the display interface, and not display a configuration wizard interface of the second device. For example, the device displays Figure 3H The interface shown.
[0174] Optionally, when displaying the configuration items of the first device, the device can display the configuration wizard interface of the first device and the configuration wizard interface of the second device that has been configured. For example, if the first device is CPE-001 and the second device is Router-001, the device displays Fig. 7A The interface shown, wherein the device connection interface is displayed in the configuration wizard interface 701 of CPE-001, and the device connection interface includes prompt information when the device connection is not configured, which is used to prompt that the network cable is not connected to the LAN port of CPE-001-001. Since Rounter-001 has been configured, a configuration completion interface is displayed in the configuration wizard interface 702 of Rounter-001, and the configuration completion interface includes a prompt that the Rounter-001 configuration is completed (that is, Rounter-001 has been configured).
[0175] 2. The first device (e.g., outdoor CPE) is configured, and 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 a configuration status of the first device, a domain name of the first device, a configuration status of a second device connected to the first device, and a 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 unconfigured, the device displays one or more items to be configured of the second device; receives fourth configuration information input by a user for one or more items to be configured 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 is configured based on the fourth configuration information.
[0177] The fourth configuration information may refer to the description of the second configuration information in the above embodiment, and the fourth configuration information may be the same as or different from the second configuration information.
[0178] Optionally, when displaying one or more items to be configured of the second device, the device may display a configuration wizard interface of the second device on the display interface, and not display the configuration wizard interface of the first device. For example, the device displays Figure 3H The interface shown.
[0179] Optionally, when displaying the configuration items of the second device, the device can display the configuration wizard interface of the second device and the configuration wizard interface of the first device that has been configured. For example, if the first device is CPE-001 and the second device is Router-001, the device displays Figure 7B In the interface shown, since CPE-001 has been configured, a configuration completion interface is displayed in the configuration wizard interface 703 of CPE-001, and the configuration completion interface includes a prompt that the CPE-001 configuration is completed (that is, CPE-001 has been configured). In the configuration wizard interface 704 of Router-001, a device connection interface is displayed, and the device connection interface includes prompt information when the device connection is not configured, which is used to prompt that the network cable is not connected to the WAN port of Router-001.
[0180] 3. The first device is configured, the second device is configured
[0181] In a 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 state of the first device, the domain name of the first device, the configuration state of the second device connected to the first device, and the domain name of the second device; if the configuration state of the first device is configured, and the configuration state 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 in the figure. Figure 7CAs shown, the interface displayed by the device includes a management card 705 of CPE-001, a management card 706 of Rounter-001, and a management card 707 for adding a new device. The management card 705 of CPE-001 displays the name, connection status, configuration status, and a control 708 for "view detailed configuration information"; the management card 706 of Rounter-001 displays the name, connection status, configuration status, and a control 709 for "view detailed configuration information"; the user can trigger the control 708 or the control 709 for "view detailed configuration information" to make the device display the configuration wizard interface of CPE-001 or Rounter-001 that has been configured. Fig. 7A The configuration wizard interface 702 of Rounter-001 is a configuration wizard interface of Rounter-001 that has been configured.
[0182] Optionally, for the above three situations, before the device is connected to the first device, the first device may also Figure 5 S501 to S503 in the corresponding embodiment or Figure 6 S601 to S605 in the corresponding embodiment interact with the second device through DHCP messages so that the first device can store device information. The device can establish a connection with the first device, thereby configuring the unconfigured device in the first device and the second device. This method can adapt to different choices of the user for the device to which the device is connected, effectively improving the adaptability of the configuration.
[0183] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0184] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0185] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0186] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0187] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the present application, 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: U disk, mobile hard disk, magnetic disk, optical disk, read-only memory (Read-Only Memory, abbreviated: ROM) or random access memory (Random Access Memory, abbreviated: RAM) and other media that can store program codes.
[0188] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A configuration method, characterized in that: Applied to a device, the method comprises: establishing a wireless communication connection with a first device; receiving device information sent by the first device; the device information including a configuration state of the first device, a domain name of the first device, a configuration state of a second device connected to 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 for one or more items to be configured of the first device, and receiving second configuration information input by the user for one or more items to be configured of the second device; The first configuration information and the second configuration information are sent to the first device.
2. The method according to claim 1, characterized in that The method further comprises: If the configuration status of the first device is unconfigured, and the configuration status of the second device is configured, displaying one or more items to be configured of the first device; receiving third configuration information input by the user for one or more items to be configured of the first device; Send the third configuration information to the first device.
3. The method according to claim 1, characterized in that The method further comprises: If the configuration status of the first device is configured, and the configuration status of the second device is unconfigured, displaying one or more items to be configured of the second device; receiving fourth configuration information input by the user for one or more items to be configured of the second device; Send the fourth configuration information to the first device.
4. The method according to any one of claims 1 to 3, characterized in that: The displaying one or more to-be-configured items of the first device based on the domain name of the first device, and the displaying one or more to-be-configured items of the second device based on the domain name of the second device, include: Based on the domain name of the first device, displaying one or more to-be-configured items of the first device in a first area of a display interface; Based on the domain name of the second device, one or more to-be-configured 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 the one or more items to be configured of the first device is different from the display interface of the one or more items to be configured of the second device.
6. The method according to any one of claims 1 to 5, characterized in that The first device is an outdoor customer premise equipment 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 in that: Applied to a first device, the method includes: Establishing a wireless communication connection with the device; Sending device information to the device; the device information includes a configuration state of a first device, a domain name of the first device, a configuration state of a second device connected to 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, receiving first configuration information and second configuration information sent by the devices; the first configuration information is configuration information input by a user for one or more items to be configured of the first device, and the second configuration information is configuration information input by the user for one or more items to be configured of the second device; configuring the first device based on the first configuration information; The second configuration information is sent to the second device, where the second configuration information is used to configure the second device.
8. The method according to claim 7, characterized in that The method further comprises: If the configuration state of the first device is unconfigured, and the configuration state of the second device is configured, receiving third configuration information sent by the devices; Based on the third configuration information, the first device is configured.
9. The method according to claim 7, characterized in that: The method further comprises: If the configuration state of the first device is configured, and the configuration state of the second device is unconfigured, receiving fourth configuration information sent by the devices; The fourth configuration information is sent to the second device, where the fourth configuration information is used to configure the second device.
10. The method according to any one of claims 7 to 9, characterized in that: The first device is an indoor router, and the second device is an outdoor customer premise equipment 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 confirmation message sent by the second device, where the DHCP confirmation message carries a configuration status of the second device and a domain name of the second device; The configuration status of the second device and the domain name of the second device are stored.
11. The method according to claim 10, characterized in that The DHCP confirmation message is sent to the first device after the second device turns off the service set identifier SSID broadcast.
12. The method according to any one of claims 7 to 9, characterized in that: The first device is an outdoor CPE, and the second device is an indoor router. Before establishing a wireless communication connection with the device, the method further includes: receiving a DHCP request message sent by the second device, where the DHCP request message carries a configuration status of the second device and a domain name of the second device; The configuration status of the second device and the domain name of the second device are stored.
13. The method according to claim 12, characterized in that The sending the second configuration information to the second device includes: After the first device and the second device pass identity authentication, the second configuration information is sent to the second device.
14. A device, characterized in that The device comprises: 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 codes. When the one or more processors execute the program codes, the device executes the method as described in any one of claims 1-6 or claims 7-13.
15. A readable storage medium, characterized in that: The device comprises a program code, and when the program code is executed on a device, the device is caused to execute the method according to any one of claims 1 to 6 or claims 7 to 13.
Citation Information
Patent Citations
Method, device and terminal for realizing data service
CN109314723A
CPE equipment control method and device, computer equipment and storage medium
CN114125022A
Equipment network distribution method, mobile terminal and storage medium
CN114666787A
CPE device installation and operation
US20160286417A1