Network shunting equipment cascade system

By adopting a cascading system for network shunt equipment in the telecom value-added service scenario, and using a cascading device group to connect the first shunt equipment and the second shunt equipment, the problem of insufficient bandwidth resource utilization of shunt equipment is solved, and timely processing of service traffic and efficient utilization of resources is achieved.

CN119865460APending Publication Date: 2025-04-22SHANGHAI EMBEDWAY INFORMATION TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510077079.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the telecom value-added service scenario, the bandwidth resources of the shunt device may be in an idle state, resulting in waste of resources, and may not be enough to process service traffic, resulting in loss of packets.

Method used

Using a network shunt device cascade system, the first shunt device is connected to the multiple second shunt devices through multiple cascade device groups to realize the allocation and processing of service traffic messages. The first shunt device has the function of adding value to the telecommunications service, while the second shunt device does not have this function. Through the design of the cascading device group, the full utilization of bandwidth resources and the timely processing of service traffic is achieved.

Benefits of technology

Effectively utilize the bandwidth resources of the shunt device, avoiding the idle or overload of some bandwidth resources, reducing the loss and delay of service traffic packets, and improving the processing capacity and efficiency of the entire network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865460A_ABST
    Figure CN119865460A_ABST
Patent Text Reader

Abstract

The invention discloses a network shunting device cascade system, and relates to the technical field of network communication, and the data volume of a service flow message processed by a first shunting device is not limited by the number of input ports of the first shunting device; the first shunting devices in communication connection can distribute the service flow messages to each other. Therefore, the situation that the bandwidth resources of a part of the first shunting equipment are in an idle state and the bandwidth resources of a part of the first shunting equipment are in a busy state in the prior art is avoided. Therefore, the bandwidth resource of the shunting equipment is fully utilized, and the situation that the service flow message is not processed in time is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a network distribution device cascading system. Background Art

[0002] The traffic distribution equipment in the telecom value-added service scenario is used to aggregate the service traffic messages from the network; and distribute the service traffic messages to different output ports according to preset rules to realize the output of the service traffic messages.

[0003] During the research process, the applicant found that in the process of processing business traffic messages, some bandwidth resources of some diversion devices are idle, resulting in the waste of these bandwidth resources; the bandwidth resources of some diversion devices are insufficient, resulting in the problem of business traffic exceeding the bandwidth and causing business traffic message loss. Summary of the invention

[0004] In view of the above problems, the present application provides a network traffic distribution device cascading system to fully utilize the bandwidth resources of the traffic distribution device and reduce the service traffic messages that are not processed in time. The specific scheme is as follows:

[0005] A first aspect of the present application provides a network traffic distribution device cascading system, comprising:

[0006] A plurality of cascade device groups, the cascade device groups comprising a first shunt device and a plurality of second shunt devices respectively connected in communication with the first shunt device; the first shunt devices in the plurality of cascade device groups are connected in communication with each other; the first shunt devices have a telecommunications value-added service function, and the second shunt devices do not have a telecommunications value-added service function;

[0007] Each of the second traffic distribution devices is configured to send the first service flow message received through its own input port to the first traffic distribution device belonging to the same cascade device group as the second traffic distribution device;

[0008] Each of the first diversion devices is used to distribute the obtained second business traffic messages to the first diversion device and the first diversion device communicatively connected to the first diversion device; process the business traffic messages allocated to itself; the second business traffic messages include the third business traffic messages received through its own input port, and / or the first business traffic messages received through the second diversion device belonging to the same cascade device group as itself.

[0009] In a possible implementation, the cascade device group includes one of the first shunt devices; the network shunt device cascade system is located in the same physical device carrier; the physical device carrier includes a first frame and a plurality of second slots;

[0010] The first machine frame includes a plurality of first slots, and one of the first slots is equipped with a first shunt device; each of the first shunt devices is communicatively connected via a backplane port of the first machine frame;

[0011] One of the second slots is installed with one of the second flow splitting devices, and each of the second flow splitting devices belonging to the same cascade device group is connected to the first flow splitting device via the first cascade port.

[0012] In a possible implementation, the cascade device group includes two of the first shunt devices; the network shunt device cascade system is located in the same physical device carrier; the physical device carrier includes a first frame, a plurality of second slots and a second frame;

[0013] The first machine frame includes a plurality of first slots, and one of the first slots is equipped with a first shunt device; each of the first shunt devices is communicatively connected via a backplane port of the first machine frame;

[0014] The second machine frame includes a plurality of third slots, and one of the third slots is equipped with one of the first shunt devices; each of the first shunt devices is communicatively connected via a backplane port of the second machine frame;

[0015] Wherein, one of the second slots is installed with one of the second flow dividing devices;

[0016] Each of the second flow diversion devices belonging to the same cascade device group is connected to the first flow diversion device in the first frame through a first cascade port, and is connected to the first flow diversion device in the second frame through a second cascade port.

[0017] In a possible implementation, when the second traffic distribution device executes the step of sending the first service traffic message received through its own input port to the first traffic distribution device belonging to the same cascade device group as the second traffic distribution device, the method specifically includes:

[0018] If the first service flow message is received through its own input port, the inlet port number of the first service flow message is set to the port number of the input port;

[0019] If the cascade device group includes one of the first traffic distribution devices, sending a plurality of the first service flow messages with inlet port numbers set therein to the first traffic distribution device;

[0020] If the cascade device group includes two of the first diversion devices, a plurality of the first service flow messages with inlet port numbers set therein are sent to the two first diversion devices respectively according to a preset load balancing strategy.

[0021] In one possible implementation,

[0022] The first traffic distribution device is further configured to set the inlet port number of the third service traffic message to the port number of the input port if the third service traffic message is received through its own input port.

[0023] In a possible implementation, the first shunt device includes a field programmable gate array chip and a switching chip, the second shunt device includes the switching chip, and the field programmable gate array chip has the value-added telecommunication service function; when the first shunt device executes the step of allocating the obtained second service traffic message to the first shunt device and the first shunt device connected to the first shunt device for communication, the method specifically includes:

[0024] The switching chip in the first traffic distribution device is used for:

[0025] If the inlet port number of the obtained service flow message is the port number of the self or the port number of the second traffic distribution device belonging to the same cascade device group as the self, determine that the service flow message is the second service flow message;

[0026] Distribute a plurality of the second service flow packets to the first diversion device and the first diversion device communicatively connected to the first diversion device.

[0027] In a possible implementation, the switching chip in the first traffic distribution device is further used to:

[0028] If the inlet port number of the obtained service traffic message is not its own port number and is not the port number of the second shunt device belonging to the same cascade device group as itself, sending the service traffic message to the field programmable gate array chip of the first shunt device;

[0029] When the first traffic distribution device executes the step of processing the service flow message allocated to itself, the first traffic distribution device includes:

[0030] The field programmable gate array chip in the first diversion device is used to process the service traffic message through the telecommunications value-added service function to obtain a processed service traffic message.

[0031] In a possible implementation, the field programmable gate array chip in the first shunt device is further used for:

[0032] Based on a preset forwarding rule, a target output port number in the output port group corresponding to the parameters in the processed service traffic message is obtained; the forwarding rule includes a correspondence between the parameters of the processed service traffic message and the output port group, and the output port interface group includes one or more output port numbers;

[0033] Set the output port number of the processed service flow message as the target output port number;

[0034] The processed service flow message provided with the target output port number is sent to the switching chip of the first diversion device.

[0035] In a possible implementation, the cascade device group in which the first shunt device is located is a first cascade device group, and the switching chip in the first shunt device is further used for:

[0036] Searching for a target diversion device identifier corresponding to the target output port number from a preset switching rule, wherein the switching rule includes a corresponding relationship between the diversion device identifier and the output port number;

[0037] If the target diversion device identifier is the device identifier of the first diversion device in the first cascade device group, outputting the processed service flow message through the target output port number;

[0038] If the target diversion device identifier is the device identifier of the second diversion device of the first cascade device group, the processed service traffic message is sent to the second diversion device having the target diversion device identifier, so that the second diversion device having the target diversion device identifier outputs the processed service traffic message through the target output port number;

[0039] If the target diversion device identifier is the first diversion device in the second cascade device group or the device identifier of the second diversion device, the processed business traffic message is sent to the first diversion device in the second cascade device group; the second cascade device group is any cascade device group among the multiple cascade device groups except the first cascade device group.

[0040] In a possible implementation, the method further includes:

[0041] A main control management card, used to obtain the corresponding relationship between the diversion device identifier and the forwarding rule and the corresponding relationship between the diversion device identifier and the switching rule;

[0042] The service software in the first shunt device is further used to obtain the forwarding rule and the switching rule corresponding to the shunt device identifier of the first shunt device from the main control management card; set the forwarding rule corresponding to the first shunt device identifier in the field programmable gate array chip included in the first shunt device; set the switching rule corresponding to the shunt device identifier of the first shunt device in the switching chip included in the first shunt device;

[0043] The switching chip in the second diversion device is further used to obtain a switching rule corresponding to the diversion device identifier of the second diversion device from the main control management card, and set the switching rule in the switching chip included in the second diversion device.

[0044] By means of the above technical solution, the present application provides a network diversion device cascade system, in which the data volume of the service flow message processed by the first diversion device is not limited to the number of input ports of the first diversion device; because the first diversion devices with communication connection can distribute service flow messages to each other. Therefore, the situation in the related art where the bandwidth resources of some first diversion devices are idle and the bandwidth resources of some first diversion devices are busy will not occur. Thus, the purpose of fully utilizing the bandwidth resources of the diversion device and reducing the service flow messages that are not processed in time is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0046] Figure 1 A schematic diagram of the structure of a network distribution device cascade system provided in this application;

[0047] Figure 2 A schematic diagram of an example of a network traffic distribution device cascade system provided by the present application;

[0048] Figure 3 The hardware architecture diagram of the network traffic distribution device cascade system provided for this application;

[0049] Figure 4 A schematic diagram of a first flow splitting device provided in the present application and cascaded with a plurality of second flow splitting devices;

[0050] Figure 5 Schematic diagram of interaction between a first flow splitting device and a second flow splitting device provided in an embodiment of the present application

[0051] Figure 6 A schematic diagram of a network traffic distribution device cascade system provided with two master management cards according to an embodiment of the present application. DETAILED DESCRIPTION

[0052] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0053] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0054] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0055] When basic telecommunication services no longer meet the needs of users, various telecommunication value-added services have extended the basic telecommunication services, not only allowing users to obtain more diverse services, but also bringing more market opportunities to telecommunication operators. Therefore, telecommunication value-added services have continued to be favored by operators over the years. Some common value-added services provided by operators in related technologies include but are not limited to the following five services:

[0056] Internet access control service: used for green Internet access and protecting the Internet safety of young people.

[0057] Content push service: The online advertising publishing platform can be deployed in the telecommunications backbone network. When each user browses the Internet, no matter which website they visit, they will see the information notice page (or advertising page) issued by the telecommunications operator. The information sending is very flexible and can be arranged at different time densities and for different users. Telecommunications can use this system to urge users in arrears to pay their bills, promote new services, etc., and can cooperate with advertising companies to attract businesses to advertise.

[0058] Broadband Internet Sharing Monitoring and Blocking Service: Telecom user sharing monitoring and blocking system can help telecom detect which users use the same account to share the Internet, detect illegal Internet cafes, and avoid telecom fee loss. It can also block, warn, and handle the detected illegal use in a post-event manner.

[0059] Illegal VoIP (Voice over Internet Protocol) monitoring and blocking services: can help telecom operators crack down on illegal IP phone operations and protect normal traffic revenue from the impact of illegal business. The illegal IP phone monitoring and blocking system detects computers, dedicated IP phones, VOIP phone gateways and gatekeepers used for IP phones. It can detect the IP addresses of these devices. It can detect user accounts using dynamic dialing, and can detect the traffic volume of IP phones, landing phone numbers and other information required by operators. Detected illegal users can be added to the blacklist and handled according to the strategies formulated by the operator. The handling method can achieve real-time notification or warning of illegal users, interrupt their call process, disconnect the call process, and even force users to go offline.

[0060] Internet service analysis service: Displays IP network usage in a graphical manner to help operators understand network operation status.

[0061] Based on the construction mode of telecommunication backbone network and metropolitan area network, the value-added services carried out in related technologies are mainly bypass-based, which does not affect the reliability of backbone nodes and avoids the introduction of new equipment or services to reduce the reliable operation of backbone networks. The traffic of aggregation nodes or egress nodes is copied to the front-end diversion device through means such as optical splitters, and the data packets are extracted through the diversion device for analysis and processing, while providing data classification and filtering to adapt to different services.

[0062] According to the form and functional characteristics of the front-end shunt equipment, it can be mainly divided into two categories: box-type shunt equipment and frame-type shunt equipment. The following is a detailed and rich description of these two types of equipment.

[0063] Box-type splitter devices usually do not have a chassis and can run independently; the design of box-type splitter devices is relatively compact, which is easy to install and deploy. Due to size and heat dissipation limitations, box-type splitter devices usually process smaller bandwidths and are suitable for scenarios with low bandwidth requirements. Box-type splitter devices generally have fixed ports and 1-2 expansion slots. The number of ports supported by the whole machine is generally less than 60. Box-type splitter devices do not have components such as main control boards and switching network boards. Redundancy is mainly reflected in power supplies and fan modules. Box-type splitter devices are suitable for small enterprises or specific application scenarios due to their small size and low cost.

[0064] Frame-type distribution equipment has a chassis that can accommodate more boards and cards, so it can handle larger bandwidth. Frame-type distribution equipment is a network device with its own external frame. Frame-type distribution equipment has independent main control board, service board, power module, fan module, etc. The ports are not fixed and can be configured to meet actual needs. For example, OptiWay T, as a new generation of multi-service traffic collection and distribution platform, can install 14 ATCA boards in a 13U rack space, support traffic exchange and aggregation between boards, and can access and process multiple 10GE, 10G POS, 40GE, 40G POS, 100GE links.

[0065] Exemplarily, the frame-type traffic distribution device includes a switching chip and an FPGA (Field-Programmable Gate Array) chip. The switching chip is mainly responsible for receiving, processing and forwarding business traffic messages, i.e., data packets, while the FPGA chip provides additional processing capabilities, such as value-added telecommunications service processing, digital signal processing, video processing, communication and control, etc.

[0066] The maximum processing bandwidth of different switching chips varies greatly. Switching chips can process a large number of business traffic messages, i.e. data packets, at high speed, including parsing Ethernet frame headers, executing forwarding decisions, and processing VLAN (Virtual Local Area Network) tags. High-performance switching chips can achieve high throughput and low-latency forwarding performance to meet the needs of real-time data transmission.

[0067] In the related technology, operation and maintenance personnel need to manage many diversion devices separately. Since the maximum processing bandwidth of different switching chips varies greatly, the operation and maintenance personnel face great challenges in the face of many diversion devices in the computer room. At the same time, when processing actual business traffic, due to the maximum processing capacity of the diversion device itself when it leaves the factory, some diversion devices will access actual traffic close to the maximum processing bandwidth, while other diversion devices will access actual traffic far less than the maximum processing bandwidth. For example: the maximum processing capacity of a diversion device is 48*10G + 6*100G = 1.08T, and the access traffic is 1.1T. At this time, the 48 10G and 6 100G panel ports of the diversion device will be fully occupied, and it is still not enough. If the access traffic is 400G, only 40 10G or 4 100G ports are needed to meet the business scenario requirements, and multiple ports will be idle at this time. Therefore, how to improve the comprehensive utilization rate of the bandwidth of the diversion device has become an issue that needs to be optimized urgently.

[0068] Based on this, the embodiment of the present application provides a network traffic distribution device cascading system, which is described below in conjunction with the accompanying drawings.

[0069] See also Figure 1, Figure 1 The schematic diagram of the structure of a network distribution device cascade system is shown. The network distribution device cascade system includes:

[0070] A plurality of cascade device groups 100, the cascade device groups comprising a first split device 101 and a plurality of second split devices 102 respectively connected to the first split device in communication; the first split devices in the plurality of cascade device groups are connected in communication. The first split devices have a telecommunication value-added service function, and the second split devices do not have a telecommunication value-added service function.

[0071] Illustratively, the number of the first flow splitting devices in the cascade device group 100 may be one or more.

[0072] Each of the second traffic diversion devices 102 is configured to send the first service traffic message received through its own input port to the first traffic diversion device that belongs to the same cascade device group as the second traffic diversion device.

[0073] In the embodiment of the present application, the service flow message received by the second traffic distribution device through its own input port is referred to as the first service flow message.

[0074] Each of the first diversion devices is used to distribute the obtained second business traffic messages to the first diversion device and the first diversion device communicatively connected to the first diversion device; process the business traffic messages allocated to itself; the second business traffic messages include the third business traffic messages received through its own input port, and / or the first business traffic messages received through the second diversion device belonging to the same cascade device group as itself.

[0075] In the embodiment of the present application, the service traffic message received by the first traffic distribution device through its own input port is referred to as the third service traffic message.

[0076] Exemplarily, the number of the second flow splitting devices in the cascade device group 100 may be two or more.

[0077] Exemplarily, the number of first flow splitting devices in different cascade device groups may be the same; the number of second flow splitting devices in different cascade device groups may be the same or different.

[0078] It is understandable that, in the same cascade device group 100, the first service flow messages received by multiple second diversion devices through their own input ports can be aggregated into the first diversion device. The first diversion devices in different cascade devices can distribute service flow messages to the first diversion devices in other cascade devices, so that the data volume of the service flow messages processed by each first diversion device is not limited by the number of input ports and flow restrictions of the first diversion device. A specific example is given below to illustrate.

[0079] like Figure 2 , which is a schematic diagram of an exemplary structure of a network distribution device cascade system provided in an embodiment of the present application. The network distribution device cascade system includes three cascade device groups, namely, cascade device group 21, cascade device group 22 and cascade device group 23.

[0080] The cascade device group 21 includes a first flow diversion device 2101, a first flow diversion device 2102 and nine second flow diversion devices, and the nine second flow diversion devices are respectively: a first second flow diversion device, a second second flow diversion device, ..., a ninth second flow diversion device.

[0081] The service flow messages received by the first second diversion device to the ninth second diversion device through their own input ports can be respectively aggregated to the first diversion device 2101 and the first diversion device 2102 in the cascade device group 21. For example, assuming that the first second diversion device receives 100 service flow messages through its own input port, the 100 service flow messages can be respectively distributed to the first diversion device 2101 and the first diversion device 2102 according to the preset load balancing strategy, such as sending 50 service flow messages to the two first diversion devices respectively.

[0082] Exemplarily, the preset load balancing strategy may be determined based on the maximum processing bandwidth of the two first traffic distribution devices. Exemplarily, if the maximum processing bandwidth of the two first traffic distribution devices is the same, the preset load balancing strategy may be average distribution.

[0083] The cascade device group 22 includes a first shunt device 2201, a first shunt device 2202, and nine second shunt devices, the nine shunt devices being respectively: the tenth second shunt device, the eleventh second shunt device, ..., the eighteenth second shunt device. The service flow messages received by the ninth to eighteenth second shunt devices through their own input ports can be respectively aggregated to the first shunt device 2201 and the first shunt device 2202 in the cascade device group 22.

[0084] The cascade device group 23 includes a first shunt device 2301, a first shunt device 2302, and eight second shunt devices, and the eight shunt devices are respectively: the 19th second shunt device, the 20th second shunt device, ..., the 26th second shunt device. The service flow messages received by the 19th second shunt device to the 26th second shunt device through their own input ports can be respectively aggregated to the first shunt device 2301 and the first shunt device 2302 in the cascade device group 23.

[0085] in, Figure 2 The three first shunt devices on the left side can be connected to each other in communication; Figure 2 The three first shunt devices on the right side can be connected to each other in communication; illustratively, Figure 2 The three first diversion devices on the left and the three first diversion devices on the right shown in the figure are not communicatively connected; it can be understood that if the first diversion device 2101 in the cascade device group 21 receives service flow messages from the 1st to 9th second diversion devices, it can be distributed to the first diversion device 2101, the first diversion device 2201 and the first diversion device 2301; if the first diversion device 2201 in the cascade device group 22 receives service flow messages from the 10th to the 18th second diversion devices, it can be distributed to the first diversion device 2101, the first diversion device 2201 and the first diversion device 2301; and so on, which will not be repeated here.

[0086] For example, Figure 2 The three first shunt devices on the left and the three first shunt devices on the right shown in the figure can also be communicatively connected.

[0087] It can be understood that since the first diversion device has the telecommunications value-added service function and the second diversion device does not have the telecommunications value-added service function, the first diversion device can perform telecommunications value-added service processing on the service traffic message, and the first diversion device is used to forward the service traffic message, not for performing telecommunications value-added service processing on the service traffic message.

[0088] It can be understood that the value-added telecommunication service functions in all first split devices are the same.

[0089] It is understandable that the data volume of the service traffic message processed by the first diversion device in the embodiment of the present application is not limited to the number of input ports of the first diversion device, because the first diversion devices with communication connection can distribute service traffic messages to each other. Therefore, the situation in the related art where the bandwidth resources of some first diversion devices are in an idle state and the bandwidth resources of some first diversion devices are in a busy state will not occur.

[0090] The hardware architecture of the network traffic distribution device cascade system is described below.

[0091] The first hardware architecture of the network diversion device cascade system.

[0092] In the first network shunt device cascade system, the cascade device group includes a first shunt device. The network shunt device cascade system is located in the same physical device carrier; the physical device carrier includes a first frame and a plurality of second slots; wherein the first frame includes a plurality of first slots, and one of the first slots is installed with a first shunt device; each of the first shunt devices is communicatively connected via a backplane port of the first frame; wherein one of the second slots is installed with a second shunt device, and each of the second shunt devices belonging to the same cascade device group is connected to the first shunt device via a first cascade port.

[0093] The second hardware architecture of the network diversion device cascade system.

[0094] In the second network shunt device cascade system, the cascade device group includes two first shunt devices. The network shunt device cascade system is located in the same physical device carrier; the physical device carrier includes a first frame, a plurality of second slots and a second frame; wherein the first frame includes a plurality of first slots, one of the first slots is installed with a first shunt device; each of the first shunt devices is communicatively connected via the backplane port of the first frame; wherein the second frame includes a plurality of third slots, one of the third slots is installed with a first shunt device; each of the first shunt devices is communicatively connected via the backplane port of the second frame; wherein one of the second slots is installed with a second shunt device; wherein each of the second shunt devices belonging to the same cascade device group is connected to the first shunt device in the first frame via the first cascade port, and is connected to the first shunt device in the second frame via the second cascade port.

[0095] The following is a detailed description of the second network distribution equipment cascade system. The first network distribution equipment cascade system is similar and will not be described here. Figure 3 , which is a hardware architecture diagram of the network traffic distribution device cascade system provided in an embodiment of the present application.

[0096] In the embodiment of the present application, a diversion device defining an AC (Advanced chip, advanced processing unit) role is a first diversion device; a diversion device defining a SW (Switch, switch) role is a second diversion device.

[0097] Exemplarily, the maximum number of diversion devices supported in this application is 32, and a slot is defined for each diversion device, so there are 32 slots in total. Among them, 6 first diversion devices, i.e., diversion devices with a role type of AC, are located in slots 1 to 6; 26 second diversion devices, i.e., diversion devices with a role type of SW, are located in slots 7 to 32. In summary, this application requires pre-setting of a configuration file, and the configuration file includes: the correspondence between the slot number and the diversion device identifier, and the correspondence between the diversion device identifier and the role type. Exemplarily, the role types include, but are not limited to: AC and SW.

[0098] like Figure 3 As shown, the first shunt device in slot 1, the first shunt device in slot 4, and the second shunt devices in slots 7 to 15 constitute a cascade device group; the first shunt device in slot 2, the first shunt device in slot 5, and the second shunt devices in slots 16 to 24 constitute a cascade device group; the first shunt device in slot 3, the first shunt device in slot 6, and the second shunt devices in slots 25 to 32 constitute a cascade device group.

[0099] The second diversion device belonging to the same cascade device group can aggregate the service traffic messages to the first diversion device through the cascade port. For example, the second diversion devices in slots 7 to 15 can aggregate the service traffic messages to the first diversion device in slot 1 and the first diversion device in slot 4 respectively through the cascade port.

[0100] Combination Figure 3 It can be seen that, since one first flow splitting device can be cascaded to multiple second flow splitting devices, the number of second flow splitting devices can be increased by increasing the number of first flow splitting devices.

[0101] In the embodiment of the present application, multiple types of frame-type shunt devices and box-type shunt devices are virtualized and defined, and the roles of the shunt devices are uniformly set so that they can form a cluster for unified configuration and management, thereby improving the overall operation and maintenance efficiency of the shunt devices. By abstractly defining the cascade port, a data plane connection path is provided between the box-type shunt device and the frame-type shunt device, thereby greatly expanding the traffic processing bandwidth of the entire cluster and improving the utilization rate of the processing bandwidth.

[0102] like Figure 4 As shown, it is a schematic diagram of a first flow splitting device and a plurality of second flow splitting devices cascaded in an embodiment of the present application.

[0103] like Figure 4 As shown, the connection line between the first shunt device and the second shunt device represents a data path formed by the cascade port, and the cascade port used between a first shunt device and a second shunt device can be one pair, two pairs or four pairs.

[0104] Exemplarily, the network traffic distribution device cascade system may include: a main control management card, and a configuration file may be set through the main control management card. Figure 3 The configuration file is described by taking the example as shown in Table 1.

[0105] Table 1

[0106]

[0107] Exemplarily, after the network diversion device cascade system is started, the configuration file can be automatically parsed, and the basic path configuration can be completed through the configuration file to complete the initialization of the network diversion device cascade system.

[0108] Exemplarily, a configuration file may be used to determine which ports of the first shunt device and the second shunt device are used as cascade ports.

[0109] Exemplarily, after setting the configuration file, it is necessary to manually connect the first shunt device and the second shunt device in the network shunt device cascade system according to the content of the configuration file, and insert the first shunt device and the second shunt device into the corresponding slots. It can be understood that after the basic path configuration is completed, the network shunt device cascade system is in an operational state.

[0110] Exemplarily, the first diversion device, i.e., AC, is a frame-type diversion device; the data paths between each first diversion device are connected through the first frame backplane. The first frame can support the insertion of up to 3 first diversion devices. Exemplarily, the first frame includes 6 slots, 3 of which can be respectively inserted with the first diversion device, for example, slots 1 to 3 of the first frame are respectively inserted with the first diversion device or slots 4 to 5 are respectively inserted with the first diversion device. The second frame can support the insertion of up to 3 first diversion devices. Exemplarily, the second frame includes 6 slots, 3 of which can be respectively inserted with the first diversion device, for example, slots 1 to 3 of the second frame are respectively inserted with the first diversion device or slots 4 to 5 are respectively inserted with the first diversion device.

[0111] Exemplarily, the present application simultaneously supports a maximum of two frame-type clusters, namely, a network distribution device cascade system, namely, a first frame and a second frame.

[0112] It can be understood that the network diversion device cascade system includes multiple first diversion devices and multiple second diversion devices, and the first diversion device and the second diversion device are connected through a cascade port. The cascade port between the first diversion device and the second diversion device refers to: the panel data port of the first diversion device (i.e., the input port in Table 1) is connected to the optical module, the panel data port of the second diversion device (i.e., the input port in Table 1) is connected to the optical module, and then the two optical modules are connected with an optical fiber jumper. Exemplarily, the optical module can be SFP (Small Form-factor Pluggable, small pluggable module), SFP+ (Small Form-factor Pluggable Plus, enhanced small pluggable module) or QSFP (Quad SmallForm-factor Pluggable, four-channel small pluggable module). The cascade port between a first diversion device and a second diversion device can be one pair, two pairs or four pairs. The number of cascade ports between a first diversion device and a second diversion device depends on the number of ports of the first diversion device and actual business needs.

[0113] It is understandable that after the first diversion device obtains the second service flow message, it is necessary to distribute multiple second service flow messages to the first diversion device and the first diversion device that is communicatively connected to the first diversion device. For example, if the first diversion device 2101 in the cascade device group 21 receives service flow messages from the 1st to 9th second diversion devices, they can be distributed to the first diversion device 2101, the first diversion device 2201 and the first diversion device 2301. It is understandable that after the first diversion device 2201 receives the service flow message distributed by the first diversion device 2101, it can process the service flow message without distributing the service flow message to other first diversion devices; in order to achieve this situation, the service flow message is marked below. The specific process includes the following steps A1 to A2.

[0114] Exemplarily, the present application uses different VLANs (Virtual Local Area Networks) to distinguish the service traffic messages received by different input ports. That is, different inlet port numbers such as inlet VLANs are set for the input ports of each first diversion device or second diversion device to mark the input traffic of the input port. It is understandable that after the first diversion device has processed the service traffic message and obtained the processed service traffic message, it is necessary to set the output port number such as the egress VLAN to mark which output port the processed service traffic message needs to be forwarded to.

[0115] VLAN is a logical network that allows network administrators to divide a physical LAN into multiple virtual LANs. Figure 3 The inlet VLAN and the outlet VLAN of the 32-slot shunt device shown are pre-set, which can be shown in Table 2 for example. Table 2 takes each shunt device including 60 input ports and 60 output ports as an example for explanation. As shown in Table 2, the starting value of the inlet VLAN starts from 11, and each slot occupies 60 VLAN values, where the inlet VLAN of slots 1 to 32 is 11-1930, and the outlet VLAN is 1931-3850. Allocating 60 VLANs to each slot also means that the maximum number of ports that can be used in each slot is 60.

[0116] Table 2

[0117]

[0118] Exemplarily, in the process of initializing the cascade system of network diversion devices, port initialization is performed based on the contents in Table 1 and Table 2, and necessary basic path configuration is generated. This enables the second diversion device to determine through which cascade port the service traffic message it receives is aggregated to the first diversion device for processing, and enables the first diversion device to determine which first diversion devices it can distribute the received service traffic message to, and the first diversion device to determine which second diversion devices it is connected to. The above "correspondence between slot number, port number, ingress VLAN and egress VLAN" can be called stage 1 rules. These stage 1 rules are part of the service software, and the device is issued with one-click command after startup.

[0119] In summary, the role type and data flow direction of each diversion device can be obtained through Table 1 and Table 2.

[0120] Exemplarily, some ingress VLANs of the first shunt device and some egress VLANs of the second shunt device constitute a cascade port; other input ports of the first shunt device except the input ports constituting the cascade port can be used to receive service traffic messages sent by the client. Other output ports of the second shunt device except the output ports constituting the cascade port can be used to output processed service traffic messages to the client.

[0121] Step A1: When the second traffic distribution device receives the first service traffic message through its own input port, the inlet port number of the first service traffic message is set to the port number of the input port.

[0122] In the embodiment of the present application, the service flow message received by the second traffic distribution device through its own input port is referred to as the first service flow message.

[0123] Exemplarily, if the cascade device group includes a first diversion device, a plurality of first service flow messages with inlet port numbers set therein are sent to the first diversion device.

[0124] Exemplarily, if the cascade device group includes two first diversion devices, a plurality of first service flow messages with inlet port numbers set therein are sent to the two first diversion devices respectively according to a preset load balancing strategy.

[0125] Step A2: If the first traffic distribution device receives the third service traffic message through its own input port, the inlet port number of the third service traffic message is set to the port number of the input port.

[0126] In the embodiment of the present application, the service traffic message received by the first traffic distribution device through its own input port is referred to as the third service traffic message.

[0127] Step A3: The service traffic message acquired by the first traffic distribution device has been set with an ingress port number, so there is no need to set an ingress port number for the service traffic message.

[0128] It is understandable that, since the received service traffic messages have been set with the inlet port number, it is possible to determine which input port the service traffic message is received by. After setting the inlet port number, when the first diversion device executes the step of allocating the obtained second service traffic message to the first diversion device and the first diversion device that is communicatively connected to the first diversion device, it specifically includes the following steps B1 to B2.

[0129] Step B1: If the inlet port number of the obtained service traffic message is its own port number or the port number of a second diversion device belonging to the same cascade device group as itself, the first diversion device determines that the service traffic message is the second service traffic message.

[0130] It can be understood that if the first diversion device finds that the inlet port number of the service traffic message it receives is its own port number or the port number of the second diversion device belonging to the same cascade device group as itself, then the first diversion device has the right to allocate the service traffic message, otherwise it needs to process the service traffic message.

[0131] Step B2: The first diversion device distributes the plurality of the second service flow packets to the first diversion device and the first diversion device that is communicatively connected to the first diversion device.

[0132] Exemplarily, the first diversion device can distribute multiple second service traffic packets to each first diversion device based on a preset allocation strategy. Exemplarily, the preset allocation strategy can be determined based on the maximum processing bandwidth corresponding to each first diversion device. If the maximum processing bandwidth corresponding to each first diversion device is the same, the preset allocation strategy is average allocation.

[0133] It is understandable that the "first flow dividing devices" mentioned in step B2 include themselves, Figure 2 For example, if the first diversion device executing step B2 is the first diversion device 2101 , then the “first diversion devices” mentioned in step B2 include the first diversion device 2101 , the first diversion device 2201 and the first diversion device 2301 .

[0134] Combine the following Figure 5 The structures and interaction processes of the first shunt device and the second shunt device are described. The first shunt device includes a field programmable gate array chip and a switching chip, and the second shunt device includes a switching chip. The field programmable gate array chip has a telecommunication value-added service function.

[0135] Through steps B1 to B2 and steps A1 to A3, it can be seen that there are three situations in which the first traffic distribution device obtains the service flow message. Figure 5 Provide explanation.

[0136] Case 1: the switching chip of the first traffic distribution device 41 receives the service traffic message through its own input port such as the input port 411 .

[0137] Case 2: The second distribution device 42 receives the service traffic message through its own input port such as input port 421, and sends it to the switching chip of the first distribution device 41 through the cascade port (including SW cascade port output and AC cascade port output).

[0138] Case 3: The switching chip of the first traffic distribution device 43 sends the service traffic message to the first traffic distribution device 41 through the backplane port.

[0139] like Figure 5 , which is a schematic diagram of the interaction between the first shunt device and the second shunt device provided in an embodiment of the present application.

[0140] Combine the following Figure 5Step B1 and step B2 are explained. Step B1 is specifically: If the inlet port number of the obtained service traffic message is its own port number or the port number of the second diversion device belonging to the same cascade device group as itself, the switching chip in the first diversion device determines that the service traffic message is the second service traffic message. Step B2 is specifically: The switching chip in the first diversion device distributes multiple of the second service traffic messages to the first diversion device and the switching chip of the first diversion device that is communicatively connected to the first diversion device and its own FPGA chip. That is, the switching chip of the first diversion device can send part of the second service traffic message to its own FPGA chip.

[0141] Combine the following Figure 5 The functions of the FPGA chip and the switch chip are explained.

[0142] The switching chip in the first diversion device is also used to perform the following steps: if the inlet port number of the obtained service traffic message is not its own port number and is not the port number of the second diversion device belonging to the same cascade device group as itself, send the service traffic message to the field programmable gate array chip of the first diversion device.

[0143] It can be understood that if the inlet port number of the service traffic message is not its own port number and is not the port number of the second diversion device belonging to the same cascade device group as itself, it means that the service traffic message is assigned to itself for processing by other first diversion devices.

[0144] When the first diversion device executes the step of processing the service traffic message assigned to itself, it includes: the field programmable gate array chip in the first diversion device is used to process the service traffic message through the telecommunications value-added service function to obtain a processed service traffic message.

[0145] Exemplarily, the field programmable gate array chip in the first shunt device is also used to perform the following steps C1 to C2.

[0146] Step C1: Based on the preset forwarding rules, obtain the target output port number in the output port group corresponding to the parameters in the processed business traffic message; the forwarding rules include the correspondence between the parameters of the processed business traffic message and the output port group, and the output port interface group includes one or more output port numbers.

[0147] Exemplarily, the parameters in the processed service traffic message include, but are not limited to: one or more of a source IP (Internet Protocol Address) address, a destination IP address, a source port, a destination port, and a protocol number (Protocol).

[0148] Among them, the source IP address is the IP address of the sender that sends the service traffic message, and the destination IP address refers to the IP address of the receiver that receives the processed traffic message. The source port port refers to the port number of the application that sends the service traffic message (for example, WeChat, QQ, Feishu and other applications); the destination port port refers to the port number of the application that receives the service traffic message; the protocol number (Protocol) refers to the number used to identify different protocols in the network communication protocol stack. In the context of network protocols, the protocol number is used to distinguish protocols at different levels to ensure that data can be correctly parsed and processed.

[0149] It is understandable that if the output port group corresponding to the parameters of the processed business traffic message includes an output port number, the output port number of the processed business message is set as the target output port interface number. If the output port group corresponding to the parameters of the processed business traffic message includes multiple output port numbers, illustratively, a HASH operation can be performed on the parameters of the processed business traffic message, and the output port number corresponding to the HASH value can be determined as the target output port number. If the output port group corresponding to the parameters of the processed business traffic message includes multiple output port numbers, illustratively, multiple output port numbers in the output port group can be used in turn as the target output port number.

[0150] Step C2: setting the output port number of the processed service traffic message as the target output port number; and sending the processed service traffic message set with the target output port number to the switching chip of the first diversion device.

[0151] Assume that the first shunt device executing steps D1 to D4 belongs to the first cascade device group among multiple cascade device groups. After the FPGA chip of the first shunt device sets the output port number for the processed service traffic message, the process of the switching chip in the first shunt device forwarding the processed service traffic message includes the following steps D1 to D4.

[0152] Step D1: searching for the target diversion device identifier corresponding to the target output port number from a preset switching rule, wherein the switching rule includes a corresponding relationship between the diversion device identifier and the output port number.

[0153] It is understandable that there are three situations in which the first shunt device needs to forward processed service traffic packets. Situation 1 is step D2; Situation 2 is step D3; and Situation 3 is step D4. The following is an example in which the first cascade device group includes the first shunt device 41 and the second shunt device 42.

[0154] Step D2: If the target diversion device identifier is the device identifier of the first diversion device in the first cascade device group, the processed service flow message is output through the target output port number.

[0155] Combine the following Figure 5 The first case, namely step D2, is described below: If the target output port number is the port number of the output port 412 and the target traffic diversion device identifier is the first traffic diversion device 41, the processed service flow message can be output through its own output port 412.

[0156] Exemplarily, the switching chip of the first traffic distribution device 41 may broadcast (such as VLAN broadcast) the processed service traffic message to each output port of the same, and after receiving the broadcast, the output port 412 sends the processed service traffic message.

[0157] Step D3: If the target diversion device identifier is the device identifier of the second diversion device of the first cascade device group, send the processed business traffic message to the second diversion device having the target diversion device identifier, so that the second diversion device having the target diversion device identifier outputs the processed business traffic message through the target output port number.

[0158] Combine the following Figure 5 The second case, i.e., step D3, is described below. If the target output port number is output port 422 and the target diversion device identifier is the second diversion device 42, the switch chip of the first diversion device 41 can send the processed service traffic message to the second diversion device 42 through the cascade port, so that the second diversion device 42 outputs the processed service traffic message through the output port 422.

[0159] Exemplarily, the switching chip of the second traffic distribution device 42 may broadcast (eg, VLAN broadcast) the processed service traffic message to each of its own output ports, and after receiving the broadcast, the output port 422 sends the processed service traffic message.

[0160] Step D4: If the target diversion device identifier is the first diversion device in the second cascade device group or the device identifier of the second diversion device, the processed business traffic message is sent to the first diversion device in the second cascade device group; the second cascade device group is any cascade device group among the multiple cascade device groups except the first cascade device group.

[0161] Combine the following Figure 5Situation 3, i.e., step D4, is described below. If the target output port is output port 432 and the target diversion device is identified as first diversion device 43, the switch chip of first diversion device 41 sends the processed service traffic message to first diversion device 43 through the backplane port, and first diversion device 43 sends the processed service traffic message through output port 432.

[0162] Exemplarily, the switching chip of the first traffic diversion device 43 may broadcast (eg, VLAN broadcast) the processed service traffic message to each of its own output ports, and after receiving the broadcast, the output port 432 sends the processed service traffic message.

[0163] If the target output port number is output port 442 and the target diversion device is identified as the second diversion device 44, the first diversion device 41 sends the processed business traffic message to the switching chip of the first diversion device 43 through the backplane port; the switching chip of the first diversion device 43 sends the processed business traffic message to the second diversion device 44 through the cascade port; and the second diversion device 44 sends the processed business traffic message through output port 442.

[0164] Exemplarily, the switching chip of the second traffic distribution device 44 may broadcast (eg, VLAN broadcast) the processed service traffic message to each of its own output ports, and after receiving the broadcast, the output port 442 sends the processed service traffic message.

[0165] It is understandable that before sending the processed service flow message through the output port, the output port number, that is, the output VLAN, needs to be stripped. If the processed service flow message is also provided with an ingress port number, that is, an ingress VLAN, the ingress port number, that is, the ingress VLAN, also needs to be stripped.

[0166] It is understandable that in the actual application scenarios of front-end diversion devices, there are many different forms and types of diversion devices arranged in the computer room. The use and management of multiple diversion devices face two problems:

[0167] Problem 1: Operation and maintenance personnel hope to use the diversion devices as a whole to expand the bandwidth of access traffic. However, the number of ports of a single diversion device is fixed, and it is impossible to increase the bandwidth of a single diversion device by increasing the number of ports.

[0168] The network diversion device cascade system provided by this application can solve the above problem 1. In order to fully and effectively utilize the diversion device, the number of access ports and the access traffic bandwidth can be increased by using the spare ports of the diversion device to maximize the traffic processing capacity. Figures 1 to 5 The description will not be repeated here.

[0169] Question 2: How to uniformly manage the operation and maintenance of various types of diversion equipment in the computer room to improve the efficiency of operation and maintenance management.

[0170] In order to reduce operation and maintenance costs, it is necessary to consider unified management of diversion devices. By defining the role types of various diversion devices and managing the scattered diversion devices in a cluster, unified processing of business traffic messages and unified management of diversion devices can be achieved. The following is an explanation of the specific process of solving problem 2.

[0171] The embodiment of the present application may further include: a main control management card, which is used to obtain the corresponding relationship between the diversion device identifier and the forwarding rule and the corresponding relationship between the diversion device identifier and the switching rule.

[0172] For example, the main control management card can be located at Figure 3 In the physical device carrier shown. The main control management card can be connected to the display device, so that the operation and maintenance personnel can set the "correspondence between the diversion device identifier and the forwarding rule, the correspondence between the diversion device identifier and the switching rule and the configuration file" through the display device.

[0173] Exemplarily, the configured information, i.e., the correspondence between the diversion device identifier and the forwarding rule and the correspondence between the diversion device identifier and the switching rule, can be stored in the database. It is understandable that the forwarding rule needs to be set in the FPGA chip, and the switching rule needs to be set in the switching chip.

[0174] Exemplarily, the diversion device identifier may be a slot number where the diversion device is located or a unique identifier of the diversion device.

[0175] Exemplarily, the main control management card can also be used to parse configuration information, and can send forwarding rules to the FPGA chip of the first shunt device with the corresponding shunt device identifier; and can send switching rules to the second shunt device with the corresponding shunt device identifier or the switching chip of the first shunt device. The details are as follows:

[0176] The service software in the first shunt device is also used to obtain the forwarding rules and switching rules corresponding to the shunt device identifier of the first shunt device from the main control management card; set the forwarding rules corresponding to the first shunt device identifier in the field programmable gate array chip included in the first shunt device; set the switching rules corresponding to the shunt device identifier of the first shunt device in the switching chip included in the first shunt device. The switching chip in the second shunt device is also used to obtain the switching rules corresponding to the shunt device identifier of the second shunt device from the main control management card, and set them in the switching chip included in the second shunt device.

[0177] Exemplarily, the FPGA chip in the first diversion device can actively obtain its own forwarding rules from the configuration file. For example, the field programmable gate array chip in the first diversion device is also used to search for the forwarding rules corresponding to the diversion device identifier of the first diversion device from the correspondence between the diversion device identifier and the forwarding rules, and set them in the field programmable gate array chip.

[0178] Exemplarily, the switching chip in the first diversion device can actively obtain its own switching rules from the configuration file. For example, the switching chip in the first diversion device is also used to search for the switching rules corresponding to the diversion device identifier of the first diversion device from the correspondence between the diversion device identifier and the switching rules, and set them in the switching chip.

[0179] Exemplarily, the switching chip in the second diversion device can actively obtain its own switching rules from the configuration file. For example, the switching chip in the second diversion device is also used to search for the switching rules corresponding to the diversion device identifier of the second diversion device from the correspondence between the diversion device identifier and the switching rules, and set them on the switching chip.

[0180] In summary, the main control management card provided in the embodiment of the present application achieves the purpose of unified configuration and unified management of multiple diversion devices.

[0181] It is understandable that the main control management card is provided with the main control software. The software used to obtain the switching rules or forwarding rules in each diversion device and set in the corresponding chip is the business software. In summary, in the embodiment of the present application, the business software is set in each diversion device. The main control software is set in the main control management card. The management software includes the main control software and the business software.

[0182] The main control software in the main control management card is used to manage the operation and maintenance of the entire network diversion device cascade system. The business software runs on the diversion device to respond to the business logic issued by the main control software and manage the business data path, rules, ports and other data planes.

[0183] In an optional implementation, Figure 3 The physical device carrier shown may include two master control management cards, and the two master control management cards serve as backup for each other. Figure 6 As shown, it is a schematic diagram of a network traffic distribution device cascade system provided with two master management cards provided in an embodiment of the present application.

[0184] Figure 6 The network distribution device cascade system shown in FIG. 1 includes two master management cards, wherein the master management card 51 and the master management card 52 serve as backup for each other. Even if a master management card fails, the normal operation of the network distribution device cascade system will not be affected.

[0185] like Figure 6As shown, in the embodiment of the present application, each first diversion device and each second diversion device are independent of each other. Even if a single first diversion device or a single second diversion device is abnormal, it will not affect the normal operation of other first diversion devices or other second diversion devices, which is beneficial to reducing the impact on network traffic processing.

[0186] For example, after each startup of the network cascade system, the configuration information can be sent; or, the configuration information can be sent every preset time. In this way, if the operation and maintenance personnel need to change the configuration information, they can modify it through the display interface of the display device corresponding to the main control management card without any hardware improvements.

[0187] In the embodiment of the present application, the configuration information delivery refers to the process in which the service software in each diversion device obtains and sets the corresponding conversion rules or switching rules in the chip. The process is described below.

[0188] Exemplarily, the process of sending configuration information includes but is not limited to the following steps E1 to E5.

[0189] Step E1: If the main control software in the main control management card detects an operation to modify existing configuration information, it controls the display of the existing configuration information and receives the changed configuration information; if it detects an operation to add configuration information, it checks whether there is already configuration information; if there is already configuration information, it controls the display of an error message indicating that the configuration information is duplicated; if there is no configuration information, it receives the configuration information.

[0190] Step E2: disassemble the configuration information according to the diversion device identifier and store it in the database.

[0191] Exemplarily, if the shunt device identifier is a slot number, the configuration information can be disassembled based on the slot number. If the shunt device identifier is not a slot number, since the shunt device identifier corresponds to the slot number, as shown in Table 1, the configuration information can be disassembled based on the slot number.

[0192] Step E3: For each slot number, the conversion rule or switching rule corresponding to the slot number is issued to the service software in the diversion device inserted into the slot having the slot number.

[0193] Step E4: If the business software detects that the rule issued in step E3 is a conversion rule, it will issue it to the FPGA chip of the diversion device where it is located; if it detects that the rule issued in step E3 is a switching rule, it will issue it to the switching chip of the diversion device where it is located.

[0194] In an optional implementation, the operation and maintenance personnel may view the status information through the main control software in the main control management card, and this process is described in detail below.

[0195] Exemplarily, the status information includes, but is not limited to: various real-time information when the network traffic distribution device cascade system is running, such as rule hit counts and port counts.

[0196] It can be understood that the parameters of the processed service traffic messages correspond to an output port group, and the rule hit count of the output port group refers to the total number of processed service traffic messages output through each output port of the output port group.

[0197] It can be understood that the output port group corresponding to the parameters of the processed business traffic message includes multiple output port numbers, and the multiple output port numbers may represent different areas of the same city. For example, the city "Baoding" includes multiple areas, such as Baoding Lianchi District, Baoding Jingxiu District, and Baoding Gaokai District.

[0198] The port count of an output port refers to the number of processed service flow packets output by each output port.

[0199] Exemplarily, the main control software in the main control management card can verify the legitimacy of the rule hit count or the port count. Exemplarily, the rule hit count includes multiple output port groups and the slot numbers of the diversion devices to which the multiple output port groups belong. Exemplarily, the port count includes multiple output port numbers and the slot numbers of the diversion devices to which the multiple output port numbers belong. Exemplarily, detecting the legitimacy of the rule hit count refers to detecting whether the rule hit count includes a non-existent output port group. If so, it is non-compliant, and if not, it is compliant; detecting the legitimacy of the port count refers to detecting whether the port count includes a non-existent output port number. If so, it is non-compliant, and if not, it is compliant.

[0200] For example, if the main control software in the main control management card passes the verification, the rule hit count or port count can be sent to the service software of the corresponding slot number. After receiving the rule hit count or port count, the service software obtains the hit count of the output port group or the port count of the output port from the switch chip and the FPGA chip, and the service software returns the hit count of the output port group or the port count of the output port to the main control software. After receiving it, the main control software parses and displays the rule hit count and port count through the command line and WEB interface.

[0201] This application separates the main control software from the business software. The main control software is responsible for responding to the operations of the operation and maintenance personnel and decomposing the logic of the operation and maintenance personnel, and the business software is responsible for responding to the business logic after the main control software is disassembled. The main control software is mainly responsible for configuration verification and storage, configuration disassembly and distribution, configuration display, etc. The business software is mainly responsible for sending the disassembled configuration to the switching chip and FPGA chip, obtaining the port count and rule hit count inside the chip, and configuring the forwarding behavior of the port group.

[0202] The embodiment of the present application provides a network shunt device cascade system. The operation and maintenance personnel set conversion rules and configuration information and other rules. They only need to issue the rules in the main control software. All business software will receive the rules, and then parse the rules and issue their own switching chips or FPGA chips. After the rule configuration is completed and takes effect, all input business flow messages match the rules, and there is no need to configure rules for each slot separately, which is convenient for operation and maintenance management. In addition, when a shunt device in a certain slot fails, it will only affect the business flow message of the slot, and the shunt devices in the remaining slots will not be affected in any way. The operation and maintenance personnel only need to process the business flow message of the problematic slot by configuring the shunt devices at other slots. This processing scheme can not only greatly improve the fault tolerance rate of the network shunt device cascade system, but also reduce the loss of business flow messages in time, which is convenient for subsequent fault location and equipment maintenance. Multiple shunt devices can be managed through this independent and isolated software design. The shunt device can include a variety of processing chips such as FPGA chips and switching chips, which can cope with complex traffic processing scenarios.

[0203] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0204] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0205] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0206] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A network distribution device cascade system, characterized in that: The network distribution device cascade system comprises: A plurality of cascade device groups, the cascade device groups comprising a first shunt device and a plurality of second shunt devices respectively connected in communication with the first shunt device; the first shunt devices in the plurality of cascade device groups are connected in communication with each other; the first shunt devices have a telecommunications value-added service function, and the second shunt devices do not have a telecommunications value-added service function; Each of the second traffic distribution devices is configured to send the first service flow message received through its own input port to the first traffic distribution device belonging to the same cascade device group as the second traffic distribution device; Each of the first diversion devices is used to distribute the obtained second business traffic messages to the first diversion device and the first diversion device communicatively connected to the first diversion device; process the business traffic messages allocated to itself; the second business traffic messages include the third business traffic messages received through its own input port, and / or the first business traffic messages received through the second diversion device belonging to the same cascade device group as itself.

2. The network distribution device cascade system according to claim 1, characterized in that: The cascade device group includes one of the first shunt devices; the network shunt device cascade system is located in the same physical device carrier; the physical device carrier includes a first frame and a plurality of second slots; The first machine frame includes a plurality of first slots, and one of the first slots is equipped with a first shunt device; each of the first shunt devices is communicatively connected via a backplane port of the first machine frame; One of the second slots is installed with one of the second flow splitting devices, and each of the second flow splitting devices belonging to the same cascade device group is connected to the first flow splitting device via the first cascade port.

3. The network distribution device cascade system according to claim 1, characterized in that: The cascade device group includes two of the first shunt devices; the network shunt device cascade system is located in the same physical device carrier; the physical device carrier includes a first frame, a plurality of second slots and a second frame; The first machine frame includes a plurality of first slots, and one of the first slots is equipped with a first shunt device; each of the first shunt devices is communicatively connected via a backplane port of the first machine frame; The second machine frame includes a plurality of third slots, and one of the third slots is equipped with one of the first shunt devices; each of the first shunt devices is communicatively connected via a backplane port of the second machine frame; Wherein, one of the second slots is installed with one of the second flow dividing devices; Each of the second flow diversion devices belonging to the same cascade device group is connected to the first flow diversion device in the first frame through a first cascade port, and is connected to the first flow diversion device in the second frame through a second cascade port.

4. The network distribution device cascade system according to any one of claims 1 to 3, characterized in that: When the second traffic distribution device executes the step of sending the first service flow message received through its own input port to the first traffic distribution device belonging to the same cascade device group as the second traffic distribution device, the method specifically includes: If the first service flow message is received through its own input port, the inlet port number of the first service flow message is set to the port number of the input port; If the cascade device group includes one of the first traffic distribution devices, sending a plurality of the first service flow messages with inlet port numbers set therein to the first traffic distribution device; If the cascade device group includes two of the first diversion devices, a plurality of the first service flow messages with inlet port numbers set therein are sent to the two first diversion devices respectively according to a preset load balancing strategy.

5. The network distribution device cascade system according to claim 4, characterized in that: in, The first traffic distribution device is further configured to set the inlet port number of the third service traffic message to the port number of the input port if the third service traffic message is received through its own input port.

6. The network distribution device cascade system according to claim 5, characterized in that: The first shunt device includes a field programmable gate array chip and a switching chip, the second shunt device includes the switching chip, and the field programmable gate array chip has the telecommunication value-added service function; when the first shunt device executes the step of allocating the obtained second service traffic message to the first shunt device and the first shunt device connected to the first shunt device for communication, the method specifically includes: The switching chip in the first traffic distribution device is used for: If the inlet port number of the obtained service flow message is the port number of the self or the port number of the second traffic distribution device belonging to the same cascade device group as the self, determine that the service flow message is the second service flow message; Distribute a plurality of the second service flow packets to the first diversion device and the first diversion device communicatively connected to the first diversion device.

7. The network distribution device cascade system according to claim 6, characterized in that: The switching chip in the first traffic distribution device is further used for: If the inlet port number of the obtained service traffic message is not its own port number and is not the port number of the second shunt device belonging to the same cascade device group as itself, sending the service traffic message to the field programmable gate array chip of the first shunt device; When the first traffic distribution device executes the step of processing the service flow message allocated to itself, the first traffic distribution device includes: The field programmable gate array chip in the first diversion device is used to process the service traffic message through the telecommunications value-added service function to obtain a processed service traffic message.

8. The network distribution device cascade system according to claim 7, characterized in that: The field programmable gate array chip in the first shunt device is further used for: Based on a preset forwarding rule, obtaining a target output port number in an output port group corresponding to a parameter in the processed service flow message; The forwarding rule includes a correspondence between parameters of the processed service flow message and an output port group, and the output port interface group includes one or more output port numbers; Set the output port number of the processed service flow message as the target output port number; The processed service flow message provided with the target output port number is sent to the switching chip of the first diversion device.

9. The network distribution device cascade system according to claim 8, characterized in that: The cascade device group where the first shunt device is located is a first cascade device group, and the switching chip in the first shunt device is further used for: Searching for a target diversion device identifier corresponding to the target output port number from a preset switching rule, wherein the switching rule includes a corresponding relationship between the diversion device identifier and the output port number; If the target diversion device identifier is the device identifier of the first diversion device in the first cascade device group, outputting the processed service flow message through the target output port number; If the target diversion device identifier is the device identifier of the second diversion device of the first cascade device group, the processed service traffic message is sent to the second diversion device having the target diversion device identifier, so that the second diversion device having the target diversion device identifier outputs the processed service traffic message through the target output port number; If the target diversion device identifier is the device identifier of the first diversion device or the second diversion device in the second cascade device group, sending the processed service flow message to the first diversion device in the second cascade device group; The second cascade device group is any cascade device group among the plurality of cascade device groups except the first cascade device group.

10. The network distribution device cascade system according to claim 9, characterized in that: Also includes: A main control management card, used to obtain the corresponding relationship between the diversion device identifier and the forwarding rule and the corresponding relationship between the diversion device identifier and the switching rule; The service software in the first shunt device is further used to obtain the forwarding rule and the switching rule corresponding to the shunt device identifier of the first shunt device from the main control management card; set the forwarding rule corresponding to the first shunt device identifier in the field programmable gate array chip included in the first shunt device; set the switching rule corresponding to the shunt device identifier of the first shunt device in the switching chip included in the first shunt device; The switching chip in the second diversion device is further used to obtain a switching rule corresponding to the diversion device identifier of the second diversion device from the main control management card, and set the switching rule in the switching chip included in the second diversion device.

Citation Information

Cited By

  • Flow processing system and device based on PPPoE local shunting device cluster

    CN120499093A

  • Traffic processing system and equipment based on PPPoE local traffic offloading device cluster

    CN120499093B