CN112583746A - Cell transmission method and device, storage medium and electronic device - Google Patents

Cell transmission method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112583746A
CN112583746A CN201910945751.3A CN201910945751A CN112583746A CN 112583746 A CN112583746 A CN 112583746A CN 201910945751 A CN201910945751 A CN 201910945751A CN 112583746 A CN112583746 A CN 112583746A
Authority
CN
China
Prior art keywords
cell
module
output
determining
output path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910945751.3A
Other languages
Chinese (zh)
Other versions
CN112583746B (en
Inventor
汪振国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Original Assignee
Sanechips Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanechips Technology Co Ltd filed Critical Sanechips Technology Co Ltd
Priority to CN201910945751.3A priority Critical patent/CN112583746B/en
Publication of CN112583746A publication Critical patent/CN112583746A/en
Application granted granted Critical
Publication of CN112583746B publication Critical patent/CN112583746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention provides a cell transmission method and device, a storage medium and an electronic device, wherein the cell transmission method is applied to a flow management device in a frame, and the flow management device in the frame comprises the following steps: the system comprises a cell input module, a route searching module, a cell exchange module and a cell output module, wherein the method comprises the following steps: receiving cells input by a source switch access chip through a cell input module; determining the output path of the cell through a route searching module; outputting the cell to a local channel corresponding to a destination port of the cell according to the output path, and instructing the cell switching module to send the cell to the cell output module on the local channel; and receiving the cell sent by the cell switching module through the cell output module, and outputting the cell to the target switching access chip. By adopting the technical scheme, the problems that in the related art, the flow exchange of the frame needs to pass through the central frame, not only is the path delayed, but also the system cost is increased and the like are solved.

Description

Cell transmission method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a cell transmission method and apparatus, a storage medium, and an electronic apparatus.
Background
As shown in fig. 1, a traffic switching structure of an existing switching system cluster mode (also referred to as a three-level clos structure) is composed of a service frame 0, a service frame 1, and a central frame 0, and the service frame and the central frame are connected by an optical fiber. The business frames 0 and 1 contain exchange access chips SA and exchange network chips SF, and all the center frames are exchange network chips SF. At this time, the switching network chip in the service frame is configured to be in an SF13 mode, and the switching network chip in the central frame is configured to be in an SF2 mode. Wherein, the SF1 and the SF3 in the SF13 mode are physically located in the same chip and logically belong to two parts. SF1 chip: no. 0-79 links are input ports, and 80-159 links are output ports; SF3 chip: no. 80-159 links are input ports, and No. 0-79 are output ports. In the cluster mode, traffic models are divided into two categories: one is traffic 101 (called the local flow for short) exchanged in the same frame; the other type is traffic 102 exchanged across frames (simply, cross-frame flow).
Under the SF13 mode configured normally, the exchange paths of the frame flow and the cross-frame flow are both the SA of the source SA- > SF1- > SF2- > SF3- > destination. As can be seen from the path, the same traffic block is returned after the current block flows through the central block SF 2. In the presence of the present frame stream, this increases both the path delay and the system cost.
Aiming at the problems that in the related art, the flow exchange of the frame needs to pass through the central frame, not only is the path delay caused, but also the system cost is increased, and the like, an effective technical scheme is not provided.
Disclosure of Invention
Embodiments of the present invention provide a cell transmission method and apparatus, a storage medium, and an electronic apparatus, so as to at least solve the problems in the related art that, since the frame traffic exchange needs to pass through a central frame, not only path delay is caused, but also system cost is increased.
According to an embodiment of the present invention, there is provided a cell transmission method applied to an in-frame traffic management apparatus, the in-frame traffic management apparatus including: the method comprises a cell input module, a route searching module, a cell exchange module and a cell output module, wherein the method comprises the following steps: receiving cells input by a source switch access chip through the cell input module; determining an output path of the cell through the route searching module; outputting the cell to a local channel corresponding to a destination port of the cell through the cell switching module according to the output path, and instructing the cell switching module to send the cell to the cell output module on the local channel; and receiving the cell sent by the cell switching module through the cell output module, and outputting the cell to a target switching access chip.
In an embodiment of the present invention, after receiving, by the cell input module, a cell input by a source switch access chip, the method further includes: in a case where the cell type of the cell includes a control cell, determining cell header information of the cell includes: cell header information of the control cell; and/or in the case that the cell type of the cell comprises a data cell, determining cell header information of the cell comprises: cell header information of the data cell.
In this embodiment of the present invention, determining the output path of the cell by the route lookup module includes: determining an output path corresponding to the control cell through the route searching module according to cell header information of the control cell under the condition that the cell type of the cell comprises the control cell; and/or determining the output path corresponding to the data cell through the route searching module according to the cell header information of the data cell under the condition that the cell type of the cell comprises the data cell.
In this embodiment of the present invention, before the determining, by the route lookup module, the output path of the cell, the method further includes at least one of: determining a routing table corresponding to the cell according to the link topology relation between the source exchange access chip and the target exchange access chip through the routing lookup module; updating a routing table corresponding to the cell in a self-routing mode through the routing searching module; the determining, by the route lookup module, an output path of the cell includes: and determining the output path of the cell according to the routing table through the routing lookup module.
In this embodiment of the present invention, the outputting, by the cell switching module, the cell to the local channel corresponding to the destination port of the cell according to the output path includes: and under the condition that the port number of the link connected with the target switch access chip is in a preset interval, the cell is output to the local channel corresponding to the cell switching module through the cell switching module according to the output path.
In this embodiment of the present invention, outputting the cell to a target switch access chip through the cell output module includes: and outputting the cells in the local channel to the target switch access chip through the cell output module in a polling mode in a service frame.
According to another embodiment of the present invention, there is also provided a cell transmission apparatus, including a cell input module, configured to receive a cell input by a source switch access chip; the route searching module is used for determining the output path of the cell; the cell switching module is used for outputting the cell to a local channel corresponding to a destination port of the cell according to the output path and instructing the cell switching module to send the cell to the cell output module on the local channel; and the cell output module is used for receiving the cell sent by the cell switching module and outputting the cell to a target switching access chip.
In an embodiment of the present invention, the apparatus further includes: a determining module, configured to determine cell header information of the cell if the cell type of the cell includes a control cell, including: cell header information of the control cell; and/or the determining module is further configured to, in a case that the cell type of the cell includes a data cell, determine cell header information of the cell, including: cell header information of the data cell.
According to another embodiment of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program is executed to perform the cell transmission method of any one of the above.
According to another embodiment of the present invention, there is also provided an electronic apparatus, the storage medium including a stored program, wherein the program is executed to perform the cell transmission method of any one of the above.
By the invention, the cell input by the source switch access chip is received by the cell input module; determining an output path of the cell through the route searching module; outputting the cell to a local channel corresponding to a destination port of the cell through the cell switching module according to the output path, and instructing the cell switching module to send the cell to the cell output module on the local channel; by adopting the technical scheme, the problems that in the related technology, because the frame flow exchange needs to pass through the central frame, not only path delay is caused, but also system cost is increased and the like are solved, and the scheme that the frame flow exchange does not need to pass through the central frame, not only the flow exchange path can be shortened, but also the system cost is reduced is provided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a conventional switched three stage close architecture according to the prior art;
FIG. 2 is a block diagram of a hardware configuration of a computer terminal of a cell transmission method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative cell transmission method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative three-stage cross architecture for in-frame switching according to an embodiment of the present invention;
FIG. 5 is an alternative in-frame traffic management apparatus according to an embodiment of the present invention;
FIG. 6 is a block diagram of an alternative cell transmission apparatus according to an embodiment of the present invention;
FIG. 7 is another block diagram of an alternative cell transmission apparatus according to an embodiment of the present invention;
FIG. 8 is another flow chart of an alternative cell transmission method according to an embodiment of the present invention;
figure 9 is a schematic diagram of an alternative cell switched data flow in accordance with an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the invention can be executed in a computer terminal or a similar arithmetic device. Taking the example of running on a computer terminal, fig. 2 is a block diagram of a hardware structure of a computer terminal of a cell transmission method according to an embodiment of the present invention. As shown in fig. 2, the computer terminal 10 may include one or more (only one shown in fig. 2) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 2, or have a different configuration with equivalent functionality to that shown in FIG. 2 or more functionality than that shown in FIG. 2.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the cell transmission method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a cell transmission method operating in the terminal shown in fig. 2 is provided, and fig. 3 is a flowchart of an alternative cell transmission method according to an embodiment of the present invention, and as shown in fig. 3, the method is applied to a flow management device in a frame, the flow management device includes: the cell input module, route searching module, cell exchange module and cell output module, said method includes the following steps:
step S302, receiving the cell input by the source switch access chip through the cell input module;
step S304, determining the output path of the cell through the route searching module;
step S306, the cell is output to the local channel corresponding to the destination port of the cell through the cell exchange module according to the output path, and the cell exchange module is instructed to send the cell to the cell output module on the local channel;
step S308, the cell output module receives the cell sent by the cell switch module and outputs the cell to the target switch access chip.
Through the technical scheme, the cell input module receives the cell input by the source switch access chip; determining an output path of the cell through the route searching module; outputting the cell to a local channel corresponding to a destination port of the cell through the cell switching module according to the output path, and instructing the cell switching module to send the cell to the cell output module on the local channel; by adopting the technical scheme, the problems that in the related technology, because the frame flow exchange needs to pass through the central frame, not only path delay is caused, but also system cost is increased and the like are solved, and the scheme that the frame flow exchange does not need to pass through the central frame, not only the flow exchange path can be shortened, but also the system cost is reduced is provided.
Optionally, in an optional embodiment, the step S301 may further include the following step, after the receiving, by the cell input module, the cell input by the source switch access chip, the method further includes: in a case where the cell type of the cell includes a control cell, determining cell header information of the cell includes: cell header information of the control cell; and/or in the case that the cell type of the cell comprises a data cell, determining cell header information of the cell comprises: cell header information of the data cell.
After determining the cell header information of the cell, in the embodiment of the present invention, the step S304 may be implemented by determining, by the route lookup module, an output path of the cell, including: determining an output path corresponding to the control cell through the route searching module according to cell header information of the control cell under the condition that the cell type of the cell comprises the control cell; and/or determining the output path corresponding to the data cell through the route searching module according to the cell header information of the data cell under the condition that the cell type of the cell comprises the data cell.
In this embodiment of the present invention, before the step S304 has a plurality of implementation manners, and the route searching module determines the output path of the cell, the method further includes at least one of the following steps: determining a routing table corresponding to the cell according to the link topology relation between the source exchange access chip and the target exchange access chip through the routing lookup module; updating a routing table corresponding to the cell in a self-routing mode through the routing searching module; the determining, by the route lookup module, an output path of the cell includes: and determining the output path of the cell according to the routing table through the routing lookup module.
In an optional implementation manner, the step S306 may also be implemented in a manner that the outputting, by the cell switching module, the cell to the local channel corresponding to the destination port of the cell according to the output path includes: and under the condition that the port number of the link connected with the target switch access chip is in a preset interval, the cell is output to the local channel corresponding to the cell switching module through the cell switching module according to the output path.
Further, the step S308 may have a plurality of implementation manners, and in an optional implementation manner, outputting the cell to the target switch access chip through the cell output module includes: and outputting the cells in the local channel to the target switch access chip through the cell output module in a polling mode in a service frame.
According to the technical scheme of the embodiment of the invention, for the frame flow, the frame flow can be in the same frame, and the following forwarding paths can be realized without an additional central frame: source SA- > SF1- > SF3- > target SA. That is, in the case of only the frame flow, not only the path delay of the traffic but also the central frame (including various internal boards) can be reduced, that is, the hardware cost of the switching network can be reduced. If the frame flow and the cross-frame flow exist at the same time, although the hardware cost cannot be reduced, the path delay of the flow can be effectively reduced, and the timeliness and the stability of the system are improved.
Fig. 4 is a schematic diagram of an optional three-stage close structure of an in-frame switch according to an embodiment of the present invention, as shown in fig. 4:
it should be noted that, in order to reduce design cost and delay, and at the same time, meet the requirement of intra-frame switching, an architecture as shown in fig. 4 is constructed, and with the scheme in the embodiment of the present invention, it is possible to implement that the flow of the frame is directly switched in the frame without passing through the central frame, and a flow forwarding path is SA- > SF1- > SF3- > SA. As can be seen by the path, the flow model does not pass through the central box and can be directly passed between SF1 and SF 3.
Accordingly, in order to complete the processing procedure of the above technical solution, an embodiment of the present invention provides a management apparatus for in-frame traffic switching, and fig. 5 is an alternative in-frame traffic management apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes a cell input module 308, a route searching module 309, a cell switching module 310, and a cell output module 311. The role of each module is described by taking the SA path of source SA- - > SF1- - > SF3- -) as an example, as follows:
cell input management module 308 (cim for short): receiving the cell input by the source SA, extracting the cell header information of the control cell and the data cell according to the types, applying for searching the routing table, receiving the returned result of the table search, and scheduling the corresponding cell to output.
Route lookup module 309 (shorthand lut): and configuring a routing table entry according to the link topology relationship among the SF1, the SF3 and the SA, or automatically updating the routing table through a self-routing form. And returning to the output path of the corresponding cell according to the difference of the destination SA. If the destination SA topology connection is a small size link 0-79, then output to the local lane of the cell switch module 310; if the destination SA topology connection is a large size link 80-159, it is output to the far end channel of the cell switch module 310.
Cell switch management module 310 (abbreviation cem): an reachable link number returned from the route lookup module is received. If 0-79, buffer and send to the cell output module 311 from the local channel; if 80-159, then buffer and send from the far end channel to the cell output module 311. The module is divided into a front stage switch cem1 and a back stage switch cem 2. Wherein the link numbers 0 to 79 correspond to the predetermined section.
Cell output management module 311 (abbreviated com): respectively receive and buffer the cells transmitted from the local channel or the remote channel of the cell switch module 310, and respectively output the frame traffic and the remote traffic transferred from the central frame SF2 directly from the frame to the respective destination SAs according to the polling method.
By adopting the technical scheme in the embodiment of the invention, the flow of the frame can be output to the target switching device from the frame in a polling mode without passing through the central frame after the table is looked up according to a certain rule by changing the routing topological structure, so that the technical effects of simplifying a flow model, reducing the path delay of the flow, reducing the cost of the system and improving the stability of the system are achieved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a cell transmission apparatus is further provided, and the cell transmission apparatus is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of an alternative cell transmission apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus includes:
a cell input module 40, for receiving the cell input by the source switch access chip;
a route searching module 42, configured to determine an output path of the cell;
a cell switching module 44, configured to output the cell to a local channel corresponding to a destination port of the cell according to the output path, and instruct the cell switching module to send the cell to the cell output module on the local channel;
a cell output module 46, configured to receive the cell sent by the cell switch module, and output the cell to a target switch access chip.
The cell transfer apparatus and the in-frame traffic management apparatus may be the same apparatus, or the cell transfer apparatus may be embedded in the in-frame traffic management apparatus, or the in-frame traffic management apparatus may be embedded in the cell transfer apparatus. The cell input module 40 corresponds to the cell input module 308, the route search module 42 corresponds to the route search module 309, the cell switch module 44 corresponds to the cell switch module 310, and the cell output module 46 corresponds to the cell output module 311.
Through the technical scheme, the cell input module receives the cell input by the source switch access chip; determining an output path of the cell through the route searching module; outputting the cell to a local channel corresponding to a destination port of the cell through the cell switching module according to the output path, and instructing the cell switching module to send the cell to the cell output module on the local channel; by adopting the technical scheme, the problems that in the related technology, because the frame flow exchange needs to pass through the central frame, not only path delay is caused, but also system cost is increased and the like are solved, and the scheme that the frame flow exchange does not need to pass through the central frame, not only the flow exchange path can be shortened, but also the system cost is reduced is provided.
In this embodiment of the present invention, fig. 7 is another structural block diagram of an optional cell transmission apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus further includes: a determining module 48, configured to, in a case that the cell type of the cell includes a control cell, determine cell header information of the cell, including: cell header information of the control cell; and/or the determining module is further configured to, in a case that the cell type of the cell includes a data cell, determine cell header information of the cell, including: cell header information of the data cell.
In this embodiment of the present invention, the route searching module 42 is further configured to, when the cell type of the cell includes the control cell, determine an output path corresponding to the control cell according to cell header information of the control cell; and/or determining an output path corresponding to the data cell according to the cell header information of the data cell under the condition that the cell type of the cell comprises the data cell.
In this embodiment of the present invention, the route searching module 42 is further configured to determine a routing table corresponding to the cell according to a link topology relationship between the source switch access chip and the target switch access chip; and/or updating the routing table corresponding to the cell through a self-routing form; and determining the output path of the cell according to the routing table.
In this embodiment of the present invention, the cell switching module 44 outputs the cell to the local channel corresponding to the cell switching module according to the output path when the port number of the link to which the target switch access chip is connected is in a predetermined interval.
In this embodiment of the present invention, the cell output module 46 outputs the cell in the local channel to the target switch access chip through the cell output module in a service frame according to a polling manner.
The cell transmission flow is further described with reference to an example. Fig. 8 is another flow chart of an alternative cell transmission method according to an embodiment of the present invention, as shown in fig. 8:
it should be noted that, mainly processing a switch network chip, two paths of a control cell and a data cell exist in parallel, where a source SA > SF1 > SF3 > destination SA path is taken as an example, where the specific steps are described as follows:
step 1, the cim module of SF1 receives the cell input from the source SA, extracts the information of the cell headers of the control cell and the data cell according to the type, selects the cell with the earliest time from the multiple links, and sends the destination SA _ id to the route searching module lut (including the control cell route searching module and the data cell route searching module) respectively to search the output path. Finally, the route return result is received, and the corresponding cell is scheduled to be output to the data switching module cem.
Step 2, in the route searching module of SF1, the topology connection relation between the destination sa _ id carried by the cell and the SF is judged, and the output path is searched in the route table entry. The resulting output path is returned to the cim module of SF1, which then outputs the cells to the cem module of the SF3 chip. The data cells are similar and will not be described herein.
Step 3, the cell enters the cell switch module of SF3, which is divided into two lanes, a local lane for in-frame traffic (i.e., egress between 0-79) transport, and a far-end lane for cross-frame traffic (i.e., egress between 80-159). For the flow exchanged in the frame proposed by the design, the local channel is passed by the module, and the flow is scheduled and output after being cached.
Figure 9 is a schematic diagram of an alternative cell switched data flow according to an embodiment of the invention, as shown in figure 9, receiving multiple cim module input cells, buffering at cem1, then selecting the oldest cell from the plurality of cim module input cells, and outputting at cem 2. There are two cases at this time: in the first case, if it is frame traffic, i.e., the cell egress is between 0-79, then it goes to local cem2, shown as path 1. In the second case, if it is cross-frame traffic, i.e., the cell egress is between 80-159, it goes to the far end cem2, as shown by path 2.
Step 4, the cell enters the cell output management module com of SF3 subsequently, if only the flow of this frame, direct output; if there is cross-frame traffic passing through the central frame SF2 at the same time, a poll is output from SF3 to the destination SA connected to this frame.
In conclusion, by changing the routing topology structure, the flow of the frame is output to the destination switching device from the frame in a polling manner without passing through the center frame after the table lookup according to a certain rule, thereby reducing the path delay of the flow, reducing the cost of the system and improving the stability of the system.
Embodiments of the present invention also provide a computer-readable storage medium including a stored program, wherein the program performs any one of the methods described above when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, receiving the cell input by the source switch access chip through the cell input module;
s2, determining the output path of the cell through the route searching module;
s3, the cell exchange module outputs the cell to the local channel corresponding to the destination port of the cell according to the output path, and instructs the cell exchange module to send the cell to the cell output module on the local channel;
s4, the cell output module receives the cell sent by the cell switch module and outputs the cell to the target switch access chip.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving the cell input by the source switch access chip through the cell input module;
s2, determining the output path of the cell through the route searching module;
s3, the cell exchange module outputs the cell to the local channel corresponding to the destination port of the cell according to the output path, and instructs the cell exchange module to send the cell to the cell output module on the local channel;
s4, the cell output module receives the cell sent by the cell switch module and outputs the cell to the target switch access chip.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A cell transmission method applied to an in-frame traffic management apparatus, the in-frame traffic management apparatus comprising: the method comprises a cell input module, a route searching module, a cell exchange module and a cell output module, wherein the method comprises the following steps:
receiving cells input by a source switch access chip through the cell input module;
determining an output path of the cell through the route searching module;
outputting the cell to a local channel corresponding to a destination port of the cell through the cell switching module according to the output path, and instructing the cell switching module to send the cell to the cell output module on the local channel;
and receiving the cell sent by the cell switching module through the cell output module, and outputting the cell to a target switching access chip.
2. The method of claim 1, wherein after the receiving, by the cell entry module, the cell entered by a source switch access chip, the method further comprises:
in a case where the cell type of the cell includes a control cell, determining cell header information of the cell includes: cell header information of the control cell;
and/or
In a case where the cell type of the cell includes a data cell, determining cell header information of the cell includes: cell header information of the data cell.
3. The method of claim 2, wherein determining an output path of the cell by the route lookup module comprises:
determining an output path corresponding to the control cell through the route searching module according to cell header information of the control cell under the condition that the cell type of the cell comprises the control cell;
and/or
And under the condition that the cell type of the cell comprises the data cell, determining an output path corresponding to the data cell through the route searching module according to the cell header information of the data cell.
4. The method of claim 1, wherein prior to determining the output path of the cell by the route lookup module, the method further comprises at least one of:
determining a routing table corresponding to the cell according to the link topology relation between the source exchange access chip and the target exchange access chip through the routing lookup module;
updating a routing table corresponding to the cell in a self-routing mode through the routing searching module;
the determining, by the route lookup module, an output path of the cell includes:
and determining the output path of the cell according to the routing table through the routing lookup module.
5. The method of claim 1, wherein outputting, by the cell switch module, the cell to the local channel corresponding to the destination port of the cell according to the output path comprises:
and under the condition that the port number of the link connected with the target switch access chip is in a preset interval, the cell is output to the local channel corresponding to the cell switching module through the cell switching module according to the output path.
6. The method of claim 5, wherein outputting the cell to a target switch access chip via the cell output module comprises:
and outputting the cells in the local channel to the target switch access chip through the cell output module in a polling mode in a service frame.
7. An apparatus for transmitting a cell, the apparatus comprising:
the cell input module is used for receiving cells input by the source switch access chip;
the route searching module is used for determining the output path of the cell;
the cell switching module is used for outputting the cell to a local channel corresponding to a destination port of the cell according to the output path and instructing the cell switching module to send the cell to the cell output module on the local channel;
and the cell output module is used for receiving the cell sent by the cell switching module and outputting the cell to a target switching access chip.
8. The apparatus of claim 7, further comprising:
a determining module, configured to determine cell header information of the cell if the cell type of the cell includes a control cell, including: cell header information of the control cell;
and/or
The determining module is further configured to, if the cell type of the cell includes a data cell, determine cell header information of the cell, including: cell header information of the data cell.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN201910945751.3A 2019-09-30 2019-09-30 Cell transmission method and device, storage medium and electronic device Active CN112583746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910945751.3A CN112583746B (en) 2019-09-30 2019-09-30 Cell transmission method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910945751.3A CN112583746B (en) 2019-09-30 2019-09-30 Cell transmission method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112583746A true CN112583746A (en) 2021-03-30
CN112583746B CN112583746B (en) 2024-03-22

Family

ID=75117106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910945751.3A Active CN112583746B (en) 2019-09-30 2019-09-30 Cell transmission method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112583746B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021253997A1 (en) * 2020-06-16 2021-12-23 中兴通讯股份有限公司 Path determination method, apparatus and device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213148A1 (en) * 2003-04-25 2004-10-28 Alcatel Ip Networks, Inc. Network data re-routing
CN101808037A (en) * 2010-03-15 2010-08-18 中兴通讯股份有限公司 Method and device for traffic management in switch network
CN102111327A (en) * 2009-12-29 2011-06-29 中兴通讯股份有限公司 Method and system for cell dispatching
CN102238072A (en) * 2010-05-06 2011-11-09 中兴通讯股份有限公司 Method for dynamically selecting routing and CLOS (Charles Clos) switching network system
CN102281192A (en) * 2011-07-19 2011-12-14 中兴通讯股份有限公司 Cell processing method and device for switching network chip
WO2015024477A1 (en) * 2013-08-19 2015-02-26 中兴通讯股份有限公司 Routing update method and device
WO2017157116A1 (en) * 2016-03-14 2017-09-21 深圳市中兴微电子技术有限公司 Traffic congestion control method and device, and storage medium
CN109120539A (en) * 2017-06-22 2019-01-01 深圳市中兴微电子技术有限公司 Method and device for realizing data transmission processing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213148A1 (en) * 2003-04-25 2004-10-28 Alcatel Ip Networks, Inc. Network data re-routing
CN102111327A (en) * 2009-12-29 2011-06-29 中兴通讯股份有限公司 Method and system for cell dispatching
CN101808037A (en) * 2010-03-15 2010-08-18 中兴通讯股份有限公司 Method and device for traffic management in switch network
CN102238072A (en) * 2010-05-06 2011-11-09 中兴通讯股份有限公司 Method for dynamically selecting routing and CLOS (Charles Clos) switching network system
CN102281192A (en) * 2011-07-19 2011-12-14 中兴通讯股份有限公司 Cell processing method and device for switching network chip
US20140177438A1 (en) * 2011-07-19 2014-06-26 Zte Corporation Cell processing method and device for switch fabric chip
WO2015024477A1 (en) * 2013-08-19 2015-02-26 中兴通讯股份有限公司 Routing update method and device
WO2017157116A1 (en) * 2016-03-14 2017-09-21 深圳市中兴微电子技术有限公司 Traffic congestion control method and device, and storage medium
CN109120539A (en) * 2017-06-22 2019-01-01 深圳市中兴微电子技术有限公司 Method and device for realizing data transmission processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021253997A1 (en) * 2020-06-16 2021-12-23 中兴通讯股份有限公司 Path determination method, apparatus and device, and storage medium

Also Published As

Publication number Publication date
CN112583746B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN106790104B (en) IP communication and FC-AE-1553 communication means between multi-protocols emerging system, node
CN102055667B (en) Methods and apparatus for configuring virtual network switch
CN100466629C (en) Network equipment and message transferring method based on multiple-core processor
US7620040B2 (en) Application non disruptive task migration in a network edge switch
CN108173982B (en) NAT (network Address translation) processing method and device for cross-board message
US9264327B2 (en) Communication network management system, method and program, and management computer
CN108306777B (en) SDN controller-based virtual gateway active/standby switching method and device
US20200059412A1 (en) SDN Network System, Controller, and Controlling Method
CN102714628A (en) Communication system, control apparatus, processing rule setting method, packet transmitting method and program
CN101888333A (en) Be used in the Forwarding plane of network element, keeping the method and apparatus of Port State Table
EP1501247B1 (en) Software configurable cluster-based router using stock personal computers as cluster nodes
CN104303467A (en) Integrated heterogeneous software-defined network
CN103069756A (en) Communication system, controller, node controlling method and program
US8428059B2 (en) Network apparatus, edge router, and packet communication system
WO2022007503A1 (en) Service traffic processing method and apparatus
CN105450521A (en) Software-defined real-time dynamic optimization method of multipath network flow
CN111355674A (en) Routing message processing method and device, storage medium and electronic device
US8050262B2 (en) System and method for parsing frames
CN112583746B (en) Cell transmission method and device, storage medium and electronic device
CN111740922A (en) Data transmission method, device, electronic equipment and medium
CN108337181B (en) Method and device for managing congestion of switching network
JP2015536621A (en) Passive connectivity optical module
CN114760254B (en) Virtual network system and method for realizing data packet forwarding processing by virtual network system
JPH06303234A (en) Method for establishing routes for connecting respectively communication network and transmission source device with respective objective nodes
CN113965470B (en) Aviation information network experiment simulation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant