Service channel performance data acquisition method, electronic device, medium, and product
By dividing the VCG physical port into sub-interfaces and collecting performance data, the problem of insufficient user service traffic monitoring in EOS services was solved, and efficient utilization and dynamic adjustment of pipeline bandwidth were achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-08-28
- Publication Date
- 2026-03-12
AI Technical Summary
Existing technologies cannot accurately monitor the channel traffic occupied by different user services in EOS services, resulting in the inability to fully utilize limited pipeline bandwidth resources and the inability to support dynamic adjustment of pipeline bandwidth.
The physical ports associated with the Virtual Channel Group (VCG) are divided into multiple sub-interfaces, each corresponding to a different service channel. By collecting performance data from each sub-interface, traffic monitoring and bandwidth utilization calculations for different user services can be achieved.
It enables accurate monitoring of the channel traffic occupied by different user services, makes full use of pipeline bandwidth resources, supports dynamic adjustment of pipeline bandwidth, and avoids resource waste.
Smart Images

Figure CN2025117514_12032026_PF_FP_ABST
Abstract
Description
Method for acquiring service channel performance data, electronic device, medium and product
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202411237228.2, filed on September 4, 2024, with the Chinese Patent Office, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] The present disclosure relates to, but is not limited to, the field of communication technology. BACKGROUND
[0004] EOS (Ethernet over SDH, SDH carrying Ethernet) service is essentially Ethernet service, and user service is accessed to a transmission network for private line carrying based on an Ethernet interface. Considering rigidity and high bandwidth utilization, a carrying pipe adopts SDH (Synchronous Digital Hierarchy) VC (Virtual Channel) scheduling, and the SDH VC is also called VCG (Virtual Channel Group). In SDH VC (i.e., VCG) channel transmission scheduling, VCs are multiplexed to a service layer OTN (Optical Transport Network), and OTN service is scheduled and transmitted based on an ODUk (Optical Channel Data Unit) hierarchy. With the gradual withdrawal of SDH devices, OTN devices support mixed EPON (Ethernet Passive Optical Network) / SDH / OTN services, and therefore EOS service is gradually integrated into the OTN device network.
[0005] In the EOS service of an existing or newly built OTN network, the channel traffic occupied by different user services cannot be accurately monitored at present, which leads to the failure to fully utilize limited pipe bandwidth resources. SUMMARY
[0006] The present disclosure provides a method for acquiring service channel performance data, an electronic device, a computer-readable storage medium, and a computer program product.
[0007] In a first aspect, the embodiments of the present disclosure provide a service channel performance data acquisition method, which comprises: dividing a physical port associated with a virtual channel group (VCG) into a plurality of sub-interfaces, the plurality of sub-interfaces corresponding to a plurality of service channels one by one respectively; and collecting performance data passing through the plurality of sub-interfaces respectively.
[0008] In a second aspect, the embodiments of the present disclosure provide an electronic device, which comprises a memory and a processor; the memory stores a computer program executable by the processor, and the computer program is executed by the processor to implement the service channel performance data acquisition method.
[0009] In a third aspect, the embodiments of the present disclosure provide a computer readable medium, which stores a computer program, and the computer program is executed by a processor to implement the service channel performance data acquisition method.
[0010] In a fourth aspect, the embodiments of the present disclosure provide a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the service channel performance data acquisition method. BRIEF DESCRIPTION OF DRAWINGS
[0011] In the drawings of the embodiments of the present disclosure:
[0012] FIG. 1 is a flowchart of a service channel performance data acquisition method according to an embodiment of the present disclosure;
[0013] FIG. 2 is a block diagram of an electronic device according to an embodiment of the present disclosure;
[0014] FIG. 3 is an application scenario diagram according to an embodiment of the present disclosure;
[0015] FIG. 4 is a schematic diagram of an internal structure of a network element in an application scenario according to an embodiment of the present disclosure;
[0016] FIG. 5 is a block diagram of a VCG channel performance data acquisition system according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0017] In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the embodiments of the present disclosure will be described in detail below with reference to the drawings.
[0018] The embodiments shown will be described in more detail in the following with reference to the drawings, but the embodiments shown can be embodied in different forms and the present disclosure should not be interpreted as being limited to the embodiments set forth below. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete and to enable those skilled in the art to fully understand the scope of the present disclosure.
[0019] The accompanying drawings, which are included to provide a further understanding of the disclosure and constitute a part of this specification, illustrate embodiments of the disclosure and together with the detailed description help to explain the disclosure. The above and other features and advantages of the disclosure will become more apparent from the detailed description taken in conjunction with the accompanying drawings, in which:
[0020] The disclosure can be described with reference to plan views and / or cross-sectional views by idealized figures. Thus, the illustrated examples can vary from the idealized illustrations as a result of manufacturing techniques and / or tolerances.
[0021] The embodiments of the disclosure and the features in the embodiments can be combined with each other if there is no conflict.
[0022] The terminology used by the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. As used herein the terms "comprises," "comprising," "consisting of," and "consists of" specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0023] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an overly literal or overly formal sense unless expressly so defined herein.
[0024] The disclosure is not limited to the embodiments shown in the drawings, but includes modifications of configurations formed based on manufacturing processes. Therefore, the regions exemplified in the drawings have a schematic property, and the shape of the regions shown in the drawings exemplifies a specific shape of a region of an element, but is not intended to be restrictive.
[0025] In some related technologies, for the network in which the EOS service is deployed for the wavelength division access device, when carrying the small granular (2M-100M) government and enterprise private line Ethernet service, the user hopes that the Ethernet service can realize end-to-end configuration and operation and maintenance, provide rigid pipe carrying, fully utilize the pipe bandwidth while guaranteeing the QoS (Quality of Service), avoid waste of pipe bandwidth resources, and support dynamic adjustment of pipe bandwidth. However, at present, when monitoring the traffic, only the traffic passing through the whole pipe is monitored, and the channel traffic occupied by different user services cannot be accurately monitored, so that the limited pipe bandwidth resources cannot be fully utilized, and the pipe bandwidth resources are wasted, and the dynamic adjustment of the pipe bandwidth cannot be supported. In order to at least solve this technical problem, the present disclosure provides a scheme capable of monitoring the channel traffic corresponding to the VCG subdivided pipe in real time, which is described in detail below through exemplary embodiments.
[0026] In a first aspect, the embodiments of the present disclosure provide a service channel performance data acquisition method. As shown in FIG. 1, the method comprises the following steps S101 and S102.
[0027] In step S101, the physical port associated with the VCG is divided into a plurality of sub-interfaces, and the plurality of sub-interfaces are respectively one-to-one corresponding to a plurality of service channels.
[0028] In this step, the "physical port associated with the VCG" refers to the physical port on the electronic component (such as a switching chip) associated with the VCG in the network in which the EOS service is deployed for the wavelength division access device. Accordingly, "dividing the physical port associated with the VCG into a plurality of sub-interfaces" can be to create a plurality of COE sub-interfaces for the physical interface (i.e. the physical port) connected between the packet switching chip carrying the Ethernet service and the logic device (such as FPGA) processing the OTN service. It should be noted that not every physical port on the switching chip is divided into a plurality of sub-interfaces, but only the physical port associated with the VCG is divided into a plurality of sub-interfaces, for example, the special physical interface connecting the switching chip and the FPGA can create a COE sub-interface, and the service created by each user occupies the COE sub-interface, not a physical interface exclusively, and the specific service created by different users is associated with the COE sub-interface. By creating a plurality of COE sub-interfaces on the physical port of the switching chip, the VCG large pipe is subdivided into a plurality of small pipes.
[0029] The switching chip plays a core role of switching, converting, mixing signals or digital data in a network communication system, and is mainly responsible for realizing packet forwarding and processing, and accurately and efficiently sending data packets to the correct destination by reading the destination address in the network packet. The sub-interface is a plurality of logical interfaces that are virtually derived from one physical interface by protocols and technologies. The COE sub-interface can also be referred to as a COE port, and the physical interface can be referred to as a physical port. COE (CAN open over EtherCAT) is a CAN application protocol based on EtherCAT. CAN open is a high-level communication protocol based on CAN (Controller Area Network). EtherCAT (Ethernet for Control Automation Technology) is an open architecture and fieldbus system based on Ethernet. The CAT in the name is an abbreviation of Control Automation Technology.
[0030] Since the physical port is associated with the VCG, the plurality of sub-interfaces respectively corresponding to the plurality of service channels are also associated with the VCG, wherein each service channel corresponds to one user service.
[0031] In step S102, performance data passing through the plurality of sub-interfaces is collected respectively.
[0032] In this step, the performance data includes the sending traffic rate and the receiving traffic rate, and can also include one or more of the sending data frame number, the sending data frame byte number, the receiving data frame number, and the receiving data frame byte number.
[0033] In actual application, since the traffic of all wavelength L1 VCG channels passes through the L2 packet switching chip, the traffic of the wavelength L1 VCG channel can be placed at the L2 packet switching chip for statistics, so the traffic data collection can be performed by leading the traffic of the wavelength L1 VCG channel to the L2 packet switching layer.
[0034] In this embodiment, after the physical port of the switching chip associated with the VCG is divided into a plurality of COE sub-interfaces respectively corresponding to a plurality of service channels, the ACL can be bound to the COE sub-interfaces of the switching chip associated with the VCG, and the performance data passing through each COE sub-interface can be collected in real time by using the ACL technology. The ACL (Access Control List) technology is a flow control technology based on packet filtering, which takes the source address and port number, the destination address and port number as the basic elements of packet inspection to realize traffic statistics.
[0035] Further, a cycle timer can be enabled to poll the COE sub-interfaces of all the switch chips associated with the VCG to collect performance data passing through each COE sub-interface in a timed manner.
[0036] The embodiment of the present disclosure divides the physical port associated with the VCG into a plurality of sub-interfaces corresponding to a plurality of service channels one by one, thereby realizing the subdivision of the original VCG large pipe into a plurality of small pipes, and the small pipes are closely related to the specific services of users. By collecting the performance data of each small pipe (i.e., the performance data passing through each sub-interface), the performance data of each service channel can be obtained, so that the channel traffic occupied by different user services can be accurately monitored, the limited pipe bandwidth resources can be fully utilized, dynamic adjustment of the pipe bandwidth can be supported, and waste of pipe bandwidth resources can be avoided.
[0037] In some embodiments, the method further includes steps S103 to S105.
[0038] In step S103, port information of a preset sub-interface is obtained.
[0039] In this step, the preset sub-interface includes one or more sub-interfaces, and the plurality of sub-interfaces divided from the physical port associated with the VCG include the preset sub-interface, i.e., the preset sub-interface belongs to part of the plurality of sub-interfaces divided from the physical port associated with the VCG. After the service port configuration parameters are issued, the port information corresponding to the service port configuration parameters is obtained as the port information of the preset sub-interface, and the port information includes one or more of a port number, an IP address, a subnet mask, a protocol type, a network interface type, a VLAN ID, and a MAC address.
[0040] In step S104, the performance data of a plurality of sub-interfaces is filtered based on the port information of the preset sub-interface to obtain the performance data of the preset sub-interface.
[0041] In this step, while collecting the performance data of a plurality of sub-interfaces, the performance data of each sub-interface also needs to be corresponded to its port information, so that the performance data of a plurality of sub-interfaces can be filtered based on the port information of the preset sub-interface, the performance data not belonging to the preset sub-interface among the collected performance data passing through a plurality of sub-interfaces is identified and filtered out, so as to obtain the performance data passing through only the preset sub-interface.
[0042] In step S105, the performance data of the preset sub-interface is correspondingly bound to the port information of the preset sub-interface.
[0043] In this step, the performance data of each preset sub-interface is correspondingly bound with the port information thereof, so as to facilitate subsequent query of the performance data of a specific service channel.
[0044] The step S103 can be executed before the step S101, after the step S101 and before the step S102, or after the step S102.
[0045] In one mode of the embodiments of the present disclosure, the performance data of the plurality of sub-interfaces is filtered through the port information of the preset sub-interface, so that the performance data not belonging to the preset sub-interface is filtered out, and only the performance data of the preset sub-interface is correspondingly bound with the port information thereof, so that only the performance data of the channel occupied by the specific user service is monitored, and the system workload is reduced.
[0046] In some embodiments, the method further includes steps S106 and S107.
[0047] In the step S106, in response to the service being created, a performance detection point associated with the service is registered based on the port information of the preset sub-interface.
[0048] In this step, the performance detection point associated with the service is created when the service is created. Since the preset sub-interface is associated with the specific user service and corresponds to the specific user service channel, the performance detection point associated with the specific user service can be created based on the port information of the preset sub-interface. Since each sub-interface is associated with a specific user service, each performance detection point corresponds to a sub-interface.
[0049] In the step S107, the performance data of the preset sub-interface is saved or updated at the performance detection point.
[0050] In this step, after the performance data of the preset sub-interface is obtained, the registered performance detection point is found through the port information of the preset sub-interface. If no performance data is saved at the performance detection point, the performance data is saved. If the performance data is already saved at the performance detection point, the performance data is updated.
[0051] The step S106 is executed after the step S103, and the step S107 is executed after the step S105.
[0052] In one mode of the embodiments of the present disclosure, after the user service is created, the performance detection point associated with the user service is registered, so that the performance data of the channel occupied by each user service is saved or updated at the performance detection point, and subsequent query is facilitated.
[0053] In some embodiments, before step S105, the method further comprises steps S108 and S109.
[0054] In step S108, bandwidth reservation resource configuration data is acquired.
[0055] In this step, the user can reserve VCG bandwidth resources according to needs and generate VCG bandwidth reservation resource configuration data, which can be the tolerance bandwidth that the service channel can pass (i.e. the maximum rate at which the service channel can transmit data).
[0056] In S109, based on the sending traffic rate and the receiving traffic rate in the performance data of the preset sub-interface and the bandwidth reservation resource configuration data, the sending bandwidth utilization and the receiving bandwidth utilization of the preset sub-interface are calculated.
[0057] In this step, the sending bandwidth utilization = the actually detected sending traffic rate / the tolerance bandwidth that the service channel can pass. The receiving bandwidth utilization = the actually detected receiving traffic rate / the tolerance bandwidth that the service channel can pass.
[0058] Correspondingly, step S105 can comprise: corresponding binding the performance data of the preset sub-interface and its sending bandwidth utilization and receiving bandwidth utilization with the port information of the preset sub-interface.
[0059] As a way of the embodiments of the present disclosure, in addition to corresponding binding the performance data of the preset sub-interface with the port information of the preset sub-interface, the sending bandwidth utilization and the receiving bandwidth utilization of the preset sub-interface are also corresponding bound with the port information of the preset sub-interface, so that not only the performance data of the specific service channel can be monitored, but also the bandwidth utilization of the specific service channel calculated according to the performance data can be monitored, and the information queried is more comprehensive.
[0060] In some embodiments, step S107 can comprise: saving or updating the performance data of the preset sub-interface and its sending bandwidth utilization and receiving bandwidth utilization on the performance detection point.
[0061] As a way of the embodiments of the present disclosure, in addition to saving or updating the performance data of the channels occupied by different user services on the performance detection point, the bandwidth utilization of the channels occupied by different user services calculated according to the performance data can also be saved or updated on the performance detection point, which is convenient for subsequent query.
[0062] In some embodiments, after step S106, the method further comprises step S110.
[0063] In step S110, in response to the service being deleted, the performance detection point associated with the service and the data saved thereon are deleted.
[0064] As one of the embodiments of the present disclosure, when a certain user service is deleted, the performance detection point associated with the service and the data (performance data, sending bandwidth utilization, receiving bandwidth utilization) stored thereon are also deleted to save system storage space. The deletion of the performance detection point can also be referred to as deregistration.
[0065] In some embodiments, the method further comprises steps S111 to S113.
[0066] In step S111, a performance threshold value is obtained.
[0067] In this step, the user can set a specific performance threshold value through network management. The performance threshold value can include a rate threshold value (such as a maximum rate, a minimum rate), and can also include a bandwidth utilization threshold value (such as a maximum bandwidth utilization, a minimum bandwidth utilization).
[0068] In step S112, the performance threshold value is compared with the corresponding data stored on the performance detection point to obtain a comparison result.
[0069] In this step, comparing the performance threshold value with the corresponding data stored on the performance detection point means comparing data of the same type. For example, comparing the rate threshold value with the sending traffic rate and the receiving traffic rate stored on the performance detection point, and comparing the bandwidth utilization threshold value with the sending bandwidth utilization and the receiving bandwidth utilization stored on the performance detection point.
[0070] In step S113, a corresponding performance out-of-limit alarm is generated in response to the comparison result that the corresponding data stored on the performance detection point exceeds the performance threshold value.
[0071] In this step, if the sending traffic rate or the receiving traffic rate stored on the performance detection point exceeds the rate threshold value (such as below the minimum rate, above the maximum rate), a corresponding traffic rate out-of-limit alarm is generated. If the sending bandwidth utilization or the receiving bandwidth utilization stored on the performance detection point exceeds the bandwidth utilization threshold value (such as below the minimum bandwidth utilization, above the maximum bandwidth utilization), a corresponding bandwidth utilization out-of-limit alarm is generated. The user can set the rate threshold value and the bandwidth utilization threshold value at the network management, and when the traffic data of the service channel is dynamically monitored to exceed the corresponding performance threshold value, an alarm is reported to the network management, and the specific performance out-of-limit alarm information can also be displayed through a display device.
[0072] Among them, step S112 and step S113 are executed after step S107, and step S111 can be executed before step S107 or after step S107.
[0073] As a manner of the embodiments of the present disclosure, whether a performance out-of-limit alarm is generated is judged by comparing the specific performance index threshold value configured by the user with corresponding data on the registered performance detection point, so that the user can be prompted in time about abnormal conditions of the channel flow, and the pipe bandwidth can be dynamically adjusted subsequently. In addition to the subdivision of the VCG large pipe into multiple small pipes to realize the monitoring of the subdivided flow, the embodiments of the present disclosure can also realize the early warning of the subdivided flow, and can more accurately monitor the channel bandwidth resources occupied by specific user services, so that the limited pipe bandwidth resources can be fully utilized.
[0074] In some embodiments, after step S102, the method further includes the following step S114.
[0075] In step S114, in response to receiving a performance query request about one or more sub-interfaces, data stored on the performance detection point corresponding to the one or more sub-interfaces is queried based on the performance query request, wherein the performance query includes a current performance query, a historical performance query, and a real-time performance query.
[0076] As a manner of the embodiments of the present disclosure, the performance detection points corresponding to different sub-interfaces are queried for performance, and the performance data (such as the sending flow rate, the receiving flow rate, the number of sent data frames, the number of bytes of sent data frames, the number of received data frames, and the number of bytes of received data frames) of the channel occupied by specific user services can be queried as needed, as well as the sending bandwidth utilization rate and the receiving bandwidth utilization rate of the channel occupied by specific user services, and displayed on a display device.
[0077] In a second aspect, as shown in FIG. 2, the embodiments of the present disclosure provide an electronic device, which includes a memory 201 and a processor 202; the memory 201 stores a computer program executable by the processor 202, and the computer program is executed by the processor 202 to implement any one of the business channel performance data acquisition methods of the embodiments of the present disclosure.
[0078] In a third aspect, the embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, and the computer program is executed by a processor to implement any one of the business channel performance data acquisition methods of the embodiments of the present disclosure.
[0079] In a fourth aspect, the embodiments of the present disclosure provide a computer program product, which includes a computer program, and the computer program is executed by a processor to implement any one of the business channel performance data acquisition methods of the embodiments of the present disclosure.
[0080] Among them, the processor is a device with data processing capability, including but not limited to central processing unit (CPU) and the like; the memory is a device with data storage capability, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information interaction between the memory and the processor, including but not limited to data bus (Bus) and the like.
[0081] The service channel performance data acquisition method, the electronic device, the computer readable medium and the computer program product provided by the embodiments of the present disclosure relate to VCG channel performance data acquisition in EOS service of a wavelength division access device. By adopting the specific solutions of the embodiments of the present disclosure, in a network in which the wavelength division access device deploys EOS service, the VCG service channel (i.e. multiple small pipes subdivided from an original VCG large pipe) traffic can be monitored in real time, and an alarm can be given under the prompt of a network management in the case of VCG service channel traffic anomaly, so that the wavelength division access device can fully utilize pipe bandwidth by monitoring the channel traffic occupied by different user services in real time while providing rigid pipe bearing to ensure QoS, and can also support dynamic adjustment of pipe bandwidth to avoid waste of pipe bandwidth resources.
[0082] Example 1:
[0083] Exemplarily, as a specific form of the embodiments of the present disclosure, an EOS service VCG channel performance data acquisition method is provided.
[0084] The application scenario of the performance data acquisition method is shown in FIG. 3. As shown in FIG. 3, EOS service networking includes but is not limited to networking composed of multiple network element devices. Among them, UNI1 and UNI2 are access sides, NNI1 and NNI2 are line sides, UNI (user network interface) is an interface between a user device (including an IP router, an ATM switch, an SDH switch, etc.) and an intelligent optical network, the user device submits an application for obtaining, revoking and modifying optical bandwidth resources to the optical network through the interface, and the optical network responds to the application request, NNI (Network Node Interface) is also called a network side interface, which is an interface for network node interconnection, and it contains two basic devices of a transmission network, i.e. a transmission device and a network node device, according to different devices and different service types, the specific content of the NNI interface is different; the access measurement P card accesses Ethernet service of a user, the port of the single board is generally an Ethernet interface (eth port), and only accesses to process packet service; the line measurement O card processes encapsulation and decapsulation of Ethernet service and wavelength division service.
[0085] Figure 4 shows the internal structure of network elements of EOS service networking. As shown in Figure 4, the switching chip is responsible for L2 Ethernet service encapsulation, the FPGA is responsible for VC cross and L1 OTN service mapping, and the 10GE Ethernet interface between L2 switch and FPGA (i.e. the inter-chip interface on the board) is configured. The packet message is encapsulated by the switching chip and sent to the FPGA through the COE sub-interface associated with the VCG, and the FPGA receives the message and multiplexes it to the VCG large pipe. The VCG large pipe is scheduled based on the VC, and the VC further multiplexes the message to the OTN service on the line. The OTN service is scheduled based on the ODUk level, and the frame is sent out from the line side panel port, thereby completing the scheduling of the wavelength service and the VCG scheduling of the large pipe. The network interfaces involved include GE interface (Gigabit Ethernet interface), 10GE interface (10 Gigabit Ethernet interface), FE interface (Fast Ethernet interface), and STM-64 interface (Synchronous Transport Module).
[0086] The deployment of EOS service between network element 1 and network element 2 starts the VCG channel performance data acquisition system, which includes performance collection module, service port configuration module, bandwidth reservation configuration module, performance threshold configuration module, performance processing module, performance alarm sending channel module, and performance display module. After the system is started, the switching chip is initialized, and then the ACL resources for the switching chip physical port performance collection function are created and allocated. The software registers the performance collection callback function, which collects the performance data of the COE sub-interface collected by the switching chip through the ACL at regular intervals. The collected performance data of the COE sub-interface is processed and integrated into the performance alarm sending channel and is connected to the performance detection points created by it. The performance alarm sending channel updates and saves the performance data on the performance detection points and generates performance overrun alarms according to the performance threshold index value set by the user to the performance display module. The performance display module can perform current performance query, historical performance query, and real-time performance monitoring query.
[0087] The following describes the VCG channel performance data acquisition method under EOS service in detail in combination with the application scenarios and internal structures of network elements shown in Figures 3 and 4. The method includes the following steps 1 to 10.
[0088] Step 1: After network element 1 and network element 2 are initialized, the switching chip is initialized, and the switching chip creates and allocates a plurality of COE sub-interfaces corresponding to the VCG physical interfaces associated with the EOS service.
[0089] Step 2: The network element 1 and the network element 2 configure Ethernet private line (EPL) / Ethernet private local area network (EPLAN), Ethernet virtual private line (EVPL) / EPLAN, bind the COE sub-interface corresponding to the VCG physical interface, configure the EOS service carrying the packet service, and bind the VC resource. After the FPGA receives the configuration, the O service (wavelength division service) is mapped, and the VCG channel resource is allocated and bound;
[0090] Step 3: The service port configuration module sends the port information of the COE sub-interface corresponding to the VCG physical interface to the performance alarm sending channel module to register the corresponding performance detection point, and sends the port information of the COE sub-interface corresponding to the VCG physical interface to the performance processing module to filter and identify the subsequent performance data collected from the switch chip;
[0091] Step 4: The bandwidth reservation configuration module sends the bandwidth reservation resource configuration data corresponding to the user service channel to the performance processing module, and the performance processing module saves the bandwidth reservation resource configuration data to calculate the subsequent bandwidth utilization;
[0092] Step 5: The performance threshold configuration module sends the user-configured performance threshold value to the performance alarm sending channel module, and the performance alarm sending channel module judges whether the performance of the performance detection point is out of limit;
[0093] Step 6: The performance collection module creates a 1S timer and creates a callback function for collecting the performance data of the switch chip;
[0094] Step 7: The timer collects the performance data of the switch chip through the callback function in a timed manner, including the number of sent data frames, the number of sent data frame bytes, the number of received data frames, the number of received data frame bytes, the sending traffic rate, the receiving traffic rate, and sends the performance data to the performance processing module;
[0095] Step 8: The performance processing module filters the performance data received from the performance collection module according to the port information of the COE sub-interface obtained in step 3, calculates the sending bandwidth utilization and the receiving bandwidth utilization according to the bandwidth reservation resource configuration data obtained in step 4, and then integrates the performance data such as the number of sent data frames, the number of sent data frame bytes, the number of received data frames, the number of received data frame bytes, the sending traffic rate, the receiving traffic rate, the sending bandwidth utilization, and the receiving bandwidth utilization. The integrated data is bound with the port information and is sent to the performance alarm sending channel module;
[0096] Step 9: The performance alarm sending channel module receives the data sent by the performance processing module, finds the performance detection point registered in step 2 through the port information from the COE sub-interface of the service port configuration module, saves the data if the performance detection point has no performance data at this time, updates the data if the performance detection point has performance data at this time, accumulates the corresponding sending and receiving byte number and data frame cumulative variables and sends the performance display system database, and compares the performance threshold value in step 4 with the received performance data, and sends the performance display module an alarm if the threshold is exceeded.
[0097] Step 10: The performance display module faces the user, and at this time, the user can check the performance threshold exceeded alarm, in addition to which the user can perform current performance query, historical performance query and real-time performance query.
[0098] Example 2:
[0099] Exemplarily, as a specific form of an embodiment of the present disclosure, a VCG channel performance data acquisition system under an EOS service is provided. As shown in FIG. 5, the VCG channel performance data acquisition system includes a performance collection module 501, a service port configuration module 502, a bandwidth reservation configuration module 503, a performance threshold configuration module 504, a performance processing module 505, a performance alarm sending channel module 506 and a performance display module 507.
[0100] The performance collection module 501 is used for performance data collection, and is implemented by including but not limited to a switching chip. Specifically, a cyclic timer is enabled to poll the performance data of all COE sub-interfaces of the switching chip associated with the VCG, and the performance data is reported to the performance processing module 505. In the chip implementation, the physical ports of the switching chip are divided into a plurality of COE sub-interfaces (i.e. COE ports) associated with the VCG, the ACL is bound to the COE ports of the switching chip associated with the VCG through the ACL technology, and the performance data passing through each COE port is collected in real time.
[0101] The service port configuration module 502 obtains the port information corresponding to the service port configuration parameters after the service port configuration parameters are issued, and issues the port information of the COE ports of the switching chip associated with the VCG to the performance processing module 505, and notifies the performance alarm sending channel module 506 of the port information of the COE ports of the switching chip associated with the VCG for registering the performance detection point.
[0102] Bandwidth reservation configuration module 503: This module reserves VCG bandwidth resources, and notifies the performance processing module 505 of the user-reserved VCG bandwidth reservation resource configuration data to facilitate performance processing calculation. The VCG bandwidth reservation resource configuration data is specifically the tolerance bandwidth that can be passed by the service channel.
[0103] Performance threshold configuration module 504: This module is responsible for issuing the user-configured performance threshold indicator value to the performance alarm sending channel module 506, which is used to determine whether to generate a performance out-of-limit alarm. The performance threshold indicator value can be a rate threshold value (such as a maximum rate, a minimum rate), a bandwidth utilization threshold value (such as a maximum bandwidth utilization, a minimum bandwidth utilization), and by considering the maximum and minimum rate, the maximum and minimum bandwidth utilization, and other indicators on the performance threshold indicator, and performing performance out-of-limit alarm, the full utilization of the pipe bandwidth resources can be achieved.
[0104] Performance processing module 505: This module is mainly used for performance calculation and processing, receives the user-reserved VCG bandwidth reservation resource configuration data, and combines the performance data of the COE port sent by the performance collection module 505 to perform data processing and integration. The integrated data is reported to the performance alarm sending channel module 506.
[0105] Performance alarm sending channel module 506: This module mainly registers and deregisters the performance detection points, and saves and updates the performance data on the performance detection points to facilitate the real-time query, current query and historical query of the performance data of the specific COE port of the VCG by the performance display module 507. At the same time, it receives the user-configured performance threshold indicator value, compares it with the performance data on the current detection point to determine whether to generate a performance out-of-limit alarm, and sends it to the performance display module 507. In actual application, the performance alarm sending channel passes through the L2 forwarding plane to the control plane, and then to the management plane for presentation. When the service is created, the performance alarm sending channel module 506 will create the performance detection points corresponding to the COE sub-interfaces associated with the service, i.e. the registration of the performance detection points. When the service is deleted, the performance alarm sending channel module 506 will delete the performance detection points associated with the service, i.e. the deregistration of the performance detection points.
[0106] Performance display module 507: used for displaying the performance data of each COE port of the switching chip associated with the VCG, which can perform current performance query, historical performance query, and real-time performance monitoring query.
[0107] In the above example, while monitoring the flow of the VCG large pipe, the original VCG large pipe is subdivided into multiple small pipes by fully considering the subdivision of the pipe, and the subdivision of the pipe is implemented by creating multiple COE sub-interfaces through the interface between the packet switching chip carrying Ethernet service and the FPGA performing OTN service processing. Then, the performance data of each small pipe (i.e., the performance data passing through each COE sub-interface) is collected in real time. Since these small pipes are closely related to the specific service of the user, the channel flow occupied by the specific user service can be closely monitored.
[0108] Those of ordinary skill in the art can understand that all or some of the functional modules / units in the steps, systems, and devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof.
[0109] In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation.
[0110] Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit (CPU), a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on computer-readable media, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), FLASH or other memory technology; compact disc read-only memory (CD-ROM), digital versatile discs (DVD) or other optical disk storage; magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices; any other medium that can be used to store the desired information and that can be accessed by a computer. Furthermore, it is common technical knowledge to those of ordinary skill in the art that communication media typically includes computer readable instructions, data structures, program modules or other data in modulated data signals such as carrier waves or other transport mechanisms, and can include any information delivery medium.
[0111] The present disclosure has disclosed example embodiments, and while specific terminology has been employed, it is merely in the nature of a general description and should not be construed as limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics or / and elements described in connection with a particular embodiment can be used in conjunction with other embodiments unless otherwise explicitly stated. As such, those skilled in the art will appreciate that modifications can be made in form and detail without departing from the scope of the disclosure as set forth in the appended claims.
Claims
1. A method for acquiring performance data of a service channel, comprising: dividing a physical port associated with a virtual channel group (VCG) into a plurality of sub-interfaces, each of the plurality of sub-interfaces corresponding to one of a plurality of service channels; collecting performance data of the plurality of sub-interfaces respectively.
2. The method of claim 1, wherein, The method further comprises: acquiring port information of a preset sub-interface; filtering the performance data of the plurality of sub-interfaces based on the port information of the preset sub-interface to obtain performance data of the preset sub-interface; binding the performance data of the preset sub-interface with the port information of the preset sub-interface.
3. The method of claim 2, wherein, The method further comprises: in response to a service being created, registering a performance detection point associated with the service based on the port information of the preset sub-interface; storing or updating the performance data of the preset sub-interface at the performance detection point.
4. The method of claim 2, wherein, The performance data comprises a sending traffic rate and a receiving traffic rate; The method further comprises: acquiring bandwidth reservation resource configuration data; calculating sending bandwidth utilization and receiving bandwidth utilization of the preset sub-interface based on the sending traffic rate and the receiving traffic rate in the performance data of the preset sub-interface and the bandwidth reservation resource configuration data; binding the sending bandwidth utilization and the receiving bandwidth utilization of the preset sub-interface with the port information of the preset sub-interface.
5. The method of claim 4, wherein, The method further comprises: in response to a service being created, registering a performance detection point associated with the service based on the port information of the preset sub-interface; storing or updating the performance data of the preset sub-interface and the sending bandwidth utilization and the receiving bandwidth utilization of the preset sub-interface at the performance detection point.
6. The method of claim 3 or 5, wherein, The method further comprises: in response to a service being deleted, deleting the performance detection point associated with the service and the data stored thereon.
7. The method of claim 3 or 5, wherein, The method further comprises: acquiring a performance threshold indicator value; comparing the performance threshold indicator value with corresponding data stored at the performance detection point to obtain a comparison result; in response to the comparison result being that the corresponding data stored at the performance detection point exceeds the performance threshold indicator value, generating a corresponding performance out-of-limit alarm.
8. The method of claim 3 or 5, wherein, The method further comprises: in response to receiving a performance query request about one or more sub-interfaces, querying data stored at performance detection points corresponding to the one or more sub-interfaces based on the performance query request, wherein the performance query comprises a current performance query, a historical performance query, and a real-time performance query. 9.An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable by the processor, and the computer program, when executed by the processor, implements the method for acquiring performance data of a service channel according to any one of claims 1 to 8. 10.A computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for acquiring performance data of a service channel according to any one of claims 1 to 8. 11.A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the method for acquiring performance data of a service channel according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and system for allocating network resources
CN101656662A
Systems and methods for improving performance of a routable fabric
CN101765838A
Message sending method and access controller
CN102238091A
Service link creation method, device and equipment and readable storage medium
CN116156363A
Method and apparatus for monitoring virtual concatenation group performance
US20080201105A1