Network distribution method, network distribution system and user terminal
By receiving server data packets and autonomously selecting the optimal network configuration method, the target user terminal and the device to be controlled can perform network configuration, which solves the problem that the user terminal cannot autonomously select the optimal network configuration method in the existing technology, realizes a fast and simplified network configuration process, and improves user experience and connectivity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2022-11-16
- Publication Date
- 2026-05-29
AI Technical Summary
In existing technologies, user terminals cannot independently select the optimal network configuration method, resulting in cumbersome network configuration interface operations, long network configuration lag times, and low connectivity rates, which negatively impacts user experience.
The target user terminal receives the data packet of the device to be controlled sent by the server. Based on the network configuration method and network load information contained in the data packet, it autonomously selects the optimal network configuration method and configures the network with the device to be controlled through manual or automatic means.
By independently selecting the optimal network configuration method, users can quickly access the best network configuration status, improving the network configuration success rate and user experience, simplifying the operation process, and increasing the connection rate of user terminals.
Smart Images

Figure CN115802382B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of high-speed networking, and more specifically, to a network distribution method, a network distribution system, and a user terminal. Background Technology
[0002] With the gradual intelligentization of manufacturing, a large number of high-end intelligent technologies have been widely applied to product development. The so-called intelligentization and informatization are not merely a simple addition of high-end intelligent technologies and manufactured products, but rather a process of mutual integration between intelligentization and manufactured products. The connotation and boundaries of high-end intelligent technologies are rapidly evolving in tandem with the continuous development of intelligent technologies and manufactured products. Therefore, the high degree of integration between intelligent technologies and manufactured products determines the importance of user operation and experience.
[0003] Currently, most user terminals (e.g., mobile phones) are configured via Wi-Fi hotspots, resulting in a limited configuration method and an inability to choose the optimal approach. Furthermore, current technology limitations, fluctuating network environments, and varying user operating habits further restrict configuration options. Moreover, existing configuration interfaces are cumbersome, experience long latency periods, and have low connectivity rates. User network configuration is the first step in experiencing smart devices; errors in this process directly impact the overall user experience. Current configuration methods fail to meet users' needs for rapid network connectivity. Summary of the Invention
[0004] The main purpose of this application is to provide a network distribution method, network distribution system and user terminal to solve the problem in the prior art that user terminals cannot independently select the optimal network distribution method and the low connection rate with equipment leads to poor user experience.
[0005] To achieve the above objectives, according to one aspect of this application, a network configuration method is provided. The method includes: a target user terminal receiving a data packet of a device to be controlled sent by a server, the data packet including information characterizing the network configuration method of the device to be controlled and information characterizing the network load of each of the network configuration methods, wherein the data packet is sent from the device to the server, and the network load of the network configuration method refers to the number of user terminals that have successfully configured with the device to be controlled using the specified network configuration method; the target user terminal determining a target network configuration method based on the data packet, wherein the target network configuration method refers to the network configuration method used by the target user terminal when configuring with the device to be controlled; and the target user terminal configuring with the device to be controlled using the target network configuration method.
[0006] Optionally, the target user terminal determines the target network configuration method based on the data packet of the device under control, including: when there is only one network configuration method for the device under control, the target user terminal determines the network configuration method of the device under control as the target network configuration method; when there are multiple network configuration methods for the device under control, the target user terminal determines the network configuration method of the device under control corresponding to the smallest network load as the target network configuration method.
[0007] Optionally, the network configuration method includes manual Bluetooth network configuration, manual Wi-Fi network configuration, and automatic Wi-Fi network configuration. After the target user terminal determines the target network configuration method based on the data packet of the device to be controlled, and before the target user terminal uses the target network configuration method to configure the device to be controlled, the method further includes: if the network configuration method is determined to be manual Bluetooth network configuration, the target user terminal stops sending network configuration request data and enters Bluetooth network configuration mode upon receiving a network configuration trigger command; if the network configuration method is determined to be manual Wi-Fi network configuration, the target user terminal stops sending the network configuration request data and enters manual Wi-Fi network configuration mode upon receiving a network configuration trigger command; if the network configuration method is determined to be automatic Wi-Fi network configuration, the target user terminal sends the network configuration request data and enters automatic network configuration mode.
[0008] Optionally, the target user terminal displays a first control on its screen. During the process of the target user terminal using the target network configuration method to configure the network with the device under control, the process includes: the target user terminal receiving a first predetermined operation applied to the first control; the target user terminal responding to the first predetermined operation to initialize the device under control, wherein the device initialization refers to causing the device under control to re-enter the network configuration state.
[0009] Optionally, after initializing the controlled device in response to the first predetermined operation, the method further includes: displaying an identifier representing the network distribution mode and a second control on the display screen of the target user terminal; the target user terminal receiving a second predetermined operation applied to the second control; and the target user terminal displaying network distribution information on its display screen in response to the second predetermined operation, the network distribution information including network distribution progress information and network distribution success information.
[0010] Optionally, when the network configuration method is manual Bluetooth network configuration, the display screen shows a manual Bluetooth network configuration screen, which displays a third control. The target user terminal receives a third predetermined operation performed on the third control. In response to the third predetermined operation, it performs Bluetooth network configuration with the device under control. When the network configuration method is manual Wi-Fi network configuration, the display screen shows a manual Wi-Fi network configuration screen, which displays a fourth control. The target user terminal receives a fourth predetermined operation performed on the fourth control. In response to the fourth predetermined operation, it performs Wi-Fi network configuration with the device under control. When the network configuration method is automatic Wi-Fi network configuration, the display screen shows an automatic Wi-Fi network configuration screen, which displays automatic network configuration information.
[0011] Optionally, the network configuration method of the device under control includes at least one of the following: Bluetooth network configuration, automatic WIFI network configuration, and manual WIFI network configuration.
[0012] According to another aspect of this application, a user terminal is provided, comprising: a receiving module, configured to receive a data packet of a device to be controlled sent by a server, the data packet including information characterizing the network configuration method of the device to be controlled and information characterizing the network load of each of the network configuration methods, wherein the data packet is sent from the device to the server, and the network load of the network configuration method refers to the number of user terminals that have successfully configured with the device to be controlled using the network configuration method; a determining module, configured to determine a target network configuration method based on the data packet of the device to be controlled, wherein the target network configuration method refers to the network configuration method used by the target user terminal when configuring with the device to be controlled; and a network configuration module, configured to configure with the device to be controlled using the target network configuration method.
[0013] According to another aspect of this application, a power distribution system is provided, comprising: a user terminal for executing any of the power distribution methods described above; a server communicatively connected to the user terminal, wherein the communication connection protocol between the user terminal and the server is a message queue telemetry transmission protocol; and a device to be controlled, communicatively connected to the server.
[0014] According to another aspect of this application, a user terminal is provided, comprising: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for performing any of the aforementioned network distribution methods.
[0015] Applying the technical solution of this application, the above-mentioned network configuration method first involves the target user terminal receiving a data packet from the server representing the device to be controlled. This data packet includes information characterizing the network configuration method of the device and information characterizing the network load of each configuration method. The data packet is sent from the device to the server, and the network load of each configuration method refers to the number of user terminals that have successfully configured with the device using that method. Next, the target user terminal determines the target configuration method based on the data packet. The target configuration method refers to the configuration method used when configuring the device with the target user terminal. Finally, the target user terminal uses the target configuration method to configure the device. This method, by autonomously selecting the optimal configuration method, can adapt to the complex and intermittent connection process of various network signals, quickly accessing the optimal configuration status data. This avoids the problem in existing technologies where user terminals cannot autonomously select the optimal configuration method, resulting in low connection rates and poor user experience. It improves the network configuration success rate and significantly enhances the user experience. Attached Figure Description
[0016] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0017] Figure 1 A schematic flowchart of a power distribution method according to an embodiment of this application is shown;
[0018] Figure 2 An example diagram of a manual Bluetooth pairing screen according to an embodiment of this application is shown;
[0019] Figure 3 An example diagram of a manual WIFI network configuration screen according to an embodiment of this application is shown;
[0020] Figure 4 An example diagram of an automatic WIFI network configuration screen according to an embodiment of this application is shown;
[0021] Figure 5 An example diagram of a specific manual Bluetooth pairing screen according to an embodiment of this application is shown;
[0022] Figure 6 An example diagram of a specific manual WIFI network configuration screen according to an embodiment of this application is shown;
[0023] Figure 7 An example diagram of a specific automatic WIFI network configuration screen according to an embodiment of this application is shown;
[0024] Figure 8An example diagram showing a specific three-in-one power distribution method according to an embodiment of this application is illustrated.
[0025] Figure 9 An example diagram of a user terminal according to an embodiment of this application is shown;
[0026] Figure 10 An example diagram of a power distribution network system according to an embodiment of this application is shown. Detailed Implementation
[0027] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0028] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0030] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be an intermediate element present. Furthermore, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element via a third element.
[0031] As described in the background section, existing technologies cannot independently select the optimal network configuration method, and the network configuration interface is cumbersome to operate, has a long network configuration lag time, and has a low connection rate of network configuration devices, resulting in a poor user experience. In order to solve the problems of user terminals being unable to independently select the optimal network configuration method and having a low connection rate of devices leading to a poor user experience in existing technologies, embodiments of this application provide a network configuration method, a network configuration system, and a user terminal.
[0032] According to an embodiment of this application, a network configuration method is provided, wherein the target user terminal can be a mobile phone, tablet, computer, etc. Figure 1 This is a schematic flowchart of a power distribution method according to an embodiment of this application, as shown below. Figure 1 As shown, the method includes the following steps:
[0033] Step S101: The target user terminal receives the data packet of the device to be controlled sent by the server. The data packet of the device to be controlled includes information representing the network configuration method of the device to be controlled and information representing the network load of each of the network configuration methods. The data packet of the device to be controlled is sent from the device to the server. The network load of the network configuration method refers to the number of user terminals that have successfully configured with the device to be controlled using the network configuration method.
[0034] Among them, the devices to be controlled can be a variety of devices such as household appliances (e.g., air conditioners) and in-vehicle intelligent devices. They are highly versatile, widely applicable, and can be promoted and used across the board.
[0035] Step S102: The target user terminal determines the target network configuration method based on the data packet of the device under control. The target network configuration method refers to the network configuration method used when the target user terminal and the device under control perform network configuration.
[0036] Since the network distribution methods of the above-mentioned controlled devices may be one or more in actual applications, the specific implementation steps of step S102 are as follows:
[0037] Step S1021: When there is only one network distribution method for the device under control, the target user terminal determines the network distribution method of the device under control as the target network distribution method.
[0038] Step S1022: When there are multiple network distribution methods for the device under control, the target user terminal determines the network distribution method of the device under control corresponding to the smallest network load as the target network distribution method.
[0039] The above steps allow users to select any method that best suits the current network configuration status. In the process of connecting multiple types of network signals mixed and alternating, it can quickly access the optimal network configuration status data, making the network configuration faster, more adaptable, improving the network configuration success rate, and greatly enhancing the user experience.
[0040] To integrate manual Bluetooth network pairing, automatic Wi-Fi network pairing, and manual Wi-Fi network pairing into one system, and to address situations where simultaneous automatic, manual, and Bluetooth network pairing is required, the aforementioned network pairing methods include manual Bluetooth network pairing, manual Wi-Fi network pairing, and automatic Wi-Fi network pairing. Furthermore, these three network pairing methods can coexist without conflict; users do not need to manually select a network pairing method and can randomly select the most suitable method to complete the terminal device's network connection. Specifically, after the target user terminal determines the target network pairing method based on the data packet from the device to be controlled, and before the target user terminal uses the target network pairing method to pair with the device to be controlled, the method further includes:
[0041] Step S201: When the network configuration method is determined to be manual Bluetooth network configuration, the target user terminal stops sending network configuration request data and enters Bluetooth network configuration mode upon receiving a network configuration trigger command. If the target user terminal does not receive a network configuration trigger command within a first predetermined time, the target user terminal will automatically connect to the Bluetooth of the device to be controlled. The first predetermined time can be 2 minutes or 3 minutes.
[0042] In step S202, if the network configuration method is determined to be manual Wi-Fi network configuration, the target user terminal stops sending the network configuration request data and enters manual Wi-Fi network configuration mode upon receiving a network configuration trigger command. If the target user terminal does not receive a data packet representing the Wi-Fi account of the device under control within a second predetermined time, a prompt window will pop up prompting the user to search for the Wi-Fi account of the device under control in the settings page. The second predetermined time can be 2 minutes or 3 minutes.
[0043] Step S203: If the above network configuration method is determined to be the above automatic WIFI network configuration, the above target user terminal sends the above network configuration request data and enters the automatic network configuration mode.
[0044] Step S103: The target user terminal uses the target network configuration method to configure the network with the device to be controlled.
[0045] Because some users are not proficient in operating the target user terminal, in order to reduce the number of steps in the network configuration guidance interface and improve user operability, the display screen of the target user terminal shows a first control. During the process of the target user terminal using the target network configuration method to configure the network with the controlled device, the following steps are also included:
[0046] Step S1031: The target user terminal receives a first predetermined operation applied to the first control.
[0047] In step S1032, the target user terminal responds to the first predetermined operation by performing device initialization on the device under control. Device initialization refers to re-entering the device under control into the network distribution state. Specifically, the reset target user terminal experiences no lag during network distribution, resulting in smoother operation and a higher user experience.
[0048] Specifically, after initializing the controlled device in response to the first predetermined operation, the method further includes:
[0049] In step S1033, the target user terminal displays an identifier representing the network configuration method and a second control on its display screen; the target user terminal receives a second predetermined operation performed on the second control.
[0050] In step S1034, the target user terminal responds to the second predetermined operation by displaying network configuration information on its screen. This network configuration information includes network configuration progress information and network configuration success information. Specifically, the guidance interfaces for various network configuration methods are combined into one, resulting in a simpler interface, fewer steps, and improved user operability.
[0051] In an optional embodiment, such as Figure 2 As shown, when the above-mentioned network pairing method is manual Bluetooth pairing, the above-mentioned display screen shows a manual Bluetooth pairing screen, and the above-mentioned manual Bluetooth pairing screen shows a third control. The above-mentioned target user terminal receives a third predetermined operation applied to the above-mentioned third control; in response to the above-mentioned third predetermined operation, it performs Bluetooth pairing with the above-mentioned device under control; specifically, during the process of the above-mentioned target user terminal performing Bluetooth pairing with the above-mentioned device under control, the above-mentioned manual Bluetooth pairing screen also displays pairing progress information and pairing success information;
[0052] like Figure 3As shown, when the above-mentioned network configuration method is manual WIFI network configuration, the above-mentioned display screen shows a manual WIFI network configuration screen, and the above-mentioned manual WIFI network configuration screen shows a fourth control. The above-mentioned target user terminal receives a fourth predetermined operation applied to the above-mentioned fourth control; in response to the above-mentioned fourth predetermined operation, it performs WIFI network configuration with the above-mentioned device under control; specifically, during the process of the above-mentioned target user terminal and the above-mentioned device under control performing manual WIFI network configuration, the above-mentioned manual WIFI network configuration screen also displays network configuration progress information and network configuration success information.
[0053] like Figure 4 As shown, when the network configuration method is automatic Wi-Fi network configuration, the display screen shows the automatic Wi-Fi network configuration screen, which displays automatic network configuration information. Specifically, during the automatic Wi-Fi network configuration process between the target user terminal and the controlled device, the automatic Wi-Fi network configuration screen also displays network configuration progress information and network configuration success information.
[0054] In practical applications, the network configuration methods for the aforementioned devices to be controlled include at least one of the following: Bluetooth network configuration, automatic WIFI network configuration, and manual WIFI network configuration.
[0055] Specifically, in one optional embodiment, such as Figure 5 The image shows a specific manual Bluetooth pairing screen, which displays a prompt to not leave this page during the pairing process, as well as an indicator of whether the connection with the aforementioned device to be controlled has been successful.
[0056] In another alternative embodiment, such as Figure 6 The image shows a specific manual Wi-Fi configuration screen, which displays the Wi-Fi accounts of the connected devices to be controlled.
[0057] For example, such as Figure 7 The image shows an example of a specific automatic Wi-Fi network configuration screen, which displays a prompt that the user should not leave the page during the configuration process, as well as an indicator showing whether the connection with the aforementioned controlled device has been successful.
[0058] Specifically, such as Figure 8 The image shows an example of a specific three-in-one distribution network configuration, which displays an indicator of the proximity of the device to be controlled and an indicator of whether the device to be controlled has been detected.
[0059] In the network configuration method described in this application, the target user terminal first receives a data packet from the server representing the device to be controlled. This data packet includes information indicating the network configuration method of the device and information indicating the network load of each configuration method. The data packet is sent from the device to the server, and the network load of each configuration method refers to the number of user terminals that have successfully configured with the device using that method. Then, the target user terminal determines the target network configuration method based on the data packet. This target method refers to the network configuration method used when configuring the device with the target user terminal. Finally, the target user terminal uses the target network configuration method to configure the device. This method, by autonomously selecting the optimal network configuration method, can adapt to the complex and intermittent connection process of various network signals, quickly accessing the optimal network configuration status data. This avoids the problem in existing technologies where user terminals cannot autonomously select the optimal network configuration method, resulting in low connection rates and poor user experience. This improves the network configuration success rate and significantly enhances the user experience.
[0060] According to embodiments of this application, a user terminal is provided, such as... Figure 9 As shown, the system includes a receiving module, a determining module, and a network configuration module. The receiving module is used for the target user terminal to receive data packets from the device to be controlled sent by the server. The data packets include information representing the network configuration method of the device to be controlled and information representing the network load of each of the aforementioned network configuration methods. The data packets are sent from the device to the server, and the network load of each network configuration method refers to the number of user terminals that have successfully configured with the device using the aforementioned network configuration method. The determining module is used for the target user terminal to determine the target network configuration method based on the data packets. The target network configuration method refers to the network configuration method used when the target user terminal configures with the device to be controlled. The network configuration module is used for the target user terminal to configure with the device to be controlled using the target network configuration method.
[0061] In an optional embodiment, the determining module includes a first determining unit and a second determining unit. The first determining unit is used to determine the target user terminal's network distribution method as the target network distribution method when there is only one network distribution method for the device under control. The second determining unit is used to determine the network distribution method corresponding to the smallest network load as the target network distribution method when there are multiple network distribution methods for the device under control. The device can allow the user to select any method best suited to the current network distribution state. In the case of a connection process with multiple types of network signals intermingling, it can quickly access the optimal network distribution state data, resulting in faster network distribution speed, stronger adaptability, improved network distribution success rate, and significantly enhanced user experience.
[0062] Specifically, the aforementioned network configuration methods include manual Bluetooth network configuration, manual Wi-Fi network configuration, and automatic Wi-Fi network configuration. The device further includes a first control module, a second control module, and a third control module. The first control module is used to stop sending network configuration request data when the network configuration method is determined to be manual Bluetooth network configuration, and to enter Bluetooth network configuration mode upon receiving a network configuration trigger command. The second control module is used to stop sending network configuration request data when the network configuration method is determined to be manual Wi-Fi network configuration, and to enter manual Wi-Fi network configuration mode upon receiving a network configuration trigger command. The third control module is used to send network configuration request data and enter automatic network configuration mode when the network configuration method is determined to be automatic Wi-Fi network configuration. This device integrates manual Bluetooth network configuration, automatic Wi-Fi network configuration, and manual Wi-Fi network configuration into one system, solving situations where simultaneous automatic, manual, and Bluetooth network configuration is required. Furthermore, the three network configuration methods can coexist without conflict, allowing users to randomly select the most suitable method to connect their terminal devices to the network without manually selecting a configuration method.
[0063] For example, the target user terminal displays a first control on its screen. The network configuration module includes a first receiving unit and an initialization unit. The first receiving unit is used by the target user terminal to receive a first predetermined operation applied to the first control. The initialization unit is used by the target user terminal to initialize the controlled device in response to the first predetermined operation. Device initialization refers to re-entering the controlled device into the network configuration state. After the reset, the target user terminal does not experience any lag during the network configuration process, resulting in smoother operation and a higher user experience.
[0064] In another example, the aforementioned power distribution module further includes a second receiving unit and a display unit. The target user terminal's display screen shows an identifier representing the power distribution method and a second control. The second receiving unit is used by the target user terminal to receive a second predetermined operation applied to the second control. The display unit is used by the target user terminal to display power distribution information on its display screen in response to the second predetermined operation. This power distribution information includes power distribution progress information and power distribution success information. By combining the guidance interfaces for multiple power distribution methods into one, the interface becomes simpler, the steps are reduced, and user operability is enhanced.
[0065] In a specific embodiment, the above-mentioned device further includes a first network configuration unit, a second network configuration unit, and a third network configuration unit. The first network configuration unit is configured to, when the network configuration method is manual Bluetooth network configuration, display a manual Bluetooth network configuration screen on the screen, and display a third control on the manual Bluetooth network configuration screen. The target user terminal receives a third predetermined operation applied to the third control. In response to the third predetermined operation, it performs Bluetooth network configuration with the device under control. The second network configuration unit is configured to, when the network configuration method is manual Wi-Fi network configuration, display a manual Wi-Fi network configuration screen on the screen, and display a fourth control on the manual Wi-Fi network configuration screen. The target user terminal receives a fourth predetermined operation applied to the fourth control. In response to the fourth predetermined operation, it performs Wi-Fi network configuration with the device under control. The third network configuration unit is configured to, when the network configuration method is automatic Wi-Fi network configuration, display an automatic Wi-Fi network configuration screen on the screen, and display automatic network configuration information on the automatic Wi-Fi network configuration screen. The aforementioned device can autonomously select the optimal network distribution method, adapt to the connection process of various types of network signals mixed and alternating, and quickly access the optimal network status data to be distributed.
[0066] Specifically, the network configuration method of the aforementioned controlled device includes at least one of the following: Bluetooth network configuration, automatic WIFI network configuration, and manual WIFI network configuration.
[0067] The user terminal of this application includes a receiving module, a determining module, and a network configuration module. The receiving module receives data packets from a server representing a device to be controlled. These data packets include information characterizing the network configuration method of the device and information characterizing the network load of each configuration method. The data packets are sent from the device to the server, and the network load of each configuration method refers to the number of user terminals that have successfully configured with the device using that method. The determining module determines a target network configuration method based on the data packets. This target method is the one used by the user terminal when configuring with the device. The network configuration module uses the target method to configure with the device. This device, by autonomously selecting the optimal network configuration method, can adapt to the complex and intermittent connection process of various network signals, quickly accessing the optimal network configuration status data. This avoids the problem in existing technologies where user terminals cannot autonomously select the optimal network configuration method, resulting in low connection rates and poor user experience. This improves the network configuration success rate and significantly enhances the user experience.
[0068] According to embodiments of this application, a power distribution network system is provided, such as... Figure 10As shown, the device includes a user terminal, a server, and a device to be controlled. The user terminal is used to execute any of the above-described network distribution methods. The server is communicatively connected to the user terminal, and the communication connection protocol used between the user terminal and the server is a message queue telemetry transmission protocol. The device to be controlled is communicatively connected to the server.
[0069] Currently, most IoT (Internet of Things) terminal devices in high-end manufacturing use hotspot networking or automatic networking. The latest status update of these IoT terminal devices is based on the App's (Application) 8-second proactive query mechanism. This means that after the device status changes, it takes up to 8 seconds to see the corresponding status data update on the App (in daily use, it also takes an average of 3-4 seconds). The main reason for the poor App user experience and slow refresh is that TCP (Transmission Control Protocol) is located in the transport layer of the OSI (Open System Interconnection Reference Model) network model. It is responsible for grouping data transmitted from the application layer to ensure the integrity and order of data received by the terminal. However, most current IoT devices use TCP control links and rely on the App to actively query for updates. Faced with the massive data types of IoT smart terminal devices, this traditional data communication protocol (TCP protocol) can no longer meet the complex usage scenarios of IoT terminal devices. There is an urgent need for a lightweight, reliable, and efficient rule at the application layer to encapsulate the data first, rather than directly using the transport layer protocol for data transmission.
[0070] Meanwhile, most high-end manufacturing IoT terminal devices currently use a single Wi-Fi communication module for networking. This method involves numerous and complex configuration steps, limited by Wi-Fi security policies and the need for correct user operation, placing high demands on users. These factors contribute to significant difficulties in configuring high-end manufacturing IoT terminal devices, resulting in low success rates and numerous after-sales issues. Mainstream NFC configuration technology, however, is not widely applicable due to the limited availability of NFC functionality in all user phones. Therefore, its widespread use in configuring high-end manufacturing IoT terminal devices would also lead to a narrow range of applications. Currently, high-end manufacturing terminal devices are highly dependent on apps, demanding high configuration speed and success rates. Furthermore, some devices have increasingly stringent requirements for the accuracy of command issuance and real-time data updates. This significantly increases the demands on apps, requiring a more user-friendly interactive experience and more convenient functions.
[0071] The MQTT (Message Queuing Telemetry Transport) protocol replaces the traditional polling method for state updates and command issuance, ensuring message delivery quality at the protocol layer and guaranteeing timely message arrival. At the application layer, data is encapsulated using the MQTT protocol before being transmitted in packets at the transport layer. This eliminates the previous TCP-based mechanism of periodically querying state data updates, instead publishing messages promptly through topics (containing the latest state data). Any object subscribed to the corresponding topic can immediately receive the latest message, completing the state update for IoT terminal devices. The average state data update speed has been reduced from 3-4 seconds to approximately 1 second, significantly improving the state update speed of IoT terminal devices.
[0072] The network distribution system described in this application, employing any of the aforementioned network distribution methods, firstly involves the target user terminal receiving a data packet from the server representing the device to be controlled. This data packet includes information characterizing the network distribution method of the device and information characterizing the network load of each distribution method. The data packet is sent from the device to the server, and the network load of each distribution method refers to the number of user terminals that have successfully connected to the device using that method. Next, the target user terminal determines the target network distribution method based on the data packet. This target method refers to the network distribution method used when connecting the target user terminal to the device. Finally, the target user terminal connects to the device using the target network distribution method. This method, by autonomously selecting the optimal network distribution method, can adapt to the complex and intermittent connection process of various network signals, quickly accessing the optimal network state data. This avoids the problem in existing technologies where user terminals cannot autonomously select the optimal network distribution method, resulting in low connection rates and poor user experience. This improves the network distribution success rate and significantly enhances the user experience.
[0073] According to an embodiment of this application, a user terminal is provided, including: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for performing any of the above-described network distribution methods.
[0074] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0075] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0076] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0077] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0078] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0079] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0080] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0081] It should also be noted that 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 process, method, article, or apparatus. Unless otherwise specified, 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.
[0082] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0083] 1) In the above-described network configuration method of this application, the target user terminal first receives a data packet from the server representing the device to be controlled. This data packet includes information characterizing the network configuration method of the device to be controlled and information characterizing the network load of each configuration method. The data packet is sent from the device to the server, and the network load of each configuration method refers to the number of user terminals that have successfully configured with the device using that configuration method. Then, the target user terminal determines the target configuration method based on the data packet. The target configuration method refers to the configuration method used when configuring with the device. Finally, the target user terminal uses the target configuration method to configure with the device. This method, by autonomously selecting the optimal configuration method, can adapt to the connection process of various types of network signals mixed and alternating, and quickly access the optimal configuration status data. This avoids the problem in the prior art where the user terminal cannot autonomously select the optimal configuration method, resulting in a low connection rate and poor user experience. It improves the network configuration success rate and greatly enhances the user experience.
[0084] 2) The user terminal of this application includes a receiving module, a determining module, and a network configuration module. The receiving module is used for the target user terminal to receive data packets of the device to be controlled sent by the server. The data packets of the device to be controlled include information representing the network configuration method of the device to be controlled and information representing the network load of each of the above network configuration methods. The data packets of the device to be controlled are sent from the device to the server. The network load of the above network configuration method refers to the number of user terminals that have successfully configured with the device to be controlled using the above network configuration method. The determining module is used for the target user terminal to determine the target network configuration method based on the data packets of the device to be controlled. The target network configuration method refers to the network configuration method used by the target user terminal when configuring with the device to be controlled. The network configuration module is used for the target user terminal to configure with the device to be controlled using the target network configuration method. The aforementioned device can adapt to the connection process of various types of network signals mixed and alternating by autonomously selecting the optimal network configuration method, and quickly access the optimal network configuration status data. This avoids the problem of poor user experience caused by the low connection rate of user terminals and the inability of user terminals to autonomously select the optimal network configuration method in the existing technology, thereby improving the network configuration success rate and greatly enhancing the user experience.
[0085] 3) The network distribution system described in this application, employing any of the aforementioned network distribution methods, firstly involves the target user terminal receiving a data packet from the server representing the device to be controlled. This data packet includes information characterizing the network distribution method of the device and information characterizing the network load of each distribution method. The data packet is sent from the device to the server, and the network load of each distribution method refers to the number of user terminals that have successfully networked with the device using that method. Then, the target user terminal determines the target network distribution method based on the data packet. The target network distribution method refers to the method used when the target user terminal network-connects with the device. Finally, the target user terminal network-connects with the device using the target network distribution method. This method, by autonomously selecting the optimal network distribution method, can adapt to the complex and intermittent connection process of various network signals, quickly accessing the optimal network state data. This avoids the problem in existing technologies where user terminals cannot autonomously select the optimal network distribution method, resulting in low connection rates and poor user experience. It improves the network distribution success rate and significantly enhances the user experience.
[0086] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A power distribution network method, characterized in that, include: The target user terminal receives a data packet of the device to be controlled sent by the server. The data packet of the device to be controlled includes information representing the network configuration method of the device to be controlled and information representing the network load of each network configuration method. The data packet of the device to be controlled is sent by the device to be controlled to the server. The network load of the network configuration method refers to the number of user terminals that have successfully configured with the device to be controlled using the network configuration method. The target user terminal determines the target network configuration method based on the data packet of the device under control, wherein the target network configuration method refers to the network configuration method used when the target user terminal and the device under control are configured to use a network. The target user terminal uses the target network configuration method to configure the network with the device under control; The target user terminal determines the target network configuration method based on the data packet of the device under control, including: when there is only one network configuration method for the device under control, the target user terminal determines the network configuration method of the device under control as the target network configuration method; when there are multiple network configuration methods for the device under control, the target user terminal determines the network configuration method of the device under control corresponding to the smallest network load as the target network configuration method.
2. The method according to claim 1, characterized in that, The network configuration method includes manual Bluetooth network configuration, manual Wi-Fi network configuration, and automatic Wi-Fi network configuration. After the target user terminal determines the target network configuration method based on the data packet of the device to be controlled, and before the target user terminal uses the target network configuration method to configure the network with the device to be controlled, the method further includes: When the network configuration method is determined to be manual Bluetooth network configuration, the target user terminal stops sending network configuration request data and enters Bluetooth network configuration mode upon receiving a network configuration trigger command. When the network configuration method is determined to be manual WIFI network configuration, the target user terminal stops sending the network configuration request data and enters manual WIFI network configuration mode upon receiving a network configuration trigger command. When the network configuration method is determined to be automatic WIFI network configuration, the target user terminal sends the network configuration request data and enters the automatic network configuration mode.
3. The method according to claim 1 or 2, characterized in that, The target user terminal displays a first control on its screen. During the process of the target user terminal configuring the network with the controlled device using the target network configuration method, the following steps are included: The target user terminal receives a first predetermined operation applied to the first control; The target user terminal responds to the first predetermined operation by performing device initialization on the device to be controlled, which means making the device to be controlled re-enter the distribution network state.
4. The method according to claim 3, characterized in that, After initializing the controlled device in response to the first predetermined operation, the method further includes: The target user terminal displays an identifier representing the network distribution method and a second control on its screen; The target user terminal receives a second predetermined operation applied to the second control; In response to the second predetermined operation, the target user terminal displays network distribution information on its screen, including network distribution progress information and network distribution success information.
5. The method according to claim 4, characterized in that, When the network configuration method is manual Bluetooth network configuration, the display screen shows a manual Bluetooth network configuration screen, and a third control is displayed on the manual Bluetooth network configuration screen. The target user terminal receives a third predetermined operation performed on the third control; in response to the third predetermined operation, it performs Bluetooth network configuration with the device to be controlled. When the network configuration method is manual WIFI network configuration, the display screen shows a manual WIFI network configuration screen, and a fourth control is displayed on the manual WIFI network configuration screen. The target user terminal receives a fourth predetermined operation performed on the fourth control; in response to the fourth predetermined operation, it performs WIFI network configuration with the device to be controlled. When the network configuration method is automatic WIFI network configuration, the display screen shows the automatic WIFI network configuration screen, and the automatic WIFI network configuration screen displays the automatic network configuration information.
6. The method according to claim 1 or 2, characterized in that, The network distribution method of the device to be controlled includes at least one of the following: Bluetooth network pairing, automatic Wi-Fi network pairing, and manual Wi-Fi network pairing.
7. A user terminal, characterized in that, include: The receiving module is used for the target user terminal to receive the data packet of the device to be controlled sent by the server. The data packet of the device to be controlled includes information representing the network configuration method of the device to be controlled and information representing the network load of each of the network configuration methods. The data packet of the device to be controlled is sent by the device to be controlled to the server. The network load of the network configuration method refers to the number of user terminals that have successfully configured with the device to be controlled using the network configuration method. The determination module is used for the target user terminal to determine the target network configuration method based on the data packet of the device under control, wherein the target network configuration method refers to the network configuration method used when the target user terminal and the device under control are configured to use a network; The network distribution module is used for the target user terminal to perform network distribution with the device under control using the target network distribution method; The determining module includes a first determining unit and a second determining unit. The first determining unit is used to determine the network configuration method of the device under control as the target network configuration method when there is only one network configuration method for the device under control. The second determining unit is used to determine the network configuration method of the device under control corresponding to the smallest network load as the target network configuration method when there are multiple network configuration methods for the device under control.
8. A power distribution network system, characterized in that, include: A user terminal is used to execute the distribution network method according to any one of claims 1 to 6; The server is connected to the user terminal, and the communication connection protocol used between the user terminal and the server is Message Queuing Telemetry Transmission Protocol. The device to be controlled is connected to the server.
9. A user terminal, characterized in that, include: One or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing the distribution network method according to any one of claims 1 to 6.