Smart device connection and communication adjustment method, apparatus and device, and storage medium
By acquiring the data connection communication model and status logs between smart devices and routers, analyzing abnormal devices and adjusting their communication behavior, the problem of unstable connection between smart home appliances and routers was solved, resulting in a more stable network connection.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2026-03-05
AI Technical Summary
Smart home appliances are prone to disconnection or packet loss after being connected to a router, leading to network instability. Existing technical solutions are outdated and inefficient.
Obtain the current data connection communication model and device status log between the smart device and the router, analyze abnormal offline devices, establish a preset data connection communication model, and adjust the communication behavior of abnormal devices to stabilize the connection.
By quickly identifying and adjusting the communication model of abnormal devices, the connection stability and communication efficiency between smart devices and routers are improved, avoiding processing lag issues.
Smart Images

Figure CN2025106056_05032026_PF_FP_ABST
Abstract
Description
Smart device connection and communication adjustment methods, devices, equipment and storage media
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202411196487.5, filed on August 28, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of communication technology, and in particular to a method, apparatus, device and storage medium for adjusting communication connection of smart devices. Background Technology
[0004] Currently, smart home appliances like air conditioners connect to home routers via Wi-Fi to achieve smart home functionality. However, with the development of Wi-Fi Alliance technology and the increase in router products from manufacturers each year, coupled with differences in design protocols and quality among router manufacturers, Wi-Fi-enabled smart air conditioners are prone to disconnections or packet loss when connected to new routers, leading to network instability. Summary of the Invention
[0005] The main objective of this application is to provide a method, apparatus, device, and storage medium for adjusting the connection and communication of smart devices, aiming to solve the technical problem of unstable connection between smart home appliances and routers.
[0006] To achieve the above objectives, this application proposes a method for adjusting the connection and communication of a smart device, the method comprising:
[0007] Obtain the current data connection communication model and device status log between the smart device and the connected router;
[0008] The distribution data of abnormal offline devices in the smart devices are obtained based on the device status log;
[0009] The abnormal devices are identified based on the abnormal offline device distribution data; and
[0010] The current data connection communication model of the abnormal device is adjusted to adjust the connection and communication between the abnormal device and the router.
[0011] In one embodiment, the step of adjusting the current data connection communication model of the abnormal device to adjust the connection and communication between the abnormal device and the router includes:
[0012] Obtain a preset data connection communication model, wherein the preset data connection communication model includes communication information between a normal device and a connected router; and
[0013] The current data connection communication model of the abnormal device is adjusted according to the preset data connection communication model in order to adjust the connection and communication between the abnormal device and the router.
[0014] In one embodiment, the step of adjusting the current data connection communication model of the abnormal device according to the preset data connection communication model to adjust the connection and communication between the abnormal device and the router includes:
[0015] The current data connection communication model of the abnormal device is compared and analyzed with the preset data connection communication model to determine the abnormal behavior and connection communication data;
[0016] The corresponding target behavior is queried from the preset data connection communication model using the connection communication data; and
[0017] The abnormal behavior of the abnormal device is adjusted by the target behavior to adjust the connection and communication between the abnormal device and the router.
[0018] In one embodiment, the step of obtaining a preset data connection communication model includes:
[0019] Acquire historical connection and communication sample data between smart devices and routers;
[0020] Based on the connection sample data and the communication sample data, packet sequence number, timestamp, source address, destination address, and behavior analysis are obtained;
[0021] A preset data connection communication model is established based on the packet sequence number, the timestamp, the source address, the destination address, and the behavior analysis.
[0022] In one embodiment, the step of adjusting the current data connection communication model of the abnormal device to adjust the connection and communication between the abnormal device and the router includes:
[0023] Determine the normally connected devices based on the abnormal offline device distribution data;
[0024] Obtain the data connection communication model of the normally connected device; and
[0025] The current data connection communication model of the abnormal device is adjusted according to the data connection communication model of the normally connected device, so as to adjust the connection and communication between the abnormal device and the router.
[0026] In one embodiment, the step of determining abnormal devices based on the abnormal offline device distribution data includes:
[0027] The abnormal offline rate of devices is obtained based on the distribution data of abnormal offline devices; and
[0028] Abnormal devices among the smart devices are identified by the abnormal offline rate of the devices.
[0029] In one embodiment, before the step of obtaining the distribution data of abnormal offline devices based on the device status log, the method further includes:
[0030] Obtain device access status input rules;
[0031] Compare the device status log with the device access status input rules; and
[0032] If the device status log does not conform to the device access status input rules, the smart device corresponding to the device status log will be removed.
[0033] Furthermore, to achieve the above objectives, this application also proposes a smart device connection communication adjustment method apparatus, the smart device connection communication adjustment method apparatus comprising:
[0034] The acquisition module is used to acquire the current data connection communication model and device status log between the smart device and the connected router;
[0035] The acquisition module is also used to obtain the distribution data of abnormal offline devices in the smart device based on the device status log;
[0036] The determination module is used to determine abnormal devices based on the abnormal offline device distribution data; and
[0037] The adjustment module is used to adjust the current data connection communication model of the abnormal device in order to adjust the connection and communication between the abnormal device and the router.
[0038] In addition, to achieve the above objectives, this application also proposes a smart device connection communication adjustment method device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the smart device connection communication adjustment method as described above.
[0039] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the intelligent device connection and communication adjustment method described above.
[0040] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the smart device connection and communication adjustment method described above.
[0041] This application proposes one or more technical solutions that obtain the current data connection communication model and device status log between a smart device and a connected router; obtain abnormal offline device distribution data among the smart devices based on the device status log; identify abnormal devices based on the abnormal offline device distribution data; and adjust the current data connection communication model of the abnormal devices to adjust the connection and communication between the abnormal devices and the router. This allows for rapid identification of abnormal devices based on the smart device's status log and timely adjustment of the abnormal device's current data connection communication model, thereby improving the stability of the connection between the smart device and the router. Attached Figure Description
[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 is a flowchart illustrating the first embodiment of the intelligent device connection and communication adjustment method of this application.
[0045] Figure 2 is a schematic diagram of the three-terminal logs of the smart device in one embodiment of the smart device connection and communication adjustment method of this application;
[0046] Figure 3 is a schematic diagram of data interaction between a smart device and an access layer server in one embodiment of the smart device connection and communication adjustment method of this application;
[0047] Figure 4 is a flowchart of the second embodiment of the intelligent device connection and communication adjustment method of this application.
[0048] Figure 5 is a schematic diagram of the data model for establishing a connection in one embodiment of the intelligent device connection communication adjustment method of this application;
[0049] Figure 6 is a schematic diagram of establishing a communication data model in one embodiment of the intelligent device connection communication adjustment method of this application;
[0050] Figure 7 is a schematic diagram of the analysis between abnormal devices and normal devices in one embodiment of the intelligent device connection and communication adjustment method of this application;
[0051] Figure 8 is another analytical schematic diagram of the relationship between abnormal devices and normal devices in one embodiment of the intelligent device connection and communication adjustment method of this application;
[0052] Figure 9 is a flowchart of the intelligent device connection and communication adjustment method provided in Embodiment 3 of this application;
[0053] Figure 10 is a schematic diagram of the module structure of the intelligent device connection and communication adjustment device according to an embodiment of this application;
[0054] Figure 11 is a schematic diagram of the hardware operating environment involved in the intelligent device connection and communication adjustment method in this application embodiment;
[0055] Figure 12 is a flowchart illustrating an embodiment of the intelligent device connection and communication adjustment method of this application.
[0056] Figure 13 is a flowchart illustrating an embodiment of the intelligent device connection and communication adjustment method of this application.
[0057] Figure 14 is a flowchart illustrating an embodiment of the intelligent device connection and communication adjustment method of this application.
[0058] Figure 15 is a flowchart illustrating an embodiment of the intelligent device connection and communication adjustment method of this application.
[0059] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0060] It should be understood that the embodiment described herein is merely used to explain the technical solution of this application and is not intended to limit this application.
[0061] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0062] The main solution of this application embodiment is: to obtain the current data connection communication model and device status log between the smart device and the connected router; to obtain the distribution data of abnormal offline devices in the smart device based on the device status log; to determine the abnormal device based on the distribution data of abnormal offline devices; and to adjust the current data connection communication model of the abnormal device to adjust the connection and communication between the abnormal device and the router.
[0063] Because existing Wi-Fi smart air conditioners are prone to disconnection or packet loss when connected to a new router, resulting in network instability, the solution is to conduct experimental analysis on the same router or analyze and resolve the problem after it occurs, which has a certain lag and low efficiency.
[0064] This application provides a solution that pre-establishes a preset data connection communication model for smart air conditioning devices that are normally connected to the router, analyzes abnormal smart air conditioning devices to determine abnormal behavior, and synchronizes the communication rules or behaviors of the preset data connection communication model to the abnormal smart air conditioning devices, thereby achieving the effect of self-balancing connection communication stability for all devices.
[0065] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or smart device connection and communication adjustment device capable of performing the above functions. The following description uses a smart device connection and communication adjustment device as an example, in which an access layer server is deployed, to illustrate this embodiment and the following embodiments.
[0066] Based on this, this application provides a method for adjusting the connection and communication of a smart device. Referring to Figure 1, which is a flowchart of the first embodiment of the method for adjusting the connection and communication of a smart device, this application provides a method for adjusting the connection and communication of a smart device.
[0067] In this embodiment, the smart device connection communication adjustment method includes steps S10 to S40:
[0068] Step S10: Obtain the current data connection communication model and device status log between the smart device and the connected router.
[0069] It should be noted that smart devices can be smart home devices, smart wearable devices, etc., such as smart air conditioners and smart refrigerators. This embodiment will use a smart air conditioner as an example for illustration.
[0070] Multiple smart devices can connect to the same router or to different routers. Due to different router protocols, the connected smart devices may experience disconnection or packet loss. Therefore, it is possible to obtain the current data connection communication model between the smart device and the corresponding router, as well as the device status log of the smart device, in real time.
[0071] The current data connection communication model represents the behavior between smart devices and connected routers, as well as the connection communication data. The behavior can include communication behavior, data reporting behavior, etc.
[0072] The device status log is the data in the three-terminal log packet of the smart device, which may include signal strength, channel, router model, abnormal behavior, etc., as shown in Figure 2. Figure 2 is a schematic diagram of the three-terminal log of the smart device, including log version 03, signal strength -39dBm, Basic Service Set Identifier (BSSID) [B4F18CB9CE30]XXX, IPv4 address 192.168.0.46, restart reason, protocol stack status: 00, protocol stack element return: 08, connection phase error code, login phase error code, and other information.
[0073] In one embodiment, all smart air conditioning devices connected to the access layer server report their data connection communication model and device status log to the data bank server, as shown in Figure 3. Figure 3 is a schematic diagram of data interaction between smart devices and the access layer server. Each smart device reports its connection communication model and device status log to the access layer server, and then sends it to the data bank server through the access layer server.
[0074] Step S20: Obtain the distribution data of abnormal offline devices in the smart devices based on the device status log.
[0075] In one implementation, device status logs can be analyzed to obtain distribution data of abnormal offline devices with problems among multiple smart devices.
[0076] For example, device status logs can be analyzed directly to extract information such as device online / offline status, connection time, disconnection time, and communication frequency, thereby identifying devices that are frequently offline, have unstable connections, or exceed normal offline time, thus obtaining abnormal offline device distribution data.
[0077] In one embodiment, referring to FIG12, steps A01 to A03 are included before step S20:
[0078] Step A01: Obtain the device access status input rules.
[0079] It should be noted that device access status input rules can be used to evaluate the connection quality between smart devices and routers or the current environmental conditions. Device access status input rules can be three-terminal log input rules for device access status, specifically including:
[0080] A. RSSI >= -70 dBm. RSSI (Received Signal Strength Indicator) is a signal strength indicator used to measure the strength of the wireless signal received by a device. -70 dBm is a threshold, indicating that the signal strength should be at least -70 dBm. This value is typically used to define an acceptable signal strength range; values below this may indicate a weak signal and unstable connection.
[0081] B. SINR>=0: SINR (Signal-to-Interference plus Noise Ratio) is the ratio of signal-to-noise ratio to interference, used to measure signal quality. SINR>=0 indicates that the signal-to-noise ratio should be non-negative. A positive SINR value usually means good signal quality, while a negative value may indicate the presence of interference or noise problems.
[0082] C. errCode: errCode is an error code used to indicate problems encountered by the device at different stages. 0 indicates no error and a normal connection. 1 indicates a connection stage error, which may occur when the device attempts to connect to the router. 2 indicates a login stage error, which may occur when the device attempts to authenticate or log in to the network. 3 indicates a communication stage error, which may occur during data transmission.
[0083] D. BSSID: BSSID (Basic Service Set Identifier) is a unique identifier used to identify a specific router or access point in a network. Here, it refers to the type of router the device is connected to and may be used for further analysis of connectivity issues or optimization of connection performance.
[0084] Step A02: Compare the device status log with the device access status input rules.
[0085] The device status log can be compared with the device access status input rules. Specifically, the device status log can be analyzed to extract key parameters, and then the key parameters can be compared with the device access status input rules.
[0086] Step A03: When the device status log does not conform to the device access status input rules, remove the smart device corresponding to the device status log.
[0087] In one implementation, if key parameters in the device status log do not conform to the device access status input rules, such as errCode=1, the smart device is identified as a useless device or the environment in which the smart device is located is abnormal, and this smart device is removed. By comparing the device status logs of each smart device with the device access status input rules, smart devices that do not conform to the device access status input rules are removed, resulting in an updated set of smart devices. By monitoring these parameters, connection problems can be detected and resolved in a timely manner, improving device connection stability and communication efficiency.
[0088] Step S30: Determine the abnormal devices based on the abnormal offline device distribution data.
[0089] Abnormal devices can be identified through abnormal offline device distribution data. For example, abnormal offline rates or other data between each air conditioner and the same or different routers in the abnormal offline device distribution data can be used to identify abnormal devices.
[0090] In one embodiment, referring to FIG13, step S30 may include steps A11 to A12:
[0091] Step A11: Obtain the abnormal offline rate of devices based on the abnormal offline device distribution data.
[0092] It should be noted that after obtaining the distribution data of abnormal offline devices, the abnormal offline rate of each device can be calculated, i.e., PPM data.
[0093] As shown in Table 1, Table 1 presents the distribution data of abnormally offline devices and the corresponding abnormal offline rates of air conditioners. It includes air conditioners 1 to 6, routers 1 to 5, and the abnormal offline rate (PPM) between each air conditioner and router.
[0094] Table 1
[0095] Step A12: Determine abnormal devices among the smart devices based on the abnormal offline rate of the devices.
[0096] The abnormal device among multiple smart devices can be identified based on the abnormal offline rate. For example, the abnormal offline rates (PPM) between air conditioners 1 to 5 and router 1 are 946, 2786, 956, 1003, 1201, and 3214, respectively. The device with the highest abnormal offline rate (PPM) can be reported as abnormal, i.e., air conditioner 6. An abnormal offline rate threshold can also be set, for example, if it is set to 2800, then the device with an abnormal offline rate higher than the threshold of 2800 is an abnormal device, i.e., air conditioner 6.
[0097] Step S40: Adjust the current data connection communication model of the abnormal device to adjust the connection and communication between the abnormal device and the router.
[0098] In one embodiment, abnormal behaviors in the current data connection communication model of abnormal devices can be adjusted, such as abnormal connection behavior or abnormal communication behavior, so as to adjust the current data connection communication model of abnormal devices to be consistent with the data connection communication model of normal devices, thereby achieving the effect of self-balancing connection communication stability of all devices and avoiding the problem of delayed processing caused by solving the problem of unstable communication of smart devices only after the failure occurs.
[0099] This embodiment provides a method for adjusting the connection and communication of a smart device. It involves acquiring the current data connection communication model and device status log between the smart device and the connected router; obtaining distribution data of abnormal offline devices in the smart device based on the device status log; identifying abnormal devices based on the abnormal offline device distribution data; and adjusting the current data connection communication model of the abnormal devices to adjust the connection and communication between the abnormal devices and the router. This method allows for the rapid identification of abnormal devices based on the smart device's status log and timely adjustment of their current data connection communication model, thereby improving the stability of the connection between the smart device and the router.
[0100] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Based on this, please refer to Figure 4; step S40 includes steps S401 to S402:
[0101] Step S401: Obtain a preset data connection communication model, which includes communication information between a normal device and a connected router.
[0102] It should be noted that the preset data connection communication model is the pre-established communication information between a normal device and the connected router, including connection behavior information and communication behavior information.
[0103] In one embodiment, a preset data communication connection model can be established in advance, so that when adjusting the connection communication of smart devices in the future, the current data connection communication model of the smart devices can be analyzed and adjusted by referring directly to the preset data communication connection model.
[0104] In one embodiment, referring to FIG14, step S401 may include steps B11 to B13:
[0105] Step B11: Obtain historical connection sample data and communication sample data between smart devices and routers.
[0106] It should be noted that the historical smart devices are a sample of collected smart devices. Since the connection and communication between smart air conditioners and routers conforms to and follows the IEEE 802.11 standard protocol, a data model of the router connection and communication for each smart air conditioner can be established and recorded.
[0107] As shown in Figure 5, which is a schematic diagram of the data model for establishing a connection, when establishing a connection between air conditioner module A and router A, air conditioner module A initiates a network probe request, and router A returns a network probe response. Air conditioner module A initiates an authentication request, and router A returns an authentication response. Air conditioner module A initiates an association request, and router A returns an association response.
[0108] As shown in Figure 6, which is a schematic diagram of the data model for establishing communication, when communication is established between air conditioner module A and router A, the sending device waits to see if its own interval has expired. If it has, the sending device initiates a time reservation request and sends a request frame (RTS Frame). It then waits for the peer device to reply with an invitation. Router A returns a "Clear Send" frame (CTS Frame), and the sending device, air conditioner module A, sends data communication (Data trans). The peer device, router A, returns a data acknowledgment (Data Ack). The waiting time includes the longest and shortest waiting frame intervals. By establishing a data model for router connection and communication for each smart air conditioner, connection sample data and communication sample data can be obtained.
[0109] Step B12: Obtain packet sequence number, timestamp, source address, destination address, and behavior analysis based on the connection sample data and the communication sample data.
[0110] It should be noted that packet sequence numbers, timestamps, source addresses, destination addresses, and behavioral analysis can be obtained from the data in the connection sample data and communication sample data.
[0111] Step B13: Establish a preset data connection communication model based on the packet sequence number, the timestamp, the source address, the destination address, and the behavior analysis.
[0112] In one implementation, the packet sequence number, timestamp, source address, destination address, and behavior analysis can be used to create a table, thereby obtaining multiple tables representing the connection and communication between normal devices and routers, thus forming a preset data connection and communication model. The contents of the table also represent the connection and communication rules between smart devices and routers under normal circumstances.
[0113] As shown in Tables 2 and 3, Tables 2 and 3 respectively represent the connection and communication data rules between different smart devices and routers.
[0114] The hb request is a heartbeat request, the addba request 60s is an add block acknowledgment with a timeout of 60 seconds, and the addba response is the receiver's response to the sender's ADDBA (Add Block Ack) request.
[0115] Table 2
[0116] Table 3
[0117] Step S402: Adjust the current data connection communication model of the abnormal device according to the preset data connection communication model, so as to adjust the connection and communication between the abnormal device and the router.
[0118] It should be noted that the current data connection communication model of abnormal devices can be adjusted by using the connection or communication rules in the preset data connection communication model, so that the establishment and communication between abnormal devices and routers are consistent with those of normal devices.
[0119] In one embodiment, referring to FIG15, step S402 may include steps C11 to C13:
[0120] Step C11: Compare and analyze the current data connection communication model of the abnormal device with the preset data connection communication model to determine the abnormal behavior and connection communication data.
[0121] It should be noted that the current data connection communication model of the abnormal device can be compared and analyzed with the preset data connection communication model. Specifically, the comparison involves comparing the timestamp, source address, destination address, and behavior analysis to obtain abnormal behavior and connection communication data. The connection communication data may include one or more of the timestamp, source address, and destination address.
[0122] Step C12: Query the corresponding target behavior from the preset data connection communication model through the connection communication data.
[0123] In one embodiment, data consistent with the connection communication data can be queried from a preset data connection communication model through connection communication data, and the corresponding target behavior can be obtained. The target behavior is the behavior between the normal device and the router, including connection behavior or communication behavior, etc.
[0124] Step C13: Adjust the abnormal behavior of the abnormal device through the target behavior to adjust the connection and communication between the abnormal device and the router.
[0125] In one implementation, the abnormal behavior of the abnormal device can be adjusted by setting a target behavior, that is, by setting the target behavior as the behavior of the abnormal device, thereby adjusting the connection and communication between the abnormal device and the router.
[0126] By analyzing the abnormal behavior of two different air conditioners, A and B, connected to the same route A (air conditioner A being an abnormal device and air conditioner B being a normal device), and their preset data connection communication model, the cause of the abnormal behavior was found to be a communication heartbeat packet error, as shown in Figure 7. Figure 7 is a schematic diagram of the analysis between the abnormal and normal devices, revealing a difference in the data connection communication models of the two air conditioners. Specifically: When initiating communication, route A initiates a behavior model ADDBA request 60s. According to the 802.11 standard protocol, the parsed packet aggregation frame buffer timeout is 60s. Therefore, if air conditioner A finds no data response after two seconds, it initiates a timeout reconnection. Air conditioner B, however, waits for the packet aggregation buffer to be sent according to the AP's behavior, and receives a response from the route AP after 3 seconds, achieving normal communication. Therefore, the behavior of air conditioner B can be adjusted to modify the behavior of air conditioner A, making it wait for the packet aggregation buffer to be sent according to the AP's behavior.
[0127] In one implementation, as shown in Figure 8, which is another analytical diagram between abnormal and normal devices, some routers default to queuing for communication resources with APs. However, some routers and APs do not require resource contention. If the router's ERP broadcast flag is not checked and data is sent directly to wait for an ACK reply, it can easily lead to data timeout and offline. Therefore, if the abnormal behavior is to send data directly to wait for an ACK reply without checking the router's ERP broadcast flag, the abnormal behavior should be adjusted according to the normal behavior (checking the router's ERP broadcast flag and then determining whether to wait for an ACK reply based on the router's ERP broadcast flag).
[0128] As shown in Tables 4 and 5, Table 4 shows the connection and communication data of air conditioner A, and Table 5 shows the connection and communication data of air conditioner B. Air conditioner A represents the normal behavior of a normal device, while air conditioner B represents the abnormal behavior of a malfunctioning device.
[0129] Table 4
[0130] Table 5
[0131] In one implementation, some routers cannot accept multiple authentication requests from the device. If the air conditioner device initiates multiple authentication requests simultaneously at both the underlying and application layers, it is easy for the router to reject the access or time out the authentication response, which can easily lead to network reconnection failure. Table 6 below shows the model of connection failure caused by multiple authentication requests. Table 7 below shows the model rules for other air conditioners on the same router that the data bank discovers through the large model and reconnects normally. Finally, the connection model rules of air conditioner B are synchronized to air conditioner A, which can complete the model optimization of connection stability.
[0132] Table 6
[0133] Table 7
[0134] In one embodiment, this application obtains a preset data connection communication model, which includes communication information between a normal device and a connected router. Based on the preset data connection communication model, the current data connection communication model of the abnormal device is adjusted to adjust the connection and communication between the abnormal device and the router, ensuring that the communication performance of the abnormal device is restored and improved, while maintaining a valid connection with the router. This process helps improve the stability and reliability of the entire network.
[0135] Based on the first embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Based on this, please refer to Figure 9, step S40 includes steps S401' to S403':
[0136] Step S401': Determine the normally connected devices based on the abnormal offline device distribution data.
[0137] It should be noted that normally connected devices can be identified from the distribution data of abnormal offline devices. As shown in Table 1 above, by comparing the abnormal offline rates of devices connected to the same router, such as the abnormal offline rates of air conditioners 1 to 6 and connected to router 1, the air conditioner with the lowest abnormal offline rate is identified as the normally connected device, i.e., air conditioner 1 is the normally connected device.
[0138] Step S402': Obtain the data connection communication model of the normally connected device.
[0139] It can obtain the data connection communication model of normally connected devices, including connection data, communication data, connection behavior, and communication behavior between normally connected devices and routers.
[0140] Step S403': Adjust the current data connection communication model of the abnormal device according to the data connection communication model of the normal connected device, so as to adjust the connection and communication between the abnormal device and the router.
[0141] In one embodiment, the connection behavior and communication behavior in the current data connection communication model of the abnormal device can be adjusted based on the connection behavior and communication behavior in the data connection communication model of the normally connected device, thereby optimizing the abnormal offline rate of the air conditioner.
[0142] As shown in Table 8, the abnormal offline rate (PPM) of the air conditioners after adjustment is shown. It can be seen that the PPM between air conditioner 2 and router 1 decreased from 2786 to 1230, and the PPM between air conditioner 6 and router 1 decreased from 3214 to 1369.
[0143] Table 8
[0144] In one embodiment, this application determines normally connected devices based on the distribution data of abnormal offline devices; obtains the data connection communication model of the normally connected devices; and adjusts the current data connection communication model of the abnormal devices according to the data connection communication model of the normally connected devices, so as to adjust the connection and communication between the abnormal devices and the router. This allows for the systematic identification and adjustment of abnormal devices, ensuring their communication behavior is consistent with that of normal devices, thereby improving the stability and reliability of the entire network.
[0145] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the intelligent device connection and communication adjustment method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0146] This application also provides a smart device connection and communication adjustment device. Referring to FIG10, the smart device connection and communication adjustment device includes:
[0147] The acquisition module 10 is used to acquire the current data connection communication model and device status log between the smart device and the connected router.
[0148] The acquisition module 10 is also used to obtain the distribution data of abnormal offline devices in the smart device based on the device status log.
[0149] The determination module 20 is used to determine abnormal devices based on the abnormal offline device distribution data.
[0150] The adjustment module 30 is used to adjust the current data connection communication model of the abnormal device in order to adjust the connection and communication between the abnormal device and the router.
[0151] The intelligent device connection communication adjustment device provided in this application, employing the intelligent device connection communication adjustment method in the above embodiments, can solve the technical problem of unstable connection between smart home appliances and routers. Compared with the prior art, the beneficial effects of the intelligent device connection communication adjustment device provided in this application are the same as those of the intelligent device connection communication adjustment method provided in the above embodiments, and other technical features in the intelligent device connection communication adjustment device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0152] In one embodiment, the adjustment module 40 is further configured to acquire a preset data connection communication model, the preset data connection communication model including communication information between a normal device and a connected router; and to adjust the current data connection communication model of the abnormal device according to the preset data connection communication model, so as to adjust the connection and communication between the abnormal device and the router.
[0153] In one embodiment, the adjustment module 40 is further configured to compare and analyze the current data connection communication model of the abnormal device with the preset data connection communication model to determine abnormal behavior and connection communication data; query the corresponding target behavior from the preset data connection communication model through the connection communication data; and adjust the abnormal behavior of the abnormal device through the target behavior to adjust the connection and communication between the abnormal device and the router.
[0154] In one embodiment, the adjustment module 40 is further configured to acquire historical connection sample data and communication sample data between the smart device and the router; obtain packet sequence number, timestamp, source address, destination address and behavior analysis based on the connection sample data and the communication sample data; and establish a preset data connection communication model based on the packet sequence number, the timestamp, the source address, the destination address and the behavior analysis.
[0155] In one embodiment, the adjustment module 40 is further configured to compare and analyze the current data connection communication model of the abnormal device with the preset data connection communication model to determine abnormal behavior and connection communication data; query the corresponding target behavior from the preset data connection communication model through the connection communication data; and adjust the abnormal behavior of the abnormal device through the target behavior to adjust the connection and communication between the abnormal device and the router.
[0156] In one embodiment, the determining module 30 is further configured to obtain the abnormal offline rate of devices based on the abnormal offline device distribution data; and to determine abnormal devices among the smart devices through the abnormal offline rate of devices.
[0157] In one embodiment, the acquisition module 10 is further configured to acquire device access status input rules; compare the device status log with the device access status input rules; and remove the smart device corresponding to the device status log when the device status log does not conform to the device access status input rules.
[0158] This application provides a smart device connection communication adjustment device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the smart device connection communication adjustment method in the above embodiment 1.
[0159] Referring now to Figure 11, a schematic diagram of a structure suitable for implementing an intelligent device connection and communication adjustment device in the embodiments of this application is shown. The intelligent device connection and communication adjustment device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The intelligent device connection and communication adjustment device shown in Figure 11 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0160] As shown in Figure 11, the intelligent device connection communication adjustment device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the intelligent device connection communication adjustment device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows smart devices to connect to communication adjustment devices and other devices for wireless or wired communication to exchange data. Although the figures show smart devices connected to communication adjustment devices with various systems, it should be understood that it is not required to implement or possess all of the systems shown. More or fewer systems can be implemented alternatively.
[0161] According to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0162] The smart device connection communication adjustment device provided in this application, employing the smart device connection communication adjustment method in the above embodiments, can solve the technical problem of unstable connection between smart home appliances and routers. Compared with the prior art, the beneficial effects of the smart device connection communication adjustment device provided in this application are the same as those of the smart device connection communication adjustment method provided in the above embodiments, and other technical features in this smart device connection communication adjustment device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0163] The various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0164] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0165] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the smart device connection communication adjustment method in the above embodiments.
[0166] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0167] The aforementioned computer-readable storage medium may be included in the smart device connection and communication adjustment device; or it may exist independently and not assembled into the smart device connection and communication adjustment device.
[0168] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the smart device connection and communication adjustment device, cause the smart device connection and communication adjustment device to: acquire the current data connection communication model and device status log between the smart device and the connected router; obtain abnormal offline device distribution data in the smart device based on the device status log; determine abnormal devices based on the abnormal offline device distribution data; and adjust the current data connection communication model of the abnormal devices to adjust the connection and communication between the abnormal devices and the router.
[0169] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0170] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0171] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0172] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described intelligent device connection communication adjustment method, which can solve the technical problem of unstable connection between smart home appliances and routers. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the intelligent device connection communication adjustment method provided in the above embodiments, and will not be repeated here.
[0173] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the intelligent device connection and communication adjustment method described above.
[0174] The computer program product provided in this application can solve the technical problem of unstable connection between smart home appliances and routers. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the smart device connection communication adjustment method provided in the above embodiments, and will not be repeated here.
[0175] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for adjusting communication connections in a smart device, wherein, The intelligent device connection communication adjustment method includes: Obtain the current data connection communication model and device status log between the smart device and the connected router; The distribution data of abnormal offline devices in the smart devices are obtained based on the device status log; The abnormal devices are identified based on the abnormal offline device distribution data; and The current data connection communication model of the abnormal device is adjusted to adjust the connection and communication between the abnormal device and the router.
2. The method as described in claim 1, wherein, The step of adjusting the current data connection communication model of the abnormal device to adjust the connection and communication between the abnormal device and the router includes: Obtain a preset data connection communication model, wherein the preset data connection communication model includes communication information between a normal device and a connected router; and The current data connection communication model of the abnormal device is adjusted according to the preset data connection communication model in order to adjust the connection and communication between the abnormal device and the router.
3. The method as described in claim 2, wherein, The step of adjusting the current data connection communication model of the abnormal device according to the preset data connection communication model to adjust the connection and communication between the abnormal device and the router includes: The current data connection communication model of the abnormal device is compared and analyzed with the preset data connection communication model to determine the abnormal behavior and connection communication data; The corresponding target behavior is queried from the preset data connection communication model using the connection communication data; and The abnormal behavior of the abnormal device is adjusted by the target behavior to adjust the connection and communication between the abnormal device and the router.
4. The method of claim 2, wherein, The steps for obtaining the preset data connection communication model include: Acquire historical connection and communication sample data between smart devices and routers; Based on the connection sample data and the communication sample data, packet sequence number, timestamp, source address, destination address, and behavior analysis are obtained; A preset data connection communication model is established based on the packet sequence number, the timestamp, the source address, the destination address, and the behavior analysis.
5. The method of claim 1, wherein, The step of adjusting the current data connection communication model of the abnormal device to adjust the connection and communication between the abnormal device and the router includes: Determine the normally connected devices based on the abnormal offline device distribution data; Obtain the data connection communication model of the normally connected device; and The current data connection communication model of the abnormal device is adjusted according to the data connection communication model of the normally connected device, so as to adjust the connection and communication between the abnormal device and the router.
6. The method of claim 1, wherein, The step of determining abnormal devices based on the abnormal offline device distribution data includes: The abnormal offline rate of devices is obtained based on the distribution data of abnormal offline devices; and Abnormal devices among the smart devices are identified by the abnormal offline rate of the devices.
7. The method according to any one of claims 1 to 6, wherein, Before the step of obtaining the distribution data of abnormal offline devices based on the device status log, the method further includes: Obtain device access status input rules; Compare the device status log with the device access status input rules; and If the device status log does not conform to the device access status input rules, the smart device corresponding to the device status log will be removed.
8. A method and apparatus for adjusting communication connection of a smart device, wherein, The device includes: The acquisition module is used to acquire the current data connection communication model and device status log between the smart device and the connected router; The acquisition module is also used to obtain the distribution data of abnormal offline devices in the smart device based on the device status log; The determination module is used to determine abnormal devices based on the abnormal offline device distribution data; and The adjustment module is used to adjust the current data connection communication model of the abnormal device in order to adjust the connection and communication between the abnormal device and the router.
9. A smart device connection communication adjustment device, wherein, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the smart device connection communication adjustment method as described in any one of claims 1 to 7.
10. A storage medium, wherein, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the intelligent device connection communication adjustment method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Wireless network connection method and device, terminal equipment and storage medium
CN108337715A
Data collaboration method for Wi-Fi P2P short connection
CN114051035A
Intelligent device distribution network operation abnormity processing method and device, client and medium
CN116112395A
Remote fault monitoring method, device and equipment of router and storage medium
CN117675691A
Network connecting method and electronic device
US20140068028A1