CN105681228A - Multi-port Ethernet switch aggregation synchronizing method - Google Patents

Multi-port Ethernet switch aggregation synchronizing method Download PDF

Info

Publication number
CN105681228A
CN105681228A CN201610063111.6A CN201610063111A CN105681228A CN 105681228 A CN105681228 A CN 105681228A CN 201610063111 A CN201610063111 A CN 201610063111A CN 105681228 A CN105681228 A CN 105681228A
Authority
CN
China
Prior art keywords
clock
port
plate
synchronous
information
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.)
Pending
Application number
CN201610063111.6A
Other languages
Chinese (zh)
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.)
Anhui Ou Maite Digital Technology Ltd
Original Assignee
Anhui Ou Maite Digital Technology 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 Anhui Ou Maite Digital Technology Ltd filed Critical Anhui Ou Maite Digital Technology Ltd
Priority to CN201610063111.6A priority Critical patent/CN105681228A/en
Publication of CN105681228A publication Critical patent/CN105681228A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to a multi-port Ethernet switch aggregation synchronizing method, which comprises the following steps: receiving a message sent from a port module of a network device by a multi-port Ethernet interface device; parsing the message sent from the port module to obtain ingress port information, and finding the information of a switch chip or an NP (Network Processor) corresponding to the ingress port information in a mapping table; writing the information of the switch chip or the NP to the message sent from the port module so that the switch chip or the NP obtains the ingress port information according to the information of the switch chip or the NP; obtaining the corresponding ingress port information, and deleting the ingress port information of the message sent from the switch chip or the NP; and after synchronizing RTC (Real Time Clock) of a board with the clock from the port, synchronizing the clock of each of master ports on the board with the RTC clock of the board. According to the method disclosed by the invention, the whole device clock synchronization of a multi-port isochronous Ethernet is realized; and in each synchronizing process, the clock with the highest clock precision is selected for synchronizing, so that the high precision of the clock synchronization of a multi-port isochronous Ethernet device is guaranteed.

Description

A kind of multiport Ethernet exchanging polymerization synchronous method
Technical field
The present invention relates to ethernet switch technology field, be specifically related to a kind of multiport Ethernet exchanging polymerization synchronous method.
Background technology
Middle and high end switch, router be as the visual plant of core net and Access Network, in ensureing to possess the exchange capacity of some levels, can compatible polytype interface also very important. Conventionally adopt multiport Ethernet interface device to realize the docking of the network equipment and low-end switch, the basic realization of this device is a switching port docking of multiple ports and exchange chip or network processing unit (under be called NP), it can be a 1GE port of the corresponding exchange chip of multiple 100M ports or NP, or a 10GE port of the corresponding exchange chip of multiple 1GE ports or NP, the like.
Along with the development of data communication technology, the particularly appearance of the data communication technology of high bandwidth and high speed degree, more and more with the use of synchronous ethernet transmission of speech signals, there is thus multiport synchronous ethernet equipment, on described equipment, there are multiple plates, on each plate, have again multiple ports, due at present more and more higher to the requirement of time precision, the multiport synchronous ethernet equipment of working it out, need to reach the time synchronized of Whole Equipment.
At present a lot of for the patent of synchronised clock, but patent based on device internal synchronization few. The patent of invention that is CN200410065340 as publication number is to be specifically designed to programme-controlled exchange communication system, has also described the clock synchronous treating method in a plate, but polylith veneer how to manage same equipment is not described. The United States Patent (USP) that and for example publication number is US6178176, although by stackable bus, the repeater in network is carried out synchronously, cannot be to the clock synchronous of multiport synchronous ethernet equipment.
In sum, in prior art, still the clock of multiport synchronous ethernet equipment is not carried out to synchronous method.
Summary of the invention
The object of the present invention is to provide a kind of multiport Ethernet exchanging polymerization synchronous method, the full equipment clock that can realize multiport synchronous ethernet is synchronous.
For achieving the above object, the present invention has adopted following technical scheme:
A kind of multiport Ethernet exchanging polymerization synchronous method, comprises the following steps:
(1) multiport Ethernet interface device receives the message of the port module transmission of the network equipment;
(2) ingress port information of the message sending according to described port module and default mapping table, resolve the message that described port module sends, and obtains ingress port information, searches exchange chip corresponding to the interior described ingress port information of described mapping table or the information of NP,
(3) information of described exchange chip or NP is write to the message that described port module sends, and be sent to corresponding exchange chip or NP, supply described exchange chip or NP according to the acquisition of information ingress port information of described exchange chip or NP;
(4) according to the exchange chip in the message of described exchange chip or NP transmission or information and the described mapping table of NP, obtain corresponding ingress port information, delete the ingress port information of the message of described exchange chip or NP transmission simultaneously;
(5) port information that basis is obtained recovers the clock frequency of each port, determine from port and master port according to the clock of each port, use from the clock of port carrys out the real-time clock RTC clock of synchronous plate, carry out each master port clock on synchronous plate with the RTC clock of plate.
Step (5) is further comprising the steps of afterwards:
(A) determine after slave plate and mainboard according to the RTC clock of each plate, carry out synchronizer RTC clock with the RTC clock of slave plate, and equipment RTC clock is handed down to plate;
(B) buttress carrys out synchronous plate RTC clock according to equipment RTC clock, then carrys out the clock of each port on synchronous plate by the RTC clock of plate after synchronous.
Described step (5) is further comprising the steps of before:
(a) after full device start, reset, counter O reset, obtain plate Initial R TC clock and equipment Initial R TC clock;
(b) data of sending first according to synchronous ethernet recover after the clock of each port, start plate counter, by the clock setting of described plate counter be equipment acquiescence from port clock, and carry out synchronous plate RTC clock with equipment acquiescence from port clock;
(c) after starting device counter, be unit count device clock by the slave plate RTC clock setting of equipment acquiescence, and carry out synchronizer RTC clock with the RTC clock of equipment acquiescence slave plate, use again the RTC clock of each mainboard of equipment RTC clock synchronous, use the clock of all of the port separately of each mainboard of RTC clock synchronous of synchronous rear each mainboard.
As shown from the above technical solution, the present invention is by method and the multiport Ethernet interface device of identification multiport Ethernet interface device port, by amendment message, make the exchange chip of the network equipment or NP can identify the port of multiport Ethernet interface device, thereby really realize multiport Ethernet interface device, further improve the capacity of the network equipment. And by the desynchronize clock of each port on the RTC clock of mainboard and mainboard of the RTC clock after synchronous, the full equipment clock of having realized multiport synchronous ethernet is synchronous, and every clock of all selecting maximum clock precision hyposynchronous time comes synchronous, has ensured the synchronous high accuracy of multiport synchronous ethernet equipment clock.
Brief description of the drawings
Fig. 1 is method flow diagram of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention will be further described:
As shown in Figure 1, multiport Ethernet exchanging polymerization synchronous method, specifically comprises the following steps:
S1: multiport Ethernet interface device receives the message of the port module transmission of the network equipment;
S2: the ingress port information of the message sending according to described port module and default mapping table, resolve the message that described port module sends, obtain ingress port information, search exchange chip corresponding to the interior described ingress port information of described mapping table or the information of NP,
S3: the information of described exchange chip or NP is write to the message that described port module sends, and be sent to corresponding exchange chip or NP, supply described exchange chip or NP according to the acquisition of information ingress port information of described exchange chip or NP;
S4: according to the exchange chip in the message of described exchange chip or NP transmission or information and the described mapping table of NP, obtain corresponding ingress port information, delete the ingress port information of the message of described exchange chip or NP transmission simultaneously;
S5: determine after slave plate and mainboard according to the RTC clock of each plate, carry out synchronizer RTC clock with the RTC clock of slave plate, and equipment RTC clock is handed down to plate;
S6: buttress carrys out synchronous plate RTC clock according to equipment RTC clock, then carrys out the clock of each port on synchronous plate by the RTC clock of plate after synchronous.
S7: the clock frequency that recovers each port according to the port information obtaining, determine from port and master port according to the clock of each port, use from the clock of port carrys out the real-time clock RTC clock of synchronous plate, carry out each master port clock on synchronous plate with the RTC clock of plate.
S8: after full device start, reset, counter O reset, obtain plate Initial R TC clock and equipment Initial R TC clock;
S9: the data of sending first according to synchronous ethernet recover after the clock of each port, starts plate counter, by the clock setting of described plate counter be equipment acquiescence from port clock, and carry out synchronous plate RTC clock with equipment acquiescence from port clock;
S10: after starting device counter, be unit count device clock by the slave plate RTC clock setting of equipment acquiescence, and carry out synchronizer RTC clock with the RTC clock of equipment acquiescence slave plate, use again the RTC clock of each mainboard of equipment RTC clock synchronous, use the clock of all of the port separately of each mainboard of RTC clock synchronous of synchronous rear each mainboard.
Above-described embodiment is described the preferred embodiment of the present invention; not scope of the present invention is limited; design under the prerequisite of spirit not departing from the present invention; various distortion and improvement that those of ordinary skill in the art make technical scheme of the present invention, all should fall in the definite protection domain of the claims in the present invention book.

Claims (3)

1. a multiport Ethernet exchanging polymerization synchronous method, is characterized in that, comprises the following steps:
(1) multiport Ethernet interface device receives the message of the port module transmission of the network equipment;
(2) ingress port information of the message sending according to described port module and default mapping table, resolve the message that described port module sends, and obtains ingress port information, searches exchange chip corresponding to the interior described ingress port information of described mapping table or the information of NP;
(3) information of described exchange chip or NP is write to the message that described port module sends, and be sent to corresponding exchange chip or NP, supply described exchange chip or NP according to the acquisition of information ingress port information of described exchange chip or NP;
(4) according to the exchange chip in the message of described exchange chip or NP transmission or information and the described mapping table of NP, obtain corresponding ingress port information, delete the ingress port information of the message of described exchange chip or NP transmission simultaneously;
(5) port information that basis is obtained recovers the clock frequency of each port, determine from port and master port according to the clock of each port, use from the clock of port carrys out the real-time clock RTC clock of synchronous plate, carry out each master port clock on synchronous plate with the RTC clock of plate.
2. multiport Ethernet exchanging polymerization synchronous method according to claim 1, is characterized in that, step (5) is further comprising the steps of afterwards:
(A) determine after slave plate and mainboard according to the RTC clock of each plate, carry out synchronizer RTC clock with the RTC clock of slave plate, and equipment RTC clock is handed down to plate;
(B) buttress carrys out synchronous plate RTC clock according to equipment RTC clock, then carrys out the clock of each port on synchronous plate by the RTC clock of plate after synchronous.
3. multiport Ethernet exchanging polymerization synchronous method according to claim 1, is characterized in that: described step (5) is further comprising the steps of before:
(a) after full device start, reset, counter O reset, obtain plate Initial R TC clock and equipment Initial R TC clock;
(b) data of sending first according to synchronous ethernet recover after the clock of each port, start plate counter, by the clock setting of described plate counter be equipment acquiescence from port clock, and carry out synchronous plate RTC clock with equipment acquiescence from port clock;
(c) after starting device counter, be unit count device clock by the slave plate RTC clock setting of equipment acquiescence, and carry out synchronizer RTC clock with the RTC clock of equipment acquiescence slave plate, use again the RTC clock of each mainboard of equipment RTC clock synchronous, use the clock of all of the port separately of each mainboard of RTC clock synchronous of synchronous rear each mainboard.
CN201610063111.6A 2016-01-30 2016-01-30 Multi-port Ethernet switch aggregation synchronizing method Pending CN105681228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610063111.6A CN105681228A (en) 2016-01-30 2016-01-30 Multi-port Ethernet switch aggregation synchronizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610063111.6A CN105681228A (en) 2016-01-30 2016-01-30 Multi-port Ethernet switch aggregation synchronizing method

Publications (1)

Publication Number Publication Date
CN105681228A true CN105681228A (en) 2016-06-15

Family

ID=56303872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610063111.6A Pending CN105681228A (en) 2016-01-30 2016-01-30 Multi-port Ethernet switch aggregation synchronizing method

Country Status (1)

Country Link
CN (1) CN105681228A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296070A (en) * 2008-06-26 2008-10-29 中兴通讯股份有限公司 Clock synchronization method and system of multiport synchronization Ethernet equipment
US20080267090A1 (en) * 2007-04-27 2008-10-30 Hitachi, Ltd. Management computer for setting configuration information of node
CN101547083A (en) * 2008-03-24 2009-09-30 杭州华三通信技术有限公司 Time synchronizer, time synchronization system and time synchronization method
CN103051530A (en) * 2012-12-26 2013-04-17 北京四方继保自动化股份有限公司 Method for optimizing multiple-network-interface transmission of message of intelligent substation
EP2709313A1 (en) * 2011-05-10 2014-03-19 ZTE Corporation Multiport ethernet interface device and method for identifying ports thereof
CN103959688A (en) * 2013-12-24 2014-07-30 华为技术有限公司 Multiple clock domain clock synchronization method, wire card and Ethernet equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080267090A1 (en) * 2007-04-27 2008-10-30 Hitachi, Ltd. Management computer for setting configuration information of node
CN101547083A (en) * 2008-03-24 2009-09-30 杭州华三通信技术有限公司 Time synchronizer, time synchronization system and time synchronization method
CN101296070A (en) * 2008-06-26 2008-10-29 中兴通讯股份有限公司 Clock synchronization method and system of multiport synchronization Ethernet equipment
EP2709313A1 (en) * 2011-05-10 2014-03-19 ZTE Corporation Multiport ethernet interface device and method for identifying ports thereof
CN103051530A (en) * 2012-12-26 2013-04-17 北京四方继保自动化股份有限公司 Method for optimizing multiple-network-interface transmission of message of intelligent substation
CN103959688A (en) * 2013-12-24 2014-07-30 华为技术有限公司 Multiple clock domain clock synchronization method, wire card and Ethernet equipment

Similar Documents

Publication Publication Date Title
CN102104476B (en) Clock synchronization device and method
CN101917316A (en) Communication method and device for high-speed real-time industrial Ethernet
CN108650051A (en) The clock synchronization apparatus and method of general devices at full hardware single step 1588
CN107465474A (en) The clock synchronization system and method for digital control system bus apparatus
CN107947887B (en) Clock system and method between a kind of server based on PTP protocol
CN102347830B (en) Ethernet synchronous method and system
CN109873857A (en) Mobile terminal method of data synchronization and device under a kind of no network state
CN101296070B (en) Clock synchronization method and system of multiport synchronization Ethernet equipment
CN105956139A (en) Method for synchronizing database in two machines
CN104584492B (en) Message processing method, equipment and system
CN105119703B (en) Multi-standard clock MicroTCA system and clock management method
CN105681228A (en) Multi-port Ethernet switch aggregation synchronizing method
CN104954439A (en) Cloud server, node interconnection method thereof and cloud server system
CN110572234A (en) Method for realizing clock synchronization based on serial port, intelligent terminal and storage medium
CN103236894B (en) Clock synchronizing method and device in a kind of seamless redundant network
CN105119675B (en) A kind of synchronous method and synchronization system of target device
JP2023537348A (en) Synchronization in distributed communication systems
CN105591729A (en) Network device and time stamp capture method in network device
CN104410588A (en) Method of implementing virtual switching on router equipment and router equipment
CN107888315A (en) A kind of method for synchronizing time
US9182781B2 (en) Backplane communication system
CN205263514U (en) Electronic transformer merging cells's time synchronizer
CN102355396B (en) The creation method of split-second precision protocol port, boundary clock equipment and ordinary clock equipment
CN103813382A (en) Clock synchronization method, device and system
CN205545376U (en) Data synchronizer of many servers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160615