CN114339844B - Scene linkage fault analysis method, equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN114339844B
CN114339844B CN202011062814.XA CN202011062814A CN114339844B CN 114339844 B CN114339844 B CN 114339844B CN 202011062814 A CN202011062814 A CN 202011062814A CN 114339844 B CN114339844 B CN 114339844B
Authority
CN
China
Prior art keywords
mesh
linkage
network
fault
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.)
Active
Application number
CN202011062814.XA
Other languages
Chinese (zh)
Other versions
CN114339844A (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

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

Abstract

The application relates to the technical field of intelligent home, and discloses a scene linkage fault analysis method, equipment and a computer readable storage medium, wherein the method comprises the following steps: when the target Mesh device confirms that Mesh network networking is completed, acquiring routing table information of other Mesh devices 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 the external network, when the scene linkage is monitored to be faulty, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and determining a fault Mesh device from the linkage Mesh device according to the topological structure, and analyzing the fault cause of the fault Mesh device. The application can rapidly realize the accurate investigation of scene linkage faults under the condition of disconnection of an external network.

Description

Scene linkage fault analysis method, equipment and computer readable storage medium
Technical Field
The application relates to the technical field of intelligent home, in particular to a scene linkage fault analysis method, equipment and a computer readable storage medium.
Background
Along with the popularization of intelligent household equipment, the scene demand of intelligent linkage is also more and more, for example, the intelligent door lock of scene of returning to home opens the window curtain or lighting apparatus after opening the door, starts the robot of sweeping floor after closing the door from scene of leaving home and carries out cleaning operation etc. have greatly made things convenient for user's life.
However, the intelligent linkage scene is realized by connecting the intelligent equipment with the external home network, the cloud server is used for intelligent linkage control, and if the intelligent linkage control fails once the external home network is disconnected, the cloud server is obviously relied on to check and troubleshoot the failure. Therefore, how to quickly check scene linkage faults under the condition of disconnection of an external network is a problem to be solved urgently at present.
Disclosure of Invention
The application mainly aims to provide a scene linkage fault analysis method, equipment and a computer readable storage medium, and aims to solve the technical problem that scene linkage faults are difficult to troubleshoot under the condition of disconnection of an external network.
In order to achieve the above object, the present application provides a scene linkage fault analysis method, which includes:
when the target Mesh device confirms that Mesh network networking is completed, acquiring routing table information of other Mesh devices 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 the external network, when the scene linkage is monitored to be faulty, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment;
and determining a fault Mesh device from the linkage Mesh device according to the topological structure, and analyzing the fault cause of the fault Mesh device.
In addition, in order to achieve the above object, the present application also provides a scenario linkage fault analysis device, which 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, wherein the scenario linkage fault analysis program, when executed by the processor, implements the steps of the scenario linkage fault analysis method as described above.
In addition, in order 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 the scene linkage fault analysis program, when executed by a processor, implements the steps of the scene linkage fault analysis method as described above.
The application provides a scene linkage fault analysis method, equipment and a computer readable storage medium, wherein when a target Mesh device confirms that Mesh network networking is completed, route table information of other Mesh devices is obtained through a Mesh network; then generating a topological structure of the Mesh network according to the route table information of the rest Mesh devices; in an off-line state of the external network, when the scene linkage is monitored to be faulty, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and finally, determining the fault Mesh device from the linkage Mesh device according to the topological structure of the Mesh network, and analyzing the fault cause of the fault Mesh device. By taking the topological structure of the Mesh network as the basis for analyzing scene linkage faults, the scene linkage faults can be rapidly and accurately checked without depending on an external network, and the convenience and the flexibility of checking the scene linkage faults are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic hardware structure diagram of a scene linkage fault analysis device according to various embodiments of the present application;
FIG. 2 is a schematic flow chart of 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 of another embodiment of a scenario-based failure analysis method according to the present application;
FIG. 5 is a flow chart illustrating a scene linkage fault analysis method according to another embodiment of the present application
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
The scene linkage fault analysis method related to the embodiment of the application 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 hardware structure of a scene linkage fault analysis device according to an embodiment of the present application. In an embodiment of the present application, the scene linkage fault analysis device may include a processor 1001 (e.g., a central processing unit Central Processing Unit, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these 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 stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may alternatively be a memory independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 is not limiting of the application and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005, which is identified in fig. 1 as a readable computer readable storage medium, may include an operating system, a network communication module, and a scenario-coordinated failure analysis program. In fig. 1, the network communication module is mainly used for connecting to a cloud server and performing data communication with the cloud server; the processor 1001 may call the scenario linkage fault analysis program stored in the memory 1005, and execute the steps of the scenario linkage fault analysis method provided by the embodiment of the present application.
Wherein, in one embodiment, the processor is configured to run a scene linkage fault analysis program stored in the memory, so as to implement the following steps:
when the target Mesh device confirms that Mesh network networking is completed, acquiring routing table information of other Mesh devices 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 the external network, when the scene linkage is monitored to be faulty, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and determining a fault Mesh device from the linkage Mesh device according to the topological structure, and analyzing the fault cause of the fault Mesh device.
In some embodiments, the processor implements the generating the topology of the Mesh network according to the routing table information of the remaining Mesh devices, including:
determining the connection relation and the father-son relation between 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 implements the determining, from the linked Mesh devices, a failed Mesh device according to the topology, including:
locking linkage Mesh equipment for executing a corresponding action event when scene linkage fails, and determining the locked linkage Mesh equipment as first target linkage Mesh equipment;
acquiring the working state of at least one second target linkage Mesh device with the same father node as the first target linkage Mesh device in the topological structure;
determining whether the working state of the second target linkage Mesh equipment is normal;
if the working state of the second target linkage Mesh device is abnormal, determining the linkage Mesh device corresponding to the father node as a fault Mesh device;
and if the working state of the second linkage Mesh device is normal, determining the first linkage Mesh device as a fault Mesh device.
In some embodiments, the processor implementing the analyzing the failure cause of the failed Mesh device includes:
acquiring fault characterization of the fault Mesh equipment;
and determining the fault cause of the fault Mesh equipment according to the fault characterization.
In some embodiments, the processor is configured to obtain, through a Mesh network, routing table information of the remaining Mesh devices, including:
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 rest Mesh devices.
In some embodiments, before the processor realizes that the target Mesh device confirms that the Mesh network networking is completed and obtains the routing table information of the other Mesh devices through the Mesh network, the processor further realizes the following steps:
and constructing a Mesh network.
In some embodiments, the processor implements the building Mesh network, including:
when the Mesh equipment to be accessed is detected, authenticating the Mesh equipment to be accessed to obtain an authentication result;
determining whether the Mesh equipment to be accessed is accessed to a Mesh network according to the authentication result;
if the Mesh device to be network-connected is determined to be connected to the Mesh network, the Mesh device to be network-connected is subjected to network distribution, and a network of the Mesh device to be network-connected is built in the Mesh network.
In some embodiments, the processor implements the authentication on the Mesh device to be network-connected to obtain an authentication result, including:
acquiring Wi-Fi hot spot information of the Mesh equipment to be accessed, and determining position information of the Mesh equipment to be accessed according to the Wi-Fi hot spot information;
and authenticating the Mesh equipment to be accessed according to the position information of the Mesh equipment to be accessed 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 flow chart illustrating an embodiment of a scenario-linked 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 linkage fault analysis method includes steps S101 to S104.
Step S101, when the target Mesh device confirms that the Mesh network networking is completed, the routing table information of the rest Mesh devices is obtained through the Mesh network.
The target Mesh device is an intelligent device with an operating system and a display screen, and the operating system can be an intelligent television with the display screen, an intelligent refrigerator and the like, and the operating system can be an Android system, a liunx system and the like. The target Mesh device can be obtained through network election when the Mesh is built, or can be preset by a user through the APP (application) of the Internet of things, and after the target Mesh device is determined as the target Mesh device, the target Mesh device can be used as a message of the target Mesh device to be broadcasted to the Mesh network, so that the identity of the target Mesh device can be known by other Mesh devices in the Mesh network.
It can be understood that the Mesh network is self-assembled by all Mesh devices, and each Mesh device can only learn information, such as a physical address (Mac), of upper and lower Mesh devices having a direct connection relationship with the Mesh device based on its own routing table information. In order to realize the subsequent analysis of scene linkage faults, the routing table information of the rest Mesh devices in the Mesh network is 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 all the other Mesh devices is acquired through a data channel in the Mesh network.
In an embodiment, the route table information of the rest Mesh devices is obtained through the Mesh network, specifically; 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 rest Mesh devices.
Since the identity of the target Mesh device is known to the other Mesh devices when the Mesh network is built, the target Mesh device may broadcast the physical address (Mac) of the target Mesh device in the Mesh network, and 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, so that the target Mesh device receives the routing table information of the other Mesh devices.
Step S102, generating a topological structure of the Mesh network according to the routing table information of the rest of Mesh devices.
After the target Mesh device obtains the routing table information of the other Mesh devices, generating a topological structure of the whole Mesh network according to the routing table information of the other Mesh devices for later use in analysis of scene linkage faults.
In an embodiment, the generating the topology structure of the Mesh network according to the routing table information of the rest of Mesh devices specifically includes: determining the connection relation and the father-son relation between 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 relation and the father-son relation among the other Mesh devices according to the routing table information of each other Mesh device. The Mesh network comprises Mesh devices, a router, a Mesh device secondary Mesh device, a Mesh device tertiary Mesh device and the like, wherein the Mesh devices are classified according to the direct or indirect connection relation between each Mesh device and the gateway device of the router, specifically, the Mesh devices directly connected with the gateway device of the router are determined to be primary Mesh devices, the Mesh devices indirectly connected with the gateway device of the router through one Mesh device are secondary Mesh devices, the Mesh devices indirectly connected with the gateway device of the router through two Mesh devices are tertiary Mesh devices, and the like. For the first-level Mesh device, the second-level Mesh device is the next-level child node Mesh device; for the second-level Mesh device, the first-level Mesh device is the upper-level father node Mesh device, the third-level Mesh device is the lower-level child node Mesh device, and so on, and the upper-level Mesh device and the lower-level Mesh device form a father-son relationship.
And drawing the topological structure of the Mesh network according to the connection relation and the father-son relation among the rest Mesh devices, as shown in figure 3.
And step S103, determining linkage Mesh equipment related to scene linkage from other Mesh equipment when the scene linkage is monitored to be faulty in an off-line state of the external network.
When gateway equipment of a router in the Mesh network detects that an external network is offline, scene linkage is implemented through the Mesh network because all Mesh equipment in the Mesh network is in a broken network state at the moment. The scene linkage is set in the APP of the Internet of things in advance by a user, the user can trigger a setting instruction of at least one scene linkage in the APP of the Internet of things, the APP of the Internet of things sets the at least one scene linkage according to the setting instruction after receiving the setting instruction and stores the at least one scene linkage in the background of the Internet of things, 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 a linkage relationship between each action event, and further includes a Mesh device for executing 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, etc., with uniqueness.
And in the off-line state of the external network, after any linkage scene is triggered, the Mesh equipment executing the linkage scene can report the execution condition to the target Mesh equipment 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 acquired from the background of the internet of things.
And step S104, determining a fault Mesh device from the linkage Mesh device according to the topological structure, and analyzing the fault cause of the fault Mesh device.
And then, determining the fault Mesh device from the linked Mesh devices according to the drawn topological structure of the whole Mesh network.
In an embodiment, as shown in fig. 4, the determining, according to the topology, a faulty Mesh device from the linked Mesh devices includes substeps S1040 to S1044.
And sub-step S1040, locking linkage Mesh equipment which executes a corresponding action event when scene linkage fails, and determining the locked linkage Mesh equipment as first target linkage Mesh equipment.
Namely, firstly, an action event which causes the scene linkage to fail is definitely 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 to be the first target linkage Mesh equipment.
In the sub-step S1041, a working state of at least one second target linkage Mesh device having the same parent node as the first target linkage Mesh device in the topology structure is obtained.
And 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.
Step S1042, determining whether the working state of the second target Mesh linkage device is normal;
further, judging whether the working state of the second target linked Mesh device is normal, if the working state of the second target linked Mesh device is abnormal, executing a substep S1043, and determining the linked Mesh device corresponding to the father node as a faulty Mesh device; if the working state of the second linked Mesh device is normal, a substep S1044 is performed, and the first linked Mesh device is determined as a faulty Mesh device.
That is, if the working state of the second target linkage Mesh device is abnormal, it is indicated that in the topology structure of the Mesh network, the linkage device Mesh corresponding to the upper parent node of the first target linkage Mesh device and the second linkage Mesh device is a fault Mesh device; if the working state of the second target linkage Mesh device is normal, which means that in the topological structure of the Mesh network, the linkage device Mesh corresponding to the upper parent node of the first target linkage Mesh device and the upper parent node of the second linkage Mesh device is not abnormal, and the first target linkage Mesh device itself is abnormal, the first linkage Mesh device is determined to be the fault Mesh device.
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 source following, deriving and verifying mode, so that the fault equipment can be rapidly and accurately determined.
After determining the failed Mesh device, the failure cause of the failed Mesh device may be analyzed.
In an embodiment, the analyzing the fault cause of the faulty Mesh device specifically includes: acquiring fault characterization of the fault Mesh equipment; and determining the fault cause of the fault Mesh equipment according to the fault characterization.
After determining the fault Mesh device, firstly acquiring fault characterizations of the fault Mesh device, such as temperature characterizations, signal characterizations and the like, wherein a corresponding relation between the fault origin and the fault characterizations set according to actual experience is stored in the target Mesh device in advance, and the fault characterizations of the fault Mesh device are matched with the corresponding relation, so that the fault origin of the fault Mesh device can be determined.
According to the scene linkage fault analysis method provided by the embodiment, when the target Mesh device confirms that the Mesh network networking is completed, the routing table information of the rest Mesh devices is obtained through the Mesh network; then generating a topological structure of the Mesh network according to the route table information of the rest Mesh devices; in an off-line state of the external network, when the scene linkage is monitored to be faulty, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment; and finally, determining the fault Mesh device from the linkage Mesh device according to the topological structure of the Mesh network, and analyzing the fault cause of the fault Mesh device. By taking the topological structure of the Mesh network as the basis for analyzing scene linkage faults, the scene linkage faults can be rapidly and accurately checked without depending on an external network, and the convenience and the flexibility of checking the scene linkage faults are improved.
Further, referring to fig. 5, based on the above embodiment, another embodiment of the scene linkage fault analysis method of the present application is provided, and before the step S101, the method includes a step S105.
Step S105, a Mesh network is built.
Before scene linkage fault analysis is realized in a network offline state, mesh equipment is required to automatically establish a Mesh network.
In an embodiment, referring to fig. 4, the Mesh network is constructed, including sub-steps S1050 to S1052.
And step S1050, when the Mesh device to be accessed is detected, authenticating the Mesh device to be accessed to obtain an authentication result.
When a user sets target Mesh equipment through the APP of the Internet of things, the target Mesh equipment is also subjected to network distribution through the APP of the Internet of things. The Mesh device to be network-connected can be connected to the Mesh network by the target Mesh device after being connected to the network, so that the Mesh network is connected to the Mesh network.
Specifically, the Mesh devices are configured with a Bluetooth/Wi-Fi dual module, bluetooth signals are broadcast outwards through the Bluetooth module when the Mesh devices to be accessed to the network are not networked, and the target Mesh devices close the Bluetooth module. In this way, the target Mesh device periodically starts a scanning mode to scan whether a bluetooth broadcast signal exists, and if the bluetooth broadcast signal is scanned, the detection of the Mesh device to be accessed is confirmed. And when the Mesh equipment to be accessed is detected, authenticating the Mesh equipment to be accessed to obtain an authentication result.
In an embodiment, the authenticating the Mesh device to be accessed to the network to obtain an authentication result specifically includes: acquiring Wi-Fi hot spot information of the Mesh equipment to be accessed, and determining position information of the Mesh equipment to be accessed according to the Wi-Fi hot spot information; and authenticating the Mesh equipment to be accessed according to the position information of the Mesh equipment to be accessed to obtain an authentication result.
The method comprises the steps that a target Mesh device obtains Wi-Fi hot spot information of the Mesh device to be accessed, then the Mesh device to be accessed is positioned according to the Wi-Fi hot spot information, and position information of the Mesh device to be accessed is determined, wherein the Wi-Fi hot spot information is released by the Mesh device to be accessed through a Wi-Fi module.
And then authenticating the Mesh equipment to be accessed according to the position information of the Mesh equipment to be accessed to the network to obtain an authentication result. That is, according to the location information of the Mesh device to be network-accessed, whether the Mesh device to be network-accessed is located in the area of the Mesh network (such as in a home corresponding to the Mesh network) is judged, if the Mesh device to be network-accessed is located in the area of the Mesh network according to the location information of the Mesh device to be network-accessed, the authentication result that the Mesh device to be network-accessed passes the authentication can be confirmed, and if the Mesh device to be network-accessed is confirmed not to be located in the area of the Mesh network according to the location information of the Mesh device to be network-accessed, the authentication result that the Mesh device to be network-accessed does not pass the authentication can be confirmed if the Mesh device to be network-accessed is confirmed to be located in the adjacent home or other places.
And step S1051, determining whether the Mesh device to be accessed is accessed to a Mesh network according to the authentication result.
And if the authentication result of the Mesh equipment to be accessed through authentication is obtained, determining that the Mesh equipment to be accessed is accessed into the Mesh network.
And substep S1052, if the Mesh device to be accessed is determined to be accessed to the Mesh network, carrying out network allocation on the Mesh device to be accessed, and constructing a network of the Mesh device to be accessed in the Mesh network.
If the Mesh device to be network-connected is determined to be connected to the Mesh network, the Mesh device to be network-connected is network-allocated, namely the Mesh network is sent to the Mesh device to be network-connected, the Mesh device to be network-connected completes network allocation, and a network of the Mesh device to be network-connected is built in the Mesh network.
According to the scene linkage fault analysis method, when the Mesh equipment to be accessed is detected by the target Mesh equipment with the matched network, the Mesh equipment to be accessed is authenticated; if the Mesh equipment to be network-connected passes authentication, the Mesh equipment to be network-connected is configured, a network of the Mesh equipment to be network-connected is built in the Mesh network, so that the building of the Mesh network is realized, after the external network is disconnected, scene linkage fault analysis can be realized by means of the Mesh network, and the reasons of the occurrence of the scene linkage fault analysis are analyzed.
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 the scene linkage fault analysis program realizes the steps of the scene linkage fault analysis method when being executed by a processor.
The method implemented when the scene linkage fault analysis program is executed may refer to various embodiments of the scene linkage fault analysis method of the present application, which are not described herein.
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 linkage 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 are provided on the scene linkage 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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a computer readable storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A scene linkage fault analysis method, the method comprising:
when the target Mesh device confirms that Mesh network networking is completed, acquiring routing table information of other Mesh devices 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 the external network, when the scene linkage is monitored to be faulty, determining linkage Mesh equipment related to the scene linkage from other Mesh equipment;
determining a fault Mesh device from the linkage Mesh device according to the topological structure, and analyzing the fault cause of the fault Mesh device;
wherein the determining the fault Mesh device from the linkage Mesh device according to the topology structure, the analyzing the fault cause of the fault Mesh device includes:
locking linkage Mesh equipment for executing a corresponding action event when scene linkage fails, and determining the locked linkage Mesh equipment as first target linkage Mesh equipment;
acquiring the working state of at least one second target linkage Mesh device with the same father node as the first target linkage Mesh device in the topological structure;
determining whether the working state of the second target linkage Mesh equipment is normal;
if the working state of the second target linkage Mesh device is abnormal, determining the linkage Mesh device corresponding to the father node as a fault Mesh device;
if the working state of the second target linkage Mesh device is normal, determining the first target linkage Mesh device as a fault Mesh device;
acquiring fault characterization of the fault Mesh equipment;
and determining the fault cause of the fault Mesh equipment according to the fault characterization.
2. The scene linkage fault analysis method according to claim 1, wherein the generating the topology of the Mesh network according to the routing table information of the remaining Mesh devices includes:
determining the connection relation and the father-son relation between 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 obtaining, by the Mesh network, routing table information of the remaining Mesh devices 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 rest Mesh devices.
4. The scene linkage fault analysis method according to claim 1, wherein when the target Mesh device confirms that Mesh network networking is completed, before obtaining routing table information of the rest of Mesh devices through the Mesh network, the method comprises:
and constructing a Mesh network.
5. The scene linkage fault analysis method according to claim 4, wherein the constructing a Mesh network includes:
when the Mesh equipment to be accessed is detected, authenticating the Mesh equipment to be accessed to obtain an authentication result;
determining whether the Mesh equipment to be accessed is accessed to a Mesh network according to the authentication result;
if the Mesh device to be network-connected is determined to be connected to the Mesh network, the Mesh device to be network-connected is subjected to network distribution, and a network of the Mesh device to be network-connected is built in the Mesh network.
6. The scene linkage fault analysis method according to claim 5, wherein the authenticating the Mesh device to be accessed to the network to obtain an authentication result comprises:
acquiring Wi-Fi hot spot information of the Mesh equipment to be accessed, and determining position information of the Mesh equipment to be accessed according to the Wi-Fi hot spot information;
and authenticating the Mesh equipment to be accessed according to the position information of the Mesh equipment to be accessed to obtain an authentication result.
7. A scene linkage fault analysis device comprising a bluetooth/Wi-Fi dual module, a processor, a memory, and a scene linkage fault analysis program stored on the memory and executable by the processor, wherein the scene linkage fault analysis program, when executed by the processor, implements the steps of the scene linkage fault analysis method according to any one of claims 1 to 6.
8. A computer-readable storage medium, wherein a scene linkage fault analysis program is stored on the computer-readable storage medium, wherein the scene linkage fault analysis program, when executed by a processor, implements the steps of the scene linkage fault analysis method according to any one of claims 1 to 6.
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 CN114339844A (en) 2022-04-12
CN114339844B true 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7961674B2 (en) * 2009-01-27 2011-06-14 Sony Corporation Multi-tier wireless home mesh network with a secure network discovery protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN114339844A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN111092869B (en) Security management and control method for terminal access to office network and authentication server
CN106332224B (en) Equipment network distribution method, device and system
EP3048759B1 (en) Fault diagnosis method, device and system
JP2005025753A (en) Network connection agent and trouble shooter
CN108833172B (en) Network fault alarm processing method and device and network system
CN104113443A (en) Network equipment detection method, device and cloud detection system
US20190281019A1 (en) User Equipment Management Method and Apparatus
CN111142878A (en) SDN operation and maintenance method, device, equipment and readable storage medium
CN111065090A (en) Method for establishing network connection and wireless routing equipment
US9473384B2 (en) Validating reachability of nodes of a network of an industrial automation and control system
CN114339844B (en) Scene linkage fault analysis method, equipment and computer readable storage medium
JP2017028410A (en) System, program and method for network monitoring
CN108712743B (en) Method and system for managing wireless networking of device groups
CN112953764A (en) Networking terminal configuration method and device, networking terminal and computer storage medium
US20230388213A1 (en) System and method for monitoring operations and detecting failures of networked devices
KR101265715B1 (en) Network management system and method using smart nodes
CN115499333A (en) Method, system, storage medium and electronic device for determining association relationship
US10904852B2 (en) Method for positioning pico remote radio unit and system for positioning pico remote radio unit
KR20190004970A (en) System and Method for Real-Time Trouble Cause Analysis based on Network Quality Data
CN106254569A (en) A kind of IP distribution method based on SDN
CN112583627A (en) Networking topology structure display method and device
CN113132190A (en) Linkage control method, linkage control apparatus, and computer-readable storage medium
CN112653587B (en) Network connectivity state detection method and device
CN112929233B (en) System and method for testing router iptv service
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