CN114339844A - Scene linkage fault analysis method and device and computer readable storage medium - Google Patents

Scene linkage fault analysis method and device and computer readable storage medium Download PDF

Info

Publication number
CN114339844A
CN114339844A CN202011062814.XA CN202011062814A CN114339844A CN 114339844 A CN114339844 A CN 114339844A CN 202011062814 A CN202011062814 A CN 202011062814A CN 114339844 A CN114339844 A CN 114339844A
Authority
CN
China
Prior art keywords
mesh
linkage
fault
network
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011062814.XA
Other languages
Chinese (zh)
Other versions
CN114339844B (en
Inventor
陈小平
周智勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunmi Internet Technology Guangdong Co Ltd
Original Assignee
Yunmi Internet Technology Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yunmi Internet Technology Guangdong Co Ltd filed Critical Yunmi Internet Technology Guangdong Co Ltd
Priority to CN202011062814.XA priority Critical patent/CN114339844B/en
Publication of CN114339844A publication Critical patent/CN114339844A/en
Application granted granted Critical
Publication of CN114339844B publication Critical patent/CN114339844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to the technical field of smart home, and discloses a scene linkage fault analysis method, a device and a computer readable storage medium, wherein the method comprises the following steps: when the target Mesh equipment confirms that the networking of the Mesh network is finished, the routing table information of the rest Mesh equipment is obtained through the Mesh network; generating a topological structure of the Mesh network according to the routing table information of the rest Mesh devices; in an off-line state of an external network, when a scene linkage failure is monitored, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and determining a fault Mesh device from the linkage Mesh devices according to the topological structure, and analyzing a fault cause of the fault Mesh device. According to the method and the device, the scene linkage fault can be rapidly and accurately checked under the condition of the broken line of the external network.

Description

Scene linkage fault analysis method and device and computer readable storage medium
Technical Field
The application relates to the technical field of smart home, in particular to a scene linkage fault analysis method and device and a computer readable storage medium.
Background
Along with the popularization of intelligent household equipment, the scene requirements of intelligent linkage are more and more, if a home-entering scene intelligent door lock opens a curtain or lighting equipment in a linkage mode after opening the door, a home-leaving scene intelligent door lock closes the door and then starts a floor-sweeping robot to perform cleaning operation and the like, the life of a user is greatly facilitated.
However, the above-mentioned scene of intelligent linkage is realized by requiring the intelligent device to be connected with the home extranet, and the cloud server performs intelligent linkage control, and once the home extranet is disconnected, if the intelligent linkage control fails, the cloud server obviously cannot be used for troubleshooting. Therefore, how to rapidly check scene linkage faults under the condition of external network disconnection is a problem to be solved urgently at present.
Disclosure of Invention
The application mainly aims to provide a scene linkage fault analysis method, a device and a computer readable storage medium, and aims to solve the technical problem that scene linkage faults are difficult to find under the condition of external network disconnection.
In order to achieve the above object, the present application provides a scene linkage fault analysis method, including:
when the target Mesh equipment confirms that the networking of the Mesh network is finished, the routing table information of the rest Mesh equipment is obtained through the Mesh network;
generating a topological structure of the Mesh network according to the routing table information of the rest Mesh devices;
in an off-line state of an external network, when a scene linkage failure is monitored, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment;
and determining a fault Mesh device from the linkage Mesh devices according to the topological structure, and analyzing a fault cause of the fault Mesh device.
In addition, in order to achieve the above object, the present application further provides a scenario linkage fault analysis device, where the scenario linkage fault analysis device includes a bluetooth/Wi-Fi dual module, a processor, a memory, and a scenario linkage fault analysis program stored on the memory and executable by the processor, where the scenario linkage fault analysis program implements the steps of the scenario linkage fault analysis method as described above when executed by the processor.
In addition, to achieve the above object, the present application further provides a computer readable storage medium, on which a scene linkage fault analysis program is stored, wherein when the scene linkage fault analysis program is executed by a processor, the steps of the scene linkage fault analysis method are implemented.
The application provides a scene linkage fault analysis method, a device and a computer readable storage medium, when a target Mesh device confirms that networking of a Mesh network is completed, routing table information of other Mesh devices is obtained through the Mesh network; then generating a topological structure of the Mesh network according to the routing table information of the other Mesh devices; in an off-line state of an external network, when a scene linkage failure is monitored, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and finally, determining the fault Mesh equipment from the linkage Mesh equipment according to the topological structure of the Mesh network, and analyzing the fault cause of the fault Mesh equipment. By taking the topological structure of the Mesh network as a basis for analyzing the scene linkage fault, the scene linkage fault can be quickly and accurately checked without depending on an external network, and the convenience and the flexibility for checking the scene linkage fault are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic hardware structure diagram of a scene linkage fault analysis device according to embodiments of the present application;
FIG. 2 is a schematic flow chart diagram illustrating an embodiment of a scenario-based failure analysis method according to the present application;
fig. 3 is an exemplary diagram of a Mesh network topology structure related to an embodiment of a scene linkage fault analysis method according to the present application;
FIG. 4 is a schematic flow chart diagram illustrating another embodiment of a scene linkage fault analysis method according to the present application;
FIG. 5 is a schematic flow chart diagram illustrating a further embodiment of a scene linkage fault analysis method according to the present application
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
The scene linkage fault analysis method is mainly applied to scene linkage fault analysis equipment, and the scene linkage fault analysis equipment can be any scene linkage fault analysis Mesh equipment in a Mesh network.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a scene linkage fault analysis device according to an embodiment of the present application. In this embodiment, the scene linkage fault analysis device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory), and the memory 1005 may optionally be a memory separate from the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in FIG. 1 is not limiting of the present application and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005, identified as a readable computer-readable storage medium in fig. 1, may include an operating system, a network communication module, and a scenario linkage fault analysis program. In fig. 1, the network communication module is mainly used for connecting to the cloud server and performing data communication with the cloud server; the processor 1001 may call the scene linkage fault analysis program stored in the memory 1005, and execute the steps of the scene linkage fault analysis method provided in the embodiment of the present application.
Wherein, in one embodiment, the processor is configured to run a scenario linkage fault analysis program stored in the memory to implement the following steps:
when the target Mesh equipment confirms that the networking of the Mesh network is finished, the routing table information of the rest Mesh equipment is obtained through the Mesh network; generating a topological structure of the Mesh network according to the routing table information of the rest Mesh devices; in an off-line state of an external network, when a scene linkage failure is monitored, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and determining a fault Mesh device from the linkage Mesh devices according to the topological structure, and analyzing a fault cause of the fault Mesh device.
In some embodiments, the generating the topology structure of the Mesh network according to the routing table information of the remaining Mesh devices by the processor includes:
determining the connection relation and the parent-child relation among the other Mesh devices according to the routing table information of the other Mesh devices;
and drawing the topological structure of the Mesh network according to the connection relation and the parent-child relation.
In some embodiments, the processor implementing the determining a faulty Mesh device from the linked Mesh devices according to the topology comprises:
locking a linkage Mesh device executing a corresponding action event when scene linkage fails, and determining the locked linkage Mesh device as a first target linkage Mesh device;
acquiring the working state of at least one second target linkage Mesh device in the topological structure, wherein the second target linkage Mesh device and the first target linkage Mesh device have the same father node;
determining whether the working state of the second target Mesh linkage equipment is normal;
if the working state of the second target linkage Mesh device is abnormal, determining the linkage Mesh device corresponding to the parent node as a fault Mesh device;
and if the working state of the second linkage Mesh equipment is normal, determining the first linkage Mesh equipment as fault Mesh equipment.
In some embodiments, the processor implementing the analyzing the cause of the failure of the failed Mesh device includes:
acquiring a fault representation of the fault Mesh equipment;
and determining a fault cause of the fault Mesh equipment according to the fault characterization.
In some embodiments, the obtaining, by the processor, the routing table information of the remaining Mesh devices through the Mesh network includes:
broadcasting the physical address of the target Mesh device to the Mesh network so that other Mesh devices can send routing table information to the target Mesh device through the physical address;
and receiving the routing table information sent by the other Mesh devices.
In some embodiments, before the processor obtains the routing table information of the other Mesh devices through the Mesh network when the target Mesh device confirms that networking of the Mesh network is completed, the processor further performs the following steps:
and establishing the Mesh network.
In some embodiments, the processor implements the group Mesh network, comprising:
when detecting the Mesh equipment to be networked, authenticating the Mesh equipment to be networked to obtain an authentication result;
determining whether the Mesh equipment to be accessed to the network is accessed to a Mesh network or not according to the authentication result;
and if the Mesh equipment to be networked is determined to be connected to the Mesh network, carrying out network distribution on the Mesh equipment to be networked, and establishing a network of the Mesh equipment to be networked in the Mesh network.
In some embodiments, the authenticating the Mesh device to be networked by the processor to obtain an authentication result includes:
acquiring Wi-Fi hotspot information of the Mesh device to be networked, and determining the position information of the Mesh device to be networked according to the Wi-Fi hotspot information;
and authenticating the Mesh device to be networked according to the position information of the Mesh device to be networked to obtain an authentication result.
Based on the hardware structure, the embodiment of the application provides a scene linkage fault analysis method.
Referring to fig. 2, fig. 2 is a schematic flowchart of an embodiment of a scene linkage fault analysis method according to the present application. The scene linkage fault analysis method is realized by scene linkage fault analysis equipment, and the scene linkage fault analysis equipment can be target Mesh equipment in a Mesh network.
Specifically, as shown in fig. 2, the scene linking fault analysis method includes steps S101 to S104.
Step S101, when the target Mesh device confirms that the Mesh network is completed, the routing table information of the other Mesh devices is obtained through the Mesh network.
The target Mesh device is an intelligent device with an operating system and a display screen, the operating system is an Android system, a liunx system and the like, and the target Mesh device can be an intelligent television with a display screen, an intelligent refrigerator and the like. The target Mesh device can be obtained by network election during Mesh establishment, can also be preset by a user through an internet of things APP, and can be used as a message broadcast of the target Mesh device to the Mesh network after being determined as the target Mesh device, so that other Mesh devices in the Mesh network can know the identity of the target Mesh device.
It can be understood that the Mesh network is built by all Mesh devices, and each Mesh device can only know information of upper and lower two levels of Mesh devices having a direct connection relationship with the Mesh device based on its own routing table information, such as a physical address (Mac) and the like. In order to realize the subsequent analysis of the scene linkage fault, the routing table information of the rest Mesh devices in the Mesh network needs to be summarized to the target Mesh device. Specifically, when the target Mesh device confirms that the Mesh network networking is completed, the routing table information of each of the other Mesh devices is obtained through a data channel inside the Mesh network.
In an embodiment, the obtaining of the routing table information of the other Mesh devices through the Mesh network specifically includes; broadcasting the physical address of the target Mesh device to the Mesh network so that other Mesh devices can send routing table information to the target Mesh device through the physical address; and receiving the routing table information sent by the other Mesh devices.
When the Mesh network is established, the other Mesh devices know the identity of the target Mesh device, the target Mesh device can broadcast the physical address (Mac) of the target Mesh device in the Mesh network, the other Mesh devices acquire the physical address (Mac) of the target Mesh device and send respective routing table information to the physical address (Mac) of the target Mesh device, and the target Mesh device receives the routing table information of the other Mesh devices.
And step S102, generating a topological structure of the Mesh network according to the routing table information of the rest Mesh devices.
And after the target Mesh device acquires the routing table information of the rest Mesh devices, generating a topological structure of the whole Mesh network according to the routing table information of the rest Mesh devices, and using the topological structure for subsequent scene linkage fault analysis.
In an embodiment, the generating a topology structure of the Mesh network according to the routing table information of the other Mesh devices specifically includes: determining the connection relation and the parent-child relation among the other Mesh devices according to the routing table information of the other Mesh devices; and drawing the topological structure of the Mesh network according to the connection relation and the parent-child relation.
Namely, the target Mesh device sorts out the connection relationship and the parent-child relationship between each of the other Mesh devices according to the routing table information of each of the other Mesh devices. The Mesh network classifies the Mesh devices according to the direct or indirect connection relationship between the Mesh devices and the gateway device of the router, specifically, the Mesh device directly connected with the gateway device of the router is determined as a primary Mesh device, the Mesh device indirectly connected with the gateway device of the router through one Mesh device is determined as a secondary Mesh device, the Mesh device indirectly connected with the gateway device of the router through two Mesh devices is determined as a tertiary Mesh device, and so on. For the first-level Mesh device, the second-level Mesh device is a lower-level child node Mesh device; for the second-level Mesh device, the first-level Mesh device is a parent node Mesh device of the upper level, the third-level Mesh device is a child node Mesh device of the lower level, and so on, the Mesh devices of the upper level and the lower level form a parent-child relationship.
The topology structure of the Mesh network can be drawn according to the connection relationship and the parent-child relationship between the other Mesh devices, as shown in fig. 3.
And S103, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment when the scene linkage is monitored to be in fault in the off-line state of the external network.
When the gateway device of the router in the Mesh network detects that the external network is offline, the scene linkage is implemented through the Mesh network because all Mesh devices in the Mesh network are in the disconnected state at the moment. The scene linkage is set in the Internet of things APP in advance by a user, the user can trigger a setting instruction of at least one scene linkage in the Internet of things APP, the Internet of things APP sets at least one scene linkage according to the setting instruction and stores the scene linkage in the background of the Internet of things after receiving the setting instruction, and the target Mesh equipment can acquire the scene linkage set by the user from the background of the Internet of things.
It should be noted that each scene linkage includes a plurality of action events and linkage relationships between each action event, and further includes a Mesh device that executes each action event. It is understood that each Mesh device has identification information, which may be a serial number or ID of the Mesh device, and the like, and has uniqueness.
In an off-line state of an external network, after any linkage scene is triggered, the Mesh device executing the linkage scene reports the execution condition to the target Mesh device in real time. When the target Mesh device monitors that scene linkage is abnormal, all Mesh devices (defined as linkage Mesh devices) related to the scene linkage are obtained from the background of the Internet of things.
And step S104, determining a fault Mesh device from the linkage Mesh devices according to the topological structure, and analyzing a fault cause of the fault Mesh device.
And then, determining the faulty Mesh equipment from the linkage Mesh equipment according to the drawn topological structure of the whole Mesh network.
In an embodiment, as shown in fig. 4, the determining a faulty Mesh device from the linked Mesh devices according to the topology includes substeps S1040 to S1044.
And a substep S1040, locking the linkage Mesh device executing the corresponding action event when the scene linkage fails, and determining the locked linkage Mesh device as the first target linkage Mesh device.
Namely, an action event which causes the scene linkage to be failed is determined, then the linkage Mesh equipment which executes the action event is locked from the background of the internet of things, and the locked linkage Mesh equipment is determined as the first target linkage Mesh equipment.
And a substep S1041 of obtaining a working state of at least one second target linkage Mesh device in the topological structure, which has the same father node as the first target linkage Mesh device.
And then traversing the topological structure of the whole Mesh network to determine at least one linkage Mesh device (defined as a second target linkage Mesh device) with the same father node as the first target linkage Mesh device in the topological structure of the Mesh network, and acquiring the working state of the second target linkage Mesh device.
The substep S1042 is used for determining whether the working state of the second target Mesh linkage equipment is normal;
further, whether the working state of the second target linkage Mesh device is normal or not is judged, if the working state of the second target linkage Mesh device is abnormal, the substep S1043 is executed, and the linkage Mesh device corresponding to the parent node is determined to be a fault Mesh device; and if the working state of the second linkage Mesh device is normal, executing a substep S1044, and determining the first linkage Mesh device as a fault Mesh device.
That is, if the working state of the second target linked Mesh device is abnormal, indicating that the linked device Mesh corresponding to the superior father node of the first target linked Mesh device and the second linked Mesh device is a faulty Mesh device in the topological structure of the Mesh network; if the working state of the second target linkage Mesh device is normal, which indicates that the linkage device Mesh corresponding to the superior father node of the first target linkage Mesh device and the second linkage Mesh device in the topological structure of the Mesh network is not abnormal, and the first target linkage Mesh device is determined to be a fault Mesh device if the linkage device Mesh corresponding to the superior father node of the first target linkage Mesh device and the second linkage Mesh device is abnormal.
Therefore, according to the topological structure of the Mesh network, when any scene linkage is abnormal, the scene linkage equipment is analyzed in a layer-by-layer tracing, deriving and verifying mode, and the fault equipment can be determined quickly and accurately.
After the faulty Mesh device is determined, the cause of the fault of the faulty Mesh device can be analyzed.
In an embodiment, the analyzing the cause of the failure of the failed Mesh device specifically includes: acquiring a fault representation of the fault Mesh equipment; and determining a fault cause of the fault Mesh equipment according to the fault characterization.
That is, after the faulty Mesh device is determined, fault representations of the faulty Mesh device, such as temperature representations, signal representations, and the like, are obtained, where a correspondence between a fault cause set according to actual experience and the fault representations is stored in the target Mesh device in advance, and the fault representation of the faulty Mesh device is matched with the correspondence, so that the fault cause of the faulty Mesh device can be determined.
According to the scene linkage fault analysis method provided by the embodiment, when the target Mesh device confirms that networking of the Mesh network is completed, routing table information of the other Mesh devices is obtained through the Mesh network; then generating a topological structure of the Mesh network according to the routing table information of the other Mesh devices; in an off-line state of an external network, when a scene linkage failure is monitored, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and finally, determining the fault Mesh equipment from the linkage Mesh equipment according to the topological structure of the Mesh network, and analyzing the fault cause of the fault Mesh equipment. By taking the topological structure of the Mesh network as a basis for analyzing the scene linkage fault, the scene linkage fault can be quickly and accurately checked without depending on an external network, and the convenience and the flexibility for checking the scene linkage fault are improved.
Further, referring to fig. 5, based on the above embodiment, another embodiment of the scene linkage fault analysis method according to the present invention is provided, where before the step S101, a step S105 is included.
And step S105, establishing the Mesh network.
Before scene linkage fault analysis is realized in a network offline state, a Mesh network is required to be built by a Mesh device.
In an embodiment, referring to fig. 4, the forming of the Mesh network includes substeps S1050 through substep S1052.
And a substep S1050, when detecting the Mesh device to be networked, authenticating the Mesh device to be networked to obtain an authentication result.
When the user sets the target Mesh equipment through the Internet of things APP, the network distribution of the target Mesh equipment can be carried out through the Internet of things APP. And the Mesh device to be networked can be connected with the network by the target Mesh device of the network to be connected, so that the Mesh device to be networked is connected into the Mesh network, and networking of the Mesh network is completed.
Specifically, the Mesh devices are all configured with a bluetooth/Wi-Fi dual module, when the Mesh devices to be networked are not networked, bluetooth signals can be broadcast outwards through the bluetooth module, and the target Mesh devices can close the bluetooth module. Therefore, the target Mesh device periodically starts a scanning mode, scans whether a Bluetooth broadcast signal exists or not, and if the Bluetooth broadcast signal is scanned, confirms that the Mesh device to be networked is detected. And when detecting the Mesh equipment to be networked, authenticating the Mesh equipment to be networked to obtain an authentication result.
In an embodiment, the authenticating the Mesh device to be networked to obtain an authentication result specifically includes: acquiring Wi-Fi hotspot information of the Mesh device to be networked, and determining the position information of the Mesh device to be networked according to the Wi-Fi hotspot information; and authenticating the Mesh device to be networked according to the position information of the Mesh device to be networked to obtain an authentication result.
The target Mesh device acquires Wi-Fi hotspot information of the Mesh device to be networked, then positions the Mesh device to be networked according to the Wi-Fi hotspot information, and determines position information of the Mesh device to be networked, wherein the Wi-Fi hotspot information is released by the Mesh device to be networked through a Wi-Fi module. And then, authenticating the Mesh device to be accessed according to the position information of the Mesh device to be accessed to obtain an authentication result. That is, whether the Mesh device to be networked is located in the area of the Mesh network (e.g., in a home corresponding to the Mesh network) is determined according to the location information of the Mesh device to be networked, if it can be determined that the Mesh device to be networked is located in the area of the Mesh network according to the location information of the Mesh device to be networked, the authentication result of the Mesh device to be networked passing the authentication can be determined, and if it is determined that the Mesh device to be networked is not located in the area of the Mesh network according to the location information of the Mesh device to be networked, which indicates that the Mesh device to be networked may belong to an adjacent home or other places, the authentication result of the Mesh device to be networked not passing the authentication can be determined.
And a substep S1051 of determining whether to access the Mesh device to be accessed into the Mesh network according to the authentication result.
And if the authentication result that the Mesh equipment to be accessed passes the authentication is obtained, determining that the Mesh equipment to be accessed is accessed into the Mesh network.
And step S1052, if the Mesh device to be networked is determined to be connected to the Mesh network, carrying out network distribution on the Mesh device to be networked, and establishing a network of the Mesh device to be networked in the Mesh network.
And if the Mesh equipment to be networked is determined to be connected into the Mesh network, carrying out network distribution on the Mesh equipment to be networked, namely sending the Mesh network to the Mesh equipment to be networked for the Mesh equipment to be networked to complete the network distribution, and establishing a network of the Mesh equipment to be networked in the Mesh network.
According to the scene linkage fault analysis method, when the Mesh device to be networked is detected by the target Mesh device of the distributed network, the Mesh device to be networked is authenticated; if the Mesh equipment to be networked passes the authentication, the Mesh equipment to be networked is distributed, a network of the Mesh equipment to be networked is established in the Mesh network, and the establishment of the Mesh network is realized, so that after the external network is disconnected, scene linkage fault analysis can be realized by depending on the Mesh network, and reasons are analyzed when the scene linkage fault analysis fails.
In addition, the embodiment of the application also provides a computer readable storage medium.
The computer readable storage medium of the application stores a scene linkage fault analysis program, wherein when the scene linkage fault analysis program is executed by a processor, the steps of the scene linkage fault analysis method are realized.
The method implemented when the scene linkage fault analysis program is executed may refer to each embodiment of the scene linkage fault analysis method of the present application, and details are not repeated here.
The computer-readable storage medium may be an internal storage unit of the scene linkage fault analysis device according to the foregoing embodiment, for example, a hard disk or a memory of the scene linkage fault analysis device. The computer-readable storage medium may also be an external storage device of the scene linking fault analysis device, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, which is provided on the scene linking fault analysis device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A scene linkage fault analysis method is characterized by comprising the following steps:
when the target Mesh equipment confirms that the networking of the Mesh network is finished, the routing table information of the rest Mesh equipment is obtained through the Mesh network;
generating a topological structure of the Mesh network according to the routing table information of the rest Mesh devices;
in an off-line state of an external network, when a scene linkage failure is monitored, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment;
and determining a fault Mesh device from the linkage Mesh devices according to the topological structure, and analyzing a fault cause of the fault Mesh device.
2. The method for analyzing the scene linkage fault according to claim 1, wherein the generating the topology structure of the Mesh network according to the routing table information of the rest of the Mesh devices comprises:
determining the connection relation and the parent-child relation among the other Mesh devices according to the routing table information of the other Mesh devices;
and drawing the topological structure of the Mesh network according to the connection relation and the parent-child relation.
3. The scene linkage fault analysis method according to claim 1, wherein the determining a faulty Mesh device from the linkage Mesh devices according to the topology structure includes:
locking a linkage Mesh device executing a corresponding action event when scene linkage fails, and determining the locked linkage Mesh device as a first target linkage Mesh device;
acquiring the working state of at least one second target linkage Mesh device in the topological structure, wherein the second target linkage Mesh device and the first target linkage Mesh device have the same father node;
determining whether the working state of the second target Mesh linkage equipment is normal;
if the working state of the second target linkage Mesh device is abnormal, determining the linkage Mesh device corresponding to the parent node as a fault Mesh device;
and if the working state of the second linkage Mesh equipment is normal, determining the first linkage Mesh equipment as fault Mesh equipment.
4. The scene linkage fault analysis method according to claim 1, wherein the analyzing the fault cause of the faulty Mesh device comprises:
acquiring a fault representation of the fault Mesh equipment;
and determining a fault cause of the fault Mesh equipment according to the fault characterization.
5. The method for analyzing the scene linkage fault according to claim 1, wherein the obtaining the routing table information of the rest of the Mesh devices through the Mesh network includes:
broadcasting the physical address of the target Mesh device to the Mesh network so that other Mesh devices can send routing table information to the target Mesh device through the physical address;
and receiving the routing table information sent by the other Mesh devices.
6. The scene linkage fault analysis method according to claim 1, wherein before the target Mesh device confirms that networking of the Mesh network is completed and the Mesh network obtains routing table information of the other Mesh devices, the method comprises:
and establishing the Mesh network.
7. The method for analyzing the scene linkage fault according to claim 6, wherein the establishing the Mesh network comprises:
when detecting the Mesh equipment to be networked, authenticating the Mesh equipment to be networked to obtain an authentication result;
determining whether the Mesh equipment to be accessed to the network is accessed to a Mesh network or not according to the authentication result;
and if the Mesh equipment to be networked is determined to be connected to the Mesh network, carrying out network distribution on the Mesh equipment to be networked, and establishing a network of the Mesh equipment to be networked in the Mesh network.
8. The scene linkage fault analysis method according to claim 7, wherein the authenticating the Mesh device to be networked to obtain an authentication result includes:
acquiring Wi-Fi hotspot information of the Mesh device to be networked, and determining the position information of the Mesh device to be networked according to the Wi-Fi hotspot information;
and authenticating the Mesh device to be networked according to the position information of the Mesh device to be networked to obtain an authentication result.
9. A scenario-linkage fault analysis device, comprising a bluetooth/Wi-Fi dual module, a processor, a memory, and a scenario-linkage fault analysis program stored on the memory and executable by the processor, wherein the scenario-linkage fault analysis program, when executed by the processor, implements the steps of the scenario-linkage fault analysis method according to any one of claims 1 to 8.
10. A computer-readable storage medium, wherein a scenario-linkage fault analysis program is stored on the computer-readable storage medium, and when the scenario-linkage fault analysis program is executed by a processor, the steps of the scenario-linkage fault analysis method according to any one of claims 1 to 8 are implemented.
CN202011062814.XA 2020-09-30 2020-09-30 Scene linkage fault analysis method, equipment and computer readable storage medium Active CN114339844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011062814.XA CN114339844B (en) 2020-09-30 2020-09-30 Scene linkage fault analysis method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011062814.XA CN114339844B (en) 2020-09-30 2020-09-30 Scene linkage fault analysis method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114339844A true CN114339844A (en) 2022-04-12
CN114339844B CN114339844B (en) 2023-11-03

Family

ID=81031671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011062814.XA Active CN114339844B (en) 2020-09-30 2020-09-30 Scene linkage fault analysis method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114339844B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150007288A1 (en) * 2009-01-27 2015-01-01 Sony Corporation Multi-tier wireless home mesh network with a secure network discovery protocol
CN106357305A (en) * 2016-11-04 2017-01-25 重庆邮电大学 Self-networking method, device and system of tree structure network
CN110034983A (en) * 2019-03-08 2019-07-19 佛山市云米电器科技有限公司 Home equipment interlock method and system based on Publish-subscribe message processing facility
CN111372272A (en) * 2020-03-02 2020-07-03 普联技术有限公司 Method and device for recovering abnormity of wireless bridging network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150007288A1 (en) * 2009-01-27 2015-01-01 Sony Corporation Multi-tier wireless home mesh network with a secure network discovery protocol
CN106357305A (en) * 2016-11-04 2017-01-25 重庆邮电大学 Self-networking method, device and system of tree structure network
CN110034983A (en) * 2019-03-08 2019-07-19 佛山市云米电器科技有限公司 Home equipment interlock method and system based on Publish-subscribe message processing facility
CN111372272A (en) * 2020-03-02 2020-07-03 普联技术有限公司 Method and device for recovering abnormity of wireless bridging network

Also Published As

Publication number Publication date
CN114339844B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN111092869B (en) Security management and control method for terminal access to office network and authentication server
EP3048759B1 (en) Fault diagnosis method, device and system
CN112134762B (en) Testing method, device, terminal and storage medium for block chain network structure
US20230020832A1 (en) Network operation center dashboard for cloud-based Wi-Fi and cellular systems
CN111182659B (en) Mode switching method and mode switching device of Mesh equipment and Mesh equipment
CN110380925B (en) Port selection method and system in network equipment detection
CN111142878A (en) SDN operation and maintenance method, device, equipment and readable storage medium
CN111065090A (en) Method for establishing network connection and wireless routing equipment
CN108055182B (en) Open type intelligent home system
US9473384B2 (en) Validating reachability of nodes of a network of an industrial automation and control system
CN108712743B (en) Method and system for managing wireless networking of device groups
CN114339844B (en) Scene linkage fault analysis method, equipment and computer readable storage medium
CN105634809A (en) Detection method and apparatus
CN107135116B (en) Method and apparatus for connectivity detection
CN105225453B (en) Multi-control-center-based household appliance linkage method and device and control center
CN115687806A (en) Method and device for determining target equipment list, storage medium and electronic device
CN114158111A (en) Remote network management method, device and computer readable storage medium
US10904852B2 (en) Method for positioning pico remote radio unit and system for positioning pico remote radio unit
CN113132190A (en) Linkage control method, linkage control apparatus, and computer-readable storage medium
CN113766491A (en) Mesh networking-based equipment sharing method and device
CN112788636B (en) Method, device and network management system for determining cell state
KR20190004970A (en) System and Method for Real-Time Trouble Cause Analysis based on Network Quality Data
CN112583627A (en) Networking topology structure display method and device
CN109362091A (en) AP diagnostic method and device based on ad hoc network
CN114189424B (en) Intelligent device control method, intelligent device control device, electronic device, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant