Data processing method, device and computer program product
By using FPGA to dynamically adjust the forwarding node relationship and polling technology in network devices, the problems of fixed functions and poor stability of traditional equipment are solved, and efficient data forwarding and system stability are achieved.
Patent Information
- Application Number
- CN202411386306.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-09-30
AI Technical Summary
Traditional network equipment is difficult to flexibly adjust its interfaces and functions, resulting in the need to replace the equipment when the equipment is abnormal, affecting the system stability and reliability.
By dynamically adjusting the correspondence between multiple forwarding nodes using field programmable gate arrays (FPGAs) in network devices, using polling forwarding nodes to achieve efficient and flexible forwarding of data, and reconfiguring the relationship to bypass the damaged nodes when the forwarding node is damaged. .
It improves the efficient forwarding capability of data in network equipment, reduces the need for equipment replacement caused by the damage to forwarding nodes, and enhances the stability and reliability of the system.
Smart Images

Figure CN119299294A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a data processing method, device and computer program product. Background Art
[0002] As the scale of networks continues to expand and business needs become increasingly complex, the requirements for data processing technology are also getting higher and higher. Data needs to be transmitted and routed through network devices.
[0003] However, traditional network equipment is often relatively fixed in terms of interfaces and functions, and is difficult to flexibly adjust according to business needs. Once some unexpected factors occur in the network equipment, causing certain external interfaces to be damaged or abnormal, the equipment needs to be replaced. Summary of the invention
[0004] The present disclosure is proposed in view of the above problems. The present disclosure provides a data processing method, device and computer program product.
[0005] According to one aspect of the present disclosure, there is provided a data processing method, which is applied to a network device, and the method includes: based on an application scenario, determining a correspondence between multiple forwarding nodes included in a field programmable gate array (FPGA); polling the multiple forwarding nodes; performing a read operation on a readable forwarding node, and based on the correspondence, forwarding the read data to a target forwarding node, wherein the readable forwarding node and the target forwarding node are nodes among the multiple forwarding nodes.
[0006] In addition, according to a data processing method in one aspect of the present disclosure, the multiple forwarding nodes include at least: a cell forwarding node, a built-in forwarding node, an external forwarding node and a cascade forwarding node; wherein the cell forwarding node is used to carry data corresponding to the covered cell, the built-in forwarding node is used to forward the data corresponding to the cell forwarding node to other network devices or terminals, the external forwarding node is used to forward the data corresponding to the cell forwarding node to other network device connections or terminals, and the cascade forwarding node realizes the cascading of the network device with other network devices.
[0007] In addition, according to a data processing method in one aspect of the present disclosure, the correspondence between multiple forwarding nodes included in the field programmable gate array FPGA is determined based on the application scenario, including: when determining that a cell is covered, the cell forwarding node corresponding to the cell is connected to the built-in forwarding node.
[0008] In addition, according to a data processing method in one aspect of the present disclosure, the correspondence between multiple forwarding nodes included in the field programmable gate array FPGA is determined based on the application scenario, including: when determining to cover the first cell and the second cell, the cell forwarding node of the first cell is connected to the built-in forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node.
[0009] In addition, according to a data processing method in one aspect of the present disclosure, the correspondence between multiple forwarding nodes of the network device is determined based on the application scenario, including: when determining the coverage of the first cell and the second cell, the cell forwarding node of the first cell is connected to the cascade forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node; wherein the cascade forwarding node is used to connect to other network devices or terminals.
[0010] In addition, according to a data processing method in one aspect of the present disclosure, the multiple forwarding nodes also include a first forwarding node and a second forwarding node; the first forwarding node is used to communicate with the core network, and the second forwarding node is used to communicate with the central processing unit CPU of the network device.
[0011] In addition, according to a data processing method in one aspect of the present disclosure, polling the multiple forwarding nodes includes: based on a state machine, polling first-in-first-out queues FIFOs corresponding to each of the multiple forwarding nodes.
[0012] In addition, according to a data processing method in one aspect of the present disclosure, the reading operation on the readable forwarding node includes: when the FIFO is in a non-empty state, the forwarding node corresponding to the FIFO is a readable forwarding node, and the reading operation is performed on the readable forwarding node.
[0013] According to another aspect of the present disclosure, a data processing device is provided, comprising: a memory for storing computer-readable instructions; and a processor for executing the computer-readable instructions so that the data processing device performs the data processing method as described above.
[0014] According to yet another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the data processing method as described above is implemented.
[0015] As will be described in detail below, according to the data processing method, device and computer program product of the embodiments of the present disclosure, the present disclosure dynamically adjusts the correspondence between multiple forwarding nodes through application scenarios, and utilizes polling forwarding nodes to achieve efficient and flexible forwarding of data in network devices. When a forwarding node in the network device is damaged or abnormal, since the FPGA contains multiple forwarding nodes, the correspondence between the multiple forwarding nodes can be dynamically adjusted. Therefore, by reconfiguring the correspondence between these nodes, the damaged forwarding node can be bypassed and the data can be forwarded to other available forwarding nodes, which can reduce the need for equipment replacement due to damage to the forwarding node and improve the stability and reliability of the system.
[0016] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0018] Figure 1 It is a flowchart illustrating a processing method according to an embodiment of the present disclosure.
[0019] Figure 2 FIG. 4 is a schematic diagram illustrating the structure of an FPGA according to an embodiment of the present disclosure.
[0020] Figure 3 It is a schematic diagram further illustrating the structure of the FPGA according to an embodiment of the present disclosure.
[0021] Figure 4 is a schematic diagram illustrating a queue forwarding module according to an embodiment of the present disclosure.
[0022] Figure 5 It is a schematic diagram illustrating a process of polling a forwarding node according to an embodiment of the present disclosure.
[0023] Figure 6 is a functional block diagram illustrating a data processing device according to an embodiment of the present disclosure.
[0024] Figure 7 It is a schematic diagram illustrating the structure of a computer program product according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present disclosure more obvious, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0026] Figure 1 It is a flowchart illustrating a data processing method according to an embodiment of the present disclosure.
[0027] like Figure 1 As shown, the data processing method according to the embodiment of the present disclosure is performed by a network device, which refers to a device that performs data processing tasks in a network environment and integrates field programmable gate array (FPGA) technology to support efficient and flexible data forwarding. The network device may be a base station.
[0028] In step S101, based on the application scenario, the corresponding relationship between multiple forwarding nodes included in the field programmable gate array FPGA is determined.
[0029] In the embodiments of the present disclosure, the application scenario includes information such as the network environment in which the network device is located, different signal coverage ranges, business requirements, and performance requirements. Through comprehensive analysis of this information, the specific functions and performance indicators that the network device needs to implement can be clarified. According to the application scenario, the connection relationship between the multiple forwarding nodes included in the FPGA can be established. These connection relationships determine the transmission path and timing of the data inside the FPGA. Exemplarily, according to the complexity of the network environment, the connection relationship of the forwarding node can be adjusted to optimize the data transmission path and reduce congestion and delay; according to the signal coverage requirements, the connection relationship of the forwarding node can be adjusted to increase signal enhancement to ensure that the signal can cover the target area and reduce blind spots; according to business needs, the connection relationship of the forwarding node can be adjusted to ensure business quality; according to network performance indicators, the corresponding relationship of the forwarding node can be dynamically adjusted to adapt to changes in the network environment and changes in business needs.
[0030] Specifically, a forwarding node may refer to a functional module that can implement data forwarding. A forwarding node may also correspond to a functional interface of a network device. Here, an interface generally refers to a physical or logical connection point for exchanging data between different functional modules or devices.
[0031] In step S102, multiple forwarding nodes are polled.
[0032] In an embodiment of the present disclosure, the network device starts polling multiple forwarding nodes in a predetermined order. In each polling, the network device checks the status of the current node, including whether there is readable data.
[0033] In step S103, a read operation is performed on a readable forwarding node, and based on the corresponding relationship, the read data is forwarded to a target forwarding node, where the readable forwarding node and the target forwarding node are nodes among a plurality of forwarding nodes.
[0034] In the embodiments of the present disclosure, a readable forwarding node refers to a forwarding node with readable data. When the network device detects that the current node (i.e., the readable forwarding node) has readable data, the data is read from the forwarding node, and the read data is forwarded to the target node connected to the readable forwarding node according to the connection relationship between the multiple forwarding nodes. Here, the readable forwarding node and the target forwarding node are both nodes in the multiple forwarding nodes inside the FPGA.
[0035] In summary, according to the technical solution provided by the embodiment of the present disclosure, the present disclosure dynamically adjusts the correspondence between multiple forwarding nodes through application scenarios, and utilizes polling forwarding nodes to achieve efficient and flexible forwarding of data in network devices. When a forwarding node in the network device is damaged or abnormal, since the FPGA contains multiple forwarding nodes, the correspondence between the multiple forwarding nodes can be dynamically adjusted. Therefore, by reconfiguring the correspondence between these nodes, the damaged forwarding node can be bypassed and the data can be forwarded to other available forwarding nodes, which can reduce the need for equipment replacement due to damage to the forwarding node and improve the stability and reliability of the system.
[0036] Figure 2 FIG. 4 is a schematic diagram illustrating the structure of an FPGA according to an embodiment of the present disclosure.
[0037] like Figure 2 As shown, according to the FPGA of the embodiment of the present disclosure, FPGA200 includes multiple forwarding nodes, and the multiple forwarding nodes include at least: a cell forwarding node 201, a built-in forwarding node 202, an external forwarding node 203 and a cascade forwarding node 204.
[0038] Among them, the cell forwarding node 201 is used to carry data corresponding to the covered cell, the built-in forwarding node 202 is used to forward the data corresponding to the cell forwarding node to other network devices or terminals, the external forwarding node 203 is used to forward the data corresponding to the cell forwarding node to other network device connections or terminals, and the cascade forwarding node 204 realizes the cascading of network devices with other network devices.
[0039] Specifically, the cell forwarding node 201 is responsible for collecting, storing and preliminarily processing data from the cell covered by the network device. Here, the cell forwarding node 201 is specifically responsible for processing data of a single cell. If the network device covers multiple cells, then the FPGA will include multiple cell forwarding nodes 201.
[0040] Preferably, there are two cell forwarding nodes 201, corresponding to the first cell and the second cell respectively.
[0041] The built-in forwarding node 202 is set inside the network device and is used to forward the data collected by the cell forwarding node 201 to other network devices or terminals outside the network device. For example, the built-in forwarding node 202 can be a functional module corresponding to the RRU interface of the remote radio unit.
[0042] The external forwarding node 203 can forward the data collected by the cell forwarding node 201 to other network devices or terminals outside the network device. The cascade forwarding node 204 can realize the cascade connection between the network device and other external network devices, allowing data to flow between different network layers or different network devices, thereby expanding the data transmission range.
[0043] In summary, according to the technical solution provided by the embodiment of the present disclosure, the FPGA architecture of the present disclosure integrates multiple forwarding nodes to build an efficient and flexible network data processing platform. This design not only improves the efficiency of network data transmission, but also enhances the reliability and scalability of the network, providing strong support for modern communications and Internet of Things applications.
[0044] Furthermore, the plurality of forwarding nodes further include a first forwarding node 205 and a second forwarding node 206 .
[0045] The first forwarding node 205 is used for communication connection with the core network, and the second forwarding node 206 is used for communication connection with the central processing unit CPU of the network device.
[0046] Specifically, the first forwarding node 205 serves as a bridge between the network device and the core network, and is responsible for receiving data packets from the core network and transmitting the processed data packets back to the core network.
[0047] Figure 3 It is a schematic diagram further illustrating the structure of the FPGA according to an embodiment of the present disclosure.
[0048] like Figure 3 As shown, according to the FPGA of an embodiment of the present disclosure, FPGA200 includes multiple forwarding nodes, and the multiple forwarding nodes include at least: a first forwarding node a, a cell forwarding node b, a cell forwarding node c, a second forwarding node d, a built-in forwarding node g, an external forwarding node f and a cascade forwarding node e.
[0049] Furthermore, based on the application scenario, the corresponding relationship between multiple forwarding nodes included in the field programmable gate array FPGA is determined, including:
[0050] When a cell is determined to be covered, the cell forwarding node corresponding to the cell is connected to the built-in forwarding node.
[0051] Specifically, when a cell needs to be covered, that is, in an application scenario of small-scale coverage, the forwarding node corresponding to the cell is connected to the built-in forwarding node.
[0052] For example, see Figure 3 When the network device covers a cell, the cell node b is connected to the built-in forwarding node g as an IQ data link. If it is necessary to implement multi-level cascading of the network device, further, the first forwarding node a is connected to the second forwarding node d, and the second forwarding node d is connected to the cascade forwarding node e.
[0053] Furthermore, based on the application scenario, the corresponding relationship between multiple forwarding nodes included in the field programmable gate array FPGA is determined, including:
[0054] When it is determined that the first cell and the second cell are covered, the cell forwarding node of the first cell is connected to the built-in forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node.
[0055] Specifically, when two cells need to be covered, namely the first cell and the second cell, the coverage needs to be expanded, the cell forwarding node of the first cell is connected to the built-in forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node.
[0056] For example, see Figure 3 When the network device covers the first cell and the second cell, the cell forwarding node b corresponding to the first cell can be connected to the built-in forwarding node g as the IQ data link of the first cell, and the cell forwarding node c corresponding to the second cell can be connected to the external forwarding node f as the IQ data link of cell 2. Furthermore, in order to realize the cascading of network devices, the first forwarding node a is connected to the second forwarding node d, and the second forwarding node d is connected to the cascade forwarding node e.
[0057] Furthermore, based on the application scenario, the corresponding relationship between multiple forwarding nodes of the network device is determined, including:
[0058] When determining to cover the first cell and the second cell, the cell forwarding node of the first cell is connected to the cascade forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node; wherein the cascade forwarding node is used to connect to other network devices or terminals.
[0059] Specifically, when it is necessary to cover two cells, namely the first cell and the second cell, and it is necessary to enhance the coverage quality of a specific area and the scalability of a large-scale network, the cell forwarding node of the first cell is connected to the cascade forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node; wherein the cascade forwarding node is used to connect to other network devices or terminals.
[0060] For example, see Figure 3 When the network device covers the first cell and the second cell, the cell forwarding node b corresponding to the first cell can be connected to the cascade forwarding node e as the IQ data link of the first cell, and the cell forwarding node c corresponding to the second cell can be connected to the external forwarding node f as the IQ data link of cell 2. Furthermore, the first forwarding node a is connected to the second forwarding node d. The first cell and the second cell are connected to the external optical port.
[0061] For other scenarios, you can modify the configuration online according to changes in requirements.
[0062] In summary, according to the technical solution provided by the embodiment of the present disclosure, the present disclosure quickly adjusts the connection mode of the forwarding node according to different application scenarios without hardware replacement or large-scale modification. Furthermore, through the design of cascaded forwarding nodes and external forwarding nodes, the network coverage can be easily expanded to meet the needs of networks of different scales.
[0063] Further, polling the plurality of forwarding nodes includes: based on a state machine, polling first-in-first-out queues FIFOs corresponding to the plurality of forwarding nodes respectively.
[0064] Furthermore, a read operation is performed on a readable forwarding node, including:
[0065] When the FIFO is in a non-empty state, the forwarding node corresponding to the FIFO is a readable forwarding node, and a read operation is performed on the readable forwarding node.
[0066] In one embodiment of the present disclosure, a queue forwarding module can be set up for each of the above-mentioned multiple forwarding nodes. The queue forwarding module uses a blockram+small FIFO method. The blockram is used as the main storage area to store complete data packets; and the FIFO is used as an auxiliary storage area to store descriptors pointing to these data packets (including the length of the data packet and the base address in the blockram). This design ensures efficient access to data and avoids unnecessary memory waste. For example, Figure 4 As shown in the figure, the schematic diagram of the queue forwarding module is to count the data received in each forwarding node. Here, the length of the data can be counted, and the base address can be recorded, and the length and base address can be written into the FIFO as descriptors. Each descriptor is processed in the polling read control module, and the data queue is transmitted to the 10G port.
[0067] Use the state machine to poll each forwarding node. Figure 5As shown in the figure, it is a flowchart of polling the forwarding node. The state machine is in the idle state by default, and then continuously polls the FIFO of the descriptor in the forwarding module of each team. When the FIFO is empty, it jumps back to idle. When it is not empty, it reads the descriptor of the FIFO. After obtaining the description information, it searches the corresponding RAM for the base address and length corresponding to the descriptor, and then reads the data in the forwarding module of the team. That is, data is read from the forwarding node. Continue to poll the forwarding node and repeat the above steps.
[0068] Furthermore, a switch enable can be made at the entrance of each queue forwarding module, so that the direction of the data path can be flexibly controlled by setting the switch enable.
[0069] Furthermore, the classification information and time information of the queue can be added to the descriptor, and the residence time of each queue can be accurately measured. On this basis, the queue can be filtered, modified, and other operations can be performed.
[0070] In summary, according to the technical solution provided by the present disclosure, the technical solution of the present disclosure can achieve the following technical effects.
[0071] 1. When the cascade forwarding node is damaged and the external forwarding node on the FPGA is not in use, the external forwarding node can be used as the cascade forwarding node.
[0072] 2. When the cascade function is not needed, cascade forwarding nodes and external forwarding nodes can be used to realize the function of optical fiber extending two cells (such as the first cell and the second cell).
[0073] 3. It can also be configured into two cells and support multi-level cascade products (i.e. one cell is connected to the built-in forwarding node, and one cell is connected to the external forwarding node. The cascade forwarding nodes realize the cascade function, and then realize multi-level cascade).
[0074] Figure 6 is a functional block diagram illustrating a data processing device according to an embodiment of the present disclosure.
[0075] like Figure 6 As shown, a data processing device according to an embodiment of the present disclosure includes a memory 601 and a processor 602 .
[0076] Specifically, the memory 601 is used to store computer-readable instructions.
[0077] Specifically, the processor 602 is used to run the computer-readable instructions so that the data processing device executes the data processing method as described above.
[0078] Figure 7is a schematic diagram illustrating a computer program product according to an embodiment of the present disclosure. Figure 7 As shown, a computer program product 700 according to an embodiment of the present disclosure has a computer program 701 stored thereon. When the computer program is executed by a processor, the communication method described in any of the above embodiments is implemented. Computer program products include, but are not limited to, system software, application software, and games. System software is the basic software of a computer, which is responsible for managing the hardware and application programs of the computer, including an operating system, device drivers, etc. Application software is software designed to meet specific needs, such as office software, image processing software, etc. Games are software used for entertainment, providing a variety of gaming experiences. In addition, computer program products may also include embedded software, firmware, etc., for controlling and operating various hardware devices.
[0079] As described above, with reference to the accompanying drawings, the data processing method, device, and computer program product according to the embodiments of the present disclosure are described in detail. The present disclosure dynamically adjusts the corresponding relationship of multiple forwarding nodes through application scenarios, and uses polling forwarding nodes to achieve efficient and flexible forwarding of data in network devices. When a forwarding node in the network device is damaged or abnormal, since the FPGA contains multiple forwarding nodes, the corresponding relationship of the multiple forwarding nodes can be dynamically adjusted. Therefore, by reconfiguring the corresponding relationship of these nodes, the damaged forwarding node can be bypassed and the data can be forwarded to other available forwarding nodes, which can reduce the need for equipment replacement caused by forwarding node damage and improve the stability and reliability of the system. Furthermore, the FPGA architecture of the present disclosure constructs an efficient and flexible network data processing platform by integrating multiple forwarding nodes. This design not only improves the efficiency of network data transmission, but also enhances the reliability and scalability of the network, providing strong support for modern communications and Internet of Things applications. Furthermore, the technical solution disclosed in the present invention can also achieve the following technical effects: 1. When the cascade forwarding node is damaged and the external forwarding node on the FPGA is not in use, the external forwarding node can be used as the cascade forwarding node; 2. When the cascade function is not needed, the cascade forwarding node and the external forwarding node can be used to realize the function of optical fiber extending two cells (such as the first cell and the second cell); 3. It can also be configured into two cells and support multi-level cascade products (that is, one cell is connected to the built-in forwarding node, and one cell is connected to the external forwarding node, and the cascade forwarding node realizes the cascade function, thereby realizing multi-level cascade).
[0080] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0081] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0082] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0083] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0084] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0085] Various changes, substitutions, and modifications of the technology herein may be made without departing from the technology of the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the above processes, machines, manufactures, compositions of events, means, methods, and actions. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0086] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0087] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A data processing method, characterized in that: Applied to a network device, the method comprises: Based on the application scenario, determine the corresponding relationship between multiple forwarding nodes included in the field programmable gate array FPGA; polling the plurality of forwarding nodes; A read operation is performed on a readable forwarding node, and based on the corresponding relationship, the read data is forwarded to a target forwarding node, wherein the readable forwarding node and the target forwarding node are nodes among the multiple forwarding nodes.
2. The data processing method according to claim 1, characterized in that: The multiple forwarding nodes include at least: a cell forwarding node, a built-in forwarding node, an external forwarding node and a cascade forwarding node; Among them, the cell forwarding node is used to carry data corresponding to the covered cell, the built-in forwarding node is used to forward the data corresponding to the cell forwarding node to other network devices or terminals, the external forwarding node is used to forward the data corresponding to the cell forwarding node to other network device connections or terminals, and the cascade forwarding node realizes the cascading of the network device with other network devices.
3. The data processing method according to claim 2, characterized in that: The determining, based on the application scenario, the corresponding relationship of multiple forwarding nodes included in the field programmable gate array FPGA includes: When it is determined that a cell is covered, the cell forwarding node corresponding to the cell is connected to the built-in forwarding node.
4. The data processing method according to claim 2, characterized in that: The determining, based on the application scenario, the corresponding relationship of multiple forwarding nodes included in the field programmable gate array FPGA includes: When it is determined that the first cell and the second cell are covered, the cell forwarding node of the first cell is connected to the built-in forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node.
5. The data processing method according to claim 2, characterized in that: The determining, based on the application scenario, the corresponding relationship between the multiple forwarding nodes of the network device includes: When it is determined that the first cell and the second cell are covered, the cell forwarding node of the first cell is connected to the cascade forwarding node, and the cell forwarding node of the second cell is connected to the external forwarding node; The cascade forwarding node is used to connect to other network devices or terminals.
6. The data processing method according to claim 1, characterized in that: The plurality of forwarding nodes further include a first forwarding node and a second forwarding node; The first forwarding node is used for communication connection with the core network, and the second forwarding node is used for communication connection with the central processing unit CPU of the network device.
7. The data processing method according to any one of claims 1 to 6, characterized in that: The polling the multiple forwarding nodes includes: Based on the state machine, first-in first-out queues FIFOs corresponding to each of the plurality of forwarding nodes are polled.
8. The data processing method according to claim 7, characterized in that: The performing a read operation on a readable forwarding node includes: When the FIFO is in a non-empty state, the forwarding node corresponding to the FIFO is a readable forwarding node, and a read operation is performed on the readable forwarding node.
9. A data processing device, characterized in that: include: a memory for storing computer readable instructions; as well as A processor is used to run the computer-readable instructions so that the data processing device performs the data processing method according to any one of claims 1 to 8.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the data processing method according to any one of claims 1 to 8 when being executed by a processor.
Citation Information
Patent Citations
Method for using FPGA to process network data packets in optical network
CN101123586A
Unmanned aerial vehicle ad hoc network communication reliability optimization method based on FPGA
CN114302477A
Data forwarding method and device, switch and medium
CN117395211A
Message forwarding method and device, electronic equipment and storage medium
CN118301055A
High-level definition language for configuring internal forwarding paths of network devices
US20220021609A1