Network configuration state determination method and device

By combining a phased dual-link strategy with big data on network configuration behavior and dynamically configuring the query frequency, the problem of low efficiency in Bluetooth network configuration was solved, thereby improving reliability and efficiency and enhancing user experience.

CN116095711BActive Publication Date: 2026-05-08MIDEA GROUP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
MIDEA GROUP CO LTD
Filing Date
2021-11-08
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing Bluetooth configuration schemes lack phased processing, resulting in low connection efficiency and dependence on link stability, and cannot dynamically configure execution strategies.

Method used

A phased dual-link strategy is adopted, which combines data transmission via Internet link and Bluetooth with big data on distribution network behavior to dynamically configure query frequency and method, ensuring the reliability and efficiency of query results.

Benefits of technology

It improves the query efficiency and result reliability of the distribution network process, enhances the user experience, and clearly displays link quality through stage status code information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116095711B_ABST
    Figure CN116095711B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of mobile communication, and provides a network configuration state determination method and device, which comprises the following steps: in the case that a second terminal receives network configuration information, a first terminal determines the network entry state of the second terminal through a phased dual-link strategy; the phased dual-link strategy comprises: the first terminal determines whether the second terminal is networked through an internet link and executes a phased query mode; the first terminal determines the network entry state of the second terminal by receiving data transmitted by Bluetooth; wherein the phased query mode is determined according to pre-collected network configuration behavior big data. The network configuration state determination method and device provided by the present application can guarantee the reliability of the query result by determining the network entry state of the second terminal through the phased dual-link strategy, and can improve the query efficiency by combining the network configuration behavior big data of users in the phase and setting the phased query mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to mobile communication technology, and more particularly to a method and apparatus for determining the status of a distribution network. Background Technology

[0002] With the mature development of Bluetooth and WiFi network technologies, Bluetooth pairing solutions have become an important way to connect and control smart devices. Mobile apps provide an interaction platform for smart home appliances. If a device supports Bluetooth, the mobile app can send the WiFi hotspot's SSID / password to the WiFi device via Bluetooth, and then the WiFi device can use the SSID / password to connect to the WiFi hotspot.

[0003] Existing technologies handle all the steps of connecting Bluetooth devices, registering them on the network, and binding them within the network configuration link. Furthermore, the connection between the device and the cloud relies heavily on the Bluetooth channel established within this link and the stability of the internet connection. No solution breaks down the process into detailed stages or dynamically configures different execution strategies based on data, resulting in low efficiency. Summary of the Invention

[0004] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a method for determining the network status of a distribution network. By using a phased dual-link strategy to determine the network access status of a second terminal, the reliability of the query results can be guaranteed. Furthermore, by combining big data on user distribution network behavior within a phase and setting a phased query method, the query efficiency can be improved.

[0005] This invention also proposes a method for determining the status of a distribution network.

[0006] The method for determining the distribution network status according to a first aspect embodiment of the present invention includes:

[0007] When the second terminal receives the network configuration information, the first terminal determines the network access status of the second terminal through a phased dual-link strategy.

[0008] The phased dual-link strategy includes:

[0009] The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network;

[0010] The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth;

[0011] The phased query method is determined based on pre-collected big data on distribution network behavior.

[0012] According to the distribution network status determination method of the present invention, the network access status of the second terminal is determined by a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, by combining the big data of user distribution network behavior within a phase and setting a phased query method, the query efficiency can be improved.

[0013] According to an embodiment of the present invention, the method for determining the distribution network status further includes:

[0014] The first terminal uploads the big data of the network configuration behavior of the second terminal to the server;

[0015] The first terminal receives the staged query method sent by the server;

[0016] The big data on distribution network behavior is used by the server to determine the phased query method.

[0017] According to the distribution network status determination method of the present invention, by uploading distribution network behavior big data to the big data server, the data volume of the big data server can be further supplemented. By combining the distribution network behavior big data to adjust the stage query method, the query effect is better and the query result is more accurate.

[0018] According to an embodiment of the present invention, the staged query method includes:

[0019] Determine at least one time period and the corresponding query frequency within the time period;

[0020] The query is performed within the time period according to the query frequency.

[0021] According to the distribution network status determination method of the present invention, by configuring a phased query method and configuring different query frequencies in different time periods, the query efficiency can be improved.

[0022] According to an embodiment of the present invention, the method for determining the distribution network status further includes:

[0023] The first terminal records the network access information of the second terminal at each stage of the network distribution process;

[0024] The first terminal determines the configuration table corresponding to the stage status code based on the network access information of each stage;

[0025] The network access information at each stage includes: connection information, network information, diagnostic information, and node update information;

[0026] The configuration table corresponding to the stage status codes is used to display the network access information for each stage.

[0027] According to the distribution network status determination method of the present invention, by combining the stage status code information configuration table, connection information, network information, diagnostic information and node update information can be clearly displayed on the application, allowing users to perceive the stage-by-stage changes and link quality, effectively improving the user experience.

[0028] According to one embodiment of the present invention, before the first terminal determines the network access status of the second terminal through a phased dual-link strategy, the method further includes:

[0029] The first terminal establishes a Bluetooth pre-connection with the second terminal;

[0030] If the first terminal confirms that the Bluetooth pre-connection is normal, network configuration information is sent to the second terminal.

[0031] The distribution network information is used by the second terminal for distribution network configuration.

[0032] According to the network configuration determination method of the present invention, before the network configuration starts, the first terminal and the second terminal establish a Bluetooth pre-connection. After the network configuration starts, the first terminal can directly send network configuration information to the second terminal so that the second terminal can perform network configuration. By eliminating the Bluetooth connection time in the network configuration process, the efficiency of the network link is improved.

[0033] A method for determining the status of a distribution network according to a second aspect of the present invention includes:

[0034] The server receives big data on the network configuration behavior of the second terminal sent by the first terminal;

[0035] The server determines the phased query method based on the big data of the network distribution behavior, and sends the phased query method to the first terminal;

[0036] The phased query method is used by the first terminal to determine whether the second terminal has joined the network.

[0037] According to the distribution network status determination method of the present invention, the network access status of the second terminal is determined by a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, by combining the big data of user distribution network behavior within a phase and setting a phased query method, the query efficiency can be improved.

[0038] According to an embodiment of the present invention, the staged query method includes:

[0039] Determine at least one time period and the corresponding query frequency within the time period;

[0040] The query is performed within the time period according to the query frequency.

[0041] According to the distribution network status determination method of the present invention, by configuring a phased query method and configuring different query frequencies in different time periods, the query efficiency can be improved.

[0042] According to a third aspect of the present invention, a power distribution network device includes:

[0043] The determination module is used to determine the network access status of the second terminal through a phased dual-link strategy when the second terminal receives the network distribution information.

[0044] The phased dual-link strategy includes:

[0045] The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network;

[0046] The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth;

[0047] The phased query method is determined based on pre-collected big data on distribution network behavior.

[0048] According to the network status determination device of the present invention, the network access status of the second terminal is determined by a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, by combining the big data of user network behavior within a phase and setting a phased query method, the query efficiency can be improved.

[0049] According to a fourth aspect of the present invention, a distribution network status determination apparatus includes:

[0050] The receiving module is used by the server to receive big data on the network configuration behavior of the second terminal sent by the first terminal;

[0051] The sending module is used by the server to determine the phased query method based on the big data of the network distribution behavior, and to send the phased query method to the first terminal;

[0052] The phased query method is used by the first terminal to determine whether the second terminal has joined the network.

[0053] According to the network status determination device of the present invention, the network access status of the second terminal is determined by a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, by combining the big data of user network behavior within a phase and setting a phased query method, the query efficiency can be improved.

[0054] An electronic device according to a fifth aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the distribution network status determination method as described above.

[0055] According to a sixth aspect of the present invention, a non-transitory computer-readable storage medium is provided thereon storing a computer program that, when executed by a processor, implements the steps of the distribution network status determination method as described above.

[0056] The above-described one or more technical solutions in the embodiments of the present invention have at least one of the following technical effects:

[0057] Determining the network access status of the second terminal through a phased dual-link strategy can ensure the reliability of the query results. Furthermore, by combining big data on user network configuration behavior within a phase, setting up a phased query method can improve query efficiency.

[0058] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0059] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0060] Figure 1 This is one of the flowcharts illustrating the method for determining the status of a distribution network provided in an embodiment of the present invention;

[0061] Figure 2 This is a second schematic flowchart of the distribution network status determination method provided in the embodiments of the present invention;

[0062] Figure 3 This is one of the structural schematic diagrams of the distribution network status determination device provided in the embodiments of the present invention;

[0063] Figure 4 This is a second schematic diagram of the distribution network status determination device provided in the embodiments of the present invention;

[0064] Figure 5 This is one of the flowcharts illustrating the method for determining the status of a distribution network provided in the embodiments of the present invention;

[0065] Figure 6 This is a second flowchart illustrating the method for determining the distribution network status provided in the embodiments of the present invention;

[0066] Figure 7 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0067] The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and should not be construed as limiting the scope of the invention.

[0068] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0069] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0070] Figure 1 This is one of the flowcharts illustrating the method for determining the distribution network status provided in this embodiment of the invention. (Refer to...) Figure 1 The method for determining the distribution network status provided in this embodiment of the invention includes the following steps:

[0071] Step S110: When the second terminal receives the network configuration information, the first terminal determines the network access status of the second terminal through a phased dual-link strategy.

[0072] The phased dual-link strategy includes:

[0073] The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network;

[0074] The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth;

[0075] The phased query method is determined based on pre-collected big data on distribution network behavior.

[0076] The execution subject of the distribution network status determination method provided in this embodiment of the invention can be a first terminal. The technical solution of the present invention will be described in detail below by taking the execution of the distribution network status determination method provided in this embodiment of the invention by a first terminal.

[0077] Optionally, the first terminal can be an electronic device, a component within an electronic device, an integrated circuit, or a chip. The electronic device can be a mobile electronic device; for example, it can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc., without specific limitation. The second terminal can be a smart home appliance, including air conditioners, refrigerators, rice cookers, washing machines, or pressure cookers, etc., which are not listed here.

[0078] Optionally, in step S110, when the second terminal receives the network configuration information, the first terminal determines the network access status of the second terminal through a phased dual-link strategy. If the second terminal is not connected to the network, the first terminal sends the network configuration information to the second terminal, and the second terminal performs network configuration after receiving the information. After the second terminal starts network configuration, the first terminal can confirm the network access status of the second terminal, that is, confirm whether the second terminal is connected to the network and to which stage of the network connection it has reached.

[0079] The first terminal can proactively query the cloud for the status of the second terminal through the internet link layer to confirm whether the second terminal is connected to the cloud. Since network configuration of the second terminal requires a certain amount of time, a phased query method can be determined based on the pre-collected big data of network configuration behavior, and different query frequencies can be used in different time periods.

[0080] In one embodiment, the staged query method includes:

[0081] Determine at least one time period and the corresponding query frequency within the time period;

[0082] The query is performed within the time period according to the query frequency.

[0083] Optionally, the staged query method can be a three-stage strategy: Stage 1, 1-10 seconds, querying every 2 seconds; Stage 2, 10-30 seconds, querying every 0.5 seconds; Stage 3, after 30 seconds, querying every 2 seconds. The staged query method can also be a four-stage strategy: Stage 1, 1-10 seconds, querying every 2 seconds; Stage 2, 10-20 seconds, querying every 0.5 seconds; Stage 3, after 20-30 seconds, querying every 1 second; Stage 4, after 30 seconds, querying every 2 seconds. By implementing a staged query method at the Internet link layer, query efficiency can be improved.

[0084] In addition, the first terminal will also receive data actively transmitted by the second terminal through the Bluetooth channel link, and record the status codes of the second terminal's feedback stage, including: about to connect to the specified network, abnormal data parameters, connecting to the route, DNS resolution, logging into the server, successful login, cloud login error code, etc., which can determine the network access status of the second terminal.

[0085] The distribution network status determination method provided in this embodiment of the invention determines the network access status of the second terminal through a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, by combining big data on user distribution network behavior within a phase, a phased query method is set up. By increasing the query frequency during time periods with a high proportion of successful distribution network access and appropriately reducing the query frequency during time periods with a low proportion of successful distribution network access, the query efficiency can be improved.

[0086] In one embodiment, the method for determining the distribution network status further includes:

[0087] The first terminal uploads the big data of the network configuration behavior of the second terminal to the server;

[0088] The first terminal receives the staged query method sent by the server;

[0089] The big data on distribution network behavior is used by the server to determine the phased query method.

[0090] Optionally, after the distribution network is completed, the first terminal uploads the distribution network behavior big data to the big data server. The distribution network behavior big data may include the time required for successful distribution. This big data can be used as the basis for determining the phased query method. As the distribution network behavior data increases, the data volume on the big data server also increases, allowing for the configuration of a more reasonable query method by continuously adjusting the phased query method. The first terminal receives the phased query method sent by the big data server and improves query efficiency and accuracy by executing the phased query method.

[0091] For example, data analysis of network configuration behavior from a big data server reveals that successful network configurations typically occur within 10-30 seconds, with less than 10% of successful configurations occurring within 0-10 seconds and after 30 seconds. Therefore, the query frequency within the 10-30 second period can be appropriately increased, while the query frequency after 0-10 seconds and after 30 seconds can be appropriately decreased. For example: in the first stage (1-10 seconds), a query frequency of once every 2 seconds; in the second stage (10-30 seconds), a query frequency of once every 0.5 seconds; and in the third stage (after 30 seconds), a query frequency of once every 2 seconds. As the data volume increases, this phased query method can be further adjusted.

[0092] The distribution network status determination method provided in this embodiment of the invention can further supplement the data volume of the big data server by uploading big data of distribution network behavior to the big data server, and improve the query effect and make the query results more accurate by combining the big data of distribution network behavior with the stage query method.

[0093] In one embodiment, the method for determining the distribution network status further includes:

[0094] The first terminal records the network access information of the second terminal at each stage of the network distribution process;

[0095] The first terminal determines the configuration table corresponding to the stage status code based on the network access information of each stage;

[0096] The network access information at each stage includes: connection information, network information, diagnostic information, and node update information;

[0097] The configuration table corresponding to the stage status codes is used to display the network access information for each stage.

[0098] Optionally, during the network configuration process of the second terminal, the first terminal records the network entry information of the second terminal at each stage of the configuration process. This network entry information can originate from the Internet link layer or the Bluetooth channel link layer. The network entry information may include connection information, network connectivity information, diagnostic information, and node update information. Based on the network entry information at each stage, the first terminal determines the configuration table corresponding to the stage status codes. By combining the stage status code information configuration table, connection information, network connectivity information, diagnostic information, and node update information can be clearly displayed on the application, allowing users to perceive the phased changes and link quality, effectively improving the user experience.

[0099] For example, when starting network configuration, the mobile app will display: Please bring your phone as close to the device as possible.

[0100] If, after the second stage (30 seconds) of actively querying the cloud for device status via the internet link, the device still has not connected to the network, the system checks whether the device's local area network (LAN) is online based on the recorded stage status. If the LAN is offline, the system displays: "Device is attempting to connect to the router..."; if the LAN is online, the system displays: "Device has connected to the router and is attempting to connect to the cloud server...".

[0101] When the mobile app shows that the device is online, but the verification code fails to be reported successfully, it displays: "The device has connected to the cloud server and is undergoing device verification."

[0102] After a connection failure or a phased link failure, the failure will be displayed in the configuration table according to the phase status code.

[0103] After the mobile app detects that the device is online and the random code is successfully obtained, the account binding stage begins, and the network configuration is successful.

[0104] The distribution network status determination method provided in this embodiment of the invention, by combining a stage status code information configuration table, can clearly display connection information, network information, diagnostic information, and node update information on the application, allowing users to perceive phased changes and link quality, effectively improving user experience.

[0105] In one embodiment, before the first terminal determines the network access status of the second terminal through a phased dual-link strategy, the method further includes:

[0106] The first terminal establishes a Bluetooth pre-connection with the second terminal;

[0107] If the first terminal confirms that the Bluetooth pre-connection is normal, network configuration information is sent to the second terminal.

[0108] The distribution network information is used by the second terminal for distribution network configuration.

[0109] Optionally, before network configuration begins, the second terminal is offline, and the first terminal establishes a Bluetooth pre-connection with the second terminal. The first and second terminals can also establish other pre-connection methods, such as wireless or wired connections. Wireless connections can also be NFC connections, and wired connections can be data cable connections, etc. By establishing a Bluetooth pre-connection between the first and second terminals before network configuration, data transmission between them becomes possible.

[0110] Before network configuration, the first terminal and the second terminal have established a Bluetooth pre-connection. The first terminal executes a verification policy to confirm whether the Bluetooth pre-connection is normal. If the Bluetooth pre-connection is normal, the first terminal can send network configuration information to the second terminal, which may be the SSID / password of a WiFi hotspot, etc. The second terminal starts network configuration based on the network configuration information received from the first terminal. If the Bluetooth pre-connection fails, the first terminal executes a fault-tolerance mechanism, re-establishes a Bluetooth connection with the second terminal, and then sends the network configuration information to the second terminal again, enabling the second terminal to perform network configuration.

[0111] For example, before network configuration begins, the user opens a mobile app, adopts a central mode, designates the phone as the master device, sets Bluetooth peripheral discovery rules, and initiates a Bluetooth scan. Based on the scan packet, the Bluetooth link layer parameters of the slave device are obtained, a Bluetooth connection is established between the phone and the slave device, and the device is marked as pre-connected. The bound device identifier is recorded in the local pre-connection cache pool. Before the network link begins, if the scan or pre-connection is canceled, the pre-connection data must be reset, and the Bluetooth pre-connection cache pool must be cleared before initiating a second scan. After network configuration begins, a verification strategy is executed to determine if the pre-connection is normal. If there is no pre-connection or the pre-connection is abnormal, the pre-connection data is reset, the cache is cleared, and a fault tolerance mechanism is executed to re-establish the connection with the device. If the pre-connection is normal, the device directly enters the network by sending Wi-Fi information to the device.

[0112] The network configuration status determination method provided in this embodiment of the invention establishes a Bluetooth pre-connection between the first terminal and the second terminal before the network configuration begins. After the network configuration begins, the first terminal can directly send network configuration information to the second terminal, thereby enabling the second terminal to perform network configuration. By eliminating the Bluetooth connection time during the network configuration process, the efficiency of the network link is improved.

[0113] Figure 2 This is the second flowchart illustrating the method for determining the distribution network status provided in this embodiment of the invention, referred to... Figure 2 The method for determining the distribution network status provided in this embodiment of the invention includes the following steps:

[0114] Step S210: The server receives the big data on the network configuration behavior of the second terminal sent by the first terminal;

[0115] Step S220: The server determines the phased query method based on the big data of the network distribution behavior, and sends the phased query method to the first terminal;

[0116] The phased query method is used by the first terminal to determine whether the second terminal has joined the network.

[0117] The execution subject of the distribution network status determination method provided in this embodiment of the invention can be a server. The following describes the technical solution of the invention in detail by taking the server executing the distribution network status determination method provided in this embodiment of the invention as an example.

[0118] Optionally, the first terminal can be an electronic device, a component within an electronic device, an integrated circuit, or a chip. The electronic device can be a mobile electronic device; for example, it can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc., without specific limitation. The second terminal can be a smart home appliance, including air conditioners, refrigerators, rice cookers, washing machines, or pressure cookers, etc., which are not listed here.

[0119] Optionally, in step S210, after the distribution network is completed, the first terminal uploads the distribution network behavior big data to the big data server, and the server receives the distribution network behavior big data of the second terminal sent by the first terminal.

[0120] In step S220, the big data on network distribution behavior may include the time required for successful network distribution. The server determines the staged query method based on the received big data on network distribution behavior from the second terminal. As the amount of network distribution behavior data increases, the data volume of the big data server also increases, and a more reasonable query method can be configured by continuously adjusting the staged query method. The first terminal receives the staged query method sent by the big data server and determines whether the second terminal has joined the network by executing the staged query method, thereby improving query efficiency and accuracy.

[0121] For example, data analysis of network configuration behavior from a big data server reveals that successful network configurations typically occur within 10-30 seconds, with less than 10% of successful configurations occurring within 0-10 seconds and after 30 seconds. Therefore, the query frequency within the 10-30 second period can be appropriately increased, while the query frequency after 0-10 seconds and after 30 seconds can be appropriately decreased. For example: in the first stage (1-10 seconds), a query frequency of once every 2 seconds; in the second stage (10-30 seconds), a query frequency of once every 0.5 seconds; and in the third stage (after 30 seconds), a query frequency of once every 2 seconds. As the data volume increases, this phased query method can be further adjusted.

[0122] The distribution network status determination method provided in this embodiment of the invention can further supplement the data volume of the big data server by uploading big data of distribution network behavior to the big data server, and improve the query effect and make the query results more accurate by combining the big data of distribution network behavior with the stage query method.

[0123] In one embodiment, the staged query method includes:

[0124] Determine at least one time period and the corresponding query frequency within the time period;

[0125] The query is performed within the time period according to the query frequency.

[0126] Optionally, the staged query method can be a three-stage strategy: Stage 1, 1-10 seconds, querying every 2 seconds; Stage 2, 10-30 seconds, querying every 0.5 seconds; Stage 3, after 30 seconds, querying every 2 seconds. The staged query method can also be a four-stage strategy: Stage 1, 1-10 seconds, querying every 2 seconds; Stage 2, 10-20 seconds, querying every 0.5 seconds; Stage 3, after 20-30 seconds, querying every 1 second; Stage 4, after 30 seconds, querying every 2 seconds. By implementing a staged query method at the Internet link layer, query efficiency can be improved.

[0127] The distribution network status determination method provided in this embodiment of the invention can improve query efficiency by configuring a phased query method and configuring different query frequencies at different time periods.

[0128] Figure 3 This is one of the structural schematic diagrams of the distribution network status determination device provided in an embodiment of the present invention. (Refer to...) Figure 3 The distribution network status determination device provided by the present invention includes:

[0129] The determination module 310 is used to determine the network access status of the second terminal through a phased dual-link strategy when the second terminal receives the distribution network information.

[0130] The phased dual-link strategy includes:

[0131] The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network;

[0132] The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth;

[0133] The phased query method is determined based on pre-collected big data on distribution network behavior.

[0134] The distribution network status determination device provided in this embodiment of the invention determines the network access status of the second terminal through a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, by combining big data on user distribution network behavior within a phase and setting a phased query method, the query efficiency can be improved.

[0135] In one embodiment, the distribution network status determination device further includes:

[0136] The upload module 320 is used by the first terminal to upload the network configuration behavior big data of the second terminal to the server;

[0137] The receiving module 330 is used for the first terminal to receive the staged query method sent by the server;

[0138] The big data on distribution network behavior is used by the server to determine the phased query method.

[0139] In one embodiment, the staged query method includes:

[0140] Determine at least one time period and the corresponding query frequency within the time period;

[0141] The query is performed within the time period according to the query frequency.

[0142] In one embodiment, the distribution network status determination device further includes a recording module 340, used for:

[0143] The first terminal records the network access information of the second terminal at each stage of the network distribution process;

[0144] The first terminal determines the configuration table corresponding to the stage status code based on the network access information of each stage;

[0145] The network access information at each stage includes: connection information, network information, diagnostic information, and node update information;

[0146] The configuration table corresponding to the stage status codes is used to display the network access information for each stage.

[0147] In one embodiment, before the first terminal determines the network access status of the second terminal through a phased dual-link strategy, the method further includes:

[0148] The first terminal establishes a Bluetooth pre-connection with the second terminal;

[0149] If the first terminal confirms that the Bluetooth pre-connection is normal, network configuration information is sent to the second terminal.

[0150] The distribution network information is used by the second terminal for distribution network configuration.

[0151] Figure 4 This is a second structural schematic diagram of the distribution network status determination device provided in an embodiment of the present invention. (Refer to...) Figure 4 The distribution network status determination device provided by the present invention includes:

[0152] The receiving module 410 is used by the server to receive the big data of the network configuration behavior of the second terminal sent by the first terminal;

[0153] The sending module 420 is used by the server to determine the stage query method based on the big data of the network distribution behavior, and to send the stage query method to the first terminal;

[0154] The phased query method is used by the first terminal to determine whether the second terminal has joined the network.

[0155] The distribution network status determination device provided in this embodiment of the invention determines the network access status of the second terminal through a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, by combining big data on user distribution network behavior within a phase and setting a phased query method, the query efficiency can be improved.

[0156] In one embodiment, the staged query method includes:

[0157] Determine at least one time period and the corresponding query frequency within the time period;

[0158] The query is performed within the time period according to the query frequency.

[0159] Figure 5 This is one of the flowcharts illustrating the method for determining the distribution network status provided in this embodiment of the invention. (Refer to...) Figure 5 The Bluetooth pre-connection process is as follows: Figure 5 As shown.

[0160] Before network configuration begins, launch the app, set Bluetooth peripheral discovery rules, enable Bluetooth, and initiate a Bluetooth scan. When a peripheral device is detected, determine whether a Bluetooth connection needs to be established. After the phone and device establish a Bluetooth connection, the bound device identifier is recorded in the local pre-connection cache pool. If the scan or pre-connection is canceled, the pre-connection data must be reset, and the Bluetooth pre-connection cache pool must be cleared before initiating the scan again. Then, determine if the Bluetooth pre-connection is normal. If the connection is normal, the device will directly enter the network by sending Wi-Fi information to the device. If there is no pre-connection or the Bluetooth pre-connection is abnormal, reset the pre-connection data, clear the cache, and execute the fault tolerance mechanism to re-establish a connection with the device. If re-establishing a connection with the device still fails after executing the fault tolerance mechanism, the network configuration result is a failure.

[0161] The network configuration status determination method provided by this invention establishes a Bluetooth pre-connection between the first terminal and the second terminal before network configuration begins. After network configuration begins, network configuration information can be directly sent to the second terminal to enable the second terminal to perform network configuration. By eliminating the Bluetooth connection time during the network configuration process, the efficiency of the network link is improved.

[0162] Figure 6 This is the second flowchart illustrating the method for determining the distribution network status provided in this embodiment of the invention. (Refer to...) Figure 6 Bluetooth configuration phased dual-link process as follows Figure 6 As shown.

[0163] After network configuration begins, the mobile app sends WiFi information to the smart device via Bluetooth link layer communication, and the smart device begins network configuration.

[0164] The mobile app receives data actively transmitted by smart devices via Bluetooth, records the device's feedback status codes, including: about to connect to a specified network, abnormal data parameters, connecting to a router, DNS resolution in progress, logging into a server, successful login, and cloud login error code. It also records the stage status feedback from the smart device.

[0165] Based on the collected big data, the cloud server determines a phased query method and sends it to the mobile app. The mobile app executes the phased query method via the internet link, actively querying the cloud for device status, confirming whether the device is connected to the cloud, and recording the phased response status code returned by the cloud.

[0166] The mobile app uploads big data on network distribution behavior within a given period to a cloud server. The cloud server can then determine the phased query method based on this data. For example, successful network distribution typically occurs within 10-30 seconds. Data on successful network distribution within 0-10 seconds and after 30 seconds accounts for less than 10%. Therefore, in the second phase (10-30 seconds), queries are performed every 0.5 seconds.

[0167] Throughout the entire process, detailed information is dynamically pushed to the user at different stages. By using a configuration table that maps stage status codes issued based on internet link configuration, users can clearly perceive the device's network connection stage and any errors, and receive guidance on how to resolve them.

[0168] The distribution network status determination method provided by this invention determines the network access status of the second terminal through a phased dual-link strategy, which can ensure the reliability of the query results. Furthermore, the phased query method executed at the Internet link layer can improve query efficiency. By combining the phased status code information configuration table, connection information, network information, diagnostic information, and node update information can be clearly displayed on the application, allowing users to perceive phased changes and link quality, effectively improving the user experience.

[0169] Figure 7 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 7 As shown, the electronic device may include a processor 710, a communications interface 720, a memory 730, and a communication bus 740, wherein the processor 710, the communications interface 720, and the memory 730 communicate with each other via the communication bus 740. The processor 710 can call logical instructions in the memory 730 to execute the following methods:

[0170] When the second terminal receives the network configuration information, the first terminal determines the network access status of the second terminal through a phased dual-link strategy.

[0171] The phased dual-link strategy includes:

[0172] The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network;

[0173] The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth;

[0174] The phased query method is determined based on pre-collected big data on distribution network behavior.

[0175] or

[0176] The server receives big data on the network configuration behavior of the second terminal sent by the first terminal;

[0177] The server determines the phased query method based on the big data of the network distribution behavior, and sends the phased query method to the first terminal;

[0178] The phased query method is used by the first terminal to determine whether the second terminal has joined the network.

[0179] Furthermore, the logical instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0180] Furthermore, this invention discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, and when these instructions are executed by a computer, the computer can execute the network distribution status determination method provided in the above-described method embodiments, for example including:

[0181] When the second terminal receives the network configuration information, the first terminal determines the network access status of the second terminal through a phased dual-link strategy.

[0182] The phased dual-link strategy includes:

[0183] The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network;

[0184] The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth;

[0185] The phased query method is determined based on pre-collected big data on distribution network behavior.

[0186] or

[0187] The server receives big data on the network configuration behavior of the second terminal sent by the first terminal;

[0188] The server determines the phased query method based on the big data of the network distribution behavior, and sends the phased query method to the first terminal;

[0189] The phased query method is used by the first terminal to determine whether the second terminal has joined the network.

[0190] On the other hand, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the network status determination method provided in the above embodiments, including, for example:

[0191] When the second terminal receives the network configuration information, the first terminal determines the network access status of the second terminal through a phased dual-link strategy.

[0192] The phased dual-link strategy includes:

[0193] The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network;

[0194] The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth;

[0195] The phased query method is determined based on pre-collected big data on distribution network behavior.

[0196] or

[0197] The server receives big data on the network configuration behavior of the second terminal sent by the first terminal;

[0198] The server determines the phased query method based on the big data of the network distribution behavior, and sends the phased query method to the first terminal;

[0199] The phased query method is used by the first terminal to determine whether the second terminal has joined the network.

[0200] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0201] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

[0203] The above embodiments are for illustrative purposes only and are not intended to limit the scope of the invention. Although the invention has been described in detail with reference to the embodiments, those skilled in the art should understand that various combinations, modifications, or equivalent substitutions of the technical solutions of the invention do not depart from the spirit and scope of the invention and should be covered within the scope of the claims of the invention.

Claims

1. A method for determining the status of a distribution network, characterized in that, include: When the second terminal receives the network configuration information, the first terminal determines the network access status of the second terminal through a phased dual-link strategy. The phased dual-link strategy includes: The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network; The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth; The phased query method is determined based on pre-collected big data on distribution network behavior; The staged query method includes: Determine at least one time period and the corresponding query frequency within the time period; The query is performed within the time period according to the query frequency.

2. The method for determining the status of a distribution network according to claim 1, characterized in that, Also includes: The first terminal uploads the big data of the network configuration behavior of the second terminal to the server; The first terminal receives the staged query method sent by the server; The big data on distribution network behavior is used by the server to determine the phased query method.

3. The method for determining the status of a distribution network according to claim 1, characterized in that, Also includes: The first terminal records the network access information of the second terminal at each stage of the network distribution process; The first terminal determines the configuration table corresponding to the stage status code based on the network access information of each stage; The network access information at each stage includes: connection information, network information, diagnostic information, and node update information; The configuration table corresponding to the stage status codes is used to display the network access information for each stage.

4. The method for determining the status of a distribution network according to claim 1, characterized in that, Before the first terminal determines the network access status of the second terminal through the phased dual-link strategy, the following steps are also included: The first terminal establishes a Bluetooth pre-connection with the second terminal; If the first terminal confirms that the Bluetooth pre-connection is normal, network configuration information is sent to the second terminal. The distribution network information is used by the second terminal for distribution network configuration.

5. A method for determining the status of a distribution network, characterized in that, include: The server receives big data on the network configuration behavior of the second terminal sent by the first terminal; The server determines a phased query method based on the big data of network configuration behavior and sends the phased query method to the first terminal; wherein, the phased query method is used by the first terminal to determine whether the second terminal has joined the network; The staged query method includes: Determine at least one time period and the corresponding query frequency within the time period; The query is performed within the time period according to the query frequency.

6. A distribution network status determination device, characterized in that, include: The determination module is used to determine the network access status of the second terminal through a phased dual-link strategy when the second terminal receives the network distribution information. The phased dual-link strategy includes: The first terminal performs a phased query through the Internet link to determine whether the second terminal has joined the network; The first terminal determines the network access status of the second terminal by receiving data transmitted via Bluetooth; The phased query method is determined based on pre-collected big data on distribution network behavior; The staged query method includes: Determine at least one time period and the corresponding query frequency within the time period; The query is performed within the time period according to the query frequency.

7. A distribution network status determination device, characterized in that, include: The receiving module is used by the server to receive big data on the network configuration behavior of the second terminal sent by the first terminal; The sending module is used by the server to determine the phased query method based on the big data of the network distribution behavior, and to send the phased query method to the first terminal; The staged query method is used by the first terminal to determine whether the second terminal has joined the network; The staged query method includes: Determine at least one time period and the corresponding query frequency within the time period; The query is performed within the time period according to the query frequency.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the distribution network status determination method as described in any one of claims 1 to 5.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the distribution network status determination method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and apparatus for selecting mode of terminal

    US20170200014A1

  • Dynamic Exchange Of Wireless Communication Services

    US20180115924A1