CN114401207B - Communication abnormal terminal equipment positioning method and device and electronic equipment - Google Patents

Communication abnormal terminal equipment positioning method and device and electronic equipment Download PDF

Info

Publication number
CN114401207B
CN114401207B CN202111667492.6A CN202111667492A CN114401207B CN 114401207 B CN114401207 B CN 114401207B CN 202111667492 A CN202111667492 A CN 202111667492A CN 114401207 B CN114401207 B CN 114401207B
Authority
CN
China
Prior art keywords
communication
grouping
heartbeat
heartbeat monitoring
communication link
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
CN202111667492.6A
Other languages
Chinese (zh)
Other versions
CN114401207A (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.)
Beijing Shougang Automation Information Technology Co Ltd
Original Assignee
Beijing Shougang Automation Information Technology 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 Beijing Shougang Automation Information Technology Co Ltd filed Critical Beijing Shougang Automation Information Technology Co Ltd
Priority to CN202111667492.6A priority Critical patent/CN114401207B/en
Publication of CN114401207A publication Critical patent/CN114401207A/en
Application granted granted Critical
Publication of CN114401207B publication Critical patent/CN114401207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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 embodiment of the invention provides a method, a device and electronic equipment for positioning communication abnormal terminal equipment, which are capable of monitoring terminal equipment accessed to the Internet of things by monitoring communication heartbeats of a plurality of communication links accessed to the terminal equipment in the Internet of things and acquiring heartbeat monitoring information corresponding to the communication links, and judging the number of online heartbeats in the heartbeat monitoring information according to preset limiting conditions to obtain a judging result. When the judgment result is abnormal communication, a plurality of communication links are subjected to grouping processing, so that the monitoring range is reduced, the target communication link can be determined from the groupings which do not meet the preset screening conditions more quickly, finally, after the target communication link is determined, the terminal equipment with abnormal communication can be positioned according to the target communication link, the time for searching the terminal equipment with abnormal communication is shortened, and the efficiency for positioning the terminal equipment with abnormal communication is improved.

Description

Communication abnormal terminal equipment positioning method and device and electronic equipment
Technical Field
The present invention relates to the field of internet of things, and in particular, to a method and an apparatus for locating a communication abnormal terminal device, and an electronic device.
Background
The internet of things (The Internet of Things, IOT for short) refers to collecting any object or process needing to be monitored, connected and interacted in real time through various devices and technologies such as an information sensor, a radio frequency identification technology, a global positioning system, an infrared sensor and a laser scanner, collecting various needed information such as sound, light, heat, electricity, mechanics, chemistry, biology and positions, and realizing ubiquitous connection of an object and people through various possible network access, thereby realizing intelligent sensing, identification and management of the object and the process.
The internet of things is an information carrier based on the internet, a traditional telecommunication network and the like, and enables all common physical objects which can be independently addressed to form an interconnection network. In order to ensure safe and stable operation of each device on the internet of things, data information of terminal devices connected with the internet of things needs to be collected, and a visual interface is provided for a user to inquire whether the terminal devices have faults or anomalies.
However, the efficiency of manual inquiry and judgment is very low, so that a method or device capable of automatically judging terminal equipment is needed to reduce the labor cost and unnecessary accidents caused by human objective factors.
Disclosure of Invention
The embodiment of the invention solves the technical problem of low positioning efficiency when the related technology is used for positioning the communication abnormal terminal equipment by providing the communication abnormal terminal equipment positioning method, the device and the electronic equipment.
In a first aspect, the present invention provides a method for locating a communication abnormal terminal device, applied to a terminal device accessing to the internet of things, according to an embodiment of the present invention, the method includes: performing communication heartbeat monitoring on a plurality of communication links connected with terminal equipment in the Internet of things, and acquiring heartbeat monitoring information corresponding to the communication links; judging the online heartbeat quantity in the heartbeat monitoring information according to a preset limiting condition to obtain a judging result; and when the judging result is abnormal communication, carrying out grouping processing on the plurality of communication links, and determining a target communication link from the groupings which do not meet the preset screening conditions so as to position the terminal equipment with abnormal communication according to the target communication link.
Preferably, the determining, according to a preset constraint condition, the number of online heartbeats in the heartbeat monitoring information to obtain a determination result includes: judging whether the online heartbeat quantity in the heartbeat monitoring information accords with the limiting condition; if yes, the judging result is that the communication is normal; if not, the judging result is abnormal communication.
Preferably, the determining the target communication link from the packets which do not meet the preset screening condition includes: after each grouping processing, judging whether heartbeat monitoring sub-information corresponding to each group obtained by the current grouping meets the preset screening condition, and carrying out next grouping processing on the grouping of which the heartbeat monitoring sub-information does not meet the preset screening condition until the grouping processed by the grouping does not meet the preset screening condition, and determining the target communication link from the grouping when the grouping only comprises one communication link.
Preferably, the packet processing includes: dividing the communication links into a plurality of groups, and acquiring heartbeat monitoring sub-information corresponding to each group, wherein each group comprises the communication links.
Preferably, the dividing the plurality of communication links into a plurality of packets, and acquiring heartbeat monitoring sub-information corresponding to each packet includes: grouping the plurality of communication links by using a dichotomy to determine a first communication link group and a second communication link group; if the heartbeat monitoring sub-information corresponding to the first communication link group meets the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group does not meet the preset screening condition; and if the heartbeat monitoring sub-information corresponding to the first communication link group does not meet the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group meets the preset screening condition.
Preferably, the method further comprises: when the judging result is that the communication is normal, feeding back communication normal information, and reacquiring heartbeat monitoring information corresponding to the communication links; and the communication normal information characterizes that the communication states of the terminal equipment corresponding to the communication links are normal.
In a second aspect, the present invention provides a positioning device for a communication abnormal terminal device, applied to a terminal device accessing to the internet of things, according to an embodiment of the present invention, the device includes:
the system comprises a heartbeat signal monitoring unit, a communication and heartbeat monitoring unit and a communication and heartbeat monitoring unit, wherein the heartbeat signal monitoring unit is used for performing communication and heartbeat monitoring on a plurality of communication links connected with terminal equipment in the Internet of things and acquiring heartbeat monitoring information corresponding to the communication links;
the communication state judging unit is used for judging the online heartbeat quantity in the heartbeat monitoring information according to preset limiting conditions to obtain a judging result;
and the positioning unit is used for carrying out grouping processing on the communication links when the judging result is abnormal communication, determining a target communication link from the groups which do not meet the preset screening conditions, and positioning the terminal equipment with abnormal communication according to the target communication link.
Preferably, the communication state judging unit is specifically configured to:
judging whether the online heartbeat quantity in the heartbeat monitoring information accords with the limiting condition;
if yes, the judging result is that the communication is normal;
if not, the judging result is abnormal communication.
Preferably, the positioning unit is specifically configured to:
after each grouping processing, judging whether heartbeat monitoring sub-information corresponding to each group obtained by the current grouping meets the preset screening condition, and carrying out next grouping processing on the grouping of which the heartbeat monitoring sub-information does not meet the preset screening condition until the grouping processed by the grouping does not meet the preset screening condition, and determining the target communication link from the grouping when the grouping only comprises one communication link.
In a third aspect, the present invention provides an electronic device, applied to a terminal device accessing to the internet of things, where the electronic device includes a memory, a processor, and a code stored on the memory and executable on the processor, and the processor implements any implementation manner of the first aspect when executing the code.
One or more technical solutions provided in the embodiments of the present invention at least have the following technical effects or advantages:
the communication heartbeat monitoring is carried out on a plurality of communication links connected with the terminal equipment in the Internet of things, heartbeat monitoring information corresponding to the communication links is obtained, the terminal equipment connected with the Internet of things can be monitored, and then the online heartbeat quantity in the heartbeat monitoring information is judged according to preset limiting conditions, so that a judging result is obtained. Compared with the prior art that communication abnormal communication links are blindly found out from all communication links, the method and the device perform grouping processing on a plurality of communication links when the judgment result is that the communication is abnormal, reduce the monitoring range, thereby being capable of determining the target communication link from the grouping which does not meet the preset screening condition more quickly, and finally, after determining the target communication link, positioning the communication abnormal terminal equipment according to the target communication link, thereby shortening the time for finding out the communication abnormal terminal equipment and further improving the efficiency of positioning the communication abnormal terminal equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, 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 invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for locating a communication abnormal terminal device in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a positioning device of a communication abnormal terminal device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an electronic device structure according to an embodiment of the invention.
Detailed Description
The embodiment of the invention solves the technical problem of low positioning efficiency when the related technology is used for positioning the communication abnormal terminal equipment by providing the communication abnormal terminal equipment positioning method, the device and the electronic equipment.
The technical scheme provided by the embodiment of the invention aims to solve the technical problems, and the overall thought is as follows:
firstly, communication heartbeat monitoring is carried out on a plurality of communication links connected with terminal equipment in the Internet of things, heartbeat monitoring information corresponding to the communication links is obtained, the terminal equipment connected with the Internet of things is monitored, then, the number of online heartbeats in the heartbeat monitoring information is judged according to preset limiting conditions, and a judging result is obtained.
Compared with the prior art that communication abnormal communication links are blindly found out from all communication links, the method and the device perform grouping processing on a plurality of communication links when the judgment result is that the communication is abnormal, reduce the monitoring range, thereby being capable of determining the target communication link from the grouping which does not meet the preset screening condition more quickly, and finally, after determining the target communication link, positioning the communication abnormal terminal equipment according to the target communication link, thereby shortening the time for finding out the communication abnormal terminal equipment and further improving the efficiency of positioning the communication abnormal terminal equipment.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and specific embodiments.
First, the term "and/or" appearing herein is merely an association relationship describing associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be capable of operation in sequences other than those illustrated or otherwise described.
In a first aspect, the present invention provides a method for locating a communication abnormal terminal device, which is applied to a terminal device connected to the internet of things, and the method can be used for automatically monitoring the terminal device of the internet of things and realizing real-time alarm.
It should be noted that, when the method is applied, the corresponding management system of the internet of things may include three executed nodes, i.e., a front node, a logic node and a rear node, and execute the corresponding step method at different nodes.
The front node is a data acquisition inlet and a preliminary judgment node; the logic node is a node for performing logic judgment; the post node is used for responding to the result of the logic judgment. Each node may be implemented by code programming when implementing the steps in this embodiment, and the development language used is not limited.
Referring to fig. 1, the method may include the steps of:
step S101: and performing communication heartbeat monitoring on a plurality of communication links connected with the terminal equipment in the Internet of things, and acquiring heartbeat monitoring information corresponding to the communication links.
Specifically, the heartbeat monitoring information may include a communication state of the corresponding terminal device. In the implementation process, when the position of a terminal device for monitoring heartbeat monitoring information is monitored, the Internet of things can be set to be in a mode of 'producer' service 'consumer', and a message bus is realized through an asynchronous framework.
The message bus is equivalent to a message cache region, the acquisition of the point position value of the terminal equipment is equivalent to a producer, the message monitoring is equivalent to a consumer, the producer pushes data to the message cache region through a network frame, and the consumer monitors the message cache region; if the message buffer area has a value, the consumer acquires heartbeat monitoring information from the message buffer area, and distributes the acquired heartbeat monitoring information to the front-end node needing the point position value to perform corresponding judgment.
The mode of the producer serving the consumer can use the eventBus message bus in the ver.x, the eventBus message bus is based on events and asynchronism, other characteristics can be expanded by relying on the Netty of the full-asynchronism Java server, and the lightweight, high-performance and multi-language development support can be realized.
Specifically, in one embodiment, the ver.x neural system event Bus has a single event Bus instance for each instance of ver.x. An event Bus instance can be obtained using the vertx. The event Bus can unify different language writing modules in the program to communicate, whether the event Bus is the same overt. X instance or different overt. X instances, and the event Bus can bridge Javascript communication executed in the browser.
The event Bus is capable of peer-to-peer communication between multiple server nodes or multiple browsers in a distributed system. event Bus supports publish/subscribe mode, peer-to-peer mode, and request/response mode; it may also annotate message handling events, cancel handling events, send and publish messages.
Step S102: and judging the online heartbeat quantity in the heartbeat monitoring information according to a preset limiting condition to obtain a judging result.
Specifically, whether the online heartbeat quantity in the heartbeat monitoring information meets the limiting condition can be judged; if yes, judging that the communication is normal; if not, the judgment result is abnormal communication.
In the implementation process, the limiting condition may be that the number of online heartbeats in the heartbeat monitoring information is greater than or equal to the number of online heartbeats with normal communication.
In the implementation process, the heartbeat monitoring information can be shaping data or floating point data, a programming language operator can be used for judging whether the heartbeat monitoring information meets the limiting condition, if the heartbeat monitoring information is of a character string type, the character string is split and converted into an ASKII code value, and the mode that subscripts are used for comparing the ASKII values one by one is adopted for judging whether the heartbeat monitoring information meets the limiting condition.
It should be noted that, the steps S101 to S102 may be performed in a pre-node.
Step S103: and when the judgment result is that the communication is abnormal, carrying out grouping processing on the plurality of communication links, and determining a target communication link from the groupings which do not meet the preset screening conditions so as to position the terminal equipment with abnormal communication according to the target communication link.
Specifically, the packet processing may include: dividing a plurality of communication links into a plurality of groups, and acquiring heartbeat monitoring sub-information corresponding to each group, wherein each group comprises a plurality of communication links.
In an implementation, a plurality of communication links may be grouped using a dichotomy to determine a first communication link group and a second communication link group.
If the heartbeat monitoring sub-information corresponding to the first communication link group meets the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group does not meet the preset screening condition; if the heartbeat monitoring sub-information corresponding to the first communication link group does not meet the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group meets the preset screening condition.
For determining the target communication link from the packets which do not meet the preset screening conditions, specifically, after each packet processing, whether the heartbeat monitoring sub-information corresponding to each group obtained by the current packet meets the preset screening conditions or not can be judged, and the next packet processing is performed on the packets of which the heartbeat monitoring sub-information does not meet the preset screening conditions until the packets after the packet processing do not meet the preset screening conditions, and the packets only comprise one communication link, and the target communication link is determined from the packets.
Specifically, step S103 may be performed in a logical node, and the logical judgment may be a logical and judgment, and of course, the logical judgment may also be a logical or judgment. When the logic judgment is the judgment of the logic AND, the logic node outputs true when the judgment results of the input logic node are true, otherwise, the logic node outputs false. When the logic judgment is the judgment of logic OR, the logic node outputs true when the judgment result of the input logic node is true, otherwise, the logic node outputs false. This allows a simple logical determination of the alarm process and can be applied to the comprehensive alarm between a plurality of devices. In addition, the logical node in the present embodiment also needs to output true or false.
For example, in some internet of things, when there are multiple target communication links to be monitored, if one link is not on-line, timely repair or maintenance is required; there are situations where service or maintenance may not be necessary when a line is not on-line. The embodiment of the invention only needs to ensure that a target communication link which normally works exists, can judge the communication problem of the multi-combination and multi-functional terminal equipment, is beneficial to helping operators to self-define the communication flow so as to respond to the generated alarm in time, and saves overhaul and maintenance resources.
When the output of the logic node is unique, namely the communication link with abnormal communication is accurately positioned, the communication alarm information can be generated and sent to the user. Specifically, the output result of the logic node can be input into the post node, and when the logic node outputs true, a preset timer can be triggered, so that alarm information is generated at regular time through the timer.
And generating communication alarm information at regular time by a timer, wherein the regular generation indicates that the alarm information is generated once every preset time period. Specifically, the timer compares the last alarm time, the preset time length and the current time, and if the last alarm time plus the preset time length is greater than or equal to the current time, the comparison is successful, and the communication alarm information is triggered and generated.
After the timer generates the communication alarm information, the communication alarm information can be sent to the user by one or more of the following modes:
mode one: and sending the alarm information to the user through web pushing.
Mode two: and sending the alarm information to the user through mails and/or short messages.
Mode three: and sending the alarm information to the user through the message queue.
In addition, the timer can store the communication alarm information and set the time length of the communication alarm information storage. The stored data may include: the equipment point position, the equipment point position value, the triggering alarm time, the expiration time of the alarm information, the flow of the alarm triggering and the like of the target terminal equipment corresponding to the communication alarm information.
After the storage time length is set, the communication alarm information with the storage time length exceeding the storage time length can be deleted, so that a storage space is obtained for storing the subsequent communication alarm information. The details of the communication alarm information can be stored in a preset document database, so that clients can conveniently inquire and manage through client pages.
Responding to the output of the logic node and processing the communication alarm information, and setting a corresponding information processing node in the rear node. For example, it may be set in a post node: an information mailbox forwarding node, a kafka message queue forwarding node, an information push node, an mqtt protocol forwarding node, a rubbitmq message queue forwarding node, an SMS message forwarding node, a timer node and the like.
Further, in order to ensure that the post node responds and processes the output of the logical node effectively, the data input to the post node has only one input parameter of the Bool type, has no output value, and only operates when the input value is true.
In addition, the mailbox forwarding node may use SMTP to implement mailbox forwarding of alarm information. The kafka message queue forwarding node, the mqtt protocol forwarding node and the rubbbittq message queue forwarding node are message queue forwarding nodes, and can forward alarm information to a message queue to provide third party consumption service. The information pushing node can push the alarm information to the web by using websocket technology.
As an optional implementation manner, when the judging result is that the communication is normal, the communication normal information can be fed back, and heartbeat monitoring information corresponding to a plurality of communication links can be obtained again; the communication normal information characterizes that the communication states of the terminal equipment corresponding to the communication links are normal.
In a second aspect, the present invention provides a device for locating a communication abnormal terminal device, which is applied to a terminal device accessing to the internet of things, as shown in fig. 2, and the device may include:
the heartbeat signal monitoring unit 201 is configured to perform communication heartbeat monitoring on a plurality of communication links connected to the terminal device in the internet of things, and obtain heartbeat monitoring information corresponding to the plurality of communication links.
The communication state judging unit 202 is configured to judge the number of online heartbeats in the heartbeat monitoring information according to a preset constraint condition, so as to obtain a judgment result.
And the positioning unit 203 is configured to perform packet processing on the multiple communication links when the determination result is that the communication is abnormal, and determine a target communication link from the packets that do not satisfy the preset screening condition, so as to position the terminal device with abnormal communication according to the target communication link.
As an alternative embodiment, the communication state determining unit 202 is specifically configured to:
judging whether the online heartbeat quantity in the heartbeat monitoring information accords with a limiting condition; if yes, judging that the communication is normal; if not, the judgment result is abnormal communication.
As an alternative embodiment, the positioning unit 203 is specifically configured to:
after each grouping processing, judging whether heartbeat monitoring sub-information corresponding to each group obtained by the current grouping meets preset screening conditions, and carrying out next grouping processing on the grouping of which the heartbeat monitoring sub-information does not meet the preset screening conditions until the grouping processed by the grouping does not meet the preset screening conditions, and determining a target communication link from the grouping when the grouping only comprises one communication link.
As an alternative embodiment, the positioning unit 203 is specifically further configured to:
dividing a plurality of communication links into a plurality of groups, and acquiring heartbeat monitoring sub-information corresponding to each group, wherein each group comprises a plurality of communication links; grouping the plurality of communication links by using a dichotomy to determine a first communication link group and a second communication link group; if the heartbeat monitoring sub-information corresponding to the first communication link group meets the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group does not meet the preset screening condition; if the heartbeat monitoring sub-information corresponding to the first communication link group does not meet the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group meets the preset screening condition.
As an alternative embodiment, the device further comprises:
the communication state feedback unit 204 is configured to feedback communication normal information when the determination result is that communication is normal, and reacquire heartbeat monitoring information corresponding to the plurality of communication links; the communication normal information characterizes that the communication states of the terminal equipment corresponding to the communication links are normal.
Since the method for locating a communication abnormal terminal device described in this embodiment is a method for implementing the device for locating a communication abnormal terminal device in this embodiment, based on the method for locating a communication abnormal terminal device described in this embodiment, those skilled in the art can understand the specific implementation of the method in this embodiment and various modifications thereof, so how this method is implemented in this embodiment will not be described in detail herein. As long as the person skilled in the art implements the method for positioning the abnormal communication terminal device in the embodiment of the present invention, the method falls within the scope of protection of the present invention.
In a third aspect, based on the same inventive concept, an embodiment of the present invention provides an electronic device, which is applied to a terminal device accessing to the internet of things.
Referring to fig. 3, an electronic device provided in an embodiment of the present invention includes: the system comprises a memory 301, a processor 302 and a code stored in the memory and capable of running on the processor 302, wherein the processor 302 implements any implementation of the method for locating abnormal communication terminal equipment when executing the code.
Where in FIG. 3 a bus architecture (represented by bus 300), bus 300 may comprise any number of interconnected buses and bridges, with bus 300 linking together various circuits, including one or more processors, represented by processor 302, and memory, represented by memory 301. Bus 300 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., as are well known in the art and, therefore, will not be described further herein. The bus interface 303 provides an interface between the bus 300 and the receiver 303 and the transmitter 304. The receiver 303 and the transmitter 304 may be the same element, i.e. a transceiver, providing a unit for communicating with various other apparatus over a transmission medium. The processor 302 is responsible for managing the bus 300 and general processing, while the memory 301 may be used to store data used by the processor 302 in performing operations.
The technical scheme provided by the embodiment of the invention at least has the following technical effects or advantages:
compared with the prior art that communication abnormal communication links are blindly found out from all communication links, the method and the device perform grouping processing on a plurality of communication links when the judgment result is that the communication is abnormal, reduce the monitoring range, thereby being capable of determining the target communication link from the grouping which does not meet the preset screening condition more quickly, and finally, after determining the target communication link, positioning the communication abnormal terminal equipment according to the target communication link, thereby shortening the time for finding out the communication abnormal terminal equipment and further improving the efficiency of positioning the communication abnormal terminal equipment.
It will be appreciated by those skilled in the art that embodiments of the invention may be provided as a method, system, or computer product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the invention may take the form of a computer product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer instructions. These computer instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (7)

1. The method for positioning the communication abnormal terminal equipment is characterized by being applied to the terminal equipment accessed to the Internet of things, and comprises the following steps:
performing communication heartbeat monitoring on a plurality of communication links connected with terminal equipment in the Internet of things, and acquiring heartbeat monitoring information corresponding to the communication links;
judging the online heartbeat quantity in the heartbeat monitoring information according to a preset limiting condition to obtain a judging result, wherein the judging result comprises the following steps: breaking whether the online heartbeat quantity in the heartbeat monitoring information accords with the limiting condition; if yes, the judging result is that the communication is normal; if not, the judgment result is abnormal communication; the limiting condition is that the online heartbeat quantity in the heartbeat monitoring information is larger than or equal to the online heartbeat quantity with normal communication;
when the judging result is abnormal communication, carrying out grouping processing on the plurality of communication links, and determining a target communication link from the groupings which do not meet the preset screening conditions so as to position terminal equipment with abnormal communication according to the target communication link;
the determining the target communication link from the packets which do not meet the preset screening condition comprises the following steps: after each grouping processing, judging whether heartbeat monitoring sub-information corresponding to each group obtained by the current grouping meets the preset screening condition, and carrying out next grouping processing on the grouping of which the heartbeat monitoring sub-information does not meet the preset screening condition until the grouping processed by the grouping does not meet the preset screening condition, and determining the target communication link from the grouping when the grouping only comprises one communication link.
2. The method of claim 1, wherein the packet processing comprises:
dividing the communication links into a plurality of groups, and acquiring heartbeat monitoring sub-information corresponding to each group, wherein each group comprises the communication links.
3. The method of claim 2, wherein the dividing the plurality of communication links into a plurality of packets and obtaining heartbeat snoop sub-information corresponding to each packet comprises:
grouping the plurality of communication links by using a dichotomy to determine a first communication link group and a second communication link group;
if the heartbeat monitoring sub-information corresponding to the first communication link group meets the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group does not meet the preset screening condition; and if the heartbeat monitoring sub-information corresponding to the first communication link group does not meet the preset screening condition, the heartbeat monitoring sub-information corresponding to the second communication link group meets the preset screening condition.
4. The method of claim 1, wherein the method further comprises:
when the judging result is that the communication is normal, feeding back communication normal information, and reacquiring heartbeat monitoring information corresponding to the communication links; and the communication normal information characterizes that the communication states of the terminal equipment corresponding to the communication links are normal.
5. A communication abnormal terminal device positioning device, which is characterized in that the device is applied to terminal devices accessing the internet of things, and comprises:
the system comprises a heartbeat signal monitoring unit, a communication and heartbeat monitoring unit and a communication and heartbeat monitoring unit, wherein the heartbeat signal monitoring unit is used for performing communication and heartbeat monitoring on a plurality of communication links connected with terminal equipment in the Internet of things and acquiring heartbeat monitoring information corresponding to the communication links;
the communication state judging unit is configured to judge, according to a preset limiting condition, an online heartbeat number in the heartbeat monitoring information, to obtain a judgment result, and includes: judging whether the online heartbeat quantity in the heartbeat monitoring information accords with the limiting condition; if yes, the judging result is that the communication is normal; if not, the judgment result is abnormal communication; the limiting condition is that the number of online heartbeats in the heartbeat monitoring information is larger than or equal to the number of online heartbeats with normal communication;
the positioning unit is used for carrying out grouping processing on the plurality of communication links when the judging result is abnormal communication, and determining a target communication link from the groupings which do not meet the preset screening conditions so as to position the terminal equipment with abnormal communication according to the target communication link; wherein, the determining the target communication link from the packets which do not meet the preset screening condition includes: after each grouping processing, judging whether heartbeat monitoring sub-information corresponding to each group obtained by the current grouping meets the preset screening condition, and carrying out next grouping processing on the grouping of which the heartbeat monitoring sub-information does not meet the preset screening condition until the grouping processed by the grouping does not meet the preset screening condition, and determining the target communication link from the grouping when the grouping only comprises one communication link.
6. The device according to claim 5, wherein the positioning unit is specifically configured to:
after each grouping processing, judging whether heartbeat monitoring sub-information corresponding to each group obtained by the current grouping meets the preset screening condition, and carrying out next grouping processing on the grouping of which the heartbeat monitoring sub-information does not meet the preset screening condition until the grouping processed by the grouping does not meet the preset screening condition, and determining the target communication link from the grouping when the grouping only comprises one communication link.
7. An electronic device for application to a terminal device accessing the internet of things, the electronic device comprising a memory, a processor and code stored on the memory and executable on the processor, the processor implementing the method of any of claims 1-4 when the code is executed.
CN202111667492.6A 2021-12-30 2021-12-30 Communication abnormal terminal equipment positioning method and device and electronic equipment Active CN114401207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111667492.6A CN114401207B (en) 2021-12-30 2021-12-30 Communication abnormal terminal equipment positioning method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111667492.6A CN114401207B (en) 2021-12-30 2021-12-30 Communication abnormal terminal equipment positioning method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114401207A CN114401207A (en) 2022-04-26
CN114401207B true CN114401207B (en) 2024-03-15

Family

ID=81229455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111667492.6A Active CN114401207B (en) 2021-12-30 2021-12-30 Communication abnormal terminal equipment positioning method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114401207B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550901B (en) * 2022-09-16 2023-06-06 广州爱浦路网络技术有限公司 Triggered positioning exception handling method, system, device and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018232966A1 (en) * 2017-06-19 2018-12-27 深圳市盛路物联通讯技术有限公司 Edge forwarding node-based method and system for detection whether terminal device is offline
CN109142988A (en) * 2018-11-13 2019-01-04 广东电网有限责任公司 A kind of distribution network fault location method and system based on electric energy quality monitoring data
CN110673060A (en) * 2019-09-25 2020-01-10 山东大学 Power distribution network fault diagnosis method based on synchronous phasor measurement and random matrix theory
CN110971436A (en) * 2018-09-30 2020-04-07 阿里巴巴集团控股有限公司 Service processing method and device and electronic equipment
CN111740860A (en) * 2020-06-15 2020-10-02 中国工商银行股份有限公司 Log data transmission link monitoring method and device
CN111812449A (en) * 2020-05-26 2020-10-23 广西电网有限责任公司电力科学研究院 Power distribution network state estimation abnormity identification method
CN112019932A (en) * 2020-08-27 2020-12-01 广州华多网络科技有限公司 Network fault root cause positioning method and device, computer equipment and storage medium
CN112087319A (en) * 2020-08-12 2020-12-15 北京首钢自动化信息技术有限公司 Alarm control method and device for Internet of things
CN112995290A (en) * 2021-02-04 2021-06-18 汪秀英 Water supply pipe network comprehensive management analysis method and system based on Internet of things
CN113470830A (en) * 2021-07-23 2021-10-01 平安国际智慧城市科技股份有限公司 Abnormal data processing method, device, equipment and storage medium
CN113596884A (en) * 2021-08-19 2021-11-02 深圳创维数字技术有限公司 Equipment state monitoring method, equipment state monitoring device and readable storage medium
CN113645103A (en) * 2021-10-15 2021-11-12 杭州海康威视数字技术股份有限公司 Method and device for detecting communication link abnormity between video monitoring platform and front-end equipment
CN113658017A (en) * 2021-07-22 2021-11-16 西安电子科技大学 Smart power grid electricity stealing detection method and system based on self-adaptive group test
CN113705714A (en) * 2021-09-03 2021-11-26 上海观安信息技术股份有限公司 Power distribution Internet of things equipment abnormal behavior detection method and device based on behavior sequence

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011153693A1 (en) * 2010-06-09 2011-12-15 北京和信锐智科技有限公司 Method for keeping network address translation (nat) binding in network
US11102236B2 (en) * 2018-11-19 2021-08-24 Cisco Technology, Inc. Systems and methods for remediating internet of things devices

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018232966A1 (en) * 2017-06-19 2018-12-27 深圳市盛路物联通讯技术有限公司 Edge forwarding node-based method and system for detection whether terminal device is offline
CN110971436A (en) * 2018-09-30 2020-04-07 阿里巴巴集团控股有限公司 Service processing method and device and electronic equipment
CN109142988A (en) * 2018-11-13 2019-01-04 广东电网有限责任公司 A kind of distribution network fault location method and system based on electric energy quality monitoring data
CN110673060A (en) * 2019-09-25 2020-01-10 山东大学 Power distribution network fault diagnosis method based on synchronous phasor measurement and random matrix theory
CN111812449A (en) * 2020-05-26 2020-10-23 广西电网有限责任公司电力科学研究院 Power distribution network state estimation abnormity identification method
CN111740860A (en) * 2020-06-15 2020-10-02 中国工商银行股份有限公司 Log data transmission link monitoring method and device
CN112087319A (en) * 2020-08-12 2020-12-15 北京首钢自动化信息技术有限公司 Alarm control method and device for Internet of things
CN112019932A (en) * 2020-08-27 2020-12-01 广州华多网络科技有限公司 Network fault root cause positioning method and device, computer equipment and storage medium
CN112995290A (en) * 2021-02-04 2021-06-18 汪秀英 Water supply pipe network comprehensive management analysis method and system based on Internet of things
CN113658017A (en) * 2021-07-22 2021-11-16 西安电子科技大学 Smart power grid electricity stealing detection method and system based on self-adaptive group test
CN113470830A (en) * 2021-07-23 2021-10-01 平安国际智慧城市科技股份有限公司 Abnormal data processing method, device, equipment and storage medium
CN113596884A (en) * 2021-08-19 2021-11-02 深圳创维数字技术有限公司 Equipment state monitoring method, equipment state monitoring device and readable storage medium
CN113705714A (en) * 2021-09-03 2021-11-26 上海观安信息技术股份有限公司 Power distribution Internet of things equipment abnormal behavior detection method and device based on behavior sequence
CN113645103A (en) * 2021-10-15 2021-11-12 杭州海康威视数字技术股份有限公司 Method and device for detecting communication link abnormity between video monitoring platform and front-end equipment

Also Published As

Publication number Publication date
CN114401207A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN109327509B (en) Low-coupling distributed streaming computing system of master/slave architecture
US10715639B2 (en) Data processing method and apparatus for performing protocol parsing in a cloud
CN114268640B (en) Intelligent routing system of industrial Internet of things with cloud edge cooperation
CN107404540B (en) Data synchronization method and device
US20160012150A1 (en) System and method for main distribution network graph/model/data integration based on remote access and information interaction
CN110581773A (en) automatic service monitoring and alarm management system
CN110457176B (en) Monitoring method and device for distributed system, storage medium and electronic equipment
CN112118174A (en) Software defined data gateway
CN114401207B (en) Communication abnormal terminal equipment positioning method and device and electronic equipment
CN112614002A (en) Data acquisition system, method, device, electronic equipment and computer storage medium
CN103108000A (en) Task synchronization method and system and host node and work nodes in system
CN105607606B (en) A kind of data acquisition device and method based on double mainboard frameworks
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN113157790B (en) Nuclear fusion curve editing method, system, terminal and medium
CN113900810A (en) Distributed graph processing method, system and storage medium
CN113190524A (en) Industrial big data acquisition method and system
CN112087319A (en) Alarm control method and device for Internet of things
CN104468248A (en) Service performance monitoring method, reverse proxy server, statistical analysis server and system
CN111506641B (en) Data management method, data acquisition platform, data management system and storage medium
CN113342503A (en) Real-time progress feedback method, device, equipment and storage medium
CN112000544A (en) Real-time monitoring method for large screen of Internet of things equipment
CN117271177A (en) Root cause positioning method and device based on link data, electronic equipment and storage medium
CN110069565A (en) A kind of method and device of distributed data base batch data processing
CN110750425A (en) Database monitoring method, device and system and storage medium
CN115391429A (en) Time sequence data processing method and device based on big data cloud computing

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