CN115914897B - Transmission switching test system and method for PTN equipment - Google Patents
Transmission switching test system and method for PTN equipment Download PDFInfo
- Publication number
- CN115914897B CN115914897B CN202310221004.1A CN202310221004A CN115914897B CN 115914897 B CN115914897 B CN 115914897B CN 202310221004 A CN202310221004 A CN 202310221004A CN 115914897 B CN115914897 B CN 115914897B
- Authority
- CN
- China
- Prior art keywords
- transmission
- layer
- switching
- channel layer
- temperature
- 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
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The invention discloses a transmission switching test system and a transmission switching test method for PTN equipment, and relates to the technical field of transmission testing; the test system comprises a transmission channel dividing module, a device operation data acquisition module and a switching analysis module; the transmission channel dividing module is used for dividing a transmission channel of the PTN equipment into a channel layer, a channel layer and a medium layer; the device operation data acquisition module is used for acquiring operation state data of the PTN device when the PTN device is positioned at a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data; according to the invention, through analyzing the operation state data in the transmission process, the transmission switching test can be performed based on the operation state of the equipment, so that the optimal transmission mode is obtained, and the problems of single functionality and insufficient timely and accurate switching of the conventional transmission switching method of the PTN equipment are solved.
Description
Technical Field
The invention relates to the technical field of transmission testing, in particular to a transmission switching testing system and method for PTN equipment.
Background
PTN refers to an optical transport network architecture and specific technology: a layer is arranged between IP service and bottom layer optical transmission medium, it is designed according to the burstiness of packet service flow and the requirement of statistical multiplexing transmission, with packet service as core and supporting multi-service provision, PTN supports multiple bidirectional point-to-point connection channels based on packet switching service, has networking capability suitable for various coarse and fine particle service and end-to-end, and has abundant protection modes, and can realize service protection switching when encountering network failure, and realize service protection and recovery of transmission level.
In the prior art, in the process of using PTN equipment to carry out transmission, transmission switching in the transmission process is carried out based on transmission faults, accurate judgment and fault classification cannot be timely carried out on the problem of transmission speed reduction in the transmission process, so that the switching nodes and the subdivision degree of switching problem types are low, the existing transmission switching mode is adopted to enable the whole transmission switching to be too mechanized, and the switching method is not timely and accurate.
Disclosure of Invention
The invention aims to solve at least one of the technical problems in the prior art to a certain extent, and can perform transmission switching test based on the running state of equipment by analyzing the running state data in the transmission process to obtain an optimal transmission mode so as to solve the problems of single functionality and insufficient timely and accurate switching of the conventional transmission switching method of PTN equipment.
In order to achieve the above object, a first aspect of the present invention provides a transmission switching test system for a PTN device, the test system including a transmission channel dividing module, a device operation data acquiring module, and a switching analysis module;
the transmission channel dividing module is used for dividing a transmission channel of the PTN equipment into a channel layer, a channel layer and a medium layer;
the device operation data acquisition module is used for acquiring operation state data of the PTN device when the PTN device is positioned at a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data;
the switching analysis module comprises an operation data analysis unit and a switching test unit; the operation data analysis unit is used for performing basic analysis on the operation state data of the equipment and outputting a transmission switching instruction based on a basic analysis result; and the switching test unit switches the transmission channel based on the transmission switching instruction, and performs switching analysis on the running state data of the switched equipment to obtain a switching test optimization result.
Further, the device operation data acquisition module includes a pre-test data acquisition unit configured with a pre-test data acquisition policy, the pre-test data acquisition policy including: carrying out transmission test on PTN equipment in a channel layer, a path layer and a medium layer by adopting a file test packet;
setting the virus invasion times of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer as the basic reference invasion number of the channel layer, the basic reference invasion number of the access layer and the basic reference invasion number of the medium layer respectively;
setting transmission time lengths of PTN equipment in transmission test processes of a channel layer, a channel layer and a medium layer as channel layer basic reference time lengths, channel layer basic reference time lengths and medium layer basic reference time lengths respectively, dividing the memory of a file test packet by the channel layer basic reference time lengths, the channel layer basic reference time lengths and the medium layer basic reference time lengths respectively to obtain channel layer reference transmission speeds, channel layer reference transmission speeds and medium layer reference transmission speeds;
the hardware detection temperatures of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer are respectively set as a channel layer basic reference temperature, an access layer basic reference temperature and a medium layer basic reference temperature.
Further, the device operation data acquisition module includes an operation data acquisition unit configured with an operation data acquisition policy, the operation data acquisition policy including: acquiring running state data in the running process of the PTN equipment;
setting the virus invasion times of the PTN equipment in the running processes of a channel layer, a passage layer and a medium layer as the running invasion number of the channel layer, the running invasion number of the passage layer and the running invasion number of the medium layer respectively;
setting the transmission speeds of the PTN equipment in the running processes of the channel layer, the access layer and the medium layer as the running transmission speed of the channel layer, the running transmission speed of the access layer and the running transmission speed of the medium layer respectively;
the hardware detection temperatures of the PTN equipment in the running process of the channel layer, the channel layer and the medium layer are respectively set as the running temperature of the channel layer, the running temperature of the channel layer and the running temperature of the medium layer.
Further, the operation data analysis unit is configured with an operation data analysis policy, the operation data analysis policy including: acquiring transmission speed of PTN equipment in the operation process every first time period, setting the transmission speed as real-time transmission speed, and comparing the real-time transmission speed with the reference transmission speed of a corresponding transmission channel to obtain a speed ratio;
when the speed ratio is smaller than a first proportional threshold, acquiring the current hardware detection temperature, setting the current hardware detection temperature as the real-time hardware detection temperature, and subtracting the basic reference temperature of the corresponding transmission channel from the real-time hardware detection temperature to obtain a temperature difference value;
when the temperature difference is smaller than a first temperature difference threshold, acquiring the current virus invasion times, setting the current virus invasion times as real-time virus invasion times, and subtracting the corresponding basic reference invasion times from the real-time virus invasion times to obtain an invasion times difference; outputting a temperature influence switching test instruction when the temperature difference value is greater than or equal to a first temperature difference threshold value;
when the difference value of the invasion times is smaller than a first quantity threshold value, outputting a speed-influencing switching test instruction; and outputting an intrusion influence switching test instruction when the intrusion frequency difference value is greater than or equal to a first quantity threshold value.
Further, the switching test unit is configured with a temperature switching test strategy, the temperature switching test strategy comprising: when a temperature influence switching test instruction is received, acquiring a real-time speed ratio, and when the speed ratio is greater than or equal to a first proportional threshold, outputting a temperature switching reasonable optimization signal; and when the speed ratio is smaller than a first proportion threshold, acquiring a real-time temperature difference value, when the temperature difference value is smaller than the first temperature difference threshold, switching transmission channels, and when the temperature difference value is larger than or equal to the first temperature difference threshold, outputting a temperature influence signal.
Further, the switching test unit is configured with an intrusion switching test policy, where the intrusion switching test policy includes: when an intrusion influence switching test instruction is received, acquiring a real-time speed ratio, and outputting an intrusion switching reasonable optimization signal when the speed ratio is greater than or equal to a first proportional threshold; and when the speed ratio is smaller than a first proportional threshold, acquiring a real-time intrusion frequency difference value, switching transmission channels when the intrusion frequency difference value is smaller than a first quantity threshold, and outputting an intrusion influence signal when the intrusion frequency difference value is larger than or equal to the first quantity difference value.
Further, the switching test unit is configured with a speed switching test strategy, which includes: when a speed influence switching test instruction is received, acquiring a real-time speed ratio, and when the speed ratio is greater than or equal to a first proportional threshold, outputting a speed switching reasonable optimization signal; and when the speed ratio is smaller than the first proportional threshold, switching transmission channels, and when the speed ratios of all the transmission channels obtained after switching are smaller than the first proportional threshold, outputting a transmission network optimization signal.
In a second aspect, the present invention further provides a transmission switching test method for a PTN device, where the test method includes: dividing a transmission channel of the PTN equipment into a channel layer, a channel layer and a medium layer;
acquiring operation state data of the PTN equipment in a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data;
performing basic analysis on the running state data of the equipment, and outputting a transmission switching instruction based on a basic analysis result;
and switching the transmission channel based on the transmission switching instruction, and performing switching analysis on the running state data of the switched equipment to obtain a switching test optimization result.
The invention has the beneficial effects that: the method acquires operation state data of the PTN equipment in a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data; the switching nodes and the switching problems can be subdivided more accurately through the acquisition of the running states, so that timeliness and accuracy of transmission switching are improved; then, performing basic analysis on the running state data of the equipment, and outputting a transmission switching instruction based on a basic analysis result; and in the switching process, the effectiveness of the current transmission switching can be checked in time by further analyzing the switched data, and the continuity of the overall switching is improved, so that the efficiency and the stability of the transmission can be maintained.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
FIG. 1 is a schematic block diagram of a test system of the present invention;
FIG. 2 is a flow chart of the steps of the testing method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present invention provides a transmission switching test system for a PTN device, which can perform a transmission switching test based on an operation state of the device by analyzing operation state data in a transmission process, so as to obtain an optimal transmission mode, thereby being helpful to maintain efficiency and stability of transmission; the test system comprises a transmission channel dividing module, a device operation data acquisition module and a switching analysis module; the transmission channel dividing module is used for dividing a transmission channel of the PTN equipment into a channel layer, a channel layer and a medium layer; specifically, the channel layer is a packet transmission channel layer, which encapsulates the client signal into the virtual channel VC and transmits the virtual channel VC, providing end-to-end transmission of the client signal, i.e., end-to-end OAM, end-to-end performance monitoring, and end-to-end protection; the path layer is a transmission path layer, encapsulates and multiplexes the virtual circuit into a virtual channel, transmits and exchanges the virtual path VP, provides convergence and expandability of a plurality of virtual circuit services, and the medium layer is a transmission medium layer of a transmission network, comprises a packet transmission segment layer and a physical medium, and provides OAM functions of virtual segment signals.
The device operation data acquisition module is used for acquiring operation state data of the PTN device when the PTN device is positioned at a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data; the device operation data acquisition module comprises a pre-test data acquisition unit, wherein the pre-test data acquisition unit is configured with a pre-test data acquisition strategy, and the pre-test data acquisition strategy comprises: carrying out transmission test on PTN equipment in a channel layer, a path layer and a medium layer by adopting a file test packet; the file test package adopts a file with the memory size of 1000M, wherein the file comprises 200M pictures, 200M documents, 200M voices and 400M videos;
setting the virus invasion times of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer as the basic reference invasion number of the channel layer, the basic reference invasion number of the access layer and the basic reference invasion number of the medium layer respectively; the basic reference intrusion count is used for comparison in the subsequent transmission test process, when the basic reference intrusion count is acquired, the file test packet can be repeatedly transmitted for a plurality of times, and the average number of the virus intrusion counts acquired for a plurality of times is adopted as the finally obtained basic reference intrusion count;
setting transmission time lengths of PTN equipment in transmission test processes of a channel layer, a channel layer and a medium layer as channel layer basic reference time lengths, channel layer basic reference time lengths and medium layer basic reference time lengths respectively, dividing the memory of a file test packet by the channel layer basic reference time lengths, the channel layer basic reference time lengths and the medium layer basic reference time lengths respectively to obtain channel layer reference transmission speeds, channel layer reference transmission speeds and medium layer reference transmission speeds; in the specific implementation, the transmission speed in the transmission process is acquired through a file test packet, so that data reference can be provided for the transmission speed in the subsequent transmission test; specifically, when the transmission speed is acquired, the file test packet can be repeatedly transmitted for a plurality of times by referring to a further acquisition method of the basic reference intrusion number, and the average value is obtained by adopting the transmission speed data for a plurality of times;
setting hardware detection temperatures of PTN equipment in transmission test processes of a channel layer, a channel layer and a medium layer as channel layer basic reference temperatures, channel layer basic reference temperatures and medium layer basic reference temperatures respectively, wherein a plurality of detection position points and a plurality of detection time points are respectively set in the channel layer, the channel layer and the medium layer in the transmission process, and a plurality of hardware detection temperatures acquired by the detection position points at the detection time points are averaged to obtain corresponding channel layer basic reference temperatures, channel layer basic reference temperatures and medium layer basic reference temperatures; the further scheme can refer to the transmission speed data and the further acquisition method of the basic reference invasion number, the file test packet is transmitted repeatedly for a plurality of times, the basic reference temperature data acquired each time are summarized, the average value after the summarization is obtained to obtain the final basic reference temperature, and the method is specifically set to be that three detection position points are arranged in each level, and 10 seconds are reserved between every two detection time points.
The device operation data acquisition module comprises an operation data acquisition unit, wherein the operation data acquisition unit is configured with an operation data acquisition strategy, and the operation data acquisition strategy comprises: acquiring running state data in the running process of the PTN equipment;
setting the virus invasion times of the PTN equipment in the running processes of a channel layer, a passage layer and a medium layer as the running invasion number of the channel layer, the running invasion number of the passage layer and the running invasion number of the medium layer respectively; when the intrusion number in the running process is acquired, the acquired cumulative intrusion number in the running process;
setting the transmission speeds of the PTN equipment in the running processes of the channel layer, the access layer and the medium layer as the running transmission speed of the channel layer, the running transmission speed of the access layer and the running transmission speed of the medium layer respectively; when the transmission speed in the running process is acquired, the acquired real-time transmission speed is acquired;
setting the hardware detection temperature of the PTN equipment in the running process of the channel layer, the access layer and the medium layer as the running temperature of the channel layer, the running temperature of the access layer and the running temperature of the medium layer respectively; when the hardware detection temperature is obtained in the running process, the real-time detection temperature is obtained; the real-time detection temperature is obtained by averaging temperature values obtained by a plurality of detection position points.
The switching analysis module comprises an operation data analysis unit and a switching test unit; the operation data analysis unit is used for performing basic analysis on the operation state data of the equipment and outputting a transmission switching instruction based on a basic analysis result; the operation data analysis unit is configured with an operation data analysis policy including: acquiring transmission speed of PTN equipment in the operation process every first time period, setting the transmission speed as real-time transmission speed, and comparing the real-time transmission speed with the reference transmission speed of a corresponding transmission channel to obtain a speed ratio;
when the speed ratio is smaller than a first proportional threshold, acquiring the current hardware detection temperature, setting the current hardware detection temperature as the real-time hardware detection temperature, and subtracting the basic reference temperature of the corresponding transmission channel from the real-time hardware detection temperature to obtain a temperature difference value; in specific implementation, the first proportional threshold is set to 40%, when the real-time transmission speed is within 40% of the reference transmission speed, the transmission speed can be judged to be lower at the moment, and then the hardware detection temperature is checked to see whether the influence caused by the overhigh hardware temperature is caused;
when the temperature difference is smaller than a first temperature difference threshold, acquiring the current virus invasion times, setting the current virus invasion times as real-time virus invasion times, and subtracting the corresponding basic reference invasion times from the real-time virus invasion times to obtain an invasion times difference; outputting a temperature influence switching test instruction when the temperature difference value is greater than or equal to a first temperature difference threshold value; in specific implementation, the first temperature difference threshold is set to be 20 ℃, the running temperature of hardware equipment is about 40 ℃ under normal conditions, when the difference between the real-time detected temperature and the basic reference temperature is within 20 ℃, whether the influence caused by virus invasion is checked, and when the difference between the basic reference temperature and the basic reference temperature is above 20 ℃, a transmission channel is required to be switched for optimal configuration;
when the difference value of the invasion times is smaller than a first quantity threshold value, outputting a speed-influencing switching test instruction; and outputting an intrusion influence switching test instruction when the intrusion frequency difference value is greater than or equal to a first quantity threshold value. In specific implementation, the first number threshold is set to 2 times, and as the number of virus invasion obtained in real time is an accumulated value and the basic reference invasion number is an accumulated value in a pre-test period, if the difference value of the number of invasion obtained by subtracting the basic reference invasion number from the number of virus invasion obtained in real time is too large, a transmission channel is required to be switched to avoid the number of virus invasion.
And the switching test unit switches the transmission channel based on the transmission switching instruction, and performs switching analysis on the running state data of the switched equipment to obtain a switching test optimization result. The switching test unit is configured with a temperature switching test strategy comprising: when a temperature influence switching test instruction is received, acquiring a real-time speed ratio, and when the speed ratio is greater than or equal to a first proportional threshold, outputting a temperature switching reasonable optimization signal; when the speed ratio is smaller than a first proportional threshold, acquiring a real-time temperature difference value, when the temperature difference value is smaller than the first temperature difference threshold, switching transmission channels, and when the temperature difference value is larger than or equal to the first temperature difference threshold, outputting a temperature influence signal; when the transmission channel is switched, the hardware temperature of the last channel influences the transmission speed when the speed ratio is reasonable, namely the speed ratio is larger than or equal to a first proportional threshold value, when the speed ratio is unreasonable, namely the speed ratio is smaller than the first proportional threshold value, the hardware temperature of the transmission channel is reasonable, namely the temperature difference value is smaller than a first temperature difference threshold value, the transmission channel is switched and then tested, and when the hardware temperature of the transmission channel is unreasonable, namely the temperature difference value is larger than or equal to the first temperature difference threshold value, the hardware temperature is actually influenced the transmission speed and is correspondingly a temperature influence signal.
The switching test unit is configured with an intrusion switching test policy, and the intrusion switching test policy comprises: when an intrusion influence switching test instruction is received, acquiring a real-time speed ratio, and outputting an intrusion switching reasonable optimization signal when the speed ratio is greater than or equal to a first proportional threshold; when the speed ratio is smaller than a first proportional threshold, acquiring a real-time intrusion frequency difference value, switching transmission channels when the intrusion frequency difference value is smaller than a first quantity threshold, and outputting an intrusion influence signal when the intrusion frequency difference value is larger than or equal to the first quantity difference value; when the speed ratio is reasonable, namely the speed ratio is larger than or equal to a first proportional threshold value, the fact that virus invasion of the previous channel has a certain influence on the transmission speed is indicated, when the speed ratio is unreasonable, namely the speed ratio is smaller than the first proportional threshold value, the virus invasion times of the transmission channels are reasonable, namely the invasion times difference value is smaller than a first quantity threshold value, testing is carried out after the transmission channels are switched, and when the virus invasion times of the transmission channels are unreasonable, namely the invasion times difference value is larger than or equal to the first quantity threshold value, the fact that virus invasion has a certain influence on both channels is indicated, and the signals are corresponding invasion influence signals.
The switching test unit is configured with a speed switching test strategy comprising: when a speed influence switching test instruction is received, acquiring a real-time speed ratio, and when the speed ratio is greater than or equal to a first proportional threshold, outputting a speed switching reasonable optimization signal; when the speed ratio is smaller than the first proportional threshold, switching transmission channels, when the speed ratio of all the transmission channels obtained after switching is smaller than the first proportional threshold, outputting a transmission network optimization signal, when the hardware temperature and virus invasion are not abnormal in specific implementation, only the speed ratio is smaller, namely, when the speed ratio is smaller than the first proportional threshold, the transmission network of the transmission channels can be tested, and the corresponding signal is the transmission network optimization signal.
Referring to fig. 2, the present invention further provides a transmission switching test method for a PTN device, where the test method includes:
step S1, dividing a transmission channel of PTN equipment into a channel layer, a channel layer and a medium layer;
step S2, acquiring operation state data of the PTN equipment in a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data; step S2 further includes:
step S211, a file test packet is adopted to carry out transmission test on PTN equipment when the PTN equipment is positioned at a channel layer, a channel layer and a medium layer;
step S212, setting the virus invasion times of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer as the basic reference invasion number of the channel layer, the basic reference invasion number of the access layer and the basic reference invasion number of the medium layer respectively;
step S213, setting the transmission time length of the PTN device in the transmission test process of the channel layer, the access layer and the medium layer as the channel layer basic reference time length, the access layer basic reference time length and the medium layer basic reference time length respectively, dividing the memory of the file test packet by the channel layer basic reference time length, the access layer basic reference time length and the medium layer basic reference time length respectively to obtain a channel layer reference transmission speed, an access layer reference transmission speed and a medium layer reference transmission speed;
in step S214, the hardware detection temperatures of the PTN device during the transmission test of the channel layer, the via layer and the medium layer are set as the channel layer base reference temperature, the via layer base reference temperature and the medium layer base reference temperature, respectively.
Step S2 further includes:
step S221, acquiring operation state data in the operation process of the PTN equipment;
step S222, setting the virus invasion times of the PTN equipment in the running process of the channel layer, the access layer and the medium layer as the running invasion number of the channel layer, the running invasion number of the access layer and the running invasion number of the medium layer respectively;
step S223, setting the transmission speeds of the PTN equipment in the running processes of the channel layer, the passage layer and the medium layer as the running transmission speed of the channel layer, the running transmission speed of the passage layer and the running transmission speed of the medium layer respectively;
in step S224, the hardware detection temperatures of the PTN device in the running processes of the channel layer, the via layer and the medium layer are set as the running temperature of the channel layer, the running temperature of the via layer and the running temperature of the medium layer, respectively.
Step S3, performing basic analysis on the running state data of the equipment, and outputting a transmission switching instruction based on a basic analysis result; step S3 further includes:
step S31, acquiring transmission speed in the operation process of the PTN equipment once in a first time period at intervals, setting the transmission speed as real-time transmission speed, and comparing the real-time transmission speed with the reference transmission speed of a corresponding transmission channel to obtain a speed ratio;
step S32, when the speed ratio is smaller than a first proportional threshold, acquiring the current hardware detection temperature, setting the current hardware detection temperature as the real-time hardware detection temperature, and subtracting the basic reference temperature of the corresponding transmission channel from the real-time hardware detection temperature to obtain a temperature difference value;
step S33, when the temperature difference value is smaller than a first temperature difference threshold value, acquiring the current virus invasion times, setting the current virus invasion times as real-time virus invasion times, and subtracting the corresponding basic reference invasion times from the real-time virus invasion times to obtain an invasion times difference value; outputting a temperature influence switching test instruction when the temperature difference value is greater than or equal to a first temperature difference threshold value;
step S34, when the difference value of the intrusion times is smaller than a first quantity threshold value, outputting a speed-influencing switching test instruction; and outputting an intrusion influence switching test instruction when the intrusion frequency difference value is greater than or equal to a first quantity threshold value.
Step S4, switching the transmission channel based on the transmission switching instruction, and performing switching analysis on the operation state data of the switched equipment to obtain a switching test optimization result; step S4 further includes:
step S41, after receiving a temperature influence switching test instruction, acquiring a real-time speed ratio, and outputting a temperature switching reasonable optimization signal when the speed ratio is greater than or equal to a first proportional threshold; when the speed ratio is smaller than a first proportional threshold, acquiring a real-time temperature difference value, when the temperature difference value is smaller than the first temperature difference threshold, switching transmission channels, and when the temperature difference value is larger than or equal to the first temperature difference threshold, outputting a temperature influence signal;
step S42, after an intrusion influence switching test instruction is received, acquiring a real-time speed ratio, and outputting an intrusion switching reasonable optimization signal when the speed ratio is greater than or equal to a first proportional threshold; when the speed ratio is smaller than a first proportional threshold, acquiring a real-time intrusion frequency difference value, switching transmission channels when the intrusion frequency difference value is smaller than a first quantity threshold, and outputting an intrusion influence signal when the intrusion frequency difference value is larger than or equal to the first quantity difference value;
step S43, after receiving a speed influence switching test instruction, acquiring a real-time speed ratio, and outputting a speed switching reasonable optimization signal when the speed ratio is greater than or equal to a first proportional threshold; and when the speed ratio is smaller than the first proportional threshold, switching transmission channels, and when the speed ratios of all the transmission channels obtained after switching are smaller than the first proportional threshold, outputting a transmission network optimization signal.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein. The storage medium may be implemented by any type or combination of volatile or nonvolatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Claims (5)
1. The transmission switching test system for the PTN equipment is characterized by comprising a transmission channel dividing module, an equipment operation data acquisition module and a switching analysis module;
the transmission channel dividing module is used for dividing a transmission channel of the PTN equipment into a channel layer, a channel layer and a medium layer;
the device operation data acquisition module is used for acquiring operation state data of the PTN device when the PTN device is positioned at a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data;
the switching analysis module comprises an operation data analysis unit and a switching test unit; the operation data analysis unit is used for performing basic analysis on the operation state data of the equipment and outputting a transmission switching instruction based on a basic analysis result; the switching test unit switches the transmission channel based on the transmission switching instruction, and performs switching analysis on the operation state data of the switched equipment to obtain a switching test optimization result;
the device operation data acquisition module comprises a pre-test data acquisition unit, wherein the pre-test data acquisition unit is configured with a pre-test data acquisition strategy, and the pre-test data acquisition strategy comprises: carrying out transmission test on PTN equipment in a channel layer, a path layer and a medium layer by adopting a file test packet;
setting the virus invasion times of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer as the basic reference invasion number of the channel layer, the basic reference invasion number of the access layer and the basic reference invasion number of the medium layer respectively;
setting transmission time lengths of PTN equipment in transmission test processes of a channel layer, a channel layer and a medium layer as channel layer basic reference time lengths, channel layer basic reference time lengths and medium layer basic reference time lengths respectively, dividing the memory of a file test packet by the channel layer basic reference time lengths, the channel layer basic reference time lengths and the medium layer basic reference time lengths respectively to obtain channel layer reference transmission speeds, channel layer reference transmission speeds and medium layer reference transmission speeds;
setting hardware detection temperatures of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer as a channel layer basic reference temperature, an access layer basic reference temperature and a medium layer basic reference temperature respectively;
the equipment operation data acquisition module comprises an operation data acquisition unit, wherein the operation data acquisition unit is configured with an operation data acquisition strategy, and the operation data acquisition strategy comprises the following steps: acquiring running state data in the running process of the PTN equipment;
setting the virus invasion times of the PTN equipment in the running processes of a channel layer, a passage layer and a medium layer as the running invasion number of the channel layer, the running invasion number of the passage layer and the running invasion number of the medium layer respectively;
setting the transmission speeds of the PTN equipment in the running processes of the channel layer, the access layer and the medium layer as the running transmission speed of the channel layer, the running transmission speed of the access layer and the running transmission speed of the medium layer respectively;
setting the hardware detection temperature of the PTN equipment in the running process of the channel layer, the access layer and the medium layer as the running temperature of the channel layer, the running temperature of the access layer and the running temperature of the medium layer respectively;
the operation data analysis unit is configured with an operation data analysis policy, the operation data analysis policy including: acquiring transmission speed of PTN equipment in the operation process every first time period, setting the transmission speed as real-time transmission speed, and comparing the real-time transmission speed with the reference transmission speed of a corresponding transmission channel to obtain a speed ratio;
when the speed ratio is smaller than a first proportional threshold, acquiring the current hardware detection temperature, setting the current hardware detection temperature as the real-time hardware detection temperature, and subtracting the basic reference temperature of the corresponding transmission channel from the real-time hardware detection temperature to obtain a temperature difference value;
when the temperature difference is smaller than a first temperature difference threshold, acquiring the current virus invasion times, setting the current virus invasion times as real-time virus invasion times, and subtracting the corresponding basic reference invasion times from the real-time virus invasion times to obtain an invasion times difference; outputting a temperature influence switching test instruction when the temperature difference value is greater than or equal to a first temperature difference threshold value;
when the difference value of the invasion times is smaller than a first quantity threshold value, outputting a speed-influencing switching test instruction; and outputting an intrusion influence switching test instruction when the intrusion frequency difference value is greater than or equal to a first quantity threshold value.
2. The transmission switching test system for a PTN device of claim 1, wherein the switching test unit is configured with a temperature switching test strategy comprising: when a temperature influence switching test instruction is received, acquiring a real-time speed ratio, and when the speed ratio is greater than or equal to a first proportional threshold, outputting a temperature switching reasonable optimization signal; and when the speed ratio is smaller than a first proportion threshold, acquiring a real-time temperature difference value, when the temperature difference value is smaller than the first temperature difference threshold, switching transmission channels, and when the temperature difference value is larger than or equal to the first temperature difference threshold, outputting a temperature influence signal.
3. The transmission switching test system for a PTN device of claim 1, wherein the switching test unit is configured with an intrusion switching test policy comprising: when an intrusion influence switching test instruction is received, acquiring a real-time speed ratio, and outputting an intrusion switching reasonable optimization signal when the speed ratio is greater than or equal to a first proportional threshold; and when the speed ratio is smaller than a first proportional threshold, acquiring a real-time intrusion frequency difference value, switching transmission channels when the intrusion frequency difference value is smaller than a first quantity threshold, and outputting an intrusion influence signal when the intrusion frequency difference value is larger than or equal to the first quantity difference value.
4. The transmission switching test system for a PTN device of claim 1, wherein the switching test unit is configured with a speed switching test strategy comprising: when a speed influence switching test instruction is received, acquiring a real-time speed ratio, and when the speed ratio is greater than or equal to a first proportional threshold, outputting a speed switching reasonable optimization signal; and when the speed ratio is smaller than the first proportional threshold, switching transmission channels, and when the speed ratios of all the transmission channels obtained after switching are smaller than the first proportional threshold, outputting a transmission network optimization signal.
5. A transmission switching test method for a PTN device, the test method applying the transmission switching test system for a PTN device according to any one of claims 1 to 4, the test method comprising: dividing a transmission channel of the PTN equipment into a channel layer, a channel layer and a medium layer; carrying out transmission test on PTN equipment in a channel layer, a path layer and a medium layer by adopting a file test packet;
setting the virus invasion times of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer as the basic reference invasion number of the channel layer, the basic reference invasion number of the access layer and the basic reference invasion number of the medium layer respectively;
setting transmission time lengths of PTN equipment in transmission test processes of a channel layer, a channel layer and a medium layer as channel layer basic reference time lengths, channel layer basic reference time lengths and medium layer basic reference time lengths respectively, dividing the memory of a file test packet by the channel layer basic reference time lengths, the channel layer basic reference time lengths and the medium layer basic reference time lengths respectively to obtain channel layer reference transmission speeds, channel layer reference transmission speeds and medium layer reference transmission speeds;
setting hardware detection temperatures of the PTN equipment in the transmission test process of the channel layer, the access layer and the medium layer as a channel layer basic reference temperature, an access layer basic reference temperature and a medium layer basic reference temperature respectively;
acquiring operation state data of the PTN equipment in a channel layer, a channel layer and a medium layer, wherein the operation state data comprises intrusion detection data, transmission speed data and hardware detection data; acquiring running state data in the running process of the PTN equipment;
setting the virus invasion times of the PTN equipment in the running processes of a channel layer, a passage layer and a medium layer as the running invasion number of the channel layer, the running invasion number of the passage layer and the running invasion number of the medium layer respectively;
setting the transmission speeds of the PTN equipment in the running processes of the channel layer, the access layer and the medium layer as the running transmission speed of the channel layer, the running transmission speed of the access layer and the running transmission speed of the medium layer respectively;
setting the hardware detection temperature of the PTN equipment in the running process of the channel layer, the access layer and the medium layer as the running temperature of the channel layer, the running temperature of the access layer and the running temperature of the medium layer respectively;
performing basic analysis on the running state data of the equipment, and outputting a transmission switching instruction based on a basic analysis result; acquiring transmission speed of PTN equipment in the operation process every first time period, setting the transmission speed as real-time transmission speed, and comparing the real-time transmission speed with the reference transmission speed of a corresponding transmission channel to obtain a speed ratio;
when the speed ratio is smaller than a first proportional threshold, acquiring the current hardware detection temperature, setting the current hardware detection temperature as the real-time hardware detection temperature, and subtracting the basic reference temperature of the corresponding transmission channel from the real-time hardware detection temperature to obtain a temperature difference value;
when the temperature difference is smaller than a first temperature difference threshold, acquiring the current virus invasion times, setting the current virus invasion times as real-time virus invasion times, and subtracting the corresponding basic reference invasion times from the real-time virus invasion times to obtain an invasion times difference; outputting a temperature influence switching test instruction when the temperature difference value is greater than or equal to a first temperature difference threshold value;
when the difference value of the invasion times is smaller than a first quantity threshold value, outputting a speed-influencing switching test instruction; outputting an intrusion influence switching test instruction when the intrusion number difference value is greater than or equal to a first quantity threshold value;
and switching the transmission channel based on the transmission switching instruction, and performing switching analysis on the running state data of the switched equipment to obtain a switching test optimization result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310221004.1A CN115914897B (en) | 2023-03-09 | 2023-03-09 | Transmission switching test system and method for PTN equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310221004.1A CN115914897B (en) | 2023-03-09 | 2023-03-09 | Transmission switching test system and method for PTN equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115914897A CN115914897A (en) | 2023-04-04 |
CN115914897B true CN115914897B (en) | 2023-05-12 |
Family
ID=85751914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310221004.1A Active CN115914897B (en) | 2023-03-09 | 2023-03-09 | Transmission switching test system and method for PTN equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115914897B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103580886A (en) * | 2012-07-25 | 2014-02-12 | 中兴通讯股份有限公司 | Packet transport network protection switching device and method |
CN114866296A (en) * | 2022-04-20 | 2022-08-05 | 武汉大学 | Intrusion detection method, device, equipment and readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105281926B (en) * | 2014-05-27 | 2019-03-12 | 中兴通讯股份有限公司 | A kind of method and device of the Signal Degrade trigger protection switching of link polymerization terminal port |
CN108111219B (en) * | 2017-11-22 | 2020-08-14 | 广州供电局有限公司 | Lossless switching method and device of PTN (packet transport network) and lossless switching PTN system |
CN110391928B (en) * | 2018-04-20 | 2022-01-18 | 华为技术有限公司 | Communication method and device for executing main/standby switching by using electronic switch |
CN111342891A (en) * | 2020-03-26 | 2020-06-26 | 武汉光迅信息技术有限公司 | Optical line switching method and device |
CN115622799B (en) * | 2022-11-29 | 2023-03-14 | 南京科讯次元信息科技有限公司 | Safety architecture system based on network isolation system |
-
2023
- 2023-03-09 CN CN202310221004.1A patent/CN115914897B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103580886A (en) * | 2012-07-25 | 2014-02-12 | 中兴通讯股份有限公司 | Packet transport network protection switching device and method |
CN114866296A (en) * | 2022-04-20 | 2022-08-05 | 武汉大学 | Intrusion detection method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115914897A (en) | 2023-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100617310B1 (en) | Apparatus for detecting abnormality of traffic in network and method thereof | |
EP0786187B1 (en) | Network management system for communications networks | |
US5764626A (en) | Rate-matched cell identification and modification, replacement, or insertion for test and measurement of ATM network virtual connections | |
US5793976A (en) | Method and apparatus for performance monitoring in electronic communications networks | |
CA2350606C (en) | System and method of analyzing network protocols | |
US5761191A (en) | Statistics collection for ATM networks | |
US5864555A (en) | Method and apparatus for generating a proxy connection endpoint for operation administration and management (OAM) asynchronous transfer mode (ATM) cells | |
DE69734310T2 (en) | CONNECTION ERROR DETECTION METHOD AND ARRANGEMENT | |
CN106713074B (en) | Data network quality segmentation detection method based on business tine and system | |
CN106789177A (en) | A kind of system of dealing with network breakdown | |
CN114124478A (en) | Power system industrial control flow abnormity detection method and system | |
CN115914897B (en) | Transmission switching test system and method for PTN equipment | |
KR100249737B1 (en) | Short cell management unit and method | |
US5878063A (en) | Method of detecting cell loss and exchange provided with cell loss detecting function | |
CN107566170B (en) | Rule base-based automatic detection method for distribution network automatic telecontrol channel | |
CN111447122A (en) | Test system and test method for IPC tape amount of core switch | |
CN112469067A (en) | Network batch service flow monitoring method and system | |
CN112583659A (en) | Method and device for detecting network state of video network, terminal equipment and storage medium | |
CN116744353A (en) | Network quality detection method based on 5G communication | |
CN108650021B (en) | Automatic dynamic rerouting testing method and system based on ASON | |
CN111741295B (en) | Monitoring system and method for continuously monitoring end-to-end QoS index of video network | |
CN113285871B (en) | Link protection method, SDN controller and communication network system | |
Jung et al. | QoS management and performance monitoring in ATM networks | |
WO1997019535A1 (en) | Instrument for test and measurement of atm network virtual connections | |
CN112491640A (en) | In-situ protection looped network pressure testing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |