CN104506454A - Multi-board-card-CPU (Central Processing Unit) message processing optimization method in distributed EPON (Ethernet Passive Optical Network) communication equipment - Google Patents

Multi-board-card-CPU (Central Processing Unit) message processing optimization method in distributed EPON (Ethernet Passive Optical Network) communication equipment Download PDF

Info

Publication number
CN104506454A
CN104506454A CN201410773812.XA CN201410773812A CN104506454A CN 104506454 A CN104506454 A CN 104506454A CN 201410773812 A CN201410773812 A CN 201410773812A CN 104506454 A CN104506454 A CN 104506454A
Authority
CN
China
Prior art keywords
message
distributed
communication equipment
cpu
epon
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
CN201410773812.XA
Other languages
Chinese (zh)
Other versions
CN104506454B (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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Global Energy Interconnection Research Institute
State Grid Shanghai Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanghai Electric Power 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 State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, State Grid Shanghai Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410773812.XA priority Critical patent/CN104506454B/en
Publication of CN104506454A publication Critical patent/CN104506454A/en
Application granted granted Critical
Publication of CN104506454B publication Critical patent/CN104506454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a multi-board-card-CPU (Central Processing Unit) message processing optimization method in distributed EPON (Ethernet Passive Optical Network) communication equipment. The multi-board-card-CPU message processing optimization method comprises the following steps: configuring a switching chip of the distributed EPON communication equipment and rewriting a port initialization function of a switching chip driver layer; amending communication and management messages among all board card CPUs in the distributed EPON communication equipment, and adding a characteristic value to a packet header of each message; registering and filtering a message queue to the switching chip of the distributed EPON communication equipment, associating the characteristic values, transmitting the eligible messages to a corresponding message channel, and preferentially transmitting the communication and management messages among all the board card CPUs. The multi-board-card-CPU message processing optimization method realizes optimized management of the CPU messages among multiple master control cards and various service board cards aiming at the high-reliability communication demands among the multiple board cards in the distributed EPON communication equipment, thus guaranteeing high reliability of the distributed EPON communication equipment, namely the Ethernet passive optical network communication equipment.

Description

Many Computer card CPUs Message processing optimization method in a kind of distributed EPON communication equipment
Technical field
The present invention relates to a kind of optimization method, be specifically related to many Computer card CPUs Message processing optimization method in a kind of distributed EPON communication equipment.
Background technology
In distributed EPON (Ethernet Passive Optical Network) communication equipment, distributed management system (stacking mechanism) plays significant role, be used for managing the state of each board, the communication pattern arranging board, control board intercard communication, each board message of collection management etc., therefore in distributed system, ensure that between each CPU, administrative message communication fast and stable is particularly important.When the message flow mailing to CPU is large especially or when network occurs other abnormal conditions (network storm or various attack), administrative message there will be the problems such as transmission blocking, loss even CPU be busy with processing network message always and cause facility communication system to collapse.Traditional way limits the message that may go wrong, the exchange chip connecting CPU does for cpu port the speed limit of various message, such as IGMP, broadcasting packet, the specific messages such as unknown unicast configure on exchange chip, defect is that each message all will do chip-scale setting at bottom most software, and some special packet filtering exchange chip may not be supported.
Summary of the invention
In order to overcome above-mentioned the deficiencies in the prior art, the invention provides many Computer card CPUs Message processing optimization method in a kind of distributed EPON communication equipment, for the demand of the high reliable communication in distributed EPON communication equipment between many boards, realize the optimum management of CPU message between many main control cards, miscellaneous service board, thus ensured distributed EPON communication equipment, i.e. the high reliability of ethernet passive optical network communication equipment.
In order to realize foregoing invention object, the present invention takes following technical scheme:
The invention provides many Computer card CPUs Message processing optimization method in a kind of distributed EPON communication equipment, said method comprising the steps of:
Step 1: the exchange chip of configuring distributed EPON communication equipment, rewrites the port initialization function that exchange chip drives layer;
Step 2: revise the communication in distributed EPON communication equipment between each Computer card CPU and administrative message, add characteristic value in the packet header of message;
Step 3: filter message queue, linked character value to distributed EPON communication equipment exchange chip registration, qualified message is delivered to corresponding message Transfer pipe, the communication between preferential each Computer card CPU of transmission and administrative message.
Described step 1 comprises the following steps:
Step 1-1: rewrite port initialization function at the driving layer of exchange chip, completes the port initialization configuration of exchange chip by the register configuring exchange chip;
Step 1-2: configuration exchange chip is multi-CPU message channel transfer pattern, is CPU message channel initialize hardware cache;
Step 1-3: the register of configuration exchange chip, select A channel and channel B as CPU message transmissions passage, A channel is set to not speed limit, limit priority; Channel B is set to speed limit, message transmission rate 10Mbit/S, low priority.
Described step 2 comprises concrete following steps:
Step 2-1: revise the communication response in distributed EPON communication equipment between each Computer card CPU and response message, add characteristic value in packet header, this characteristic value comprises for local cpu media interviews controlling value and No. ID, board;
Step 2-2: revise the stacking message between the administrative message/board in distributed EPON communication equipment between each Computer card CPU, add characteristic value in packet header, this characteristic value comprises for local cpu media interviews controlling value and No. ID, board.
Described step 3 specifically comprises the following steps:
Step 3-1: add registration and filter message queue in the port initialization function of distributed EPON communication equipment exchange chip, the register of configuration exchange chip completes filtering packets initialization;
Step 3-2: the matching characteristic value of filtering packets is set to the characteristic value of adding in communication in distributed EPON communication equipment between each Computer card CPU and administrative message packet header;
Step 3-3: the A channel communication in all communication equipments filtered out between each Computer card CPU and administrative message being sent into step 1-3, other all messages are sent to channel B.
Compared with prior art, beneficial effect of the present invention is:
Many Computer card CPUs Message processing optimization method in distributed EPON communication equipment provided by the invention, data are sent at cpu port unit biographies, ensure that the message prior needing to pass through arrives, communication in the distributed EPON communication equipment of effective guarantee and management, solve the problems such as administrative message transmission blocking, loss, effectively enhance the reliability of electric power communication device.
Accompanying drawing explanation
Fig. 1 is many Computer card CPUs Message processing optimization method flow chart in distributed EPON communication equipment.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
The invention provides many Computer card CPUs Message processing optimization method in a kind of distributed EPON communication equipment, send at cpu port Shang Zuo message unit biographies, filter out and need the message passed through to mail to Priority Queues, other message mails to control queue and limits without exception, communication in the distributed EPON communication equipment of effective guarantee and management, solve the problems such as administrative message transmission blocking, loss, effectively enhance the reliability of electric power communication device.
The invention provides many Computer card CPUs Message processing optimization method in a kind of distributed EPON communication equipment, said method comprising the steps of:
Step 1: the exchange chip of configuring distributed EPON communication equipment, rewrites the port initialization function that exchange chip drives layer;
Step 2: revise the communication in distributed EPON communication equipment between each Computer card CPU and administrative message, add characteristic value in the packet header of message;
Step 3: filter message queue, linked character value to distributed EPON communication equipment exchange chip registration, qualified message is delivered to corresponding message Transfer pipe, the communication between preferential each Computer card CPU of transmission and administrative message.
Described step 1 comprises the following steps:
Step 1-1: rewrite port initialization function at the driving layer of exchange chip, completes the port initialization configuration of exchange chip by the register configuring exchange chip;
Step 1-2: configuration exchange chip is multi-CPU message channel transfer pattern, is CPU message channel initialize hardware cache;
Step 1-3: the register of configuration exchange chip, select A channel and channel B as CPU message transmissions passage, A channel is set to not speed limit, limit priority (0-255,0 is limit priority); Channel B is set to speed limit, message transmission rate 10Mbit/S, low priority (priority is 10).
Described step 2 comprises concrete following steps:
Step 2-1: revise the communication response in distributed EPON communication equipment between each Computer card CPU and response message (similar heartbeat message), characteristic value is added in packet header, this characteristic value comprises for local cpu media interviews control (Medium AccessControl, referred to as MAC) value and No. ID, board;
Step 2-2: revise the stacking message between the administrative message/board in distributed EPON communication equipment between each Computer card CPU, characteristic value is added in packet header, this characteristic value comprises for local cpu media interviews control (Medium Access Control, referred to as MAC) value and No. ID, board.
Described step 3 specifically comprises the following steps:
Step 3-1: add registration and filter message queue in the port initialization function of distributed EPON communication equipment exchange chip, the register of configuration exchange chip completes filtering packets initialization;
Step 3-2: the matching characteristic value of filtering packets is set to the characteristic value of adding in communication in distributed EPON communication equipment between each Computer card CPU and administrative message packet header;
Step 3-3: the A channel communication in all communication equipments filtered out between each Computer card CPU and administrative message being sent into step 1-3, other all messages are sent to channel B.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; those of ordinary skill in the field still can modify to the specific embodiment of the present invention with reference to above-described embodiment or equivalent replacement; these do not depart from any amendment of spirit and scope of the invention or equivalent replacement, are all applying within the claims of the present invention awaited the reply.

Claims (4)

1. many Computer card CPUs Message processing optimization method in distributed EPON communication equipment, is characterized in that: said method comprising the steps of:
Step 1: the exchange chip of configuring distributed EPON communication equipment, rewrites the port initialization function that exchange chip drives layer;
Step 2: revise the communication in distributed EPON communication equipment between each Computer card CPU and administrative message, add characteristic value in the packet header of message;
Step 3: filter message queue, linked character value to distributed EPON communication equipment exchange chip registration, qualified message is delivered to corresponding message Transfer pipe, the communication between preferential each Computer card CPU of transmission and administrative message.
2. many Computer card CPUs Message processing optimization method in distributed EPON communication equipment according to claim 1, is characterized in that: described step 1 comprises the following steps:
Step 1-1: rewrite port initialization function at the driving layer of exchange chip, completes the port initialization configuration of exchange chip by the register configuring exchange chip;
Step 1-2: configuration exchange chip is multi-CPU message channel transfer pattern, is CPU message channel initialize hardware cache;
Step 1-3: the register of configuration exchange chip, select A channel and channel B as CPU message transmissions passage, A channel is set to not speed limit, limit priority; Channel B is set to speed limit, message transmission rate 10Mbit/S, low priority.
3. many Computer card CPUs Message processing optimization method in distributed EPON communication equipment according to claim 1, is characterized in that: described step 2 comprises concrete following steps:
Step 2-1: revise the communication response in distributed EPON communication equipment between each Computer card CPU and response message, add characteristic value in packet header, this characteristic value comprises for local cpu media interviews controlling value and No. ID, board;
Step 2-2: revise the stacking message between the administrative message/board in distributed EPON communication equipment between each Computer card CPU, add characteristic value in packet header, this characteristic value comprises for local cpu media interviews controlling value and No. ID, board.
4. many Computer card CPUs Message processing optimization method in distributed EPON communication equipment according to claim 1, is characterized in that: described step 3 specifically comprises the following steps:
Step 3-1: add registration and filter message queue in the port initialization function of distributed EPON communication equipment exchange chip, the register of configuration exchange chip completes filtering packets initialization;
Step 3-2: the matching characteristic value of filtering packets is set to the characteristic value of adding in communication in distributed EPON communication equipment between each Computer card CPU and administrative message packet header;
Step 3-3: the A channel communication in all communication equipments filtered out between each Computer card CPU and administrative message being sent into step 1-3, other all messages are sent to channel B.
CN201410773812.XA 2014-12-12 2014-12-12 More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments Active CN104506454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410773812.XA CN104506454B (en) 2014-12-12 2014-12-12 More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410773812.XA CN104506454B (en) 2014-12-12 2014-12-12 More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments

Publications (2)

Publication Number Publication Date
CN104506454A true CN104506454A (en) 2015-04-08
CN104506454B CN104506454B (en) 2018-01-19

Family

ID=52948169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410773812.XA Active CN104506454B (en) 2014-12-12 2014-12-12 More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments

Country Status (1)

Country Link
CN (1) CN104506454B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986594A (en) * 2010-11-18 2011-03-16 中兴通讯股份有限公司 Method and device for realizing communication between single boards
CN102355415A (en) * 2011-09-27 2012-02-15 瑞斯康达科技发展股份有限公司 Method and device for transmitting messages between CPUs (Central Processing Unit)
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication
EP2722769A1 (en) * 2012-10-22 2014-04-23 Huawei Technologies Co., Ltd. Multi-core processor and method for multiplexing network management port thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986594A (en) * 2010-11-18 2011-03-16 中兴通讯股份有限公司 Method and device for realizing communication between single boards
CN102355415A (en) * 2011-09-27 2012-02-15 瑞斯康达科技发展股份有限公司 Method and device for transmitting messages between CPUs (Central Processing Unit)
EP2722769A1 (en) * 2012-10-22 2014-04-23 Huawei Technologies Co., Ltd. Multi-core processor and method for multiplexing network management port thereof
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication

Also Published As

Publication number Publication date
CN104506454B (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN105516191B (en) System based on the FPGA 10,000,000,000 net Transmission Control Protocol unloading engine TOE realized
TWI538453B (en) Universal network interface controller
CN100471162C (en) Method for releasing and processing virtual circuit information and supplier edge device
CN101867520B (en) Method for exchanging data between board cards in distribution type system
US9876698B2 (en) Interconnect congestion control in a storage grid
CN105763472B (en) Cross-board forwarding method and device
CN102035751A (en) Data transmission method and equipment
CN105490961A (en) Message processing method, and device and network device
CN202679397U (en) Real-time industrial Ethernet EtherCAT slave station system
CN106302199A (en) A kind of User space protocol stack realization method and system based on L3 Switching machine equipment
CN109121026B (en) Method and system for realizing VOLT (Voice over Internet protocol) based on logic port
US9036629B2 (en) Switch module
CN105337895B (en) A kind of network equipment main computer unit, network equipment subcard and the network equipment
CN102457391A (en) Equipment unified management method for Ethernet passive optical network and Ethernet over coax (EPON+EoC) two-way cable access network
CN101808037B (en) Method and device for traffic management in switch network
CN100499549C (en) Apparatus and base station equipment for transmitting IP message in WiMAX network
CN102571615B (en) Quality of service (QOS) strategy realizing method based on Ethernet over coax (EOC) terminal
CN102025632A (en) Label distribution method and system for data packets in MPLS network
CN108234305A (en) A kind of control method and equipment of across machine frame link redundancy protection
CN112073249B (en) Data transmission method, cluster switch system and related equipment
CN101616343A (en) A kind of auto-negotiation method for service types and convergence device thereof
CN102143072B (en) Method for fluid control configuration and network equipment
CN104506454A (en) Multi-board-card-CPU (Central Processing Unit) message processing optimization method in distributed EPON (Ethernet Passive Optical Network) communication equipment
CN108199975B (en) Flow control method and device
US9467389B2 (en) Handling large frames in a virtualized fibre channel over ethernet (FCoE) data forwarder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161201

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant after: State Grid Corporation of China

Applicant after: China Electric Power Research Institute

Applicant after: GLOBAL ENERGY INTERCONNECTION RESEARCH INSTITUTE

Applicant after: State Grid Shanghai Municipal Electric Power Company

Address before: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant before: State Grid Corporation of China

Applicant before: China Electric Power Research Institute

Applicant before: State Grid Shanghai Municipal Electric Power Company

GR01 Patent grant
GR01 Patent grant