CN111654401B - Network segment switching method, device, terminal and storage medium of monitoring system - Google Patents

Network segment switching method, device, terminal and storage medium of monitoring system Download PDF

Info

Publication number
CN111654401B
CN111654401B CN202010544216.XA CN202010544216A CN111654401B CN 111654401 B CN111654401 B CN 111654401B CN 202010544216 A CN202010544216 A CN 202010544216A CN 111654401 B CN111654401 B CN 111654401B
Authority
CN
China
Prior art keywords
network segment
communication
network
abnormal
information
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
CN202010544216.XA
Other languages
Chinese (zh)
Other versions
CN111654401A (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.)
Aopu Shanghai New Energy Co Ltd
Original Assignee
Aopu Shanghai New Energy 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 Aopu Shanghai New Energy Co Ltd filed Critical Aopu Shanghai New Energy Co Ltd
Priority to CN202010544216.XA priority Critical patent/CN111654401B/en
Publication of CN111654401A publication Critical patent/CN111654401A/en
Application granted granted Critical
Publication of CN111654401B publication Critical patent/CN111654401B/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
    • 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/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Abstract

The application provides a network segment switching method, a network segment switching device, a network segment switching terminal and a network segment switching storage medium of a monitoring system; the monitoring system communicates through a first network segment and a second network segment, and the first network segment and the second network segment work alternately; if the communication of the first network segment or the second network segment is detected to be abnormal, the data request is retransmitted after the network segment with abnormal communication is switched to the network segment with normal communication, and the first network segment and the second network segment are enabled to work alternately from two network segments to only one network segment; network fault diagnosis is carried out on the network segment with communication abnormality; if the diagnosis result is abnormal, continuously keeping the operation of only one network segment; and if the diagnosis result is that the network segment is recovered to be normal, the first network segment and the second network segment are enabled to recover to work alternately. The invention does not need to wait, and directly switches to the network segment of the normal communication to retransmit the request, thereby realizing the purpose of fast switching; and analyzing and prejudging the past fault record information, adjusting the time ratio, and avoiding a fault network segment in advance through prejudging, thereby greatly improving the communication quality.

Description

Network segment switching method, device, terminal and storage medium of monitoring system
Technical Field
The present application relates to the field of network segment switching technologies, and in particular, to a network segment switching method, apparatus, terminal, and storage medium for a monitoring system.
Background
The existing monitoring system mainly depends on judging the communication state of the current network segment to realize the dual-network switching, and once the communication state of the current network segment is interrupted or a certain IP in the ping LAN cannot be ping-connected for many times (including retry), the network segment switching is automatically carried out. And after switching to the standby network segment, retransmitting the data request. Although the prior art can realize network segment switching, the waiting time for network segment switching is too long, which causes communication interruption for a certain time and influences key data uploading or key operation instruction issuing.
Therefore, there is a need in the art for a solution that can implement fast segment switching.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present application aims to provide a network segment switching method, device, terminal and storage medium for monitoring system, which are used to solve the problem of the prior art that the time required for network segment switching is very long.
In order to achieve the above and other related objects, a first aspect of the present application provides a network segment switching method for a monitoring system, where the monitoring system communicates through a first network segment and a second network segment, and the first network segment and the second network segment alternately operate; the network segment switching method comprises the following steps: detecting whether the communication between the first network segment and the second network segment is abnormal or not; if the communication of the first network segment or the second network segment is detected to be abnormal, the data request is retransmitted after the network segment with abnormal communication is switched to the network segment with normal communication, and the first network segment and the second network segment are changed from two network segments to be operated by only one network segment; network fault diagnosis is carried out on the network segment with abnormal communication; if the diagnosis result is abnormal, the operation of only one network segment is continuously kept; and if the diagnosis result is that the network segment is recovered to be normal, the first network segment and the second network segment are enabled to recover to work alternately.
In some embodiments of the first aspect of the present application, the detecting whether the communication between the first network segment and the second network segment is abnormal includes detecting whether a network delay or a communication interruption occurs in the communication between the first network segment and the second network segment.
In some embodiments of the first aspect of the present application, the method further comprises: recording and storing the communication abnormal information of the first network segment and the second network segment; the communication abnormal information at least comprises time stamp information, frequency information, fault diagnosis time-consuming information and communication recovery time-consuming information of abnormal occurrence.
In some embodiments of the first aspect of the present application, the method further comprises: analyzing the communication stability of the first network segment and the second network segment according to the communication abnormal information; and adjusting the time ratio of the first network segment and the second network segment to alternately work according to the communication stability of the first network segment and the second network segment.
In some embodiments of the first aspect of the present application, the method further comprises: performing fault pre-judgment on the communication abnormity of the first network segment and the second network segment according to the communication abnormity information; and switching frequency bands and diagnosing network faults in advance according to the pre-judgment result.
In some embodiments of the first aspect of the present application, the monitoring system comprises a third network segment; the method further comprises the following steps: if the communication of the first network segment and the second network segment is detected to be abnormal, switching from the current network segment to a third network segment; otherwise, keeping the third network segment in an idle state.
To achieve the above and other related objects, a second aspect of the present application provides a network segment switching device of a monitoring system, including: the communication detection module is used for detecting whether the communication of the first network segment and the second network segment is abnormal or not; the network segment switching module is used for switching from the network segment with abnormal communication to the network segment with normal communication and retransmitting the data request when the communication of the first network segment or the second network segment is detected to be abnormal; the fault diagnosis module is used for carrying out network fault diagnosis on the network segment with abnormal communication; the mode setting module is used for enabling the first network segment and the second network segment to be changed from the alternative work of the two network segments into the work of only one network segment when the communication detection module detects that the communication of the first network segment or the second network segment is abnormal; and when the diagnosis result of the fault diagnosis module to the network segment with the abnormal communication is abnormal, the fault diagnosis module continues to work only by one network segment; and if the diagnosis result of the network segment with abnormal communication is normal, the first network segment and the second network segment are enabled to resume alternative work.
In some embodiments of the second aspect of the present application, the apparatus further comprises: the recording and storing module is used for recording and storing the communication abnormal information of the first network segment and the second network segment; the communication abnormal information at least comprises timestamp information, frequency information, fault diagnosis time-consuming information and communication recovery time-consuming information of abnormal occurrence; the information analysis module is used for analyzing the communication stability of the first network segment and the second network segment according to the communication abnormal information; the network node is also used for carrying out fault prejudgment on communication abnormity of the first network segment and the second network segment according to the communication abnormity information; the adjusting module is used for adjusting the time ratio of the first network segment and the second network segment which alternately work according to the communication stability of the first network segment and the second network segment; and the prejudging module is used for prejudging the communication abnormity of the first network segment and the second network segment according to the communication abnormity information, and carrying out frequency band switching and network fault diagnosis in advance according to a prejudging result.
To achieve the above and other related objects, a third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the network segment switching method.
To achieve the above and other related objects, a fourth aspect of the present application provides an electronic terminal comprising: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the network segment switching method.
As described above, the network segment switching method, device, terminal and storage medium of the monitoring system of the present application have the following beneficial effects: the invention greatly improves the prior art, and the improved technical scheme does not need to wait, and directly switches to the network segment retransmission request of normal communication, thereby realizing the purpose of fast switching. In addition, the invention analyzes and prejudges the past fault record information, endows less time-consuming proportion to the network segments which frequently have communication faults, and avoids the network segments which easily have faults in certain specific time periods in advance through prejudgment, thereby greatly improving the communication quality.
Drawings
Fig. 1 is a flowchart illustrating a network segment switching method of a monitoring system according to an embodiment of the present application.
Fig. 2 is a schematic diagram illustrating a network segment switching scenario of a monitoring system according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating a network segment switching method of a monitoring system according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating a network segment switching method of a monitoring system according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating a network segment switching method of a monitoring system according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a segment switching device of a monitoring system according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic terminal according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application is provided by way of specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure herein. The application is capable of other and different embodiments and its several details are capable of modifications and various changes in detail without departing from the spirit of the application. It should be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that in the following description, reference is made to the accompanying drawings which illustrate several embodiments of the present application. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present application. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present application is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "below," "lower," "above," "upper," and the like, may be used herein to facilitate describing one element or feature's relationship to another element or feature as illustrated in the figures.
In this application, unless expressly stated or limited otherwise, the terms "mounted," "connected," "secured," "retained," and the like are to be construed broadly and encompass, for example, both fixed and removable connections or integral connections; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including" specify the presence of stated features, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, operations, elements, components, items, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "a, B or C" or "a, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions or operations are inherently mutually exclusive in some way.
An SCADA (Supervisory Control And Data Acquisition) monitoring system is a Data Acquisition And monitoring Control system, is a computer-based automatic generation process Control And scheduling system, and can monitor And Control field operating equipment. In the application of the electrical power system, the SCADA system, as a most main subsystem of an energy management system (EMS system), has the advantages of complete information, efficiency improvement, correct control of the system operation state, help to quickly diagnose the system fault state, and the like, and has become an indispensable tool for electrical power scheduling.
However, the existing SCADA monitoring system mainly depends on judging the communication state of the current network segment to realize dual-network switching, and once the communication state of the current network segment is interrupted or a certain IP in the ping lan cannot be ping-connected for many times (including retry), network segment switching is automatically carried out. And after switching to the standby network segment, retransmitting the data request. The waiting time of the network segment switching mode is too long, which causes communication interruption for a certain time and influences key data uploading or key operation instruction issuing.
In view of this, the present invention provides a network segment switching method, apparatus, terminal and storage medium for a monitoring system, which greatly improves the prior art, and the improved technical scheme does not need to wait, and directly switches to the network segment retransmission request of normal communication, thereby achieving the purpose of fast switching. In addition, the invention analyzes and prejudges the past fault record information, endows less time-consuming proportion to the network segments which frequently have communication faults, and avoids the network segments which easily have faults in certain specific time periods in advance through prejudgment, thereby greatly improving the communication quality.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention are further described in detail by the following embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The first embodiment is as follows:
fig. 1 shows a schematic flowchart of a network segment switching method of a monitoring system according to an embodiment of the present invention. It should be noted that the network segment switching method of the present embodiment can be applied to various types of hardware devices; the hardware device may be a controller, such as an ARM (Advanced RISC Machines) controller, an FPGA (Field Programmable Gate Array) controller, a SoC (System on Chip) controller, a DSP (Digital Signal Processing) controller, or an MCU (micro controller Unit) controller, etc.; the hardware equipment can also be a Personal computer such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart television, a Personal Digital Assistant (PDA for short) and the like; the hardware device may also be a server, and the server may be arranged on one or more entity servers according to various factors such as functions, loads, and the like, or may be formed by a distributed or centralized server cluster, which is not limited in this embodiment.
In this embodiment, the monitoring system communicates through a first network segment and a second network segment, and the first network segment and the second network segment alternately operate. The network segment switching method specifically comprises the following steps.
In step S11, it is detected whether the communication between the first network segment and the second network segment is abnormal.
Optionally, the detecting whether the communication between the first network segment and the second network segment is abnormal includes detecting whether network delay or communication interruption occurs in the communication between the first network segment and the second network segment. That is, if any one of network delay and communication interruption occurs in the communication of the network segment, it is considered that the communication is abnormal.
In step S12, if it is detected that the communication of the first network segment or the second network segment is abnormal, the data request is retransmitted after the network segment with abnormal communication is switched to the network segment with normal communication, and the first network segment and the second network segment are changed from the two network segments to only one network segment.
Specifically, in order to balance the load during the normal operation of the monitoring system, the monitoring system may communicate in 2 network segments (such as network segment a and network segment B) at the same time, and the 2 network segments are performed alternately. If abnormal conditions such as network delay or communication interruption occur in one network segment in the working process, the network segment can be immediately switched to another network segment to retransmit a data request, and the switching can be carried out without waiting for the interruption of the communication state of the current network segment or the failure of ping of a certain IP in a ping local area network for multiple times, so that the quick switching of the communication network segment is realized, and the uploading of key data and the issuing of key operation instructions are ensured.
For example, as shown in fig. 2, the monitoring system utilizes a network segment a and a network segment B to perform data transmission, and each network segment is provided with devices such as a router, a switch, and a PC. And the network segment A and the network segment B alternately carry out data transmission, namely the network segment B is idle when the network segment A works, and the network segment A is idle when the network segment B works. If the network communication of the network segment A is interrupted, all the communication is transmitted through the network segment B. Therefore, the working mode of the network segment is changed from the original alternative working of the network segment A and the network segment B to the working of only the network segment B.
In step S13, if it is not detected that the communication in the first network segment or the second network segment is abnormal, the process returns to step S11.
In step S14, a network fault diagnosis is performed on the network segment in which the communication abnormality occurs, and whether the network segment is abnormal is determined.
If the result of the diagnosis is abnormal in step S15, the process returns to step S12, and the operation is continued only in one segment.
In step S16, if the diagnosis result is that the network segment is normal, the first network segment and the second network segment are enabled to work alternately.
Generally speaking, network fault diagnosis can be automatically carried out after an A network segment is abnormal; if the diagnosis result is normal, continuing to return to the normal communication of the network segment A; if the diagnosis result is not failed, only the network section B is continuously kept to communicate. And periodically (for example, every 5 minutes or 10 minutes) carrying out network fault diagnosis again until the network segment A is diagnosed as normal, and recovering the normal communication of the network segment A.
In an optional implementation manner of this embodiment, the network segment switching method further includes the steps shown in fig. 3.
In step S31, recording and storing the communication abnormality information of the first network segment and the second network segment; the communication abnormal information at least comprises timestamp information, frequency information, fault diagnosis time-consuming information or recovery communication time-consuming information of abnormal occurrence.
In step S32, the communication stability of the first network segment and the second network segment is analyzed according to the communication abnormality information.
Specifically, the communication stability of the network segment and the frequency of occurrence of the abnormality are in a reverse change relationship, and the time consumed for fault diagnosis and the time consumed for communication recovery are also in a reverse change relationship. According to the data such as the frequency of abnormal communication, the time consumed by failure, the time consumed by communication recovery and the like of a certain network segment, a score data is given to the network segment after comprehensive consideration, and the higher the score is, the stronger the communication stability is.
In step S33, the time ratio of the first network segment and the second network segment working alternately is adjusted according to the communication stability of the first network segment and the second network segment.
Specifically, the time ratio of the two network segments working alternately can be adjusted according to the respective stability of the two network segments. For example, the time ratio of the original alternate working of the network segment a and the network segment B is 5, and the obtained result is obtained after the communication stability analysis, and the stability of the network segment a is much higher than that of the network segment B, the time ratio of the alternate working can be inclined toward the network segment a, for example, set to be 6.
In an optional implementation manner of this embodiment, the network segment switching method further includes the steps shown in fig. 4.
In step S41, recording and storing the communication abnormality information of the first network segment and the second network segment; the communication abnormal information at least comprises timestamp information, frequency information, fault diagnosis time-consuming information or recovery communication time-consuming information of abnormal occurrence.
In step S42, a failure prejudgment is performed on the communication anomaly of the first network segment and the second network segment according to the communication anomaly information.
Specifically, the network segment can be subjected to fault prejudgment according to timestamp information, frequency information, fault diagnosis time-consuming information, communication recovery time-consuming information and the like when the network segment is abnormal. For example, the frequency of the network segment a having an abnormality near a certain timestamp is large, and the frequency of the occurrence is close to once per week, so that the probability of the network segment a having an abnormality near the timestamp after one week can be predicted to be very high; for another example, the number of times that the network segment a becomes abnormal near a certain timestamp is large, the frequency of occurrence is close to once per week, and each time the communication is returned, it usually takes about 5 minutes, so that it can be predicted that the communication is returned about 5 minutes when the network segment a becomes abnormal next time.
In step S43, the frequency band switching and the network fault diagnosis are performed in advance according to the pre-determined result.
For example, if it is predicted that the probability that the network segment a is abnormal at a timestamp after a week is very high, the network segment B may be used to transmit data instead of the network segment a according to the prediction. For another example, if it is predicted that it takes about 5 minutes to resume communication when the next anomaly occurs in segment a, it may be set to avoid using segment a and instead use segment B to transmit data within 5 minutes before and after the predicted timestamp of the next anomaly occurrence in segment a. Therefore, network segment switching can be performed in advance through prejudgment, and network segment switching efficiency is further improved.
In an optional implementation manner of this embodiment, the monitoring system includes a third network segment; the network segment switching method also comprises the steps shown in figure 5.
In step S51, it is detected whether the communication between the first network segment and the second network segment is abnormal.
In step S52, if it is detected that the communications in the first network segment and the second network segment are both abnormal, the current network segment is switched to the third network segment.
In step S52, otherwise, the third network segment is kept in an idle state.
That is, in the process of data transmission, the monitoring system is provided with a third network segment as an idle network segment in addition to the first network segment and the second network segment. The third network segment is in an idle state at ordinary times, and the first network segment and/or the second network segment are responsible for data transmission. And under the extreme condition that the first network segment and the second network segment both have faults, the third network segment is not in an idle state any more, but is used as a standby network segment in an emergency state to be responsible for the transmission work of all data, so that the risk resistance of the network is greatly enhanced.
The second embodiment:
fig. 6 is a schematic structural diagram of a segment switching device of a monitoring system according to an embodiment of the present invention. The network segment switching device 60 of this embodiment includes a communication detection module 61, a network segment switching module 62, a failure diagnosis module 63, and a mode setting module 64.
The communication detection module 61 is used for detecting whether the communication between the first network segment and the second network segment is abnormal; the network segment switching module 62 is configured to switch from the network segment with the abnormal communication to the network segment with the normal communication when detecting that the communication of the first network segment or the second network segment is abnormal, and resend the data request; the fault diagnosis module 63 is used for performing network fault diagnosis on the network segment with abnormal communication; the mode setting module 64 is used for changing the first network segment and the second network segment from the alternate operation of the two network segments to the operation of only one network segment when the communication detection module detects that the communication of the first network segment or the second network segment is abnormal; and when the diagnosis result of the fault diagnosis module to the network segment with the abnormal communication is abnormal, the fault diagnosis module continues to work only by one network segment; and if the diagnosis result of the network segment with abnormal communication is normal, the first network segment and the second network segment are enabled to resume alternative work.
Optionally, the network segment switching device 60 further includes a record storage module 65, an information analysis module 66, an adjustment module 67, and a pre-judging module 68. The recording and storing module 65 is configured to record and store the communication abnormal information of the first network segment and the second network segment; the communication abnormal information at least comprises time stamp information, frequency information, fault diagnosis time-consuming information and communication recovery time-consuming information of abnormal occurrence. The information analysis module 66 is used for analyzing the communication stability of the first network segment and the second network segment according to the communication abnormal information; and the network node is also used for carrying out fault prejudgment on the communication abnormity of the first network segment and the second network segment according to the communication abnormity information. The adjusting module 67 is used for adjusting the time ratio of the first network segment and the second network segment which alternately work according to the communication stability of the first network segment and the second network segment. The prejudging module 68 is configured to prejudge a fault of the communication abnormality of the first network segment and the second network segment according to the communication abnormality information, and perform frequency band switching and network fault diagnosis in advance according to a prejudging result.
It should be noted that, the implementation of the network segment switching device in this embodiment is similar to that of the network segment switching method in the embodiment, and thus is not described again.
It should be understood that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these modules can all be implemented in the form of software invoked by a processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the segment switching module may be a processing element separately installed, or may be integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a processing element of the apparatus calls and executes the function of the segment switching module. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. As another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Example three:
as shown in fig. 7, a schematic structural diagram of an electronic terminal in an embodiment of the present invention is shown. This example provides an electronic terminal, includes: processor 71, memory 72, communicator 73; the memory 72 is connected to the processor 71 and the communicator 73 through a system bus and performs communication therebetween, the memory 72 is used for storing computer programs, the communicator 73 is used for communicating with other devices, and the processor 71 is used for running the computer programs to enable the electronic terminal to execute various steps of the method, such as the internet segment switching method.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
Example four:
the present embodiment provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the network segment switching method described above.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
In summary, the present application provides a network segment switching method, device, terminal and storage medium for a monitoring system, which greatly improves the prior art, and the improved technical scheme does not need to wait, and directly switches to a network segment retransmission request of normal communication, thereby achieving the purpose of fast switching. In addition, the invention analyzes and prejudges the past fault record information, gives less time-consuming proportion to the network segments which frequently have communication faults, and avoids the network segments which easily have faults in certain specific time periods in advance through prejudgment, thereby greatly improving the communication quality. Therefore, the application effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles and utilities of the present application and are not intended to limit the application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications or changes which may be made by those skilled in the art without departing from the spirit and technical spirit of the present disclosure be covered by the claims of the present application.

Claims (6)

1. A network segment switching method of a monitoring system is characterized in that the monitoring system communicates through a first network segment and a second network segment, and the first network segment and the second network segment alternately work; the network segment switching method comprises the following steps:
detecting whether the communication between the first network segment and the second network segment is abnormal or not;
if the communication of the first network segment or the second network segment is detected to be abnormal, the data request is retransmitted after the network segment with abnormal communication is switched to the network segment with normal communication, and the first network segment and the second network segment are enabled to work alternately from two network segments to only one network segment;
network fault diagnosis is carried out on the network segment with communication abnormality;
if the diagnosis result is abnormal, continuously keeping the operation of only one network segment;
if the diagnosis result is that the network segment is recovered to be normal, the first network segment and the second network segment are enabled to recover to work alternately;
recording and storing the communication abnormal information of the first network segment and the second network segment; the communication abnormal information at least comprises timestamp information, frequency information, fault diagnosis time-consuming information and communication recovery time-consuming information of abnormal occurrence; analyzing the communication stability of the first network segment and the second network segment according to the communication abnormal information; adjusting the time ratio of the first network segment and the second network segment to alternately work according to the communication stability of the first network segment and the second network segment; performing fault pre-judgment on communication abnormity of the first network segment and the second network segment according to the communication abnormity information; and carrying out network segment switching and network fault diagnosis in advance according to the pre-judgment result.
2. The method of claim 1, wherein the detecting whether the communication between the first network segment and the second network segment is abnormal comprises detecting whether the communication between the first network segment and the second network segment has network delay or communication interruption.
3. The method of claim 1, wherein the monitoring system comprises a third network segment; the method further comprises the following steps:
if the communication between the first network segment and the second network segment is detected to be abnormal, switching from the current network segment to a third network segment;
otherwise, keeping the third network segment in an idle state.
4. A network segment switching device of a monitoring system is characterized by comprising:
the communication detection module is used for detecting whether the communication between the first network segment and the second network segment is abnormal or not;
the network segment switching module is used for switching from the network segment with abnormal communication to the network segment with normal communication and retransmitting the data request when the communication of the first network segment or the second network segment is detected to be abnormal;
the fault diagnosis module is used for carrying out network fault diagnosis on the network segment with abnormal communication;
the mode setting module is used for enabling the first network segment and the second network segment to be changed from the alternative work of the two network segments into the work of only one network segment when the communication detection module detects that the communication of the first network segment or the second network segment is abnormal; and when the diagnosis result of the fault diagnosis module to the network segment with the abnormal communication is abnormal, the fault diagnosis module continues to work only by one network segment; if the diagnosis result of the network segment with abnormal communication is normal, the first network segment and the second network segment are enabled to resume alternative work;
the recording and storing module is used for recording and storing the communication abnormal information of the first network segment and the second network segment; the communication abnormal information at least comprises timestamp information, frequency information, fault diagnosis time-consuming information and communication recovery time-consuming information of abnormal occurrence;
the information analysis module is used for analyzing the communication stability of the first network segment and the second network segment according to the communication abnormal information; the network node is also used for carrying out fault prejudgment on the communication abnormity of the first network segment and the second network segment according to the communication abnormity information;
the adjusting module is used for adjusting the time ratio of the first network segment and the second network segment which alternately work according to the communication stability of the first network segment and the second network segment;
and the prejudging module is used for prejudging the communication abnormity of the first network segment and the second network segment according to the communication abnormity information, and carrying out network segment switching and network fault diagnosis in advance according to a prejudging result.
5. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the network segment switching method of any one of claims 1 to 3.
6. An electronic terminal, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is used for executing the computer program stored in the memory to cause the terminal to execute the network segment switching method according to any one of claims 1 to 3.
CN202010544216.XA 2020-06-15 2020-06-15 Network segment switching method, device, terminal and storage medium of monitoring system Active CN111654401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010544216.XA CN111654401B (en) 2020-06-15 2020-06-15 Network segment switching method, device, terminal and storage medium of monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010544216.XA CN111654401B (en) 2020-06-15 2020-06-15 Network segment switching method, device, terminal and storage medium of monitoring system

Publications (2)

Publication Number Publication Date
CN111654401A CN111654401A (en) 2020-09-11
CN111654401B true CN111654401B (en) 2023-02-14

Family

ID=72346271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010544216.XA Active CN111654401B (en) 2020-06-15 2020-06-15 Network segment switching method, device, terminal and storage medium of monitoring system

Country Status (1)

Country Link
CN (1) CN111654401B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086151B (en) * 2022-06-22 2024-02-23 重庆金康赛力斯新能源汽车设计院有限公司 Communication system, communication method, vehicle body controller and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658578A (en) * 2005-04-05 2005-08-24 北京四方继保自动化股份有限公司 Non-break switchover method of double-network communication system
CN2730058Y (en) * 2004-09-14 2005-09-28 中国人民解放军上海警备区司令部指挥自动化工作站 Switching equipment for network section control system
CN106789345A (en) * 2017-01-20 2017-05-31 厦门集微科技有限公司 Passageway switching method and device
CN108965123A (en) * 2018-07-24 2018-12-07 京东方科技集团股份有限公司 A kind of link switch-over method and network communicating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2730058Y (en) * 2004-09-14 2005-09-28 中国人民解放军上海警备区司令部指挥自动化工作站 Switching equipment for network section control system
CN1658578A (en) * 2005-04-05 2005-08-24 北京四方继保自动化股份有限公司 Non-break switchover method of double-network communication system
CN106789345A (en) * 2017-01-20 2017-05-31 厦门集微科技有限公司 Passageway switching method and device
CN108965123A (en) * 2018-07-24 2018-12-07 京东方科技集团股份有限公司 A kind of link switch-over method and network communicating system

Also Published As

Publication number Publication date
CN111654401A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
US7058858B2 (en) Systems and methods for providing automated diagnostic services for a cluster computer system
US6895534B2 (en) Systems and methods for providing automated diagnostic services for a cluster computer system
US7801984B2 (en) Diagnostic/remote monitoring by email
CN106789306B (en) Method and system for detecting, collecting and recovering software fault of communication equipment
EP3591485B1 (en) Method and device for monitoring for equipment failure
CN107870832B (en) Multi-path storage device based on multi-dimensional health diagnosis method
CN112003721B (en) Method and device for realizing high availability of large data platform management node
CN111654401B (en) Network segment switching method, device, terminal and storage medium of monitoring system
CN104283718A (en) Network device and hardware fault diagnosis method used for network device
CN106155826B (en) For the method and system of mistake to be detected and handled in bus structures
CN106534262B (en) A kind of switching method of network information system failure
CN117271234A (en) Fault diagnosis method and device, storage medium and electronic device
CN116795648A (en) Method and device for detecting server, storage medium and electronic device
CN111030851A (en) Management method, equipment and readable medium for network diagnosis recovery
US20060248531A1 (en) Information processing device, information processing method and computer-readable medium having information processing program
US11457374B2 (en) Hub device with diagnostic function and diagnostic method using the same
CN111447329A (en) Method, system, device and medium for monitoring state server in call center
JPH11338725A (en) Cluster system, and system and method for monitoring in cluster system
JPH1188471A (en) Test method and test equipment
CN111240857B (en) Remote service calling system and method
CN116723111B (en) Service request processing method, system and electronic equipment
CN113259531B (en) Automatic voice service operation and maintenance method and system for call center
CN115499294A (en) Distributed storage environment network sub-health detection and fault automatic processing method
KR20170127876A (en) System and method for dealing with troubles through fault analysis of log
CN112835737A (en) System exception handling method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 8050, 8 / F, 1033 Changning Road, Changning District, Shanghai, 200042

Applicant after: Aopu (Shanghai) new energy Co.,Ltd.

Address before: 201699 Ledu Road, Songjiang District, Shanghai, Room 501, room 358

Applicant before: SHANGHAI YUYUAN POWER TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Network segment switching methods, devices, terminals, and storage media for monitoring systems

Granted publication date: 20230214

Pledgee: Agricultural Bank of China Limited Shanghai Huangpu Sub branch

Pledgor: Aopu (Shanghai) new energy Co.,Ltd.

Registration number: Y2024310000206