CN113347264B - Intelligent network self-recovery method and system - Google Patents

Intelligent network self-recovery method and system Download PDF

Info

Publication number
CN113347264B
CN113347264B CN202110664773.XA CN202110664773A CN113347264B CN 113347264 B CN113347264 B CN 113347264B CN 202110664773 A CN202110664773 A CN 202110664773A CN 113347264 B CN113347264 B CN 113347264B
Authority
CN
China
Prior art keywords
internet
sensor
things
server
data packet
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
CN202110664773.XA
Other languages
Chinese (zh)
Other versions
CN113347264A (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.)
Heilongjiang Bayi Agricultural University
Original Assignee
Heilongjiang Bayi Agricultural University
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 Heilongjiang Bayi Agricultural University filed Critical Heilongjiang Bayi Agricultural University
Priority to CN202110664773.XA priority Critical patent/CN113347264B/en
Publication of CN113347264A publication Critical patent/CN113347264A/en
Application granted granted Critical
Publication of CN113347264B publication Critical patent/CN113347264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities

Abstract

The application discloses an intelligent network self-recovery method and system, wherein the method comprises the following steps: the server of the Internet of things sends a request message to the sensor; after receiving the request message, the sensor records the first time when the request message is received, and sends data collected within a preset time range to the server of the Internet of things; the sensor packages the acquired data into a first data packet, and sends the first data packet to the Internet of things server; the server of the Internet of things receives and stores a first data packet sent by the sensor; the internet of things server judges the difference of the data volume of the first data packet and the data volume of the second data packet; the method comprises the steps that the server of the Internet of things sends a restart command and a configuration file to a sensor under the condition that the difference is larger than a preset threshold value; and restarting the sensor according to the restart command. Through the method and the device, the problem that whether the sensor fails to be judged and processed in advance in the prior art is solved, and the working stability of the sensor is improved to a certain extent.

Description

Intelligent network self-recovery method and system
Technical Field
The present application relates to the field of networks, and in particular, to a method and system for self-recovery of an intelligent network.
Background
Fig. 1 is a schematic diagram of an Internet of things network according to an embodiment of The present application, and as shown in fig. 1, in a typical Internet of things network, The Internet of things network includes an Internet of things network, an IoT server, and several servers. When the network elements fail, a backup network channel or a backup network element is generally provided, which ensures the smoothness of the network part. As a type of server, the IoT server generally also employs a disaster recovery method such as backup data, so that a quick reply can be performed even after the IoT server fails. In the network architecture shown in fig. 1, what is not recovered and data processed is the sensor. This is because the sensors are typically on the user side, and the user typically only has to set one sensor.
The data of the sensor is the data base of the whole internet of things, so that how to ensure the sensor to work normally is very important. For this reason, no suitable solution is currently available.
Disclosure of Invention
The embodiment of the application provides an intelligent network self-recovery method and system, and at least solves the problem that whether a sensor fails to be judged and processed in the prior art.
According to an aspect of the present application, there is provided an intelligent network self-recovery method, including: the method comprises the steps that an Internet of things server sends a request message to a sensor, wherein the request message is used for requesting the sensor to send data collected by the sensor to the Internet of things server, and the request message is sent to the sensor once every preset time interval of the Internet of things server is the same; after receiving the request message, the sensor records a first time when the request message is received, and sends data collected within a preset time range to the Internet of things server, wherein the sensor also records the time when the request message is received last time as a second time, and the preset time range is the duration from the second time to the first time; the sensor packages the acquired data into a first data packet and sends the first data packet to the Internet of things server; the Internet of things server receives and stores the first data packet sent by the sensor, wherein the Internet of things server also stores a second data packet sent last time by the sensor; the Internet of things server judges the difference of the data volume of the first data packet and the second data packet; the server of the Internet of things sends a restart command and a configuration file to the sensor when the difference is larger than a preset threshold value, wherein the configuration file is used for indicating the sensor to be configured and used after being restarted; and the sensor is saved after receiving the configuration file and is restarted according to the restart command, wherein the sensor after being restarted is restored to the state configured by the configuration file.
Further, the determining, by the internet of things server, the difference between the data volumes of the first data packet and the second data packet includes: the Internet of things server acquires all data from the first data packet and acquires a first quantity of the data in the first data packet; the Internet of things server acquires all data from the second data packet and acquires a second quantity of the data in the second data packet; and the Internet of things server subtracts the second quantity from the first quantity to obtain the difference of the data quantity.
Further, when the difference is smaller than the preset threshold value, the internet of things server sends the second data packet to a cloud storage server, and deletes the second data packet locally stored by the internet of things server.
Further, after the internet of things server sends the restart command and the configuration file to the sensor, the method further includes: the Internet of things server records the sending time of the restart command and the configuration file, and searches all messages sent to the sensor within the preset time before the sending time and tasks required to be executed by the sensor by each message; and the server of the Internet of things saves the contents of all the messages and the sending time of each message and the contents of the task record required to be executed by each message to the sensor into a log file.
Further, the internet of things server judges the size of the log file, and sends the log file to a mailbox of a network administrator after the size of the log file exceeds a preset size.
According to another aspect of the present application, there is also provided an intelligent network self-recovery system, including: the system comprises an Internet of things server and a sensor, wherein the Internet of things server is used for sending a request message to the sensor, the request message is used for requesting the sensor to send data collected by the sensor to the Internet of things server, and the request message is sent to the sensor once by the Internet of things server every time the same preset time length is kept; the sensor is used for recording a first time when the request message is received after the request message is received, and sending data collected within a preset time range to the Internet of things server, wherein the sensor also records the time when the request message is received last time as a second time, and the preset time range is the time length from the second time to the first time; the sensor is used for packaging the acquired data into a first data packet and sending the first data packet to the Internet of things server; the Internet of things server is used for receiving and storing the first data packet sent by the sensor, and also storing a second data packet sent by the sensor last time; the Internet of things server is used for judging the difference of the data volume of the first data packet and the second data packet; the server of the internet of things is used for sending a restart command and a configuration file to the sensor under the condition that the difference is larger than a preset threshold value, wherein the configuration file is used for indicating the sensor to be configured and used after being restarted; the sensor is used for saving after receiving the configuration file and restarting according to the restart command, wherein the sensor after restarting is restored to the state configured by the configuration file.
Further, the internet of things server is used for acquiring all data from the first data packet and obtaining a first quantity of the data in the first data packet; the internet of things server is used for acquiring all data from the second data packet and acquiring a second quantity of the data in the second data packet; the internet of things server is used for obtaining the difference of the data volume by subtracting the second quantity from the first quantity.
Further, the internet of things server is further configured to send the second data packet to a cloud storage server and delete the second data packet locally stored by the internet of things server when the difference is smaller than the preset threshold.
Further, the internet of things server is further configured to record sending time for sending the restart command and the configuration file, and search all messages sent to the sensor within the predetermined time before the sending time and tasks that each message requires the sensor to execute; the server of the internet of things is further used for saving the content of all the messages and the sending time of each message, and the content of the task record required to be executed by the sensor for each message into a log file.
Further, the internet of things server is further configured to determine the size of the log file, and send the log file to a mailbox of a network administrator after the size of the log file exceeds a predetermined size.
In the embodiment of the application, an internet of things server is adopted to send a request message to a sensor, wherein the request message is used for requesting the sensor to send data acquired by the sensor to the internet of things server, and the request message is sent to the sensor once every time the same preset time length is set by the internet of things server; after receiving the request message, the sensor records a first time when the request message is received and sends data collected within a preset time range to the Internet of things server, wherein the sensor also records the time when the request message is received last time as a second time, and the preset time range is the duration from the second time to the first time; the sensor packages the acquired data into a first data packet and sends the first data packet to the server of the Internet of things; the Internet of things server receives and stores the first data packet sent by the sensor, wherein the Internet of things server also stores a second data packet sent by the sensor last time; the Internet of things server judges the difference of the data volume of the first data packet and the second data packet; the server of the Internet of things sends a restart command and a configuration file to the sensor when the difference is larger than a preset threshold value, wherein the configuration file is used for indicating the sensor to be configured and used after being restarted; and the sensor is saved after receiving the configuration file and is restarted according to the restart command, wherein the sensor after being restarted is restored to the state configured by the configuration file. Through the method and the device, the problem that whether the sensor fails to be judged and processed in advance in the prior art is solved, and the working stability of the sensor is improved to a certain extent.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a schematic diagram of an internet of things network according to an embodiment of the application;
fig. 2 is a flowchart of an intelligent network self-recovery method according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all 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 application.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In this embodiment, an intelligent network self-recovery method is provided, and fig. 2 is a flowchart of an intelligent network self-recovery method according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S202, an Internet of things server sends a request message to a sensor, wherein the request message is used for requesting the sensor to send data collected by the sensor to the Internet of things server, and the request message is sent to the sensor once every preset time interval of the Internet of things server is the same;
step S204, after receiving the request message, the sensor records a first time when the request message is received, and sends data collected within a preset time range to the Internet of things server, wherein the sensor also records the time when the request message is received last time as a second time, and the preset time range is the time from the second time to the first time;
step S206, the sensor packages the acquired data into a first data packet and sends the first data packet to the Internet of things server;
step S208, the Internet of things server receives and stores the first data packet sent by the sensor, wherein the Internet of things server also stores a second data packet sent by the sensor last time;
step S210, the Internet of things server judges the difference of the data volume of the first data packet and the second data packet; the difference is a first difference value;
step S212, the server of the Internet of things sends a restart command and a configuration file to the sensor when the difference is larger than a preset threshold value, wherein the configuration file is used for indicating the sensor to be configured and used after being restarted;
as an optional embodiment that can be added, the internet of things server may further adopt another judgment manner, the internet of things server stores the number and time of all data packets received in the previous day, the internet of things server finds the same data packet received at the time point in the previous day according to the time point of receiving the first data packet, and if there is no data packet at the time point, finds the data packet received at the time point closest to the time point in the previous day. And judging whether the data quantity difference between the first data packet and the data packet received in the previous day is larger than the preset threshold value, and if so, executing the step S212. This determination is more accurate.
And if the judgment is more accurate, the server of the internet of things sends a state request message to the sensor after receiving the first data packet. And after the sensor receives the state request message, the sensor sends the hardware resource use state to the server of the Internet of things. And the internet of things server judges whether the use state of the hardware resource is a normal state, for example, the CPU use rate is lower than 50%, and if not, the internet of things server judges the data difference between the first data packet and the data packet received in the previous day.
Under normal conditions, the sensors of the internet of things collect data consistently, the difference between the data quantities collected by the sensors in the same time span is not large, and if the difference between the data quantities collected suddenly becomes large, the problem possibly occurs in the sensors. At this time, step S214 may be executed to restart the sensor, so as to prevent the sensor from suddenly failing to work, and achieve the preventive effect.
As an optional added embodiment, after step S214 is executed, the sensor starts to collect data again, and after a period of time elapses, a third data packet is collected, where the period of time is the time difference between the first data collection time and the last data collection time in the first data packet. And the Internet of things server judges the data volume difference between the third data packet and the first data packet, wherein the difference is a second difference value. And the Internet of things server judges whether the first difference value and the second difference value are the same or not, and if so, the Internet of things server confirms that the working state of the sensor is abnormal before restarting.
Step S214, the sensor receives the configuration file and then saves the configuration file, and the sensor is restarted according to the restart command, wherein the sensor after being restarted is restored to the state configured by the configuration file.
As an optional and incremental embodiment, the server of the internet of things may store a plurality of profiles, wherein each profile is used for indicating that the sensor is configured to the predetermined state. The method comprises the steps that the Internet of things server obtains the last restarting time of the sensor, the lasting working duration of the sensor is calculated according to the last restarting time, the Internet of things server selects a configuration file corresponding to the lasting working duration according to the lasting working duration, and the configuration file is sent to the sensor.
As an optional and increasable implementation manner, after the restart, the server of the internet of things receives a registration login request of the sensor, and the physical network server obtains the hop count experienced when the login request is transmitted in the network; the Internet of things server compares the hop count with the hop count of the last sensor login registration, and if the hop counts are the same, the network transmission between the Internet of things server and the sensor is normal; and if the hop counts are different, sending alarm information to a network administrator, wherein the alarm information carries the hop count experienced by the login registration request and the hop count experienced by the login registration request last time.
Through the steps, the problem that whether the sensor fails to be judged and processed in the prior art is solved, and the working stability of the sensor is improved to a certain extent.
Preferably, the determining, by the internet of things server, the difference between the data volumes of the first data packet and the second data packet includes: the Internet of things server acquires all data from the first data packet and acquires a first quantity of the data in the first data packet; the Internet of things server acquires all data from the second data packet and acquires a second quantity of the data in the second data packet; and the Internet of things server subtracts the second quantity from the first quantity to obtain the difference of the data quantity.
Preferably, when the difference is smaller than the preset threshold value, the internet of things server sends the second data packet to a cloud storage server, and deletes the second data packet locally stored by the internet of things server.
Preferably, after the internet of things server sends the restart command and the configuration file to the sensor, the method further includes: the Internet of things server records the sending time of the restart command and the configuration file, and searches all messages sent to the sensor within the preset time before the sending time and tasks required to be executed by the sensor by each message; and the server of the Internet of things saves the contents of all the messages and the sending time of each message and the contents of the task record required to be executed by each message to the sensor into a log file.
Preferably, the internet of things server judges the size of the log file, and sends the log file to a mailbox of a network administrator after the size of the log file exceeds a preset size.
In this embodiment, an intelligent network self-recovery system is further provided, including: the system comprises an Internet of things server and a sensor, wherein the Internet of things server is used for sending a request message to the sensor, the request message is used for requesting the sensor to send data collected by the sensor to the Internet of things server, and the request message is sent to the sensor once by the Internet of things server every time the same preset time length is kept; the sensor is used for recording a first time when the request message is received after the request message is received, and sending data collected within a preset time range to the Internet of things server, wherein the sensor also records the time when the request message is received last time as a second time, and the preset time range is the time length from the second time to the first time; the sensor is used for packaging the acquired data into a first data packet and sending the first data packet to the Internet of things server; the Internet of things server is used for receiving and storing the first data packet sent by the sensor, and also storing a second data packet sent by the sensor last time; the Internet of things server is used for judging the difference of the data volume of the first data packet and the second data packet; the server of the internet of things is used for sending a restart command and a configuration file to the sensor under the condition that the difference is larger than a preset threshold value, wherein the configuration file is used for indicating the sensor to be configured and used after being restarted; the sensor is used for saving after receiving the configuration file and restarting according to the restart command, wherein the sensor after restarting is restored to the state configured by the configuration file.
Preferably, the internet of things server is configured to obtain all data from the first data packet, and obtain a first amount of data in the first data packet; the Internet of things server is used for acquiring all data from the second data packet and acquiring a second quantity of the data in the second data packet; the internet of things server is used for subtracting the second quantity from the first quantity to obtain the difference of the data quantity.
Preferably, the internet of things server is further configured to send the second data packet to a cloud storage server and delete the second data packet locally stored by the internet of things server when the difference is smaller than the preset threshold.
Preferably, the internet of things server is further configured to record the sending time of the restart command and the configuration file, and search all messages sent to the sensor within the predetermined time before the sending time and tasks that each message requires the sensor to execute; the server of the internet of things is further used for saving the content of all the messages and the sending time of each message, and the content of the task record required to be executed by the sensor for each message into a log file.
Preferably, the internet of things server is further configured to determine the size of the log file, and send the log file to a mailbox of a network administrator after the size of the log file exceeds a predetermined size.
In this embodiment, an electronic device is provided, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the method in the above embodiments.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program 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.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (6)

1. An intelligent network self-recovery method is characterized by comprising the following steps:
the method comprises the steps that an Internet of things server sends a request message to a sensor, wherein the request message is used for requesting the sensor to send data collected by the sensor to the Internet of things server, and the request message is sent to the sensor once every preset time interval of the Internet of things server is the same;
after receiving the request message, the sensor records a first time when the request message is received and sends data collected within a preset time range to the Internet of things server, wherein the sensor also records the time when the request message is received last time as a second time, and the preset time range is the duration from the second time to the first time;
the sensor packages the acquired data into a first data packet and sends the first data packet to the Internet of things server;
the Internet of things server receives and stores the first data packet sent by the sensor, wherein the Internet of things server also stores a second data packet sent by the sensor last time;
the Internet of things server judges the difference of the data volume of the first data packet and the second data packet;
the server of the Internet of things sends a restart command and a configuration file to the sensor when the difference is larger than a preset threshold value, wherein the configuration file is used for indicating the sensor to be configured and used after being restarted; the server of the Internet of things stores a plurality of configuration files, wherein each configuration file is used for indicating that the sensor is configured to a preset state; the Internet of things server acquires the last restarting time of the sensor, calculates the continuous working time of the sensor according to the last restarting time, selects a configuration file corresponding to the continuous working time according to the continuous working time and sends the configuration file to the sensor;
the sensor receives the configuration file, then saves the configuration file and restarts according to the restart command, wherein the sensor after restarting restores to the state configured by the configuration file;
after the network is restarted, the Internet of things server receives a registration login request of the sensor, and the Internet of things server acquires the hop count of the registration login request when the registration login request is transmitted in the network; the Internet of things server compares the hop count with the hop count of the last sensor login registration, and if the hop counts are the same, the network transmission between the Internet of things server and the sensor is normal; if the hop counts are different, sending alarm information to a network administrator, wherein the alarm information carries the hop counts experienced by the registration login request and the hop counts experienced by the last registration login request;
the server of the Internet of things records the sending time of the restart command and the configuration file, and searches all messages sent to the sensor within a preset time before the sending time and tasks which are required to be executed by the sensor by each message;
the Internet of things server saves the contents of all the messages, the sending time of each message and the content of the task record which is required to be executed by each message and is recorded by the sensor into a log file;
and the server of the Internet of things judges the size of the log file, and sends the log file to a mailbox of a network administrator after the size of the log file exceeds a preset size.
2. The method of claim 1, wherein the determining, by the internet of things server, the difference in the data volume of the first data packet and the second data packet comprises:
the Internet of things server acquires all data from the first data packet and acquires a first quantity of the data in the first data packet;
the Internet of things server acquires all data from the second data packet and acquires a second quantity of the data in the second data packet;
and the Internet of things server subtracts the second quantity from the first quantity to obtain the difference of the data quantity.
3. The method of claim 2, further comprising:
and under the condition that the difference is smaller than the preset threshold value, the Internet of things server sends the second data packet to a cloud storage server and deletes the second data packet locally stored by the Internet of things server.
4. An intelligent network self-recovery system, comprising: an internet of things server and a sensor, wherein,
the server of the internet of things is used for sending a request message to the sensor, wherein the request message is used for requesting the sensor to send data collected by the sensor to the server of the internet of things, and the server of the internet of things sends the request message to the sensor once every preset time interval with the same time length;
the sensor is used for recording a first time when the request message is received after the request message is received, and sending data collected within a preset time range to the Internet of things server, wherein the sensor also records the time when the request message is received last time as a second time, and the preset time range is the time length from the second time to the first time;
the sensor is used for packaging the acquired data into a first data packet and sending the first data packet to the Internet of things server;
the Internet of things server is used for receiving and storing the first data packet sent by the sensor, and also storing a second data packet sent by the sensor last time;
the Internet of things server is used for judging the difference of the data volume of the first data packet and the second data packet;
the server of the internet of things is used for sending a restart command and a configuration file to the sensor under the condition that the difference is larger than a preset threshold value, wherein the configuration file is used for indicating the sensor to be configured and used after being restarted; the server of the Internet of things stores a plurality of configuration files, wherein each configuration file is used for indicating that the sensor is configured to a preset state; the Internet of things server acquires the last restarting time of the sensor, calculates the continuous working time of the sensor according to the last restarting time, selects a configuration file corresponding to the continuous working time according to the continuous working time and sends the configuration file to the sensor;
the sensor is used for saving after receiving the configuration file and restarting according to the restart command, wherein the sensor after restarting is restored to the state configured by the configuration file;
after the network is restarted, the Internet of things server receives a registration login request of the sensor, and the Internet of things server acquires the hop count of the registration login request when the registration login request is transmitted in the network; the Internet of things server compares the hop count with the hop count of the last sensor login registration, and if the hop counts are the same, the network transmission between the Internet of things server and the sensor is normal; if the hop counts are different, sending alarm information to a network administrator, wherein the alarm information carries the hop counts experienced by the registration login request and the hop counts experienced by the last registration login request;
the Internet of things server is further used for recording the sending time of the restart command and the configuration file, and searching all messages sent to the sensor within a preset time before the sending time and tasks required to be executed by the sensor by each message;
the Internet of things server is further used for saving the contents of all the messages and the sending time of each message, and the contents of task records required to be executed by the sensor by each message into a log file;
the Internet of things server is further used for judging the size of the log file and sending the log file to a mailbox of a network administrator after the size of the log file exceeds a preset size.
5. The system of claim 4,
the Internet of things server is used for acquiring all data from the first data packet and acquiring a first quantity of the data in the first data packet;
the Internet of things server is used for acquiring all data from the second data packet and acquiring a second quantity of the data in the second data packet;
the internet of things server is used for subtracting the second quantity from the first quantity to obtain the difference of the data quantity.
6. The system of claim 5,
the Internet of things server is further used for sending the second data packet to a cloud storage server and deleting the second data packet locally stored by the Internet of things server under the condition that the difference is smaller than the preset threshold value.
CN202110664773.XA 2021-06-16 2021-06-16 Intelligent network self-recovery method and system Active CN113347264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110664773.XA CN113347264B (en) 2021-06-16 2021-06-16 Intelligent network self-recovery method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110664773.XA CN113347264B (en) 2021-06-16 2021-06-16 Intelligent network self-recovery method and system

Publications (2)

Publication Number Publication Date
CN113347264A CN113347264A (en) 2021-09-03
CN113347264B true CN113347264B (en) 2022-06-24

Family

ID=77475616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110664773.XA Active CN113347264B (en) 2021-06-16 2021-06-16 Intelligent network self-recovery method and system

Country Status (1)

Country Link
CN (1) CN113347264B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6042838B2 (en) * 2014-03-12 2016-12-14 株式会社日立製作所 Management system, management server, and management method
CN105101277A (en) * 2015-09-01 2015-11-25 中国联合网络通信集团有限公司 Method, device and system for judging abnormalities of monitoring area and sensing node
CN106412113B (en) * 2016-11-15 2019-11-19 上海东土远景工业科技有限公司 A kind of energy cloud service system and its communication means
CN108347355B (en) * 2017-01-22 2022-03-11 腾讯科技(深圳)有限公司 Application state detection method and device
WO2018180369A1 (en) * 2017-03-28 2018-10-04 日本電気株式会社 Sensor network system
CN107844325A (en) * 2017-10-27 2018-03-27 上海斐讯数据通信技术有限公司 The acquisition methods and system of a kind of distributed data
CN109818828A (en) * 2019-02-20 2019-05-28 成都嗨翻屋科技有限公司 A kind of distributed reptile system monitoring method and device
CN111865707B (en) * 2019-04-27 2022-03-18 北京初速度科技有限公司 Method and device for monitoring transmission time sequence of sensor data
CN110839032A (en) * 2019-11-18 2020-02-25 河南牧业经济学院 Internet of things abnormal data identification method and system
CN110831050B (en) * 2019-11-21 2022-09-30 武汉宝久智控科技有限公司 Sensor node control method and system

Also Published As

Publication number Publication date
CN113347264A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN110661659B (en) Alarm method, device and system and electronic equipment
CN109766210B (en) Service fusing control method, service fusing control device and server cluster
CN106100902B (en) Cloud index monitoring method and device
KR102238612B1 (en) DoS/DDoS attack detection method, device, server and storage medium
CN111555963B (en) Message pushing method and device, electronic equipment and storage medium
CN109800131B (en) Monitoring processing method and device of Linux server, computer equipment and storage medium
CN106230997B (en) Resource scheduling method and device
CN108093207B (en) Data storage and acquisition method and device
CN111538563A (en) Event analysis method and device for Kubernetes
CN110830283A (en) Fault detection method, device, equipment and system
CN112636979B (en) Cluster alarm method and related device
CN110389715B (en) Data storage method, storage server and cloud storage system
CN110809060A (en) Monitoring system and monitoring method for application server cluster
CN111585837B (en) Internet of things data link monitoring method and device, computer equipment and storage medium
CN110674149B (en) Service data processing method and device, computer equipment and storage medium
CN111198889A (en) Data additional recording method and device
CN107592199B (en) Data synchronization method and system
CN113900842B (en) Message consumption method and device, electronic equipment and computer storage medium
CN111309696A (en) Log processing method and device, electronic equipment and readable medium
CN113347264B (en) Intelligent network self-recovery method and system
CN109510730B (en) Distributed system, monitoring method and device thereof, electronic equipment and storage medium
CN110888790B (en) Log management method and device, electronic equipment and storage medium
CN112565228A (en) Client network analysis method and device
CN108696446B (en) Method and device for updating flow characteristic information and central node server
CN108255937B (en) SDN-based resource cleaning method and device, storage medium and computer equipment

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