Network distribution method and device of equipment, electronic equipment and computer readable storage medium
By displaying network status codes and automating initialization operations, the complexity and anomalies in the configuration of smart device ecosystem networks are resolved, enabling a user-friendly configuration process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2026-03-27
AI Technical Summary
The configuration process of the smart device ecosystem network is complex and non-professional users are prone to configuration errors.
By displaying the distribution network status code, the target initialization operation is determined and executed based on the configuration status of the first and second ecological networks, reducing manual operation by users and automatically adapting to various scenarios.
It effectively guides users to complete the configuration of the ecosystem network, reduces abnormal situations, and achieves automated initialization operations.
Smart Images

Figure CN121751392A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of intelligent devices, and particularly relates to a network configuration method and device of a device, an electronic device, and a computer readable storage medium. BACKGROUND
[0002] An intelligent ecological network (referred to as an ecological network) generally refers to an ecological system composed of multiple intelligent devices (such as a smart refrigerator and a smart air conditioner in smart home appliances), platforms, applications, and interactions therebetween, which can be connected and interacted with each other through the Internet or other communication networks to form a system that depends on and cooperates with each other. The configuration process of the ecological network of intelligent devices is relatively complex, and the initialization operations required for the configuration process are different for different scenarios. Blind initialization operations by non-professional users can easily lead to configuration abnormalities. SUMMARY
[0003] The present application aims to at least solve one of the technical problems in the related art. To this end, the present application provides a network configuration method and device of a device, an electronic device, and a computer readable storage medium, which performs target initialization operations by the intelligent device in guiding the user to normally complete the configuration process of the to-be-configured ecological network, thereby reducing the occurrence of abnormal situations.
[0004] In a first aspect, the present application provides a network configuration method of a device, which comprises:
[0005] In response to obtaining a first request, a network configuration state code is displayed to enable the user to determine a network configuration operation to be performed based on the network configuration state code; the first request is used to obtain the network configuration state code; the network configuration state code is used to indicate the configuration state of a first ecological network and a second ecological network; the first ecological network is a brand private ecological network of a to-be-configured device; and the second ecological network is an ecological network supporting a Matter standard.
[0006] After the network configuration mode is triggered due to the network configuration operation of the user, a target initialization operation required for configuring the to-be-configured ecological network is determined and performed according to the configuration state of the first ecological network and the second ecological network; and the type of the to-be-configured ecological network is the first ecological network or the second ecological network.
[0007] According to the network configuration method of the device in this application, a network configuration status code is displayed in response to a first request, so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecological network and the second ecological network; after the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required to configure the ecological network to be configured is determined and executed according to the configuration status of the first ecological network and the second ecological network; the type of the ecological network to be configured is the first ecological network or the second ecological network. The embodiments of this application can guide the user to complete the configuration of the ecological network to be configured normally, and the device to be configured determines and executes the target initialization operation required to configure the ecological network to be configured according to the configuration status of the first ecological network and the second ecological network. It can automatically perform initialization operations adapted to various scenarios, without requiring the user to manually perform initialization operations, which can reduce the occurrence of abnormal situations.
[0008] According to one embodiment of this application, before determining and performing the target initialization operation required to configure the ecological network to be configured based on the configuration states of the first ecological network and the second ecological network, the method further includes:
[0009] The first network configuration information sent by the user terminal is obtained through the first wireless connection; the first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecological network to be configured; the first wireless connection is a wireless connection between the device to be configured and the user terminal.
[0010] After determining and executing the target initialization operations required to configure the ecological network to be configured based on the configuration status of the first and second ecological networks, the method further includes;
[0011] Establish the first network connection with the wireless router based on the wireless router's identifier and key;
[0012] Under the first network connection, the target server of the ecological network to be configured is accessed based on the information of the ecological network to be configured.
[0013] According to one embodiment of this application, the information of the ecological network to be configured includes server information of the target server in the ecological network to be configured or device information of the first configured device in the ecological network to be configured.
[0014] Based on the information of the ecosystem network to be configured, access the target server of the ecosystem network to be configured, including:
[0015] If the ecological network to be configured is determined to be the first ecological network, the target server is accessed based on the server information of the target server.
[0016] When the ecological network to be configured is the second ecological network, a second network connection is established with the first configured device based on the device information of the first configured device, so as to access the target server through the second network connection and the third network connection; the third network connection is the network connection between the first configured device and the target server.
[0017] According to one embodiment of this application, the configuration status is either configured or unconfigured.
[0018] Based on the configuration status of the first and second ecological networks, determine and execute the target initialization operations required for configuring the ecological network to be configured, including:
[0019] If it is determined that both the first ecological network and the second ecological network are in an unconfigured state, the first target initialization operation is performed. The first target initialization operation includes restoring the wireless module to factory settings, formatting the first storage area where the wireless router's identifier and key are located, the second storage area where the server information is located, and the third storage area where the network operation center's data is located.
[0020] If it is determined that the first ecological network is configured, the second ecological network is unconfigured, and the ecological network to be configured is the second ecological network, or if the first ecological network is unconfigured, the second ecological network is configured, and the ecological network to be configured is the first ecological network, then the second target initialization operation is performed. The second target initialization operation includes deleting the identifier and key of the wireless router in the first storage area, and the data of the network operation center in the third storage area.
[0021] According to one embodiment of this application, when the first ecological network is in an unconfigured state, the second ecological network is in a configured state, and the ecological network to be configured is the first ecological network, after accessing the target server of the ecological network to be configured, the method further includes:
[0022] The first information is reported to the target server so that the target server can send the second information to the user terminal based on the first information; the first information is used to indicate that the second ecological network of the device to be configured is in a configured state; the second information is used to instruct the device to be configured to establish a fourth network connection with the second configured device.
[0023] According to one embodiment of this application, when the first ecological network is in a configured state, the second ecological network is in an unconfigured state, and the ecological network to be configured is the second ecological network, after accessing the target server of the ecological network to be configured, the method further includes:
[0024] Retrieve server information of the first server of the first ecological network from the second storage area; server information includes server IP and port number;
[0025] Reconnect to the first server of the first ecosystem network based on the server IP and port number.
[0026] According to one embodiment of this application, after displaying the distribution network status code, the method further includes:
[0027] After receiving the second distribution network information sent by the user terminal through the first network connection due to the user's distribution network operation, a fifth network connection is established with the third target device based on the device information of the third target device in the second distribution network information, so as to access the server of the ecological network to be configured through the fifth network connection and the sixth network connection;
[0028] Among them, the first network connection is the network connection between the device to be configured and the wireless router; the ecological network to be configured is the second ecological network to be configured; and the sixth network connection is the network connection between the third target device and the target server of the second ecological network to be configured.
[0029] The second distribution network information is sent by the user terminal after it determines that the setting code in the first application in the user terminal has been copied to the second application; the first application is the application corresponding to the configured second ecological network; the second application is the application corresponding to the second ecological network to be configured.
[0030] According to one embodiment of this application, the method further includes, before displaying the distribution network status code:
[0031] Obtain the parameter values of the first configuration parameter and the second configuration parameter; the first configuration parameter is used to characterize the configuration status of the first ecological network; the second configuration parameter is used to characterize the configuration status of the second ecological network.
[0032] The distribution network status code is generated based on the parameter values of the first configuration parameter and the second configuration parameter.
[0033] Secondly, this application provides a network distribution device for an equipment, the device comprising:
[0034] The first processing module is used to respond to the first request and display the network configuration status code so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecosystem network and the second ecosystem network; the first ecosystem network is the brand-private ecosystem network of the device to be configured; the second ecosystem network is an ecosystem network that supports the Matter standard.
[0035] The second processing module is used to determine and execute the target initialization operation required to configure the ecological network to be configured based on the configuration status of the first ecological network and the second ecological network after the network configuration mode is triggered due to the user's network configuration operation; the type of the ecological network to be configured is the first ecological network or the second ecological network.
[0036] According to the network configuration device of this application, in response to obtaining a first request, a network configuration status code is displayed so that the user can determine the network configuration operation to be performed based on the network configuration status code. The first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecological network and the second ecological network; after the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required to configure the ecological network to be configured is determined and executed according to the configuration status of the first ecological network and the second ecological network; the type of the ecological network to be configured is the first ecological network or the second ecological network. The embodiments of this application can guide the user to complete the configuration of the ecological network to be configured normally, and the device to be configured determines and executes the target initialization operation required to configure the ecological network to be configured according to the configuration status of the first ecological network and the second ecological network. It can automatically perform initialization operations adapted to various scenarios, without requiring the user to manually perform initialization operations, which can reduce the occurrence of abnormal situations.
[0037] Thirdly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the network distribution method of the device provided in the first aspect above.
[0038] Fourthly, this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the network distribution method of the device provided in the first aspect above.
[0039] Fifthly, this application provides a chip including a processor and a communication interface coupled to the processor, the processor being used to run programs or instructions to implement the network distribution method of the device provided in the first aspect.
[0040] In a sixth aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the network distribution method of the device as described in the first aspect above.
[0041] The above-described one or more technical solutions in the embodiments of this application have at least one of the following technical effects:
[0042] In response to receiving a first request, a network configuration status code is displayed, allowing the user to determine the network configuration operation to be performed based on the status code. The first request is used to obtain the network configuration status code, which indicates the configuration status of the first and second ecological networks. After the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required for configuring the ecological network to be configured is determined and executed based on the configuration status of the first and second ecological networks. The type of the ecological network to be configured is either the first or the second ecological network. This embodiment can guide the user to complete the configuration of the ecological network to be configured normally. The device to be configured determines and executes the target initialization operation required for configuring the ecological network to be configured based on the configuration status of the first and second ecological networks. It can automatically perform initialization operations adapted to various scenarios without requiring the user to manually perform initialization operations, thus reducing the occurrence of abnormal situations.
[0043] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0044] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0045] Figure 1 This is one of the flowcharts illustrating the network distribution method for the device provided in the embodiments of this application;
[0046] Figure 2 This is a schematic diagram of the multi-ecosystem network provided in the embodiments of this application;
[0047] Figure 3 This is the second flowchart of the network distribution method for the device provided in the embodiments of this application;
[0048] Figure 4 This is a schematic diagram illustrating the execution of a target initialization operation based on the configuration states of the first and second ecological networks, provided in an embodiment of this application.
[0049] Figure 5 This is the third flowchart of a device distribution method provided in this application embodiment;
[0050] Figure 6 This is the fourth flowchart of the device distribution method provided in the embodiments of this application;
[0051] Figure 7 This is a schematic diagram of the network status code generated by the parameter values of the first configuration parameter and the second configuration parameter provided in this application embodiment;
[0052] Figure 8This is the fifth flowchart of the device distribution method provided in the embodiments of this application;
[0053] Figure 9 This is a schematic diagram of the structure of the distribution network device of the equipment provided in the embodiments of this application;
[0054] Figure 10 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0055] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0056] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0057] The following description, in conjunction with the accompanying drawings, details the network distribution method, network distribution device, electronic equipment, and readable storage medium of the device provided in this application through specific embodiments and application scenarios.
[0058] like Figure 1 As shown, the network distribution method of this device includes steps 110 and 120.
[0059] Step 110: In response to receiving the first request, display the network configuration status code so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecosystem network and the second ecosystem network; the first ecosystem network is the brand-private ecosystem network of the device to be configured; the second ecosystem network is an ecosystem network that supports the Matter standard.
[0060] The device to be configured in this application embodiment can be a smart home appliance, which refers to a home appliance with internet connectivity. Smart home appliances typically have functions such as remote control, voice control, automatic adjustment, and data analysis, enabling users to operate and manage them through smartphones, tablets, or other devices.
[0061] Smart home appliances can include smart air conditioners, smart refrigerators, and smart washing machines, as well as other smart products; there are no restrictions on this.
[0062] Before performing a formal network configuration operation, users need to understand the current parsing ecosystem (CPE) status of the device to be configured, as well as the configuration status of the first and second ecosystems. Based on the network configuration status, users can determine which ecosystems can be added and the network configuration operations to be performed for the corresponding ecosystems, thereby reducing the probability of network configuration errors.
[0063] A smart home appliance can connect to one ecosystem network or multiple ecosystem networks (multiple ecosystem networks can be multiple Matter standard ecosystem networks, or a brand's own proprietary ecosystem network and at least one standard ecosystem network), such as... Figure 2 As shown in the figure, this application embodiment provides a system schematic diagram of a multi-ecosystem network. The schematic diagram includes a device to be configured 210, a wireless router 220, a first configured device 231, a second configured device 232, a third configured device 233, a first Matter APP 241, a second Matter APP 242, a third Matter APP 243, a first target server 251, a second target server 252, a third target server 253, a brand APP 260, and a brand server 270. The device to be configured 210 can be a smart air conditioner to be configured. Each configured device is located in a corresponding Matter ecosystem network. The configured devices support the Matter protocol, and each configured device has a corresponding Matter APP. The corresponding Matter APPs for each configured device are located in the user terminal. The Matter APPs for the first configured device 231, the second configured device 232, and the third configured device 233 are respectively the first Matter APP 241, the second Matter APP 242, and the third Matter APP 260. APP243, each configured device has a corresponding target server. The target servers corresponding to the first configured device 231 are the first target server 251, the second target server 252, and the third target server 253. The brand server 270 is the server of the brand to which the device to be configured belongs, and the brand APP 260 is the APP of the brand to which the device to be configured belongs.
[0064] Continuing the previous example, the first ecosystem network (brand private ecosystem network) of the device to be configured 210 can be an ecosystem network composed of the device to be configured 210, the wireless router 220, the brand server 250, and the brand APP 260; the second ecosystem network (Matter ecosystem network) of the device to be configured 210 can be an ecosystem network composed of the device to be configured 210, the wireless router 220, the configured device (which can be any one of the first configured device 231, the second configured device 233, and the third configured device 233), the Matter APP (any one of the first Matter APP 241, the second Matter APP 242, and the third Matter APP 243), and the target server (any one of the first target server 251, the second target server 252, and the third target server 253).
[0065] For devices to be configured, since the screens of these devices are usually limited, or since the digital tubes of these devices usually display numbers or letters, the network status code is usually used to represent the network status.
[0066] Users can query the network configuration status of the device to be configured via remote control or button. Specifically, users can trigger a first request via remote control or button. This first request is used to obtain the network configuration status code, which is used to indicate the configuration status of the first ecosystem network and the second ecosystem network.
[0067] In this embodiment of the application, after receiving the first request, the device to be configured obtains the parameter values of the first configuration parameter CPE1 and the second configuration parameter CPE2. The first configuration parameter CPE1 is used to characterize the configuration status of the first ecosystem network; the second configuration parameter CPE2 is used to characterize the configuration status of the second ecosystem network. The first ecosystem network CPE1 is the brand-private ecosystem network of the device to be configured, and a device can usually access one brand-private ecosystem network. The second ecosystem network CPE2 is an ecosystem network that supports the Matter standard, and a device can usually access multiple Matter standard ecosystem networks.
[0068] CPE1 and CPE2 are two Boolean variables with a value of 0 or 1. When CPE1 = 1, it indicates that the device to be configured has been configured with the first ecological network; when CPE1 = 0, it indicates that the device to be configured has not been configured with the first ecological network; when CPE2 = 1, it indicates that the device to be configured has been configured with the second ecological network (it can access one or more second ecological networks, and the value of CPE2 is 1 regardless of whether it accesses one or more second ecological networks); when CPE2 = 0, it indicates that the device to be configured has not been configured with the second ecological network.
[0069] The distribution network status code can be generated based on the parameter values of the first configuration parameter CPE1 and the second configuration parameter CPE2. Specifically:
[0070] When CPE1=0 and CPE2=0, the generated distribution network status code is p0; p0 indicates that the configuration status of both the first ecological network and the second ecological network is unconfigured.
[0071] When CPE1=1 and CPE2=0, the generated distribution network status code is p1, which indicates that the first ecological network is configured and the second ecological network is not configured.
[0072] When CPE1=0 and CPE2=1, the generated distribution network status code is p2, which indicates that the first ecological network is in an unconfigured state and the second ecological network is in a configured state.
[0073] When CPE1=1 and CPE2=1, the generated distribution network status code is p3, which indicates that the configuration status of both the first ecological network and the second ecological network is configured.
[0074] In this embodiment of the application, after the device to be configured determines its own network configuration status code, it displays the network configuration status code to the user. There is no limit to the display duration of the network configuration status code (e.g., 5 seconds), so that the user can understand the current network configuration status of the device to be configured, refer to the network configuration status code, determine the other ecological networks that the device to be configured can also configure, and the network configuration operations required to configure the ecological networks to be configured.
[0075] The network configuration operations that users need to perform include, but are not limited to: triggering the network configuration mode of the device to be configured by remote control or pressing a key on the device itself, and copying the setting code in the first application in the user terminal to the second application; the first application is the application corresponding to the configured second ecological network; the second application is the application corresponding to the second ecological network to be configured.
[0076] Step 120: After the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required to configure the ecological network to be configured is determined and executed according to the configuration status of the first ecological network and the second ecological network; the type of the ecological network to be configured is the first ecological network or the second ecological network.
[0077] In this embodiment of the application, after determining that the device to be configured is triggered to enter network configuration mode due to the user's network configuration operation, the device to be configured can establish a first wireless connection with the user terminal and obtain the first network configuration information sent by the user terminal through the first wireless connection. The first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecosystem network to be configured, including the type of the ecosystem network to be configured.
[0078] In this application embodiment, the type of the ecological network to be configured can be determined based on the APP operated by the user (brand APP or Matter APP). When the user intends to configure the first ecological network, the user will add the device information of the device to be configured on the brand APP. Based on this, the user terminal can determine that the ecological network to be configured of the device is the first ecological network. The type of the ecological network to be configured in the first network configuration information sent by the user later is the first ecological network.
[0079] When a user intends to configure the first ecological network, the device information of the device to be configured will be added on the Matter APP. Based on this, the user terminal can determine that the ecological network to be configured for the device is the second ecological network. The type of the ecological network to be configured in the first network configuration information sent by the user in the future will be the second ecological network.
[0080] The device to be configured can determine and execute the target initialization operations required to configure the ecological network to be configured based on the configuration status of the first ecological network and the second ecological network. The target initialization operations include, but are not limited to, restoring the wireless module to factory settings, formatting the first storage area where the wireless router's identifier and key are located, the second storage area where the server information is located, the third storage area where the network operation center data is located, and deleting the wireless router's identifier and key in the first storage area and the network operation center data in the third storage area.
[0081] In this embodiment, in response to receiving a first request, a network configuration status code is displayed, enabling the user to determine the network configuration operation to be performed based on the status code. The first request is used to obtain the network configuration status code, which indicates the configuration status of the first and second ecological networks. After the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required for configuring the ecological network to be configured is determined and executed based on the configuration status of the first and second ecological networks. The type of the ecological network to be configured is either the first or the second ecological network. This embodiment can guide the user to complete the configuration of the ecological network to be configured normally, and the device to be configured determines and executes the target initialization operation required for configuring the ecological network to be configured based on the configuration status of the first and second ecological networks. It can automatically perform initialization operations adapted to various scenarios, eliminating the need for manual initialization by the user and reducing the occurrence of abnormal situations.
[0082] In some embodiments, before determining and performing the target initialization operations required to configure the ecological network to be configured based on the configuration states of the first ecological network and the second ecological network, the method further includes:
[0083] The first network configuration information sent by the user terminal is obtained through the first wireless connection; the first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecological network to be configured; the first wireless connection is a wireless connection between the device to be configured and the user terminal.
[0084] In this embodiment of the application, after the device to be configured is triggered to the network configuration mode, it can establish a first wireless connection with the user terminal. The user can trigger the addition of device information of the device to be configured in the brand app or Matter app in the user terminal, and send the first network configuration information to the user terminal through the first wireless connection. The first network configuration information includes the identifier and key of the wireless router, which is located in the environment where the device to be configured is located. The first network configuration information also includes the information of the ecosystem network to be configured, which includes the type of ecosystem network to be configured.
[0085] When a user triggers the addition of device information for a device to be configured in the brand APP, the information of the ecosystem network to be configured also includes the server information of the target server in the ecosystem network to be configured; when a user triggers the addition of device information for a device to be configured in the Matter APP, the information of the ecosystem network to be configured also includes the device information of the first configured device in the ecosystem network to be configured.
[0086] In some embodiments, after determining and performing the target initialization operation required to configure the ecological network to be configured based on the configuration states of the first ecological network and the second ecological network, the method further includes:
[0087] Establish the first network connection with the wireless router based on the wireless router's identifier and key;
[0088] Under the first network connection, the target server of the ecological network to be configured is accessed based on the information of the ecological network to be configured.
[0089] After obtaining the wireless router's identifier and key, the device to be configured can access the wireless router through the wireless router's identifier and key, that is, establish the first network connection with the wireless router based on the wireless router's identifier and key.
[0090] Under this first network connection, the device to be configured can access the target server of the ecological network to be configured based on the information of the ecological network to be configured.
[0091] Figure 3 A second flowchart of a network distribution method for a device provided in this application embodiment includes the following steps 301 to 305:
[0092] Step 301: In response to obtaining the first request, display the network configuration status code so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecological network and the second ecological network.
[0093] Step 302: Obtain the first network configuration information sent by the user terminal through the first wireless connection; the first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecological network to be configured; the first wireless connection is the wireless connection between the device to be configured and the user terminal.
[0094] Step 303: After the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required to configure the ecological network to be configured is determined and executed according to the configuration status of the first ecological network and the second ecological network.
[0095] Step 304: Establish the first network connection with the wireless router based on the wireless router's identifier and key;
[0096] Step 305: Under the first network connection, access the target server of the ecological network to be configured based on the information of the ecological network to be configured.
[0097] The detailed implementation process of steps 301 to 305 above is described in the aforementioned embodiments and will not be repeated here.
[0098] In some embodiments, the information of the ecosystem network to be configured includes server information of the target server in the ecosystem network to be configured or device information of the first configured device in the ecosystem network to be configured.
[0099] Based on the information of the ecosystem network to be configured, access the target server of the ecosystem network to be configured, including:
[0100] If the ecological network to be configured is determined to be the first ecological network, the target server is accessed based on the server information of the target server.
[0101] When the ecological network to be configured is the second ecological network, a second network connection is established with the first configured device based on the device information of the first configured device, so as to access the target server through the second network connection and the third network connection; the third network connection is the network connection between the first configured device and the target server.
[0102] It is understandable that the ecosystem network to be configured can be a brand-owned private ecosystem network (i.e., the first ecosystem network). In this case, the corresponding target server is a brand-owned private server. In this case, the device to be configured has the right to directly access the target server. Therefore, by accessing the target server based on the server information of the target server, the target server can directly establish the association between the device identifier of the device to be configured and the account information of the user terminal.
[0103] The ecosystem network to be configured can also be an ecosystem network that supports the Matter standard (i.e., a second ecosystem network). In this case, the target server does not belong to the brand's private server of the device to be configured, but to the brand's private server of another first configured device (which is also a smart device), and it also belongs to a server that supports the Matter standard. The device to be configured is a device that supports the Matter standard. In this case, the device to be configured can establish a second network connection with the first configured device based on the device information of the first configured device. Since there is a third network connection between the first configured device and the target server, the device to be configured can indirectly access the target server based on the second network connection and the third network connection.
[0104] In some embodiments, the configuration status is either configured or unconfigured.
[0105] Based on the configuration status of the first and second ecological networks, determine and execute the target initialization operations required for configuring the ecological network to be configured, including:
[0106] If it is determined that both the first ecological network and the second ecological network are in an unconfigured state, the first target initialization operation is performed. The first target initialization operation includes restoring the wireless module to factory settings, formatting the first storage area where the wireless router's identifier and key are located, the second storage area where the server information is located, and the third storage area where the network operation center's data is located.
[0107] If it is determined that the first ecological network is configured, the second ecological network is unconfigured, and the ecological network to be configured is the second ecological network, or if the first ecological network is unconfigured, the second ecological network is configured, and the ecological network to be configured is the first ecological network, then the second target initialization operation is performed. The second target initialization operation includes deleting the identifier and key of the wireless router in the first storage area, and the data of the network operation center in the third storage area.
[0108] Figure 4 This is a schematic diagram illustrating the execution of a target initialization operation based on the configuration states of the first and second ecological networks, as provided in an embodiment of this application.
[0109] If both the first and second ecosystem networks are determined to be in an unconfigured state (CPE1=0 and CPE2=0), regardless of whether the ecosystem network to be configured is the first or the second, a first target initialization operation needs to be performed on the device to be configured. This first target initialization operation includes restoring the wireless module to factory settings, formatting the first storage area containing the wireless router's SSID and PSW key, the second storage area containing server information, and the third storage area containing data from the Network Operations Center (NOC). Server information includes server IP address and port information.
[0110] The first storage area, the second storage area, and the third storage area can be storage areas within the wireless module.
[0111] If the first ecological network is determined to be in a configured state (CPE1=1), the second ecological network is in an unconfigured state (CPE2=0), and the ecological network to be configured is the second ecological network, or if the first ecological network is in an unconfigured state (CPE1=0), the second ecological network is in a configured state (CPE2=1), and the ecological network to be configured is the first ecological network, a second target initialization operation is performed. This second target initialization operation includes deleting (or erasing) the wireless router's identifier SSID and key PSW in the first storage area, as well as the data of the Network Operation Center (NOC) in the third storage area.
[0112] In some embodiments, when the first ecological network is in an unconfigured state, the second ecological network is in a configured state, and the ecological network to be configured is the first ecological network, after accessing the target server of the ecological network to be configured, the method further includes:
[0113] The system reports first information to the target server, enabling the target server to send second information to the user terminal based on the first information; the first information indicates that the second ecosystem network of the device to be configured is in a configured state; the second information instructs the device to be configured to establish a fourth network connection with the second configured device.
[0114] When the first ecological network is in an unconfigured state (CPE1=0), the second ecological network is in a configured state (CPE2=1), and the ecological network to be configured is the first ecological network, performing the second target initialization operation will cause the existing second ecological network to go offline. In this case, the device to be configured will report the first information to the target server. The first information is used to indicate that the second ecological network of the device to be configured is in a configured state. Specifically, the first information may include CPE2=1.
[0115] After receiving the first message, the target server pushes a second message to the user. This second message is used to instruct the device to be configured to establish a fourth network connection with the second configured device. The second message may be "The home appliance has been associated with a Matter device. Please re-associate with the Matter ecosystem network." At this time, the device to be configured can re-associate with a Matter device to ensure that the home appliance is online in both its own brand ecosystem and the Matter ecosystem.
[0116] In some embodiments, when the first ecological network is configured, the second ecological network is unconfigured, and the ecological network to be configured is the second ecological network, after accessing the target server of the ecological network to be configured, the method further includes:
[0117] Retrieve server information of the first server of the first ecological network from the second storage area; server information includes server IP and port number;
[0118] Reconnect to the first server of the first ecosystem network based on the server IP and port number.
[0119] When the first ecological network is configured (CPE1=1), the second ecological network is unconfigured (CPE2=0), and the ecological network to be configured is the second ecological network, performing the second initialization operation will cause the device to be configured to disconnect from the first ecological network. Therefore, after configuring the second ecological network for the ecological network to be configured, the ecological network to be configured needs to reconfigure the first ecological network. After the reconfiguration is completed, the device can be connected to both the first and second ecological networks simultaneously.
[0120] Since the second storage area contains server information of the first server of the first ecological network, including server IP and port number, it is possible to reconnect to the first server of the first ecological network based on the server IP and port number.
[0121] like Figure 5 As shown in the flowchart of the third method for network distribution of a device in this application embodiment, the method includes the following steps:
[0122] Step 501: In response to receiving the first request, display the network configuration status code so that the user can determine the network configuration operation to be performed based on the network configuration status code; proceed to step 502.
[0123] Step 502: After the network configuration mode is triggered due to the user's network configuration operation, determine and execute the target initialization operation required to configure the ecological network to be configured based on the configuration status of the first ecological network and the second ecological network; proceed to step 503.
[0124] Step 503: Establish a first network connection with the wireless router based on the wireless router's identifier and key; proceed to step 504.
[0125] Step 504: Determine whether the ecological network to be configured is the first ecological network; if yes, proceed to step 505; if no, proceed to step 506.
[0126] Step 505: Access the target server based on the target server's server information; proceed to step 507.
[0127] Step 506: Establish a second network connection with the first configured device based on the device information of the first configured device, so as to access the target server through the second network connection and the third network connection; the third network connection is the network connection between the first configured device and the target server; proceed to step 509;
[0128] Step 507: Determine whether the second ecological network is configured; if yes, proceed to step 508; otherwise, end.
[0129] Step 508: Report the first information to the target server so that the target server can send the second information to the user terminal based on the first information; the first information is used to indicate that the second ecosystem network of the device to be configured is in a configured state; the second information is used to indicate that the device to be configured establishes a fourth network connection with the second configured device.
[0130] Step 509: Determine whether the first ecological network is in a configured state; if yes, proceed to step 510; otherwise, end.
[0131] Step 510: Obtain the server information of the first server of the first ecological network from the second storage area; the server information includes the server IP and port number; proceed to step 511.
[0132] Step 511: Reconnect to the first server of the first ecosystem network based on the server IP and port number.
[0133] The detailed implementation process of steps 501 to 511 above can be found in the aforementioned embodiments, and will not be repeated here.
[0134] In some embodiments, after displaying the network status code, the method further includes:
[0135] After receiving the second distribution network information sent by the user terminal through the first network connection due to the user's distribution network operation, a fifth network connection is established with the third target device based on the device information of the third target device in the second distribution network information, so as to access the server of the ecological network to be configured through the fifth network connection and the sixth network connection;
[0136] Among them, the first network connection is the network connection between the device to be configured and the wireless router; the ecological network to be configured is the second ecological network to be configured; and the sixth network connection is the network connection between the third target device and the target server of the second ecological network to be configured.
[0137] The second distribution network information is sent by the user terminal after it determines that the setting code in the first application in the user terminal has been copied to the second application; the first application is the application corresponding to the configured second ecological network; the second application is the application corresponding to the second ecological network to be configured.
[0138] Regardless of whether the first ecosystem network is configured, if the second ecosystem network is configured (CPE2=1) and the ecosystem network to be configured is also the second ecosystem network, since the ecosystem network to be configured has already established a network connection with the wireless router, there is no need to re-establish the network connection. In this case, the setup code in the first application on the user terminal can be directly copied to the second application. The first application is the application corresponding to the configured second ecosystem network; the second application is the application corresponding to the second ecosystem network to be configured. Both the first application and the second application belong to Matter APP.
[0139] After determining that the setting code in the first application of the user terminal has been copied to the second application, the user terminal will send the second network configuration information to the device to be configured through the first network connection. The second network configuration information includes the device information of the third target device. In this case, the device to be configured can establish a fifth network connection with the third target device based on the device information of the third target device, so as to access the server of the ecological network to be configured through the fifth network connection and the sixth network connection. The sixth network connection is the network connection between the third target device and the target server of the second ecological network to be configured.
[0140] Furthermore, if the device to be configured is accidentally entered into the network configuration mode during the above process, the first and second ecological networks of the device to be configured need to be reconfigured so that the device to be configured can be online in all ecological networks at the same time.
[0141] like Figure 6 As shown in the figure, this application embodiment provides a flowchart of the device's network distribution method, which includes the following steps:
[0142] Step 601: In response to receiving the first request, display the network configuration status code so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecosystem network and the second ecosystem network; the first ecosystem network is the brand-private ecosystem network of the device to be configured; the second ecosystem network is an ecosystem network that supports the Matter standard; execute step 602 or step 603;
[0143] Step 602: After the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required to configure the ecological network to be configured is determined and executed according to the configuration status of the first ecological network and the second ecological network; the type of the ecological network to be configured is the first ecological network or the second ecological network.
[0144] Step 603: After receiving the second network distribution information sent by the user terminal through the first network connection due to the user's network distribution operation, a fifth network connection is established with the third target device according to the device information of the third target device in the second network distribution information, so as to access the server of the ecological network to be configured through the fifth network connection and the sixth network connection.
[0145] Among them, the first network connection is the network connection between the device to be configured and the wireless router; the ecological network to be configured is the second ecological network to be configured; and the sixth network connection is the network connection between the third target device and the target server of the second ecological network to be configured.
[0146] The second distribution network information is sent by the user terminal after it determines that the setting code in the first application in the user terminal has been copied to the second application; the first application is the application corresponding to the configured second ecological network; the second application is the application corresponding to the second ecological network to be configured.
[0147] The detailed implementation process of steps 601 to 603 above can be found in the aforementioned embodiments, and will not be repeated here.
[0148] In some embodiments, the method further includes, before displaying the network status code:
[0149] Obtain the parameter values of the first configuration parameter and the second configuration parameter; the first configuration parameter is used to characterize the configuration status of the first ecological network; the second configuration parameter is used to characterize the configuration status of the second ecological network.
[0150] The distribution network status code is generated based on the parameter values of the first configuration parameter and the second configuration parameter.
[0151] like Figure 7As shown in the illustration, this application provides a schematic diagram of the distribution network status code generated by the parameter values of the first configuration parameter and the second configuration parameter: When CPE1 = 0 and CPE2 = 0, the generated distribution network status code is p0; p0 indicates that the configuration status of both the first ecological network and the second ecological network is unconfigured; when CPE1 = 1 and CPE2 = 0, the generated distribution network status code is p1, p1 indicates that the first ecological network is configured and the second ecological network is unconfigured; when CPE1 = 0 and CPE2 = 1, the generated distribution network status code is p2, p2 indicates that the first ecological network is unconfigured and the second ecological network is configured; when CPE1 = 1 and CPE2 = 1, the generated distribution network status code is p3, p3 indicates that the configuration status of both the first ecological network and the second ecological network is configured.
[0152] like Figure 8 As shown in the figure, this application embodiment provides a flowchart of the network distribution method for the device, which includes the following steps:
[0153] Step 801: In response to receiving the first request, obtain the parameter value of the first configuration parameter CPE1 and the parameter value of the second configuration parameter CPE2; the first configuration parameter is used to characterize the configuration status of the brand's private ecosystem network; the second configuration parameter is used to characterize the configuration status of the ecosystem network that supports the Matter standard.
[0154] Step 802: Determine whether CPE1 is 0 (whether the brand's private ecosystem network is in an unconfigured state) and whether CPE2 is 0 (whether the ecosystem network supporting the Matter standard is in an unconfigured state); if yes, proceed to step 803; if no, proceed to step 809.
[0155] Step 803: Display network configuration status code P0. P0 indicates that both the brand's private ecosystem network and the ecosystem network supporting the Matter standard are in an unconfigured state; proceed to step 804.
[0156] Step 804: After the network configuration mode is triggered due to the user's network configuration operation, the first network configuration information sent by the user terminal is obtained through the first wireless connection; the first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecosystem network to be configured; the first wireless connection is the wireless connection between the device to be configured and the user terminal; the information of the ecosystem network to be configured includes the type of the ecosystem network to be configured.
[0157] Step 805: Perform a factory reset on the wireless module, formatting the first storage area where the wireless router's identifier and key are located, the second storage area where the server information is located, and the third storage area where the network operation center's data is located.
[0158] Step 806: Establish a first network connection with the wireless router based on the wireless router's identifier and key; proceed to step 807 or 808.
[0159] Step 807: If the type of the ecosystem network to be configured is a brand private ecosystem network, access the target server according to the server information of the target server in the information of the ecosystem network to be configured.
[0160] Step 808: If the type of the ecological network to be configured is an ecological network that supports the Matter standard, a second network connection is established with the first configured device based on the device information of the first configured device in the information of the ecological network to be configured, so as to access the target server through the second network connection and the third network connection; the third network connection is the network connection between the first configured device and the target server.
[0161] Step 809: Determine whether CPE1 is 1 (whether the brand's private ecosystem network is configured) and whether CPE2 is 0 (whether the ecosystem network supporting the Matter standard is not configured); if yes, proceed to step 810; if no, proceed to step 816.
[0162] Step 810: Display network configuration status code P1. P1 indicates that the brand's private ecosystem network is configured, while the ecosystem network supporting the Matter standard is not configured. Proceed to step 811.
[0163] Step 811: After the network configuration mode is triggered due to the user's network configuration operation, the first network configuration information sent by the user terminal is obtained through the first wireless connection; the first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecological network to be configured; proceed to step 812.
[0164] Step 812: Delete the identifier and key of the wireless router in the first storage area, and the data of the network operation center in the third storage area; proceed to step 813.
[0165] Step 813: If the type of the ecological network to be configured is an ecological network that supports the Matter standard, establish a second network connection based on the device information of the first configured device in the information of the ecological network to be configured and the first configured device, so as to access the target server through the second network connection and the third network connection; the third network connection is the network connection between the first configured device and the target server; execute step 814.
[0166] Step 814: Obtain the server information of the first server of the first ecological network from the second storage area; the server information includes the server IP and port number; proceed to step 815.
[0167] Execute step 815 to reconnect to the first server of the first ecosystem network based on the server IP and port number.
[0168] Step 816: Determine whether CPE1 is 0 (whether the brand's private ecosystem network is unconfigured) and whether CPE2 is 1 (whether the ecosystem network supporting the Matter standard is configured); if yes, proceed to step 817; if no, proceed to step 821.
[0169] Step 817: Display the network configuration status code P2. P2 indicates that the brand's private ecosystem network is in an unconfigured state, while the ecosystem network that supports the Matter standard is in a configured state; proceed to step 818 or step 819.
[0170] Step 818: After receiving the second network distribution information sent by the user terminal through the first network connection due to the user's network distribution operation, a fifth network connection is established with the third target device according to the device information of the third target device in the second network distribution information, so as to access the server of the ecological network to be configured through the fifth network connection and the sixth network connection.
[0171] Wherein, the first network connection is the network connection between the device to be configured and the wireless router; the ecological network to be configured is the second ecological network to be configured; the sixth network connection is the network connection between the third target device and the target server of the second ecological network to be configured; the second network configuration information is sent by the user terminal after determining that the setting code in the first application in the user terminal has been copied to the second application; the first application is the application corresponding to the configured second ecological network; the second application is the application corresponding to the second ecological network to be configured.
[0172] Step 819: If the type of the ecosystem network to be configured is a brand private ecosystem network, access the target server according to the server information of the target server in the information of the ecosystem network to be configured; proceed to step 820.
[0173] Step 820: Report the first information to the target server so that the target server can send the second information to the user terminal based on the first information; the first information is used to indicate that the second ecological network of the device to be configured is in a configured state; the second information is used to instruct the device to be configured to establish a fourth network connection with the second configured device.
[0174] Step 821: Determine that CPE1 is 1 (the brand's private ecosystem network is configured) and CPE2 is 1 (the ecosystem network supporting the Matter standard is configured); then proceed to step 822.
[0175] Step 822: Display network status code P3. P3 indicates that both the brand's private ecosystem network and the ecosystem network supporting the Matter standard are configured. Proceed to step 818.
[0176] The detailed implementation process of steps 801 to 822 is described in the aforementioned embodiments and will not be repeated here.
[0177] The device distribution method provided in this application can be executed by the device's distribution device. This application uses the device's distribution device executing the device distribution method as an example to illustrate the device distribution device provided in this application.
[0178] This application also provides a network distribution device for a device.
[0179] like Figure 9 As shown, the distribution network device of the equipment includes: a first processing module 910 and a second processing module 920.
[0180] The first processing module 910 is used to respond to the first request and display the network configuration status code so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecosystem network and the second ecosystem network; the first ecosystem network is the brand-private ecosystem network of the device to be configured; the second ecosystem network is an ecosystem network that supports the Matter standard.
[0181] The second processing module 920 is used to determine and execute the target initialization operation required to configure the ecological network to be configured based on the configuration status of the first ecological network and the second ecological network after the network configuration mode is triggered due to the user's network configuration operation; the type of the ecological network to be configured is the first ecological network or the second ecological network.
[0182] According to the network configuration device of this application, in response to obtaining a first request, a network configuration status code is displayed so that the user can determine the network configuration operation to be performed based on the network configuration status code. The first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecological network and the second ecological network; after the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required to configure the ecological network to be configured is determined and executed according to the configuration status of the first ecological network and the second ecological network; the type of the ecological network to be configured is the first ecological network or the second ecological network. The embodiments of this application can guide the user to complete the configuration of the ecological network to be configured normally, and the device to be configured determines and executes the target initialization operation required to configure the ecological network to be configured according to the configuration status of the first ecological network and the second ecological network. It can automatically perform initialization operations adapted to various scenarios, without requiring the user to manually perform initialization operations, which can reduce the occurrence of abnormal situations.
[0183] In some embodiments, the device further includes:
[0184] The third processing module is used to obtain the first network configuration information sent by the user terminal through the first wireless connection; the first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecological network to be configured; the first wireless connection is the wireless connection between the device to be configured and the user terminal.
[0185] The fourth processing module is used for:
[0186] Establish the first network connection with the wireless router based on the wireless router's identifier and key;
[0187] Under the first network connection, the target server of the ecological network to be configured is accessed based on the information of the ecological network to be configured.
[0188] In some embodiments, the information of the ecosystem network to be configured includes server information of the target server in the ecosystem network to be configured or device information of the first configured device in the ecosystem network to be configured.
[0189] The fourth processing module is specifically used to access the target server based on the server information of the target server when it is determined that the ecological network to be configured is the first ecological network.
[0190] When the ecological network to be configured is the second ecological network, a second network connection is established with the first configured device based on the device information of the first configured device, so as to access the target server through the second network connection and the third network connection; the third network connection is the network connection between the first configured device and the target server.
[0191] In some embodiments, the configuration status is either configured or unconfigured.
[0192] The second processing module 920 is specifically used for:
[0193] If it is determined that both the first ecological network and the second ecological network are in an unconfigured state, the first target initialization operation is performed. The first target initialization operation includes restoring the wireless module to factory settings, formatting the first storage area where the wireless router's identifier and key are located, the second storage area where the server information is located, and the third storage area where the network operation center's data is located.
[0194] If it is determined that the first ecological network is configured, the second ecological network is unconfigured, and the ecological network to be configured is the second ecological network, or if the first ecological network is unconfigured, the second ecological network is configured, and the ecological network to be configured is the first ecological network, then the second target initialization operation is performed. The second target initialization operation includes deleting the identifier and key of the wireless router in the first storage area, and the data of the network operation center in the third storage area.
[0195] In some embodiments, the device further includes:
[0196] The fifth processing module is used to report first information to the target server after accessing the target server of the ecological network to be configured, when the first ecological network is in an unconfigured state, the second ecological network is in a configured state, and the ecological network to be configured is the first ecological network, so that the target server sends second information to the user terminal based on the first information; the first information is used to indicate that the second ecological network of the device to be configured is in a configured state; the second information is used to instruct the device to be configured to establish a fourth network connection with the second configured device.
[0197] In some embodiments, the device further includes:
[0198] The sixth processing module is used for:
[0199] When the first ecological network is configured, the second ecological network is unconfigured, and the ecological network to be configured is the second ecological network, after accessing the target server of the ecological network to be configured, the server information of the first server of the first ecological network is obtained from the second storage area; the server information includes the server IP and port number.
[0200] Reconnect to the first server of the first ecosystem network based on the server IP and port number.
[0201] In some embodiments, the device further includes:
[0202] The seventh processing module is used to establish a fifth network connection with the third target device based on the device information of the third target device in the second network connection after receiving the second network information sent by the user terminal through the first network connection due to the user's network distribution operation, so as to access the server of the ecological network to be configured through the fifth network connection and the sixth network connection.
[0203] Among them, the first network connection is the network connection between the device to be configured and the wireless router; the ecological network to be configured is the second ecological network to be configured; and the sixth network connection is the network connection between the third target device and the target server of the second ecological network to be configured.
[0204] The second distribution network information is sent by the user terminal after it determines that the setting code in the first application in the user terminal has been copied to the second application; the first application is the application corresponding to the configured second ecological network; the second application is the application corresponding to the second ecological network to be configured.
[0205] In some embodiments, the first processing module 910 is further configured to:
[0206] Obtain the parameter values of the first configuration parameter and the second configuration parameter; the first configuration parameter is used to characterize the configuration status of the first ecological network; the second configuration parameter is used to characterize the configuration status of the second ecological network.
[0207] The distribution network status code is generated based on the parameter values of the first configuration parameter and the second configuration parameter.
[0208] The network configuration device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.
[0209] The network distribution device in this application embodiment can be a device with an operating system. This operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.
[0210] The network distribution device provided in this application embodiment can achieve... Figures 1 to 8 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0211] In some embodiments, such asFigure 10 As shown, this application embodiment also provides an electronic device 1000, including a processor 1001, a memory 1002, and a computer program stored in the memory 1002 and executable on the processor 1001. When the program is executed by the processor 1001, it implements the various processes of the above-described network distribution method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0212] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0213] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described network distribution method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0214] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0215] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the network distribution method of the above-mentioned device.
[0216] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0217] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described network distribution method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0218] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0219] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0220] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0221] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0222] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0223] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A method for distributing equipment across a network, characterized in that, Applied to the device to be configured, including: In response to receiving the first request, a network configuration status code is displayed so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecosystem network and the second ecosystem network; the first ecosystem network is the brand-private ecosystem network of the device to be configured; the second ecosystem network is an ecosystem network that supports the Matter standard; After the network configuration mode is triggered due to the user's network configuration operation, the target initialization operation required to configure the ecological network to be configured is determined and executed according to the configuration status of the first ecological network and the second ecological network; the type of the ecological network to be configured is the first ecological network or the second ecological network.
2. The network distribution method for the equipment according to claim 1, characterized in that, Before determining and executing the target initialization operations required to configure the ecological network to be configured based on the configuration states of the first and second ecological networks, the method further includes: The first network configuration information sent by the user terminal is obtained through the first wireless connection; the first network configuration information includes the identifier and key of the wireless router, as well as the information of the ecological network to be configured; the first wireless connection is the wireless connection between the device to be configured and the user terminal. After determining and executing the target initialization operations required to configure the ecological network to be configured based on the configuration states of the first and second ecological networks, the method further includes: A first network connection is established with the wireless router based on the wireless router's identifier and key; Under the first network connection, the target server of the ecological network to be configured is accessed according to the information of the ecological network to be configured.
3. The network distribution method for the equipment according to claim 2, characterized in that, The information of the ecological network to be configured includes server information of the target server in the ecological network to be configured or device information of the first configured device in the ecological network to be configured. The step of accessing the target server of the ecological network to be configured based on the information of the ecological network to be configured includes: If the ecological network to be configured is determined to be the first ecological network, the target server is accessed according to the server information of the target server; When the ecological network to be configured is the second ecological network, a second network connection is established with the first configured device based on the device information of the first configured device, so as to access the target server through the second network connection and the third network connection; the third network connection is the network connection between the first configured device and the target server.
4. The network distribution method for the equipment according to claim 1, characterized in that, The configuration status is either configured or unconfigured. The step of determining and executing the target initialization operation required to configure the ecological network to be configured based on the configuration status of the first and second ecological networks includes: If it is determined that the configuration status of both the first ecological network and the second ecological network is unconfigured, the first target initialization operation is performed; the first target initialization operation includes restoring the wireless module to factory settings, formatting the first storage area where the wireless router's identifier and key are located, the second storage area where the server information is located, and the third storage area where the network operation center's data is located; If it is determined that the first ecological network is configured, the second ecological network is unconfigured, and the ecological network to be configured is the second ecological network, or if the first ecological network is unconfigured, the second ecological network is configured, and the ecological network to be configured is the first ecological network, a second target initialization operation is performed. The second target initialization operation includes deleting the identifier and key of the wireless router in the first storage area, and the data of the network operation center in the third storage area.
5. The network distribution method for the equipment according to claim 2, characterized in that, When the first ecological network is in an unconfigured state, the second ecological network is in a configured state, and the ecological network to be configured is the first ecological network, after accessing the target server of the ecological network to be configured, the method further includes: The first information is reported to the target server so that the target server sends the second information to the user terminal according to the first information; the first information is used to indicate that the second ecological network of the device to be configured is in a configured state, and the second information is used to indicate that the device to be configured establishes a fourth network connection with the second configured device.
6. The network distribution method for the equipment according to claim 2, characterized in that, When the first ecological network is configured, the second ecological network is unconfigured, and the ecological network to be configured is the second ecological network, after accessing the target server of the ecological network to be configured, the method further includes: Obtain the server information of the first server of the first ecological network from the second storage area; the server information includes the server IP and port number; Reconnect to the first server of the first ecological network based on the server IP and port number.
7. The network distribution method for the equipment according to claim 1, characterized in that, After displaying the network status code, the method further includes: After receiving the second network configuration information sent by the user terminal through the first network connection due to the user's network configuration operation, a fifth network connection is established with the third target device based on the device information of the third target device in the second network configuration information, so as to access the server of the ecological network to be configured through the fifth network connection and the sixth network connection; Wherein, the first network connection is the network connection between the device to be configured and the wireless router; the ecosystem network to be configured is the second ecosystem network to be configured; and the sixth network connection is the network connection between the third target device and the target server of the second ecosystem network to be configured. The second distribution network information is sent by the user terminal after it determines that the setting code in the first application in the user terminal has been copied to the second application; the first application is the application corresponding to the configured second ecological network; the second application is the application corresponding to the second ecological network to be configured.
8. The network distribution method of the equipment according to any one of claims 1-7, characterized in that, Before displaying the distribution network status code, the method further includes: Obtain the parameter values of the first configuration parameter and the second configuration parameter; the first configuration parameter is used to characterize the configuration status of the first ecological network; the second configuration parameter is used to characterize the configuration status of the second ecological network. The distribution network status code is generated based on the parameter values of the first configuration parameter and the second configuration parameter.
9. A distribution network device for an equipment, characterized in that, Applied to the device to be configured, including: The first processing module is used to respond to a first request by displaying a network configuration status code, so that the user can determine the network configuration operation to be performed based on the network configuration status code; the first request is used to obtain the network configuration status code; the network configuration status code is used to indicate the configuration status of the first ecosystem network and the second ecosystem network; the first ecosystem network is the brand-private ecosystem network of the device to be configured; the second ecosystem network is an ecosystem network that supports the Matter standard. The second processing module is used to determine and execute the target initialization operation required to configure the ecological network to be configured based on the configuration status of the first ecological network and the second ecological network after the network configuration mode is triggered due to the user's network configuration operation; the type of the ecological network to be configured is the first ecological network or the second ecological network.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the network distribution method of the device as described in any one of claims 1-8.