Non-inductive network configuration method, non-inductive network configuration system, device and medium
Patent Information
- Application Number
- CN202310379260.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-03-31
AI Technical Summary
上述配网方法的操作步骤繁琐耗时,不能同时操作批量的智能终端进行配网,使得用户使用体验感不佳
[0021] In the seamless network configuration method and system provided in this application embodiment, the second device is used to obtain the network information of the routing device. The second device is also used to send the network information of the routing device to the target first device and other first devices that are discovered by each other. The target first device and other first devices access the wireless network of the routing device through the above-mentioned network information, so that users can operate multiple first devices simultaneously for network configuration through the second device, thereby improving the efficiency of network configuration. The target first device and other first devices also automatically exchange configuration information based on the wireless network of the routing device to complete the network formation according to the configuration information of both parties, thereby realizing automated network formation, reducing the user's operation steps, improving network formation efficiency, and providing users with more convenient, efficient, intelligent and secure network services.
Smart Images

Figure CN116437331B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer networks, and in particular to a seamless network distribution method, seamless network distribution system, equipment and medium. Background Technology
[0002] Currently, with the continuous development and popularization of the smart home industry and IoT technology, the demand for smart terminals to connect to home networks is becoming increasingly strong. Current methods for configuring smart terminals to access home networks require users to manually connect each smart terminal individually to the network and to configure multiple smart terminals to form a network. If the home network is disconnected, users must manually reconnect each smart terminal individually. These methods are cumbersome and time-consuming, and cannot simultaneously configure multiple smart terminals, resulting in a poor user experience. Summary of the Invention
[0003] This application provides a seamless network distribution method, seamless network distribution system, equipment, and medium for simultaneously operating multiple smart terminals to perform network distribution, thereby improving the efficiency of network distribution and thus enhancing the user experience.
[0004] In a first aspect, embodiments of this application provide a seamless network distribution method, applied to a first device in a seamless network distribution system. The seamless network distribution system includes a router, multiple first devices, and at least one second device. The second device has a seamless network distribution application installed, which is used to send network information from the router to the first devices. The seamless network distribution method includes:
[0005] When the target first device and the second device discover each other, the target first device receives the network information of the router sent by the second device, and the target first device can be any one of a plurality of first devices;
[0006] The target first device connects to the router's wireless network according to the network information and searches for other first devices connected to the router's wireless network;
[0007] The target first device and other first devices exchange their configuration information based on the router's wireless network; the target first device and other first devices perform network configuration authentication according to the configuration information to complete the network formation.
[0008] In some embodiments, the target first device interacts with other first devices based on the router's wireless network, including: the target first device sending first configuration information to other first devices to cause the other first devices to reply with second configuration information, the first configuration information including the target first device's authentication information and permission request information, and the second configuration information including the other first devices' authentication information and permission permission information; and the target first device receiving the second configuration information.
[0009] In some embodiments, before the target first device sends the first configuration information to other first devices, the method includes: the target first device generating the first configuration information based on its own first authentication information and permission request information, wherein the permission request information is used to inform other first devices of the scope of the communication permissions requested by the target first device.
[0010] In some embodiments, the target first device and other first devices perform network configuration authentication based on the configuration information to complete network formation, including: the target first device parsing the second configuration information to obtain the second authentication information and permission information of other first devices, wherein the permission information is used to inform the target first device of the permitted scope of communication permissions of other first devices; the target first device authenticating the identity of other first devices based on the second authentication information; and the target first device obtaining the communication permissions of other first devices based on the permission information to complete network formation.
[0011] In some embodiments, the target first device performs identity authentication on other first devices based on the second authentication information, including: the target first device obtaining the communication certificate and identity signature data of other first devices from the second authentication information, wherein the identity signature data is generated by the server of the router's wireless network based on the identity identifier of other first devices; the target first device obtaining the first identity identifier of other first devices from the communication certificate of other first devices; the target first device obtaining the second identity identifier of other first devices from the identity signature data of other first devices; and the target first device comparing the first identity identifier and the second identity identifier, and when confirming that the first identity identifier and the second identity identifier are the same, the target first device completes the identity authentication of other first devices.
[0012] In some embodiments, when the second device runs the seamless network distribution application, the second device displays a seamless network distribution interface, which includes: a first display area, a second display area, a third display area, and a fourth display area; the first display area is used to display the identity of the first device; the second display area is used to display the network relationship of the first device; the third display area is used to receive network distribution operations from users; and the fourth display area is used to display log data generated by the first device during the network distribution process.
[0013] In some embodiments, the other first devices are equipped with a first-level operating system, and the target first device is equipped with a second-level operating system.
[0014] In some embodiments, the first device includes smart furniture, and the second device includes mobile devices and computers.
[0015] Secondly, embodiments of this application provide a second seamless network distribution method, applied to a second device in a seamless network distribution system. The seamless network distribution system includes a router, multiple first devices, and at least one second device. The second device has a seamless network distribution application installed, which is used to send network information from the router to the first devices. The seamless network distribution method includes:
[0016] The second device acquires the network information of the router;
[0017] When the second device and the target first device discover each other, the second device sends the network information of the router to the target first device, so that the target first device can connect to the wireless network of the router according to the network information, and the target first device and other first devices can form a network based on the wireless network of the router. The target first device can be any one of the multiple first devices.
[0018] Thirdly, embodiments of this application provide a seamless network distribution system, which includes a router, a plurality of first devices and at least one second device. The second device is equipped with a seamless network distribution application, which is used to send the network information of the router to the first device. The first device is used to correspondingly execute the steps of any of the seamless network distribution methods provided in the embodiments of this application.
[0019] Fourthly, embodiments of this application provide a computer device; the computer device includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and, when executing the computer program, implement the steps of any of the seamless network distribution methods provided in the embodiments of this application.
[0020] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the steps of any of the seamless network distribution methods provided in embodiments of this application.
[0021] In the seamless network configuration method and system provided in this application embodiment, the second device is used to obtain the network information of the routing device. The second device is also used to send the network information of the routing device to the target first device and other first devices that are discovered by each other. The target first device and other first devices access the wireless network of the routing device through the above-mentioned network information, so that users can operate multiple first devices simultaneously for network configuration through the second device, thereby improving the efficiency of network configuration. The target first device and other first devices also automatically exchange configuration information based on the wireless network of the routing device to complete the network formation according to the configuration information of both parties, thereby realizing automated network formation, reducing the user's operation steps, improving network formation efficiency, and providing users with more convenient, efficient, intelligent and secure network services. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of a seamless power distribution system provided in an embodiment of this application;
[0024] Figure 2 This is a schematic flowchart of the first seamless network distribution method provided in the embodiments of this application;
[0025] Figure 3 This is a schematic diagram of a seamless network distribution interface provided in an embodiment of this application;
[0026] Figure 4 This is a schematic flowchart of the first device networking method provided in the embodiments of this application;
[0027] Figure 5 This is a schematic flowchart of the second first device networking method provided in the embodiments of this application;
[0028] Figure 6 This is a schematic flowchart of the second seamless network distribution method provided in the embodiments of this application;
[0029] Figure 7This is a schematic block diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0031] It should be noted that the use of terms such as "first" and "second" in this application is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features.
[0032] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in some embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0033] Furthermore, the technical solutions of the various embodiments can be combined with each other, but only if they are based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0034] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0035] Information transmission between terminal devices and smart terminals is achieved using the NAN (Neighbor Awareness Networking) protocol. Through the WiFi sensing subscription and publishing capabilities between terminal devices and smart terminals, discovery between different terminals can be achieved in network configuration applications. After mutual authentication and response, the terminal device can send relevant network configuration data to the smart terminal. There are four main network configuration modes for smart terminals: SmartConfig (broadcast configuration), SoftAP (hotspot configuration), WPS (router configuration), and Combo configuration (Bluetooth / WiFi dual-mode). These methods require users to manually enable the AP hotspot on the smart terminal and perform multiple interactive operations on the terminal device's display interface, manually entering a username and password to complete the configuration. The operation steps are cumbersome and time-consuming, and they do not support batch configuration of multiple smart terminals. These configuration methods rely on manual user operation, resulting in a poor user experience.
[0036] To address the aforementioned issues, this application provides a seamless network configuration method that allows users to simultaneously operate a batch of smart terminals by simply inputting the wireless network information once on their terminal device. This avoids the tedious steps of manually operating each smart terminal and is a network configuration method that balances efficiency, reliability, and security.
[0037] It should be noted that terminal devices can be electronic devices such as mobile phones, tablets, laptops, desktop computers, personal digital assistants, and wearable devices. Smart terminals can be smart furniture with IoT capabilities, such as refrigerators, washing machines, water dispensers, and televisions, as well as industrial equipment with IoT capabilities.
[0038] Please see Figure 1 , Figure 1 A schematic diagram of a seamless power distribution system provided in an embodiment of this application is shown.
[0039] like Figure 1As shown, the seamless network configuration system includes a router, multiple first devices, and at least one second device. When a first device enters the communication range of a second device, the second device can detect the first device and establish a communication connection with it. The second device has a seamless network configuration application (APP) installed, which broadcasts the router's network information to the first devices. The first devices also have a corresponding seamless network configuration application installed to receive and save the router's network information broadcast by the second device. The second device obtains the router's network information input by the user through the seamless network configuration application's interface, or it can request the router's network information from a router that supports seamless network configuration. The first devices access the router's wireless network based on the router's network information, thereby accessing the Internet. After accessing the router's wireless network, the first device can form a network with other first devices in the wireless network.
[0040] It should be noted that the first device can be smart furniture such as refrigerators, washing machines, water dispensers, and televisions with IoT capabilities, or industrial equipment with IoT capabilities. The second device can be electronic devices such as mobile phones, tablets, laptops, desktop computers, personal digital assistants, and wearable devices.
[0041] Servers that provide services for seamless network configuration applications can be standalone servers, server clusters, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0042] It should be noted that the embodiments of this application can acquire and process relevant data based on artificial intelligence technology, such as controlling different smart terminals to form a network. Artificial intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0043] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.
[0044] Please see Figure 2 , Figure 2 A schematic flowchart illustrating the first seamless network distribution method provided in the embodiments of this application is shown.
[0045] like Figure 2 As shown, this application embodiment provides a seamless network distribution method, applied to a first device in a seamless network distribution system. The seamless network distribution system includes a router, multiple first devices, and at least one second device. The second device has a seamless network distribution application installed, which is used to send network information from the router to the first devices. The specific steps of the first seamless network distribution method provided in this application embodiment include: S101-S104.
[0046] S101. When the target first device and the second device discover each other, the target first device receives the network information of the router sent by the second device. The target first device can be any one of multiple first devices.
[0047] For example, both the first and second devices are equipped with a seamless network configuration application. Based on this application, the first and second devices can discover each other via near-field communication (NFC). NFC methods include Bluetooth, WiFi, and NFC. When the first device enters the communication range of the second device, it can establish a communication connection. After establishing the connection, the first device sends its identity identifier to the second device. The second device authenticates the identifier and, upon successful authentication, communicates with the first device—that is, the first and second devices discover each other. Then, the user can select the target first device on the first device's seamless network configuration interface. The second device obtains the router's network information entered by the user through the seamless network configuration application's interface, or requests the router's network information from a router that supports seamless network configuration. The router's network information includes: the wireless network name (SSID), password, IP address, and subnet mask. The second device then sends the router's network information to the target first device.
[0048] S102. The target first device connects to the router's wireless network based on the network information and searches for other first devices in the router's wireless network.
[0049] For example, the target first device accesses the router's wireless network based on the router's network information. This router's network information is also sent to other first devices, allowing them to access the router's wireless network as well. After joining the router's wireless network, the target first device searches for other first devices within the wireless network it has joined using a seamless network configuration application. For example, it searches for other first devices with the same IP address using the seamless network configuration application.
[0050] The wireless network provided by the router can be either WiFi or Ethernet. Ethernet-based seamless network configuration technology offers stable connections, reducing the likelihood of network disconnections or connection failures, thus ensuring network stability and reliability. WiFi or Ethernet-based seamless network configuration technology can broadcast information and automatically discover and connect to other devices that support seamless network configuration. The advantage of this mode is its ability to automatically discover and connect to other devices that support seamless network configuration, reducing the complexity of operation for users.
[0051] S103. The target first device interacts with other first devices via the router's wireless network, exchanging their configuration information.
[0052] For example, when the target first device forms a network with other first devices, they need to obtain each other's configuration information to complete mutual authentication and grant control permissions. The target first device sends its first configuration information to the other first devices, so that the other first devices return second configuration information.
[0053] Once the target device discovers other devices, it automatically broadcasts its information to the wireless network and adjusts its settings and connections according to the network's status and configuration. This intelligent identification and management design allows smart terminals to work more intelligently, improving network stability and reliability.
[0054] S104. The target first device and other first devices perform network configuration authentication according to the configuration information to complete the network formation.
[0055] For example, the target first device completes network configuration authentication for other first devices based on the second configuration information, and the other first devices complete network configuration authentication for the target first device based on the first configuration information, thereby completing the network formation. After the target first device and other first devices complete the network formation, they communicate through the router's wireless network to exchange data.
[0056] In the seamless network configuration method and system provided in this application embodiment, the second device is used to obtain the network information of the routing device. The second device is also used to send the network information of the routing device to the target first device and other first devices that are discovered by each other. The target first device and other first devices access the wireless network of the routing device through the above-mentioned network information, so that the user can operate multiple first devices simultaneously for network configuration through the second device, thereby improving the efficiency of network configuration. The target first device and other first devices also automatically exchange configuration information based on the wireless network of the routing device to complete the network formation according to the configuration information of both parties, thereby realizing automated network formation, reducing the user's operation steps, improving network formation efficiency, and thus improving the user's operating experience.
[0057] To provide a more detailed description of the technical solution of this application, the following embodiments are also provided. It should be noted that the following embodiments are only used to expand the description of the technical solution of this application and are not intended to limit this application.
[0058] In some embodiments, before the target first device sends the first configuration information to other first devices, the specific steps include: the target first device generating the first configuration information based on its own first authentication information and permission request information, wherein the permission request information is used to inform other first devices of the scope of the communication permissions requested by the target first device.
[0059] For example, the target first device obtains its own first authentication information from the cloud server. This first authentication information includes the target first device's communication certificate and its identity signature data. The identity signature data is obtained by the cloud server encrypting the target first device's identity identifier using a root public key, and the target first device's communication certificate is also encrypted by the cloud server using the root public key. The target first device generates permission request information based on the scope of communication permissions requested from other first devices. This permission request information informs the other first devices of the scope of the requested communication permissions. The target first device generates first configuration information from its first authentication information and permission request information, and sends this first configuration information to the other first devices.
[0060] During network deployment, the first device automatically identifies and blocks insecure connections and configurations, ensuring the security and stability of communication. Simultaneously, the first device supports various encryption and authentication technologies, enhancing network security and confidentiality.
[0061] In some embodiments, the target first device interacts with other first devices based on the router's wireless network, specifically including: the target first device sending first configuration information to other first devices to cause the other first devices to reply with second configuration information, the first configuration information including the target first device's authentication information and permission request information, the second configuration information including the other first devices' authentication information and permission permission information; and the target first device receiving the second configuration information.
[0062] Specifically, for example, the target first device sends its first configuration information to other first devices through the wireless network of the routing device, and requests control permissions from the other first devices based on the first configuration information. After receiving the first configuration information, the other first devices verify the target first device according to the first configuration information, and after successful verification, send second configuration information to the target first device. The target first device receives the second configuration information, verifies the other first devices according to the second configuration information, and obtains control permissions from the other first devices according to the permitted scope of control permissions in the second configuration information.
[0063] For example, after receiving the first configuration information, the other first device confirms whether to reply based on the first configuration information. If the other first device confirms to reply, it generates permission information, which is used to inform the target first device of the scope of its communication permissions. The other first device then generates second configuration information based on its own second authentication information and permission information, and sends the second configuration information to the target first device.
[0064] The steps for confirming whether to respond to the first configuration information include: Other first devices use the root public key of the cloud server to decrypt the target first device's communication certificate and identity signature data. After decryption, the other first devices obtain the target first device's first identity identifier from the target first device's communication certificate, and obtain the target first device's second identity identifier from the identity signature data. The other first devices compare the first and second identity identifiers; if they are identical, the other first devices complete the authentication of the target first device.
[0065] After the other first device confirms and responds, it retrieves its second authentication information from the cloud server. This second authentication information includes the other first device's communication certificate and its identity signature data. The identity signature data is obtained by the cloud server encrypting the other first device's identity identifier using the root public key, and the other first device's communication certificate is also encrypted by the cloud server using the root public key. The other first device generates permission permission information based on the scope of communication permissions granted to the target first device. This permission permission information informs the target first device of the scope of the communication permissions granted by the other first device. The other first device generates second configuration information from its second authentication information and permission request information, and sends this second configuration information to the other first device.
[0066] In some embodiments, control permissions between the target first device and other first devices are mutually granted, that is, other first devices can also send permission request information to the target device to apply for control permissions of the target first device.
[0067] In some embodiments, the target first device and other first devices perform network configuration authentication based on configuration information to complete network formation. Specifically, this includes: the target first device parsing the second configuration information to obtain the second authentication information and permission information of the other first devices. The permission information is used to inform the target first device of the scope of the communication permissions of the other first devices; the target first device authenticating the identity of the other first devices based on the second authentication information; and the target first device obtaining the communication permissions of the other first devices based on the permission information to complete network formation.
[0068] In some embodiments, the target first device authenticates the other first device based on the second authentication information, specifically including: the target first device obtaining the communication certificate and identity signature data of the other first device from the second authentication information, wherein the identity signature data is generated by the router's wireless network server based on the identity identifier of the other first device; the target first device obtaining the first identity identifier of the other first device from the communication certificate; the target first device obtaining the second identity identifier of the other first device from the identity signature data; and the target first device comparing the first identity identifier and the second identity identifier, and completing the authentication of the other first device when confirming that the first identity identifier and the second identity identifier are the same.
[0069] For example, the target first device uses the root public key of the cloud server to decrypt the communication certificate and identity signature data of another first device. After decryption, the target first device obtains the first identity identifier of the other first device from the communication certificate, and obtains the second identity identifier of the other first device from the identity signature data. The target first device compares the first identity identifier and the second identity identifier. If the first identity identifier and the second identity identifier are confirmed to be the same, the target first device completes the authentication of the other first device.
[0070] During the network setup process, identity authentication and encryption verification are used to confirm the authenticity and legitimacy of the first device involved in network configuration, preventing attacks by malicious devices and ensuring the security and stability between devices.
[0071] In some embodiments, when the second device runs the seamless network distribution application, the second device displays a seamless network distribution interface, which includes a first display area, a second display area, a third display area, and a fourth display area; the first display area is used to display the identity of the first device; the second display area is used to display the network relationship of the first device; the third display area is used to receive the user's network distribution operation; and the fourth display area is used to display the log data generated by the first device during the network distribution process.
[0072] Please see Figure 3 , Figure 3 A schematic diagram of a seamless network distribution interface provided in an embodiment of this application is shown.
[0073] like Figure 3 As shown, a seamless network distribution interface is generated on the display screen of the second device. In this interface, the first display area displays the identity of one or more discovered first devices when the first and second devices discover each other, showing the user the currently operable first devices. The second display area records the first devices that have completed network distribution and their networking relationships, such as the target first device as the master device, and the slave devices managed by the master device, with other target devices being slave devices. The third display area displays log data generated by the first device during the network distribution process. The fourth display area includes multiple operation icons; the user can input network distribution operations using the cursor or the touchscreen input function of the seamless network distribution interface, and the second device receives and responds to the user's network distribution operations.
[0074] When multiple devices lose network access, for example, if the router's wireless network information changes, reconfiguration of these devices is required. Users can easily reconfigure these devices by using a hands-free configuration app on their mobile phone or computer. They simply select the devices in the first display area and simultaneously operate them using the operation icons in the fourth display area. This sends the updated network information from the router to the devices, quickly completing the reconfiguration process. This process takes only a few seconds to connect and network the multiple devices to the wireless network. This speed allows users to use smart devices more quickly, improving the user experience.
[0075] In some embodiments, the other first device is equipped with a first-level operating system, and the target first device is equipped with a second-level operating system.
[0076] For example, specifically, the operating system of the first device needs to be an OS system that supports OpenHarmony. The specific type is not limited to this embodiment and the accompanying drawings. KaihongOS will be used as an example for the following description.
[0077] It should be noted that KaihongOS has six levels of device permission, specifically L0 to L5, where L5 is the highest level and L0 is the lowest. By making the permission level of the target first device in KaihongOS the second level, which is higher than the first level of other first devices, the seamless network configuration method provided in this application embodiment can be realized. The following description takes the permission level of the target first device as L2 and the permission level of other first devices as L0 as an example.
[0078] In some embodiments, the target first device can be a management terminal for smart furniture, allowing users to operate the smart furniture in their homes. Other first devices can be smart furniture such as refrigerators, washing machines, water dispensers, and televisions equipped with IoT capabilities. Therefore, the target first device is equipped with an L2-level operating system, while the other first devices are equipped with L0-level operating systems, enabling the target first device to manage and control the other first devices after networking.
[0079] Please see Figure 4 , Figure 4 A schematic flowchart illustrating the first device networking method provided in the embodiments of this application is shown.
[0080] like Figure 4 As shown, after the target first device and other first devices access the router's wireless network, they can automatically form a network. The specific steps of the first device networking method provided in this application embodiment include: S201-S203.
[0081] S201. The target first device starts broadcasting based on the wireless network in order to discover other first devices.
[0082] S202, the target first device and other first devices perform trusted authentication with each other.
[0083] S203, the target first device and other first devices are interconnected for power distribution.
[0084] Please see Figure 5 , Figure 5 A schematic flowchart illustrating a second method for networking a first device provided in an embodiment of this application is shown.
[0085] like Figure 5 As shown, after the target first device and other first devices access the router's wireless network, they can automatically form a network. Users can control the entire network configuration process on the target first device through a seamless network configuration application. The specific steps of the second first device networking method provided in this application embodiment include: S301-S310.
[0086] S301, the seamless network configuration application sends a startup command for the networking components to the target first device.
[0087] S302, The target device starts broadcasting based on the wireless network.
[0088] S303, other first devices enable broadcasting based on the wireless network.
[0089] S304, the target first device and other first devices discover each other.
[0090] S305, the target first device and other first devices exchange configuration information.
[0091] S306, Seamless Network Distribution Application Parses Configuration Information.
[0092] S307, the target first device and other first devices complete two-way identity authentication.
[0093] S308, the target first device, and other first devices form a network based on their mutual configuration information.
[0094] S309. The target device returns the networking result to the seamless network application.
[0095] The S310 seamless network configuration application displays the network configuration results to the user.
[0096] Please see Figure 6 , Figure 6 A schematic flowchart illustrating the second seamless network distribution method provided in the embodiments of this application is shown.
[0097] like Figure 6 As shown, this application embodiment provides a seamless network distribution method, applied to a second device in a seamless network distribution system. The seamless network distribution system includes a router, multiple first devices, and at least one second device. The second device has a seamless network distribution application installed, which is used to send network information from the router to the first devices. The specific steps of the first seamless network distribution method provided in this application embodiment include: S401-S402.
[0098] S401, The second device obtains the router's network information.
[0099] For example, the second device obtains the router's network information input by the user through the user interface of the seamless network configuration application, or by requesting the router's network information from a router that supports seamless network configuration. The router's network information includes: the wireless network name (SSID), password, IP address, and subnet mask.
[0100] S402. When the second device and the target first device discover each other, the second device sends the router's network information to the target first device so that the target first device can connect to the router's wireless network according to the network information, and enable the target first device and other first devices to complete the network based on the router's wireless network. The target first device can be any one of multiple first devices.
[0101] For example, both the first and second devices are equipped with a seamless network configuration application. Based on this application, the first and second devices can discover each other via near-field communication. When the first device enters the communication range of the second device, it can establish a communication connection with the second device. After establishing the connection, the first device sends its identity identifier to the second device. The second device authenticates the first device's identity identifier, and upon successful authentication, communicates with the first device; that is, the first and second devices discover each other. The second device sends the router's network information to the target first device and other first devices. The target first device and other first devices access the router's wireless network based on the router's network information and complete the network formation based on the router's wireless network.
[0102] A router can provide either a WiFi network or an Ethernet network. Seamless network configuration technology based on WiFi or Ethernet can help users connect smart devices more conveniently, improving their intelligence and interoperability. This technology allows users to quickly connect a large number of smart devices and achieve data sharing and interaction between them, thus enhancing the overall intelligence of the devices.
[0103] In the seamless network configuration method and system provided in this application embodiment, the second device is used to obtain the network information of the routing device. The second device is also used to send the network information of the routing device to the target first device and other first devices that are discovered by each other. The target first device and other first devices access the wireless network of the routing device through the above-mentioned network information, so that the user can operate multiple first devices simultaneously for network configuration through the second device, thereby improving the efficiency of network configuration. The target first device and other first devices also automatically exchange configuration information based on the wireless network of the routing device to complete the network formation according to the configuration information of both parties, thereby realizing automated network formation, reducing the user's operation steps, improving network formation efficiency, and thus improving the user's operating experience.
[0104] Please see Figure 7 , Figure 7 This is a schematic block diagram illustrating the structure of a computer device according to an embodiment of this application. The computer device may be a server or a terminal.
[0105] See Figure 7The computer device includes a processor, memory, and network interface connected via a system bus, wherein the memory may include storage media and internal memory.
[0106] The storage medium may store the operating system and computer programs. The computer programs include program instructions that, when executed, cause the processor to perform the steps of any seamless network configuration method.
[0107] The processor provides computing and control capabilities, supporting the operation of the entire computer device.
[0108] Internal memory provides an environment for the execution of computer programs stored in the storage medium. When executed by a processor, this program enables the processor to perform the steps of any seamless network distribution method. The storage medium can be non-volatile or volatile.
[0109] This network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0110] It should be understood that the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, a general-purpose processor can be a microprocessor or any conventional processor.
[0111] For example, in one embodiment, the processor is configured to run a computer program stored in a memory to perform the following steps: when a target first device and a second device discover each other, the target first device receives network information from a router sent by the second device, wherein the target first device is any one of a plurality of first devices; the target first device connects to the router's wireless network according to the network information and searches for other first devices in the router's wireless network; the target first device and other first devices exchange their configuration information based on the router's wireless network; the target first device and other first devices perform network configuration authentication according to the configuration information to complete the network formation.
[0112] In some embodiments, when the processor is used to implement: the target first device interacts with other first devices based on the router's wireless network, it is specifically used to implement: the target first device sends first configuration information to other first devices so that the other first devices reply with second configuration information, the first configuration information including the target first device's authentication information and permission request information, the second configuration information including the other first devices' authentication information and permission permission information; the target first device receives the second configuration information.
[0113] In some embodiments, before the processor is used to implement: the target first device sends the first configuration information to other first devices, it is specifically used to implement: the target first device generates the first configuration information based on its own first authentication information and permission request information, wherein the permission request information is used to inform other first devices of the scope of the communication permissions requested by the target first device.
[0114] In some embodiments, when the processor is used to implement: the target first device and other first devices perform network configuration authentication according to configuration information to complete the network formation, specifically it is used to implement: the target first device parses the second configuration information to obtain the second authentication information and permission information of other first devices, the permission information being used to inform the target first device of the scope of permission for communication of other first devices; the target first device performs identity authentication of other first devices according to the second authentication information; the target first device obtains the communication permissions of other first devices according to the permission information to complete the network formation.
[0115] In some embodiments, when the processor is used to perform identity authentication of other first devices based on the second authentication information, it specifically performs the following: the target first device obtains the communication certificate and identity signature data of other first devices from the second authentication information, wherein the identity signature data is generated by the server of the router's wireless network based on the identity identifier of other first devices; the target first device obtains the first identity identifier of other first devices from the communication certificate of other first devices; the target first device obtains the second identity identifier of other first devices from the identity signature data of other first devices; the target first device compares the first identity identifier and the second identity identifier, and when it confirms that the first identity identifier and the second identity identifier are the same, the target first device completes the identity authentication of other first devices.
[0116] In one embodiment, the processor is configured to run a computer program stored in a memory to perform the following steps: the second device obtains network information from the router; when the second device and the target first device discover each other, the second device sends the router's network information to the target first device, so that the target first device connects to the router's wireless network according to the network information, and enables the target first device and other first devices to complete the network formation based on the router's wireless network, wherein the target first device is any one of a plurality of first devices.
[0117] This application provides a computer-readable storage medium that stores one or more programs that can be executed by one or more processors to implement the steps of the seamless network distribution method provided in any of the embodiments of this application.
[0118] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiments, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the computer device.
[0119] In one embodiment, the program in the computer-readable storage medium proposed in this application, when executed by a processor, is specifically used to implement the following steps: when a target first device and a second device discover each other, the target first device receives network information of the router sent by the second device, wherein the target first device is any one of a plurality of first devices; the target first device connects to the router's wireless network according to the network information and searches for other first devices accessing the router's wireless network; the target first device and other first devices exchange their configuration information based on the router's wireless network; the target first device and other first devices perform network configuration authentication according to the configuration information to complete network formation.
[0120] In another embodiment, the program in the computer-readable storage medium proposed in this application, when executed by a processor, is specifically used to implement the following steps: the second device obtains the network information of the router; when the second device and the target first device discover each other, the second device sends the network information of the router to the target first device, so that the target first device connects to the wireless network of the router according to the network information, and enables the target first device and other first devices to complete the network based on the wireless network of the router, wherein the target first device is any one of a plurality of first devices.
[0121] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A seamless power distribution method, characterized in that, A first device is applied to a seamless network distribution system, the seamless network distribution system including a router, multiple first devices and at least one second device, the second device having a seamless network distribution application installed, the seamless network distribution application being used to send network information of the router to the first device; The seamless power distribution method includes: When the target first device and the second device discover each other, the target first device receives the network information of the router sent by the second device, and the target first device can be any one of a plurality of first devices; The target first device connects to the router's wireless network according to the network information and searches for other first devices connected to the router's wireless network; The target first device sends first configuration information to other first devices, so that the other first devices reply with second configuration information. The first configuration information includes the target first device's authentication information and permission request information, and the second configuration information includes the other first devices' authentication information and permission permission information; the target first device receives the second configuration information. The target first device parses the second configuration information to obtain the second authentication information and permission information of the other first devices. The permission information is used to inform the target first device of the scope of communication permissions of the other first devices. The target first device performs identity authentication on the other first devices based on the second authentication information. The target first device obtains the communication permissions of the other first devices based on the permission information, thus completing the network formation.
2. The seamless power distribution method as described in claim 1, characterized in that, Before the target first device sends the first configuration information to the other first devices, the process includes: The target first device generates first configuration information based on its own first authentication information and permission request information. The permission request information is used to inform other first devices of the scope of the communication permissions requested by the target first device.
3. The seamless power distribution method as described in claim 1, characterized in that, The target first device performs identity authentication on other first devices based on the second authentication information, including: The target first device obtains the communication certificate and identity signature data of other first devices from the second authentication information. The identity signature data is generated by the server of the router's wireless network based on the identity identifier of other first devices. The target first device obtains the first identity identifier of the other first device from the communication certificate of the other first device; The target first device obtains the second identity identifier of the other first devices from the identity signature data of the other first devices; The target first device compares the first identity identifier and the second identity identifier. When it confirms that the first identity identifier and the second identity identifier are the same, the target first device completes the identity authentication of the other first devices.
4. The seamless power distribution method as described in claim 1, characterized in that, When the second device runs the seamless network distribution application, the second device displays a seamless network distribution interface, which includes: a first display area, a second display area, a third display area, and a fourth display area; The first display area is used to display the identification of the first device; The second display area is used to display the network relationship of the first device; The third display area is used to receive network configuration operations from users; The fourth display area is used to display the log data generated by the first device during the network distribution process.
5. The seamless power distribution method as described in claim 1, characterized in that, The other first device is equipped with a first-level operating system, while the target first device is equipped with a second-level operating system.
6. The seamless power distribution method as described in claim 1, characterized in that, The first device includes smart furniture, and the second device includes mobile devices and computers.
7. A seamless power distribution method, characterized in that, A second device applied in a seamless network distribution system, the seamless network distribution system including a router, multiple first devices and at least one second device, the second device having a seamless network distribution application installed, the seamless network distribution application being used to send network information of the router to the first device, the first device being used to execute the seamless network distribution method of claim 1; The seamless power distribution method includes: The second device acquires the network information of the router; When the second device and the target first device discover each other, the second device sends the network information of the router to the target first device, so that the target first device can connect to the wireless network of the router according to the network information, and the target first device and other first devices can form a network based on the wireless network of the router. The target first device can be any one of the multiple first devices.
8. A seamless power distribution system, characterized in that, The seamless network distribution system includes a router, multiple first devices, and at least one second device. The second device is equipped with a seamless network distribution application, which is used to send network information of the router to the first device. The first device is used to execute the seamless network distribution method as described in any one of claims 1-6.
9. A computer device, characterized in that, The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program and, in executing the computer program, implement the seamless network distribution method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to implement the seamless network distribution method as described in any one of claims 1-7.
Citation Information
Patent Citations
Method and apparatus for automatically triggering non-inductive network configuration of user equipment
CN113709846A
Non-inductive distribution network and equipment cooperation method, device, equipment and storage medium
CN114760672A