CN111654401A - 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
CN111654401A
CN111654401A CN202010544216.XA CN202010544216A CN111654401A CN 111654401 A CN111654401 A CN 111654401A CN 202010544216 A CN202010544216 A CN 202010544216A CN 111654401 A CN111654401 A CN 111654401A
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.)
Granted
Application number
CN202010544216.XA
Other languages
Chinese (zh)
Other versions
CN111654401B (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.)
Shanghai Yuyuan Power Technology Co ltd
Original Assignee
Shanghai Yuyuan Power Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yuyuan Power Technology Co ltd filed Critical Shanghai Yuyuan Power Technology 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

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, 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. 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 the 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 local area network 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 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, 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 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 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.
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 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; 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 present application is capable of other and different embodiments and its several details are capable of modifications and/or changes in various respects, all without departing from the spirit of the present application. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It is 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 can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific 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," and/or "comprising," when used in this specification, 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 conventional SCADA monitoring system mainly relies 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 ping for many times (including retry), network segment switching is automatically performed. And after switching to the standby network segment, retransmitting the data request. The network segment switching mode needs too long waiting time, 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 are not intended to limit the invention.
The first embodiment is as follows:
fig. 1 shows a schematic flow chart 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 be operated alternately to be operated by only one of the network segments.
Specifically, in order to balance the load during the normal operation of the monitoring system, the monitoring system may communicate with 2 network segments (e.g., 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 switching can be performed without waiting for the communication state interruption 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 communication network segment can be switched quickly, and uploading of key data and 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 with the communication abnormality, and it is determined whether the network segment is abnormal.
If the result of the diagnosis is abnormal in step S15, the process returns to step S12 to continue the operation in only one segment.
In step S16, if the diagnosis result is restoration, the first network segment and the second network segment are restored to operate 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 segment B is continuously kept to carry out communication. 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:5, and the communication stability analysis is carried out, and the stability of the network segment a is far higher than that of the network segment B, the time ratio of the alternate working can be inclined towards the network segment a, for example, the ratio is set to be 6:4 or even 7:3, and the like, so that most of the time of the monitoring system can be ensured to carry out data transmission through the network segment with higher stability, and the stability of the whole network transmission is improved.
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 pre-determination is performed on the communication abnormality of the first network segment and the second network segment according to the communication abnormality 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 of the network segment with abnormality. 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 prediction 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 recover the 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.
Otherwise, the third network segment is kept in an idle state in step S52.
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.
Example two:
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 configured to adjust the time ratio of the first network segment and the second network segment in the alternative operation 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 be realized in the form of software called by 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 network segment switching module may be a processing element separately installed, or may be implemented by being integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program codes, and a processing element of the apparatus calls and executes the functions of the network 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. For 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 invention is shown. This example provides an electronic terminal, includes: a processor 71, a memory 72, a communicator 73; the memory 72 is connected to the processor 71 and the communicator 73 through a system bus and is used for completing mutual communication, 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 so as to enable the electronic terminal to execute various steps of the method for switching the internet access segment.
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 device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
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, 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. 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 can be made by those skilled in the art without departing from the spirit and technical concepts disclosed in the present application shall be covered by the claims of the present application.

Claims (10)

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, 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.
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, further comprising:
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.
4. The method of claim 3, further comprising:
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.
5. The method of claim 3, further comprising:
performing fault pre-judgment on 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.
6. 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.
7. 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; 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.
8. The segment switching device according to claim 7, wherein the device 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.
9. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the network segment switching method according to any one of claims 1 to 6.
10. 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 make the terminal execute the network segment switching method according to any one of claims 1 to 6.
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 true CN111654401A (en) 2020-09-11
CN111654401B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086151A (en) * 2022-06-22 2022-09-20 重庆金康赛力斯新能源汽车设计院有限公司 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

Cited By (2)

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

Also Published As

Publication number Publication date
CN111654401B (en) 2023-02-14

Similar Documents

Publication Publication Date Title
US7801984B2 (en) Diagnostic/remote monitoring by email
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
CN106789306B (en) Method and system for detecting, collecting and recovering software fault of communication equipment
CN107870832B (en) Multi-path storage device based on multi-dimensional health diagnosis method
US20070038899A1 (en) Method for managing faults in a computer system environment
CN106155826B (en) For the method and system of mistake to be detected and handled in bus structures
JP5198154B2 (en) Fault monitoring system, device, monitoring apparatus, and fault monitoring method
CN113672415B (en) Disk fault processing method, device, equipment and storage medium
CN104283718A (en) Network device and hardware fault diagnosis method used for network device
CN111654401B (en) Network segment switching method, device, terminal and storage medium of monitoring system
CN112637010B (en) Equipment checking method and device
CN117194154A (en) APM full-link monitoring system and method based on micro-service
CN117271234A (en) Fault diagnosis method and device, storage medium and electronic device
CN106534262A (en) Network information system fault switching method
JP4879823B2 (en) Supervisory control system
CN115499294A (en) Distributed storage environment network sub-health detection and fault automatic processing method
US20060248531A1 (en) Information processing device, information processing method and computer-readable medium having information processing program
CN113794595A (en) IoT (Internet of things) equipment high-availability method based on industrial Internet
CN100490343C (en) A method and device for realizing switching between main and backup units in communication equipment
CN111447329A (en) Method, system, device and medium for monitoring state server in call center
JPH1188471A (en) Test method and test equipment
Carvalho et al. On dependability evaluation of fieldbus networks: A permanent fault analysis
CN113259531B (en) Automatic voice service operation and maintenance method and system for call center
CN114338369B (en) Annular two-place three-center fault diagnosis method, system 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
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