Isolation attribute detection method, device, electronic device, storage medium and program product
By obtaining the delay information when there is no congestion in the metropolitan transmission network channel and congestion occurs in the preset intermediate node, the isolation attribute of the MTN channel is detected, which solves the shortcomings of the hard isolation attribute detection of MTN channel in the prior art and improves the detection accuracy , meeting the certain needs of 5G and industry dedicated lines.
Patent Information
- Application Number
- CN202411187296.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The existing Metro Transport Network (MTN) channel hard isolation attribute detection method is not yet mature and cannot effectively meet the 5G bearer and industry dedicated line certainty requirements.
By obtaining the delay information when there is no congestion and when the preset intermediate nodes occur, the isolation attributes of the transmission channel are detected based on this information, and the detection results are generated to achieve accurate detection of the hard isolation attributes of the MTN channel.
It improves the accuracy of the isolation attribute detection of transmission channel, avoids detection errors caused by the impact of mapping processing, and meets the deterministic needs of 5G and industry dedicated lines.
Smart Images

Figure CN118714596B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of detection technology, and in particular to a detection method, device, electronic device, storage medium and program product for isolation properties. Background Art
[0002] With the deployment and promotion of technologies such as the fifth generation mobile communication technology (5G), industrial Internet, cloud computing and big data, scenarios such as production control and video applications in many industries have put forward higher deterministic requirements on bandwidth guarantee, service isolation, low latency and low jitter.
[0003] To meet the deterministic requirements of 5G bearer and industry dedicated lines, the Slicing Packet Network (SPN) adopts channel-level slicing technology. By extending the time-division multiplexing (TDM) timeslot multiplexing mechanism of the Flexible Ethernet (FlexE) interface, the service is directly mapped, multiplexed, cross-linked and forwarded within the SPN node according to the TDM timeslot of the physical layer (L1 layer), providing L1-based low-latency, hard-isolated slice channels for service bearer.
[0004] However, there is currently no effective detection method for the hard isolation properties of Metro Transport Network (MTN) channels. Summary of the invention
[0005] The present invention provides a method, device, electronic device, storage medium and program product for detecting isolation properties, so as to realize the detection of hard isolation properties of MTN channels.
[0006] According to one aspect of the present invention, a method for detecting an isolation attribute is provided, comprising:
[0007] Acquire first delay information of the first channel when no congestion occurs at any node of the first channel;
[0008] Acquire second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel;
[0009] The isolation property of the first channel is detected according to the first delay information and the second delay information to generate a detection result.
[0010] According to another aspect of the present invention, there is provided a device for detecting an isolation property, comprising:
[0011] A first acquisition module, used for acquiring first delay information of the first channel when no congestion occurs at any node of the first channel;
[0012] A second acquisition module, configured to acquire second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel;
[0013] The property detection module is used to detect the isolation property of the first channel according to the first delay information and the second delay information, and generate a detection result.
[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the isolation attribute detection method described in any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the isolation attribute detection method described in any embodiment of the present invention when executed.
[0019] According to another method of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the isolation attribute detection method described in any embodiment of the present invention is implemented.
[0020] The isolation property detection method, device, electronic device, storage medium and program product provided in the embodiments of the present invention can detect the isolation property of the transmission channel based on the delay information when no congestion occurs and the delay information when the preset intermediate node is congested, so as to realize the detection of the isolation property of the transmission channel. Moreover, compared with the technical solution of detecting the isolation property of the transmission channel based on the delay information when no congestion occurs in the transmission channel and the delay information when the source node of the transmission channel is congested, it will not affect the mapping process of the transmission data to the transmission channel, so that the delay information after the congestion of the transmission channel will not be accurately detected due to the influence on the mapping process, and the accuracy of the detection result of the isolation property of the transmission channel can be further improved.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A schematic diagram of a flow chart of a method for detecting isolation attributes provided in the first embodiment of the present invention;
[0024] Figure 2 A schematic diagram of a flow chart of a method for detecting isolation attributes provided in Embodiment 2 of the present invention;
[0025] Figure 3 A schematic diagram of a path of a first channel and a second channel provided in Embodiment 2 of the present invention;
[0026] Figure 4 A structural block diagram of an isolation property detection device provided in Embodiment 3 of the present invention;
[0027] Figure 5 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment 1
[0031] Figure 1 This is a flow chart of a method for detecting isolation properties provided in the first embodiment of the present invention. This embodiment is applicable to the case of detecting the isolation properties of a transmission channel, such as detecting or verifying the hard isolation properties of an MTN channel. The method can be executed by an isolation property detection device, which can be implemented in the form of hardware and / or software. The isolation property detection device can be configured in an electronic device, such as a computer or a data network analyzer. Figure 1 As shown, the isolation attribute detection method provided in this embodiment may include:
[0032] S110: Acquire first delay information of the first channel when no congestion occurs at any node of the first channel.
[0033] The first channel can be understood as a transmission channel whose isolation property needs to be detected at present, that is, a channel to be detected. The first channel can be a transmission channel constructed for isolation property detection, or can be a transmission channel actually used for data transmission. The type of the first channel is not limited. Optionally, the first channel is a metropolitan area transmission network channel. This case is taken as an example for explanation below.
[0034] There may be multiple nodes in the first channel, such as a source node, an intermediate node, and a sink node. The source node can be understood as the starting point of the service transmission in the first channel; the sink node can be understood as the end point of the service transmission in the first channel. It can be understood that in one-way communication, the source node and the sink node can be fixed; in two-way communication, the source node and the sink node can be variable. For example, in some cases, the source node can also receive information as a sink node, and the sink node can also send information as a source node. The intermediate node can be understood as a node located between the source node and the sink node, such as a cross node. In the MTN channel, TDM time slotting and switching can be performed based on the Ethernet 66B code block. The 66B code block sequence can be cross-connected to the Ethernet sequence through the node TDM cross matrix, that is, a sequence cross connection is performed. This cross node can be understood as a node in the MTN channel that performs a sequence cross connection based on the Ethernet 66B code block.
[0035] The first delay information can be understood as the delay information of the first channel when no congestion occurs at any node of the first channel, such as the average delay information of data transmitted by the first channel when no congestion occurs at any node.
[0036] Specifically, when no congestion occurs at any node of the first channel, the delay information of the first channel can be obtained as the first delay information, so as to facilitate subsequent detection of the isolation property of the first channel based on the first delay information.
[0037] S120: Obtain second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel.
[0038] Among them, the preset intermediate node may be an intermediate node where congestion occurs when performing isolation attribute detection, and it may be any intermediate node of the first channel, which may be flexibly set as needed, and this embodiment does not limit this. The second delay information may be understood as the delay information of the first channel when the preset intermediate node of the first channel is congested, such as the average delay information of the first channel transmitting data when the preset intermediate node is congested. Congestion of the preset intermediate node may be understood as the amount of data that the preset intermediate node needs to transmit per unit time is greater than the amount of data that it can transmit per unit time (i.e., bandwidth). For example, when the amount of data that the preset intermediate node needs to transmit per unit time is greater than its bandwidth, it can be considered that the preset intermediate node is congested. The bandwidth of the preset intermediate node may be, for example, the bandwidth of the MTN interface of the preset intermediate node, such as the bandwidth of the MTN interface at the output end of the preset intermediate node. At this time, congestion of the preset intermediate node may be congestion of the MTN interface at the output end of the preset intermediate node.
[0039] Specifically, when congestion occurs at a preset intermediate node of the first channel, delay information of the first channel may be obtained as the second delay information, so as to facilitate subsequent detection of the isolation property of the first channel based on the second delay information.
[0040] In this embodiment, the manner in which congestion occurs at the preset intermediate node is not limited. For example, a new business flow may be introduced to create congestion at the preset intermediate node of the first channel. Alternatively, when the first channel is a transmission channel actually used for data transmission, new business flows may not be introduced to create congestion. For example, during the process of actual business data transmission on the first channel, it may be possible to detect whether congestion occurs at the preset intermediate node, and when congestion is detected at the preset intermediate node, the delay information of the first channel may be obtained as the second delay information.
[0041] It should be noted that there is no limit to the order of acquiring the first delay information and the second delay information. For example, the first delay information of the first channel can be acquired first and then the second delay information of the first channel; or the second delay information of the first channel can be acquired first and then the first delay information of the first channel; or, in the case where the first delay information and the second delay information of the first channel are pre-detected and stored, when the isolation property of the first channel is detected, the stored first delay information and the second delay information of the first channel can also be acquired at the same time, and so on. The specific settings can be made according to needs.
[0042] S130: Detect an isolation property of the first channel according to the first delay information and the second delay information, and generate a detection result.
[0043] The isolation attribute can be understood as the isolation capability between data transmitted in different time slots during data transmission. Taking the MTN channel as an example, the hard isolation attribute of the MTN channel can be used to indicate the hard slice isolation capability of the MTN channel. The MTN channel can use the 66B code block of Ethernet as a unit for TDM time slotting and switching, thereby realizing hard slice isolation. Hard slice isolation refers to the 66B code blocks belonging to different Ethernet frames. Since the positions of the time slots are fixed, they can be transmitted in the MTN channel in a mutually isolated manner without affecting each other. The isolation attribute of the transmission channel (such as the first channel) includes the delay sub-attribute of the transmission channel, so that the isolation attribute of the transmission channel can be detected based on the delay information of the transmission channel.
[0044] Specifically, the isolation property of the first channel may be detected according to the delay information of the first channel before and after congestion, such as detecting whether the isolation property of the first channel meets the requirements of relevant standards, and generating a detection result.
[0045] In some embodiments, the isolation property of the first channel can be detected and a detection result can be generated based on whether the first delay information and the second delay information of the first channel before and after congestion meet preset conditions, such as whether the first delay information and the second delay information of the first channel before and after congestion meet the delay provisions in relevant standards.
[0046] In some implementations, the isolation property of the first channel can be detected based on whether the delay variation information of the first channel before and after congestion is within a preset delay variation range, and a detection result can be generated. At this time, optionally, the isolation property of the first channel is detected based on the first delay information and the second delay information, and the detection result is generated, including: determining the delay variation information of the first channel based on the first delay information and the second delay information; and detecting the isolation property of the first channel based on whether the delay variation information is within a preset delay variation range, and generating a detection result.
[0047] The delay variation information can be understood as the delay variation information of the first channel before and after congestion, such as the change value of the average delay of the first channel before and after congestion. The preset delay variation range can be set as needed. For example, when the first channel is an MTN channel, the preset delay variation range can be set to [0μs, 1μs], so as to judge whether the delay variation of the first channel before and after congestion meets the requirements of relevant standards based on the preset delay variation range.
[0048] Exemplarily, the delay variation information of the first channel can be determined according to the first delay information and the second delay information. Taking the delay information as the average delay as an example, the difference between the average delay of the first channel when congestion occurs (i.e., the second delay information) and the average delay of the first channel when no congestion occurs (i.e., the first delay information) can be calculated as the delay variation information of the first channel.
[0049] After determining the delay variation information of the first channel, it can be determined whether the delay variation information is within the preset delay variation range. If so, it can be determined that the delay variation information of the first channel meets the requirements of the relevant standards, and then the isolation properties of the first channel meet the requirements of the relevant standards; if not, it can be determined that the delay variation information of the first channel does not meet the requirements of the relevant standards, and then the isolation properties of the first channel do not meet the requirements of the relevant standards. In this way, the detection result of the hard isolation property of the first channel can be generated. Here, the relevant standard can be a standard related to the hard isolation property of the transmission channel, which is not limited in this embodiment.
[0050] In this embodiment, the isolation property of the transmission channel may be detected based on the delay information when no congestion occurs and the delay information when congestion occurs at a preset intermediate node, thereby realizing the detection of the isolation property of the transmission channel.
[0051] Moreover, compared with the technical solution of detecting the isolation property of the transmission channel based on the delay information when the transmission channel is not congested and the delay information when the source node of the transmission channel is congested, it will not affect the mapping process of the transmission data to the transmission channel, such as it will not affect the framing, table lookup and caching processes of the source node during packet forwarding. Therefore, it will not cause the inability to accurately detect the delay information after the transmission channel is congested due to the impact on the mapping process, and can further improve the accuracy of the detection result of the isolation property of the transmission channel.
[0052] The isolation property detection method provided in this embodiment obtains the first delay information of the first channel when no congestion occurs at any node of the first channel; obtains the second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel; detects the isolation property of the first channel according to the first delay information and the second delay information of the first channel, and generates a detection result. This embodiment uses the above technical solution to detect the isolation property of the transmission channel based on the delay information when congestion occurs at the preset intermediate node, which can realize the detection of the isolation property of the transmission channel and improve the accuracy of the detection result of the isolation property of the transmission channel.
[0053] Embodiment 2
[0054] Figure 2 A flow chart of a method for detecting isolation properties provided in Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. Optionally, when no congestion occurs at any node of the first channel, the first delay information of the first channel is obtained, including: controlling the first channel to transmit the first service flow at a first transmission rate, wherein the bandwidth of the first channel is less than the bandwidth of the preset intermediate node, and the first transmission rate is less than or equal to the bandwidth of the first channel; obtaining the delay information of the first service flow when it is transmitted on the first channel as the first delay information of the first channel.
[0055] Optionally, when congestion occurs at a preset intermediate node of the first channel, the second delay information of the first channel is obtained, including: controlling the first channel to transmit a first business flow at a first transmission rate, and controlling the second channel to transmit a second business flow at a second transmission rate, wherein the source node of the second channel is different from the source node of the first channel, the first business flow and the second business flow are congested at the preset intermediate node, and the transmission priority of the first business flow is lower than the transmission priority of the second business flow; obtaining the delay information of the first business flow when it is transmitted on the first channel as the second delay information of the first channel.
[0056] Correspondingly, such as Figure 2As shown, the isolation attribute detection method provided in this embodiment may include:
[0057] S210. Control the first channel to transmit a first service flow using a first transmission rate, wherein the bandwidth of the first channel is smaller than the bandwidth of the preset intermediate node, and the first transmission rate is smaller than or equal to the bandwidth of the first channel.
[0058] The first service flow may be a service flow transmitted through the first channel. The first service flow may be an actual service flow or a test service flow constructed when performing isolation attribute detection. The following description takes the first service flow as a test service flow as an example. The first transmission rate may be understood as the transmission rate of the first service flow, and the first transmission rate is less than or equal to the bandwidth of the first channel.
[0059] Exemplarily, a test service flow with a transmission rate less than or equal to the bandwidth of the first channel can be constructed as the first service flow, wherein the bandwidth of the first channel is less than the bandwidth of the preset intermediate node to avoid congestion when the preset intermediate node transmits the first service flow alone.
[0060] When configuring the first channel, the bandwidth of the first channel is generally configured to be smaller than the bandwidth of each node in the first channel to avoid congestion when transmitting data on the first channel. Therefore, since each node in the first channel will not be congested when transmitting the first service flow alone, the first channel can be controlled to transmit the first service flow at the first transmission rate, such as sending the first service flow to the first channel so that the first channel transmits the first service flow at the first transmission rate, thereby determining the first delay information of the first channel.
[0061] S220. Obtain delay information of the first service flow when it is transmitted in the first channel as first delay information of the first channel.
[0062] Exemplarily, when only the first channel is controlled to transmit the first service flow, and the second channel is not controlled to transmit the second service flow, no congestion occurs at any node in the first channel. At this time, the delay information of the first service flow transmitted from the source node of the first channel to the destination node of the first channel can be obtained, such as obtaining the average delay information of the first service flow transmitted from the source node of the first channel to the destination node of the first channel as the first delay information of the first channel. In this embodiment, the method for obtaining the delay information of the first service flow is not limited.
[0063] S230. Control the first channel to transmit the first business flow at a first transmission rate, and control the second channel to transmit the second business flow at a second transmission rate, wherein the source node of the second channel and the source node of the first channel are different nodes, the first business flow and the second business flow are congested at the preset intermediate node, and the transmission priority of the first business flow is lower than the transmission priority of the second business flow.
[0064] The second service flow may be a service flow transmitted using the second channel. The total transmission rate of the second service flow and the first service flow may be greater than the bandwidth of the preset intermediate node of the first channel to create congestion at the preset intermediate node. The second transmission rate may be understood as the transmission rate of the second service flow.
[0065] The second channel may be a channel for transmitting a second service flow. Exemplarily, the second channel may be an MTN channel. The source node of the second channel is a different node from the source node of the first channel to avoid affecting the mapping process of the source node of the first channel. Exemplarily, the source node of the second channel may be a certain intermediate node of the first channel, such as the source node of the second channel may be a preset intermediate node of the first channel or other intermediate nodes different from the preset intermediate node. Optionally, the source node of the second channel is the preset intermediate node. The destination node of the second channel may be an intermediate node or a destination node of the first channel. For example, a preset sub-transmission path passing through a preset intermediate node may be intercepted from the transmission path of the first channel as the transmission path of the second channel, and the second channel may be configured based on this transmission path. At this time, optionally, the transmission path of the second channel is the preset sub-transmission path of the first channel.
[0066] The sum of the bandwidths of the second channel and the first channel may be less than or equal to the bandwidth of the preset intermediate node. For example, the bandwidth of the second channel may be configured based on the bandwidth of the preset intermediate node and the bandwidth of the first channel, such as the bandwidth of the second channel may be set to be less than or equal to the difference between the bandwidth of the preset intermediate node and the bandwidth of the first channel. As an optional implementation, the remaining bandwidth after the preset intermediate node is configured with the first channel may be used as the bandwidth of the second channel.
[0067] Exemplarily, a transmission channel that passes through a preset intermediate node and whose sum of bandwidth with the first channel is less than or equal to the bandwidth of the preset intermediate node can be configured as the second channel to transmit the second service flow through the second channel. At this time, optionally, before controlling the second channel to transmit the second service flow at the second transmission rate, it also includes: constructing a second channel that passes through the preset intermediate node according to the bandwidth of the first channel and the bandwidth of the preset intermediate node, wherein the sum of the bandwidth of the second channel and the first channel is less than or equal to the bandwidth of the preset intermediate node.
[0068] After configuring the second channel, a second service flow can be constructed. The sum of the second transmission rate of the second service flow and the first transmission rate of the first service flow can be greater than the bandwidth of the preset intermediate node, and the transmission priority of the second service flow can be higher than the transmission priority of the first service flow, so that congestion does not occur when the preset intermediate node transmits the first service flow and the second service flow at the same time, and the influence of transmission priority is taken into account at the same time.
[0069] Thus, when the second delay information of the first channel is obtained, the first channel can be controlled to transmit the first service flow at the first transmission rate, and the second channel can be controlled to transmit the second service flow at the second transmission rate. For example, the first service flow can be sent to the first channel, and the second service flow can be sent to the second channel at the same time, so that the first channel transmits the first service flow at the first transmission rate, and the second channel transmits the second service flow at the second transmission rate.
[0070] S240. Obtain delay information of the first service flow when it is transmitted on the first channel as second delay information of the first channel.
[0071] Exemplarily, when the first channel is controlled to transmit the first service flow, and the second channel is controlled to transmit the second service flow, since the sum of the first transmission rate of the first service flow and the second transmission rate of the second service flow is greater than the bandwidth of the preset intermediate node, the first service flow and the second service flow will be congested at the preset intermediate node. At this time, the delay information of the first service flow transmitted from the source node of the first channel to the sink node of the first channel can be obtained, such as obtaining the average delay information of the first service flow transmitted from the source node of the first channel to the sink node of the first channel, as the second delay information of the first channel.
[0072] S250: Detect an isolation property of the first channel according to the first delay information and the second delay information, and generate a detection result.
[0073] In this embodiment, after the first delay information and the second delay information of the first channel are determined, the isolation property of the first channel may be detected according to the first delay information and the second delay information to generate a detection result.
[0074] In some optional implementation manners, taking the isolation attribute detection of the MTN channel as an example, the isolation attribute detection method provided in this embodiment can be described as follows:
[0075] Since the MTN channel is cross-connected based on the Ethernet 66B code block sequence at the intermediate node to realize end-to-end sliced channel, high-priority background service flow can be introduced at the cross node of the MTN channel path, and the traffic will be congested at the MTN interface where the MTN channel is located. According to the change of the end-to-end average delay of the MTN channel before and after the congestion, the hard isolation property of the MTN channel is detected.
[0076] like Figure 3 As shown in the figure, it is assumed that the forwarding path (i.e., transmission path) of MTN channel (Channel) 1 (i.e., the first channel) is node 1 (NE1) - node 2 (NE2) - node 3 (NE3) - node 4 (NE4), and the intermediate nodes NE2 and NE3 are configured with cross-connection; and MTN channel 2 (i.e., the second channel) is configured on NE2 and NE3, and the remaining bandwidth of the MTN interface from NE2 to NE3 is all added to MTN channel 2. The data network analyzer is used to construct the service flow 1 (i.e., the first service flow) of MTN channel 1 and the service flow 2 (i.e., the second service flow) of MTN channel 2. The rate of service flow 1 of MTN channel 1 is less than the bandwidth of MTN channel 1, the rate of service flow 2 of MTN channel 2 is greater than the bandwidth of MTN channel 2, and the sum of the rates of service flow 1 and service flow 2 is greater than the bandwidth of the output interface from NE2 to NE3. Service flow 1 and service flow 2 are congested in the direction from NE2 to NE3. If congestion occurs at the output interface from NE2 to NE3, the priority of service flow 2 is higher than that of service flow 1.
[0077] Therefore, when performing isolation attribute detection, service flow 1 can be sent separately first, such as sending service flow 1 to MTN channel 1, and recording the end-to-end average delay T1 (i.e., the first delay information) of service flow 1; then, service flow 1 and service flow 2 can be sent simultaneously, such as sending service flow 1 to MTN channel 1 and sending service flow 2 to MTN channel 2 at the same time, so that the output interface of NE2 is congested. When the network side output interface flow is congested and there is no packet loss in the tested service flow 1, the end-to-end average delay T2 (i.e., the second delay information) of service flow 1 is recorded; finally, by comparing the end-to-end average delay data of T2 with that of T1, the hard isolation of the MTN channel can be effectively detected.
[0078] For example, assuming that the bandwidth of the MTN channel under test is 10Mbps and the message length is 1518 bytes, the isolation of the MTN channel is verified by introducing high-priority background traffic at the source node and cross node of the MTN channel path. The measured end-to-end delay changes before and after the congestion of the MTN channel under test are 5.121us and 0.02us respectively. It can be seen that by introducing high-priority background traffic at the cross node of the MTN channel path, the traffic is congested at the MTN interface where the MTN channel is located. According to the change of the end-to-end average delay of the MTN channel before and after the congestion, the isolation property of the MTN channel can be effectively detected, providing a concise and effective detection method for the isolation property of the MTN channel.
[0079] The isolation attribute detection method provided in this embodiment can detect the isolation attribute of the transmission channel and improve the accuracy of the detection result of the isolation attribute of the transmission channel by introducing a high-priority second business flow at a preset intermediate node of the first channel to create congestion.
[0080] Embodiment 3
[0081] Figure 4 This is a structural block diagram of an isolation property detection device provided in Embodiment 1 of the present invention. This embodiment can be applied to the case of detecting the isolation property of a transmission channel, such as detecting or verifying the hard isolation property of an MTN channel. The isolation property detection device can be implemented in the form of hardware and / or software, and the isolation property detection device can be configured in an electronic device, such as a computer or a data network analyzer. Figure 4 As shown, the isolation attribute detection device provided in this embodiment may include: a first acquisition module 401, a second acquisition module 402 and an attribute detection module 403, wherein:
[0082] A first acquisition module 401 is used to acquire first delay information of the first channel when no congestion occurs at any node of the first channel;
[0083] A second acquisition module 402 is used to acquire second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel;
[0084] The property detection module 403 is used to detect the isolation property of the first channel according to the first delay information and the second delay information, and generate a detection result.
[0085] The detection device for the isolation property provided in this embodiment obtains the first delay information of the first channel when no congestion occurs at each node of the first channel through the first acquisition module; obtains the second delay information of the first channel when congestion occurs at the preset intermediate node of the first channel through the second acquisition module; and detects the isolation property of the first channel according to the first delay information and the second delay information of the first channel through the property detection module to generate a detection result. This embodiment uses the above technical solution to detect the isolation property of the transmission channel based on the delay information when congestion occurs at the preset intermediate node, which can realize the detection of the isolation property of the transmission channel and improve the accuracy of the detection result of the isolation property of the transmission channel.
[0086] Optionally, the first acquisition module 401 includes: a first transmission unit, used to control the first channel to transmit the first business flow using a first transmission rate, wherein the bandwidth of the first channel is less than the bandwidth of the preset intermediate node, and the first transmission rate is less than or equal to the bandwidth of the first channel; a first acquisition unit, used to obtain the delay information of the first business flow when it is transmitted on the first channel, as the first delay information of the first channel.
[0087] Optionally, the second acquisition module 402 includes: a second transmission unit, used to control the first channel to transmit the first business flow at a first transmission rate, and control the second channel to transmit the second business flow at a second transmission rate, wherein the source node of the second channel and the source node of the first channel are different nodes, the first business flow and the second business flow are congested at the preset intermediate node, and the transmission priority of the first business flow is lower than the transmission priority of the second business flow; a second acquisition unit, used to obtain the delay information of the first business flow when it is transmitted on the first channel, as the second delay information of the first channel.
[0088] Furthermore, the isolation attribute detection device may also include: a channel construction module, which is used to construct a second channel passing through the preset intermediate node according to the bandwidth of the first channel and the bandwidth of the preset intermediate node before controlling the second channel to transmit the second business flow at the second transmission rate, wherein the sum of the bandwidths of the second channel and the first channel is less than or equal to the bandwidth of the preset intermediate node.
[0089] Optionally, the source node of the second channel is the preset intermediate node; and / or the transmission path of the second channel is a preset sub-transmission path of the first channel.
[0090] Optionally, the property detection module 403 includes: an information determination unit, used to determine the delay change information of the first channel based on the first delay information and the second delay information; a property detection unit, used to detect the isolation property of the first channel according to whether the delay change information is within a preset delay change range, and generate a detection result.
[0091] The isolation property detection device provided in the embodiment of the present invention can execute the isolation property detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0092] Embodiment 4
[0093] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0094] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0095] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0096] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the detection method of the isolation attribute.
[0097] In some embodiments, the isolation property detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the isolation property detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the isolation property detection method in any other appropriate manner (e.g., by means of firmware).
[0098] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0099] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0100] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0101] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0102] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0103] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0104] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0105] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting an isolation attribute, characterized in that: include: Acquire first delay information of the first channel when no congestion occurs at any node of the first channel; Acquire second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel; Detecting the isolation property of the first channel according to the first delay information and the second delay information, and generating a detection result; The acquiring of the second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel includes: Controlling the first channel to transmit a first service flow at a first transmission rate, and controlling the second channel to transmit a second service flow at a second transmission rate, wherein a source node of the second channel and a source node of the first channel are different nodes, the first service flow and the second service flow are congested at the preset intermediate node, and a transmission priority of the first service flow is lower than a transmission priority of the second service flow; Obtain delay information of the first service flow when it is transmitted on the first channel as second delay information of the first channel.
2. The method according to claim 1, characterized in that When no congestion occurs at any node of the first channel, the first delay information of the first channel includes: Controlling the first channel to transmit a first service flow using a first transmission rate, wherein a bandwidth of the first channel is smaller than a bandwidth of the preset intermediate node, and the first transmission rate is smaller than or equal to a bandwidth of the first channel; Obtain delay information of the first service flow when it is transmitted on the first channel as first delay information of the first channel.
3. The method according to claim 1, characterized in that: Before controlling the second channel to transmit the second service flow at the second transmission rate, the method further includes: A second channel passing through the preset intermediate node is constructed according to the bandwidth of the first channel and the bandwidth of the preset intermediate node, wherein the sum of the bandwidths of the second channel and the first channel is less than or equal to the bandwidth of the preset intermediate node.
4. The method according to claim 1, characterized in that: The source node of the second channel is the preset intermediate node; and / or the transmission path of the second channel is the preset sub-transmission path of the first channel.
5. The method according to claim 1, characterized in that The detecting the isolation property of the first channel according to the first delay information and the second delay information to generate a detection result includes: Determine the delay variation information of the first channel according to the first delay information and the second delay information; According to whether the delay variation information is within a preset delay variation range, the isolation property of the first channel is detected to generate a detection result.
6. A detection device for isolation properties, characterized in that: include: A first acquisition module, used for acquiring first delay information of the first channel when no congestion occurs at any node of the first channel; A second acquisition module, configured to acquire second delay information of the first channel when congestion occurs at a preset intermediate node of the first channel; a property detection module, configured to detect the isolation property of the first channel according to the first delay information and the second delay information, and generate a detection result; Wherein, the second acquisition module includes: A second transmission unit, used to control the first channel to transmit the first service flow at a first transmission rate, and to control the second channel to transmit the second service flow at a second transmission rate, wherein the source node of the second channel and the source node of the first channel are different nodes, the first service flow and the second service flow are congested at the preset intermediate node, and the transmission priority of the first service flow is lower than the transmission priority of the second service flow; The second acquisition unit is used to acquire delay information of the first service flow when it is transmitted on the first channel as second delay information of the first channel.
7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory in communication with the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the isolation attribute detection method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the isolation attribute detection method according to any one of claims 1 to 5 when executed.
9. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the method for detecting an isolation attribute according to any one of claims 1 to 5.
