Efficient operation and maintenance method for local area network system of Internet of thingsTechnical Field
The invention relates to the technical field of Internet of things, in particular to a high-efficiency operation and maintenance method for a local area network system of the Internet of things.
Background
The cloud end of the Internet of things is regularly patrolled, and the cloud end of the Internet of things can regularly patrol the scene configuration under the gateway in the Internet of things, check whether the scene configuration of the cloud end is consistent with the local scene configuration or not, and then position and solve the problem by operation and maintenance personnel according to the reported condition.
In the IOT, a gateway, such as a zigbee or a Bluetooth device, is used and is connected to the cloud through the gateway; meanwhile, a localized linkage scene is configured in the gateway, for example, A is opened, and B, C is opened simultaneously; and D, turning off the device. The relevant configuration file can be stored in the gateway device, and as time goes by, the gateway stores environmental changes (changes of voltage, electromagnetism and current), logs, commands and the like, which can cause errors of the stored scene configuration file. Resulting in the corresponding opening a but the associated equipment such as B, C, D being inoperable or abnormal.
At present, users and operation and maintenance persons of the Internet of things are not the same person in most cases. For example, a user of a smart home or business, and associated configuration operation and maintenance personnel, are not the same person. When the user meets the situation and can not be used, the traditional timing inspection, APP or SAAS platform is checked, and relevant operation and maintenance personnel can timely solve the problem. However, according to the conventional scheme, the requirement on the response time of the operation and maintenance personnel is very high, for example, the situation that the light cannot be closed in a linkage manner when the operation and maintenance personnel find at night cannot timely and effectively solve the scene configuration problem, for example, whether the operation and maintenance personnel can timely receive problem feedback of a user, whether the operation and maintenance personnel can log in a related APP or SAAS, whether the operation and maintenance personnel can arrive at the scene and the like. Therefore, an efficient operation and maintenance method for a local area network system of the Internet of things is provided.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a high-efficiency operation and maintenance method for a local area network system of the Internet of things, overcomes the defects of the prior art and aims to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: an efficient operation and maintenance method for a local area network system of the Internet of things comprises the following steps:
s1, the sub-equipment under the gateway initiates a special message to the gateway through special actions;
s2, after receiving the message, the gateway sends a state inquiry to all devices in the gateway LAN to see if the devices are on-line and the state is normal;
s3, sending an MD5 check value of the local equipment state and the scene configuration to the cloud server by the sub-equipment below the gateway;
s4, comparing the check value with the MD5 check value configured by the scene stored locally after the cloud receives the check value, and then broadcasting the state by the local gateway through voice;
and S5, whether the equipment related to the scene configuration in the local equipment is online or not, the MD5 value of the local scene configuration is different from the MD5 value stored in the cloud end, the gateway does not reach the cloud end to re-issue the scene configuration, or the received scene configuration is compared again, if the scene configuration is still different, or the processing is not completed within 5 seconds, the local gateway broadcasts a system error, and the operation is closed.
As a preferred embodiment of the present invention, in step S1, the special action includes performing 3 short strokes, wherein the interval between the short strokes is less than 1 second, and one long stroke is performed.
As a preferred technical solution of the present invention, in step S4, after receiving the check value, the cloud end is the same as the MD5 check value of the locally stored scene configuration, and at the same time, the devices are all online, and then the local area network is considered to be normal, and returns a correct message to the gateway, and then the local gateway broadcasts "system is normal" by voice.
As a preferred technical solution of the present invention, in step S4, when a device in the scene configuration is not online in the local device state, but the MD5 value of the scene configuration is the same as the MD5 value of the scene configuration stored in the cloud, the local gateway broadcasts "device offline" by voice.
As a preferred technical solution of the present invention, in step S4, when there is an offline in the local device and the device related to the scene configuration, and the MD5 value of the local scene configuration is different from the MD5 value stored in the cloud, the cloud will automatically re-issue the scene configuration of the related device once again, after the issuance is successful, the gateway compares the MD5 value of the local scene configuration with the MD5 value stored in the cloud again, and if they are consistent, the local gateway takes the voice broadcast "device offline".
As a preferred technical solution of the present invention, in step S4, when the local device and the device related to the scene configuration are online and the MD5 value of the local scene configuration is different from the MD5 value stored in the cloud, the cloud automatically re-issues the scene configuration of the related device, after the issuance is successful, the gateway compares the MD5 value of the local scene configuration with the MD5 value stored in the cloud again, and if the values are consistent, the local gateway determines that the voice broadcast is "system normal".
As a preferred embodiment of the present invention.
The invention has the beneficial effects that:
the invention can efficiently solve most of the abnormal local scene configuration in the operation of the prior IOT, can solve the problem locally through manual operation without checking the scene configuration state of a mobile phone APP or SAAS end, improves the operation and maintenance efficiency, reduces the requirements on the quality of operation and maintenance personnel and operation and maintenance related equipment, and realizes the improvement on the capability, authority and related equipment of the operation and maintenance personnel and the local area network system of the high-efficiency operation and maintenance IOT.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
Referring to fig. 1, a method for efficient operation and maintenance of a local area network system of the internet of things includes the following steps:
s1, the sub-equipment under the gateway initiates a special message to the gateway through special actions, wherein the special actions comprise short-time hits for 3 times, the interval between the short-time hits is less than 1 second, and the long-time press is performed for one time;
s2, after receiving the message, the gateway sends a state inquiry to all devices in the gateway LAN to see if the devices are on-line and the state is normal;
s3, sending an MD5 check value of the local equipment state and the scene configuration to the cloud server by the sub-equipment below the gateway;
s4, comparing the check value with the MD5 check value configured by the scene stored locally after the cloud receives the check value, and then broadcasting the state by the local gateway through voice;
after receiving the check value, the cloud end is the same as the MD5 check value of the locally stored scene configuration, and if the devices are all online, the local area network is considered to be normal, a correct message is returned to the gateway, and then the local gateway broadcasts the 'system normal' through voice;
when in the local device state, devices in scene configuration are not online, but the MD5 value of the scene configuration is the same as the MD5 value of the scene configuration stored in the cloud, and the local gateway broadcasts the device offline in a voice mode;
when the devices related to the scene configuration in the local device are not on-line and the MD5 value of the local scene configuration is different from the MD5 value stored in the cloud, the cloud automatically re-issues the scene configuration of the related devices, after the scene configuration is successfully issued, the MD5 value of the local scene configuration is compared with the MD5 value stored in the cloud again by the gateway, and if the values are consistent, the local gateway broadcasts the device off-line by voice;
when the local device and the device related to the scene configuration are on line and the MD5 value of the local scene configuration is different from the MD5 value stored in the cloud, the cloud automatically re-issues the scene configuration of the related device once, after the scene configuration is successfully issued, the gateway compares the MD5 value of the local scene configuration with the MD5 value stored in the cloud again, and if the values are consistent, the local gateway broadcasts that the system is normal;
and S5, whether the equipment related to the scene configuration in the local equipment is online or not, the MD5 value of the local scene configuration is different from the MD5 value stored in the cloud end, the gateway does not reach the cloud end to re-issue the scene configuration, or the received scene configuration is compared again, if the scene configuration is still different, or the processing is not completed within 5 seconds, the local gateway broadcasts a system error, and the operation is closed.
The invention can efficiently solve most of the abnormal local scene configuration in the operation of the prior IOT, can solve the problem locally through manual operation without checking the scene configuration state of a mobile phone APP or SAAS end, improves the operation and maintenance efficiency, reduces the requirements on the quality of operation and maintenance personnel and operation and maintenance related equipment, and realizes the improvement on the capability, authority and related equipment of the operation and maintenance personnel and the local area network system of the high-efficiency operation and maintenance IOT.
Finally, it should be noted that: in the description of the present invention, it should be noted that the terms "vertical", "upper", "lower", "horizontal", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.