CN101197782B - Control method and system for network appliance based on multi-core processor - Google Patents
Control method and system for network appliance based on multi-core processor Download PDFInfo
- Publication number
- CN101197782B CN101197782B CN200710305630XA CN200710305630A CN101197782B CN 101197782 B CN101197782 B CN 101197782B CN 200710305630X A CN200710305630X A CN 200710305630XA CN 200710305630 A CN200710305630 A CN 200710305630A CN 101197782 B CN101197782 B CN 101197782B
- Authority
- CN
- China
- Prior art keywords
- module
- polycaryon processor
- network equipment
- point
- control
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a control method for network equipment based on a multi-core processor, wherein the multi-core processor has N cores and comprises a route module with L cores and a management module with M cores; moreover, N is equal to the sum of L and M; L, M and N are natural numbers and N is more than or equal to 2. The method includes the following steps: step1: a switching device is set to provide a channel for the multi-core processor to control a traffic module; step 2: the management module, which controls the traffic module through the switching device, also controls the route module and maintains the local routing list of the traffic module through the switching device. Through adopting a switching matrix chip of point-to-point transmission, the invention increases the data throughput and speed of a control part and a traffic part; therefore, the invention improves the response speed and processing capacity of the control part of network equipment, and meets the improving requirements of the capacity and bandwidth of network equipment in the Internet era.
Description
Technical field
The present invention relates to network equipment field, relate in particular to a kind of control method and system of the network equipment based on polycaryon processor.
Background technology
Along with the development of data communication technology, the particularly appearance of the data communication technology of high bandwidth and high speed degree.Requirement to flush bonding processor also becomes more and more higher, to handle tasks such as a large amount of man-machine interactions, peripheral hardware control on the one hand, also will the information data of distinct interface be handled on the other hand, meanwhile, it is lower that embedded system also will be tackled power consumption, the challenge that volume is littler.
This front processor is devoted to the development of single core processor always, and its performance has performed to ultimate attainment.But use the demand of the cpu resource development speed considerably beyond CPU, monokaryon also more and more is difficult to meet the demands, and its limitation is also day by day obvious.For new application, speed no longer has been unique factor, promotes performance and is only better choice.And if introduce multi-core technology, just can be issued to the purpose that significantly improves performance in the condition of lower frequency, less buffer memory.Can make full use of a plurality of execution kernels, and can in the specific time, carry out more multitask by division task, thread application.
The patent that relates to the polycaryon processor of the network equipment does not at present all write how to control (2 to 7 layers the processing in the business module realization network of outside some related service modules exactly, comprise: 2 layers of exchange, the IPV4/IPV6 route, MPLS and based on QOS of various strategies etc., business module carries out reception, transmission, forwarding, the modification of data, and reports various information to polycaryon processor).As patent " data handling system and method " (patent No. 03143123), it is a kind of data handling system, and this data handling system includes: at least one monolithic polycaryon processor, each monolithic polycaryon processor have two at least and handle nuclear; Some processing plane is used for institute's data to be processed are divided some classifications; Wherein, permutation and combination is handled the plane as required, distributes to and handles plane or the corresponding nuclear of handling of plane combination, handles the data processing of plane/plane combination to realize each.And for example patent application " a kind of network equipment and based on the message forwarding method of polycaryon processor " (application number is 200610154200) discloses a kind of network equipment and based on the message forwarding method of polycaryon processor.Comprise in this network equipment: taxon and the forward processing unit that comprises a plurality of nuclears (Core) unit.When taxon receives message at any one port of the network equipment, from forward processing unit, select vouching unit, the message that receives is sent to selected vouching unit; Any one vouching unit in the forward processing unit carries out message and transmits processing when receiving message.
Summary of the invention
In order to solve above-mentioned technical problem, a kind of control method and system of the network equipment based on polycaryon processor is provided, its purpose is, the switching matrix chip by point-to-point transmission is to the business module achieve effective control of the network equipment.
The invention provides a kind of control method of the network equipment based on polycaryon processor, described polycaryon processor has N nuclear, and this polycaryon processor comprises the routing module with L nuclear and has M the administration module of examining, L+M=N, L, M, N are natural number, and N 〉=2 comprise:
Step 1 is provided with switch, is used to polycaryon processor control business module that passage is provided;
Step 2, administration module is controlled business module by switch, and administration module is also controlled the local routing table of routing module by switch maintenance service module.
Described switch is the switching matrix chip of point-to-point transmission.
The interface of the switching matrix chip of point-to-point transmission is network interface or PCI EXPRESS interface.
The switching matrix chip of point-to-point transmission is a single-chip, perhaps is the cascade of some single-chips.
Large-scale dynamic routing protocol such as routing module running boundary gateway protocol and/or OSPF.
The invention provides a kind of control system of the network equipment based on polycaryon processor, comprise polycaryon processor, business module, described polycaryon processor has N nuclear, this polycaryon processor comprises the routing module with L nuclear and has the administration module of M nuclear, L+M=N, L, M, N are natural number, N 〉=2, also comprise switch, be used to polycaryon processor control business module that passage is provided;
Administration module is used for also controlling the local routing table of routing module by switch maintenance service module by switch control business module.
The described network equipment comprises router and/or switch, but is not limited to router or switch.
The present invention adopts the switching matrix chip of point-to-point transmission to make the data throughout of control section and service part strengthen, speed up, the response speed and the disposal ability of the control section of the network equipment have been improved, the capacity that has improved constantly for the network equipment Internet era of having satisfied and the demand of bandwidth.
Description of drawings
Fig. 1 is a network device hardware structure chart provided by the invention;
Fig. 2 is the schematic diagram of the present invention's used polycaryon processor in the network equipment;
Fig. 3 is the present invention's used polycaryon processor high-level schematic functional block diagram in the network equipment;
Fig. 4 is a specific embodiment flow chart of the present invention.
Embodiment
A kind of network equipment provided by the invention comprises with lower module based on the control system of polycaryon processor: the switching matrix chip of polycaryon processor, point-to-point transmission, some business modules, as shown in Figure 1.
Polycaryon processor is integrated a plurality of microcontroller cores on a chip, each microcontroller core has a plurality of threads again, and from fact, each microcontroller core all is a multithreaded microprocessor, and contact is very tight between these a plurality of cores, even shared L1, L2 and L3 etc.Link together by high-speed bus between its core.The structure of polycaryon processor as shown in Figure 2, it is the major control chip of the network equipment, initiatively the network equipment is controlled, and safeguards configuration, management etc.Polycaryon processor comprises plural microcontroller core.
The switching matrix chip of point-to-point transmission is the passage of polycaryon processor control business module, and control command and control data are all sent by polycaryon processor, get in touch by this passage and business module.The interface of the switching matrix chip of point-to-point transmission can be but be not limited to network interface or PCI EXPRESS (for the peripheral element extension interface express) interface.The switching matrix chip of point-to-point transmission can be a single-chip, also can be the cascade of some single-chips.
Business module is the Business Processing part of the network equipment, carries out Business Processing according to the order of polycaryon processor, accepts the control of polycaryon processor, carries out reception, transmission, forwarding, the modification of data, and reports various information to polycaryon processor.
As shown in Figure 1, in the network equipment, the memory that is connected with polycaryon processor has two kinds, is respectively nonvolatile storage, and the program when being mounted with system start-up comprises the configuration file of polycaryon processor; Volatile memory, program and data when being mounted with system's operation.
The control method of the network equipment based on polycaryon processor provided by the invention comprises:
The first step: polycaryon processor is divided into two functional blocks, is respectively routing module, administration module.
Second step:, distribute to the microcontroller core of their corresponding quantity according to the performance requirement of routing module and administration module.
The 3rd step: the program start operation,
The 4th step: when administration module when forming more than two microcontroller core, the work of kernel walks abreast, and be arranged into concurrent execution in the different nuclear to task.Administration module is the master control node of the network equipment, and it is in charge of and safeguards the whole network equipment, guarantees that all business module operate as normal are to finish the route and the forwarding of IP grouping.Administration module is controlled the work of each business module respectively by the switching matrix chip in the control channel, will finish the functions such as control, maintenance, configuration and management of system simultaneously.The work of routing module is also monitored, controls to administration module by the polycaryon processor internal bus.
The 5th step: routing module running boundary gateway protocol (BGP-4) and/or OSPF large-scale dynamic routing protocol such as (OSPFv2), safeguard overall routing table, and guarantee the consistent of the local routing table of each business module and overall routing table.When routing module when forming more than two microcontroller core, the work of kernel walks abreast, and be arranged into concurrent execution in the different nuclear to task.
The present invention adopts polycaryon processor, utilize a kind of control method of each business module work of the switching matrix chip technology control network devices (network equipment comprises router or switch device, but is not limited only to router or switch device) of point-to-point transmission.
As shown in Figure 3, can be divided into two parts for polycaryon processor by function: have the administration module of M nuclear and have L the routing module of examining with N nuclear.Administration module and routing module are by polycaryon processor internal bus exchange message.The processor core number that polycaryon processor has is N (N=L+M).
Routing module: running boundary gateway protocol (BGP-4) and/or OSPF large-scale dynamic routing protocol such as (OSPFv2).
Administration module: be the major control part of the network equipment, realize the Network Management function, comprise whole control, safeguard, configuration, functions such as management are convenient to the upgrading and the improvement of version simultaneously.
As shown in Figure 4, the job step of a specific embodiment is as follows:
The present invention has introduced polycaryon processor, has improved the disposal ability of data equipment control module greatly, has improved the response speed of whole system.Under the identical situation of polycaryon processor external hardware encapsulation, can be according to the performance requirement of system, the polycaryon processor of 2 to N nuclears of flexible configuration, compatible very good.Kernel can reduce the cost after a little while, and kernel can improve performance for a long time.The present invention adopts the switching matrix chip of point-to-point transmission, and the annexation of point-to-point transmission at a high speed is provided between a plurality of IO mouths.The polycaryon processor that is connected to one of them port allows the network communication of other port equity, and fan-out is perhaps all assembled communication with polycaryon processor at a particular port.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but determine by the scope of claims.
Claims (8)
1. control method based on the network equipment of polycaryon processor, described polycaryon processor has N nuclear, and this polycaryon processor comprises the routing module with L nuclear and has M the administration module of examining, L+M=N, L, M, N are natural number, N 〉=2, it is characterized in that, comprising:
Step 1 is provided with switch, and described switch is the switching matrix chip of point-to-point transmission, is used to polycaryon processor control business module that passage is provided;
Step 2, administration module is controlled business module by switch, and also by the work of monitoring of polycaryon processor internal bus and control routing module, routing module is by the local routing table of switch maintenance service module for administration module.
2. the control method of the network equipment as claimed in claim 1 is characterized in that, the interface of the switching matrix chip of point-to-point transmission is network interface or PCI EXPRESS interface.
3. the control method of the network equipment as claimed in claim 1 is characterized in that, the switching matrix chip of point-to-point transmission is a single-chip, perhaps is the cascade of some single-chips.
4. the control method of the network equipment as claimed in claim 1 is characterized in that, routing module running boundary gateway protocol and/or OSPF.
5. control system based on the network equipment of polycaryon processor, comprise polycaryon processor, business module, described polycaryon processor has N nuclear, and this polycaryon processor comprises the routing module with L nuclear and has the administration module of M nuclear, L+M=N, L, M, N are natural number, N 〉=2 is characterized in that, also comprise switch, described switch is the switching matrix chip of point-to-point transmission, is used to polycaryon processor control business module that passage is provided;
Administration module is used for by switch control business module, and the work of monitoring and control routing module by the polycaryon processor internal bus;
Routing module is used for the local routing table by switch maintenance service module.
6. the control system of the network equipment as claimed in claim 5 is characterized in that, the interface of the switching matrix chip of point-to-point transmission is network interface or PCI EXPRESS interface.
7. the control system of the network equipment as claimed in claim 5 is characterized in that, the switching matrix chip of point-to-point transmission is a single-chip, perhaps is the cascade of a plurality of single-chips.
8. as the control system of claim 5, the 6 or 7 described network equipments, it is characterized in that the described network equipment comprises router and/or switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710305630XA CN101197782B (en) | 2007-12-26 | 2007-12-26 | Control method and system for network appliance based on multi-core processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710305630XA CN101197782B (en) | 2007-12-26 | 2007-12-26 | Control method and system for network appliance based on multi-core processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101197782A CN101197782A (en) | 2008-06-11 |
CN101197782B true CN101197782B (en) | 2010-06-09 |
Family
ID=39547936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710305630XA Expired - Fee Related CN101197782B (en) | 2007-12-26 | 2007-12-26 | Control method and system for network appliance based on multi-core processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101197782B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812276B (en) * | 2016-04-27 | 2023-11-10 | 深圳市风云实业有限公司 | Message forwarding adaptive system and method adopting multi-core processor |
FR3057127B1 (en) * | 2016-10-05 | 2019-04-19 | Airbus Operations | PROCESSOR ADAPTED FOR ETHERNET NETWORK DETERMINISTIC SWITCH |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567187A (en) * | 2003-06-11 | 2005-01-19 | 华为技术有限公司 | Data processing system and method |
CN1773959A (en) * | 2005-10-25 | 2006-05-17 | 杭州华为三康技术有限公司 | Central router based on serial Rapid 10 bus |
CN1921457A (en) * | 2006-09-18 | 2007-02-28 | 杭州华为三康技术有限公司 | Network equipment and message transferring method based on multiple-core processor |
CN1945543A (en) * | 2006-11-13 | 2007-04-11 | 杭州华为三康技术有限公司 | Service flow processing method of multiple nuclear processor and multiple nuclear processor |
-
2007
- 2007-12-26 CN CN200710305630XA patent/CN101197782B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567187A (en) * | 2003-06-11 | 2005-01-19 | 华为技术有限公司 | Data processing system and method |
CN1773959A (en) * | 2005-10-25 | 2006-05-17 | 杭州华为三康技术有限公司 | Central router based on serial Rapid 10 bus |
CN1921457A (en) * | 2006-09-18 | 2007-02-28 | 杭州华为三康技术有限公司 | Network equipment and message transferring method based on multiple-core processor |
CN1945543A (en) * | 2006-11-13 | 2007-04-11 | 杭州华为三康技术有限公司 | Service flow processing method of multiple nuclear processor and multiple nuclear processor |
Also Published As
Publication number | Publication date |
---|---|
CN101197782A (en) | 2008-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102334112B (en) | Method and system for virtual machine networking | |
US11099906B2 (en) | Handling tenant requests in a system that uses hardware acceleration components | |
EP2486715B1 (en) | Smart memory | |
CN106648896B (en) | Method for dual-core sharing of output peripheral by Zynq chip under heterogeneous-name multiprocessing mode | |
CN104521198A (en) | System and method for virtual ethernet interface binding | |
CN105511954A (en) | Method and device for message processing | |
TWI565267B (en) | Server apparatus and associated method and computer-readable memory | |
US20160308649A1 (en) | Providing Services in a System having a Hardware Acceleration Plane and a Software Plane | |
CN104050143A (en) | Mapping Network Applications to a Hybrid Programmable Many-Core Device | |
CN110932920B (en) | Network topology structure | |
CN102609307A (en) | Multi-core multi-thread dual-operating system network equipment and control method thereof | |
CN101197782B (en) | Control method and system for network appliance based on multi-core processor | |
CN103023816A (en) | Method and device for realizing control of resources at network access | |
EP4036730A1 (en) | Application data flow graph execution using network-on-chip overlay | |
CN101635683A (en) | Method and device for transmitting service based on link aggregation | |
CN106713462A (en) | Network data packet processing method and device | |
CN112272933B (en) | Queue control method, device and storage medium | |
CN104636206A (en) | Optimization method and device for system performance | |
CN111245794B (en) | Data transmission method and device | |
Concatto et al. | Two-levels of adaptive buffer for virtual channel router in nocs | |
Carara et al. | Managing QoS flows at task level in NoC-based MPSoCs | |
WO2024017285A1 (en) | Cpu core allocation methods and system, device, and storage medium | |
CN107171953B (en) | Virtual router implementation method | |
Dafali et al. | Self-adaptive network interface (sani): Local component of a noc configuration manager | |
Miura et al. | Buffer size evaluation of mixture communication of the wormhole and single-flit routing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100609 Termination date: 20171226 |
|
CF01 | Termination of patent right due to non-payment of annual fee |