CN104506454B - More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments - Google Patents

More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments Download PDF

Info

Publication number
CN104506454B
CN104506454B CN201410773812.XA CN201410773812A CN104506454B CN 104506454 B CN104506454 B CN 104506454B CN 201410773812 A CN201410773812 A CN 201410773812A CN 104506454 B CN104506454 B CN 104506454B
Authority
CN
China
Prior art keywords
message
distributed
communication equipments
cpu
exchange chip
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.)
Active
Application number
CN201410773812.XA
Other languages
Chinese (zh)
Other versions
CN104506454A (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
Global Energy Interconnection Research Institute
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, Global Energy Interconnection Research Institute, 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 present invention provides more Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments, comprises the following steps:The exchange chip of distributed EPON communication equipments is configured, rewrites the port initialization function of exchange chip driving layer;The communication in distributed EPON communication equipments between each Computer card CPU and management message are changed, characteristic value is added in the packet header of message;Filtering message queue is registered to distributed EPON communication equipments exchange chip, linked character value, qualified message corresponding message passage is sent to, preferentially sends the communication between each Computer card CPU and management message.Demand of the present invention for the high reliable communication between more boards in distributed EPON communication equipments, realize the optimum management of CPU messages between more main control cards, miscellaneous service board, so as to ensure distributed EPON communication equipments, the i.e. high reliability of ethernet passive optical network communication equipment.

Description

More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments
Technical field
The present invention relates to a kind of optimization method, and in particular to more Computer card CPU messages in a kind of distributed EPON communication equipments Handle optimization method.
Background technology
In distributed EPON (Ethernet Passive Optical Network) communication equipment, distributed management system System (stacking mechanism) plays significant role, for communication pattern, the Control card for managing the state of each board, setting board Between communication, each board message of collection management etc., therefore ensure that to manage message communication fast and stable between each CPU outstanding in distributed system To be important.(network storm is various when when the message flow for being sent to CPU is especially big, either other abnormal conditions occurs in network Attack), manage message and occur that the problems such as transmission is blocked, lost even CPU is busy with processing network message and causes to lead to always Believe device systems collapse.Traditional way is the message that limitation may go wrong, and CPU is directed on connection CPU exchange chip The speed limit of various messages is done in port, does and matches somebody with somebody on exchange chip such as specific messages such as IGMP, broadcasting packet, unknown unicasts Put, defect is that each message will do chip-scale setting, and some special packet filtering exchange chips in bottom most software It may not support.
The content of the invention
In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides more boards in a kind of distributed EPON communication equipments CPU Message processing optimization methods, for the demand of the high reliable communication between more boards in distributed EPON communication equipments, realize The optimum management of CPU messages between more main control cards, miscellaneous service board, so as to ensure distributed EPON communication equipments, i.e., with The too high reliability of EPON communication equipment.
In order to realize foregoing invention purpose, the present invention adopts the following technical scheme that:
The present invention provides more Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments, methods described Comprise the following steps:
Step 1:The exchange chip of distributed EPON communication equipments is configured, rewrites the port initialization of exchange chip driving layer Function;
Step 2:The communication in distributed EPON communication equipments between each Computer card CPU and management message are changed, in message Packet header adds characteristic value;
Step 3:Filtering message queue is registered to distributed EPON communication equipments exchange chip, linked character value, will be met The message of condition is sent to corresponding message Transfer pipe, preferentially sends the communication between each Computer card CPU and management message.
The step 1 comprises the following steps:
Step 1-1:Port initialization function is rewritten in the driving layer of exchange chip, by the register for configuring exchange chip To complete the port initialization of exchange chip configuration;
Step 1-2:Configuration exchange chip is multi -CPU message channel transfer pattern, is CPU message passage initiating hardwares cache;
Step 1-3:The register of exchange chip is configured, selects A channel and channel B to lead to as CPU message transmissions passages, A Road is arranged to not speed limit, limit priority;Channel B is arranged to speed limit, message transmission rate 10Mbit/S, low priority.
The step 2 includes specific following steps:
Step 2-1:The communication response in distributed EPON communication equipments between each Computer card CPU and response message are changed, Packet header adds characteristic value, and it is local cpu media access control value and board ID number that this feature value, which includes,;
Step 2-2:Change the stacking between management message/board in distributed EPON communication equipments between each Computer card CPU Message, characteristic value is added in packet header, it is local cpu media access control value and board ID number that this feature value, which includes,.
The step 3 specifically includes following steps:
Step 3-1:The addition registration filtering report in the port initialization function of distributed EPON communication equipments exchange chip Literary queue, the register for configuring exchange chip initialize to complete filtering packets;
Step 3-2:The matching characteristic value of filtering packets is arranged in distributed EPON communication equipments between each Computer card CPU Communication and management message packet header in the characteristic value added;
Step 3-3:Step is sent into communication between each Computer card CPU in all communication equipments filtered out and management message 1-3 A channel, other all messages are sent to channel B.
Compared with prior art, the beneficial effects of the present invention are:
More Computer card CPU Message processing optimization methods in distributed EPON communication equipments provided by the invention, data are at CPU ends Mouthful unit biographies are sent, ensure that the message prior that needs pass through reaches, logical in the distributed EPON communication equipments of effective guarantee Letter and management, solve the problems such as management message transmissions are blocked, lost, effectively enhance the reliability of electric power communication device.
Brief description of the drawings
Fig. 1 is more Computer card CPU Message processing optimization method flow charts in distributed EPON communication equipments.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
The present invention provides more Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments, is at CPU ends Kou Shangzuo messages unit biographies are sent, and the message that filtering out needs to pass through is sent to Priority Queues, and other messages are sent to control queue Limit without exception, communication and management in the distributed EPON communication equipments of effective guarantee, solve management message transmissions and block, lose The problems such as mistake, effectively enhance the reliability of electric power communication device.
The present invention provides more Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments, methods described Comprise the following steps:
Step 1:The exchange chip of distributed EPON communication equipments is configured, rewrites the port initialization of exchange chip driving layer Function;
Step 2:The communication in distributed EPON communication equipments between each Computer card CPU and management message are changed, in message Packet header adds characteristic value;
Step 3:Filtering message queue is registered to distributed EPON communication equipments exchange chip, linked character value, will be met The message of condition is sent to corresponding message Transfer pipe, preferentially sends the communication between each Computer card CPU and management message.
The step 1 comprises the following steps:
Step 1-1:Port initialization function is rewritten in the driving layer of exchange chip, by the register for configuring exchange chip To complete the port initialization of exchange chip configuration;
Step 1-2:Configuration exchange chip is multi -CPU message channel transfer pattern, is CPU message passage initiating hardwares cache;
Step 1-3:The register of exchange chip is configured, selects A channel and channel B to lead to as CPU message transmissions passages, A Road is arranged to not speed limit, limit priority (0-255,0 is limit priority);Channel B is arranged to speed limit, message transmission rate 10Mbit/S, low priority (priority 10).
The step 2 includes specific following steps:
Step 2-1:Change the communication response in distributed EPON communication equipments between each Computer card CPU and response message (class Like heartbeat message), characteristic value is added in packet header, it is local cpu media access control (Medium Access that this feature value, which includes, Control, referred to as MAC) value and board ID number;
Step 2-2:Change the stacking between management message/board in distributed EPON communication equipments between each Computer card CPU Message, characteristic value is added in packet header, it is local cpu media access control (Medium Access that this feature value, which includes, Control, referred to as MAC) value and board ID number.
The step 3 specifically includes following steps:
Step 3-1:The addition registration filtering report in the port initialization function of distributed EPON communication equipments exchange chip Literary queue, the register for configuring exchange chip initialize to complete filtering packets;
Step 3-2:The matching characteristic value of filtering packets is arranged in distributed EPON communication equipments between each Computer card CPU Communication and management message packet header in the characteristic value added;
Step 3-3:Step is sent into communication between each Computer card CPU in all communication equipments filtered out and management message 1-3 A channel, other all messages are sent to channel B.
Finally it should be noted that:The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof, institute The those of ordinary skill in category field with reference to above-described embodiment still can to the present invention embodiment modify or Equivalent substitution, these are applying for this pending hair without departing from any modification of spirit and scope of the invention or equivalent substitution Within bright claims.

Claims (1)

  1. A kind of 1. more Computer card CPU Message processing optimization methods in distributed EPON communication equipments, it is characterised in that:Methods described bag Include following steps:
    Step 1:The exchange chip of distributed EPON communication equipments is configured, rewrites the port initialization letter of exchange chip driving layer Number;
    Step 2:The communication in distributed EPON communication equipments between each Computer card CPU and management message are changed, in the packet header of message Add characteristic value;
    Step 3:Filtering message queue is registered to distributed EPON communication equipments exchange chip, linked character value will be eligible Message be sent to corresponding to message Transfer pipe, preferentially send the communication between each Computer card CPU and management message;
    The step 1 comprises the following steps:
    Step 1-1:Port initialization function is rewritten in the driving layer of exchange chip, by configuring the register of exchange chip come complete Port initialization into exchange chip configures;
    Step 1-2:Configuration exchange chip is multi -CPU message channel transfer pattern, is CPU message passage initiating hardwares cache;
    Step 1-3:The register of exchange chip is configured, selects A channel and channel B to be set as CPU message transmissions passages, A channel It is set to not speed limit, limit priority;Channel B is arranged to speed limit, message transmission rate 10Mbit/S, low priority;
    The step 2 includes specific following steps:
    Step 2-1:The communication response in distributed EPON communication equipments between each Computer card CPU and response message are changed, in packet header Characteristic value is added, this feature value includes local cpu media access control value and board ID number;
    Step 2-2:The stacking message between management message/board in distributed EPON communication equipments between each Computer card CPU is changed, Characteristic value is added in packet header, this feature value includes local cpu media access control value and board ID number;
    The step 3 specifically includes following steps:
    Step 3-1:The addition registration filtering packets team in the port initialization function of distributed EPON communication equipments exchange chip Row, the register for configuring exchange chip initialize to complete filtering packets;
    Step 3-2:The matching characteristic value of filtering packets is arranged in distributed EPON communication equipments logical between each Computer card CPU The characteristic value added in letter and management message packet header;
    Step 3-3:Step 1-3 is sent into communication between each Computer card CPU in all communication equipments filtered out and management message A channel, 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 CN104506454A (en) 2015-04-08
CN104506454B true 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
CN104506454A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN102668473B (en) For the system and method for high-performance, low-power data hub interconnection structure
DE112011103123B4 (en) Performance and performance-optimized computer system architectures and methods leveraging performance-optimized tree fabric wiring
CN106155959A (en) Data transmission method and data transmission system
US8773999B2 (en) Distributed chassis architecture having integrated service appliances
US9876698B2 (en) Interconnect congestion control in a storage grid
CN103944828B (en) The transmission method and equipment of a kind of protocol massages
CN100471162C (en) Method for releasing and processing virtual circuit information and supplier edge device
WO2009021118A3 (en) Enhanced communication network tap port aggregator arrangement and methods thereof
TW201304476A (en) Universal network interface controller
CN101820358A (en) The Ethernet optical-fibre channel of high usage and multichannel
CN104823409A (en) Network virtualization over infiniband
CN102413190A (en) Network architecture based on cloud computing and virtual network management method thereof
CN104168209A (en) Multi-access SDN message forwarding method and controller
DE112017003324T5 (en) Adaptive routing technologies using aggregated congestion information
US9036629B2 (en) Switch module
CN102326370B (en) Message processing method, apparatus and system
US10331598B2 (en) Adding a network port to a network interface card
CN107493188A (en) A kind of DCN management methods of data communication network
CN104144130A (en) Virtual machine system interconnection method and system and access switch
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN106921575A (en) For the devices, systems and methods for preventing multicast service from abandoning
CN104506454B (en) More Computer card CPU Message processing optimization methods in a kind of distributed EPON communication equipments
CN104363185B (en) A kind of miniature composite network data exchange system
CN108199975B (en) Flow control method and device
CN104780063B (en) node device login method and device

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