CN109600308A - Mac mouthfuls of data send, receive analysis method and device - Google Patents

Mac mouthfuls of data send, receive analysis method and device Download PDF

Info

Publication number
CN109600308A
CN109600308A CN201910125725.6A CN201910125725A CN109600308A CN 109600308 A CN109600308 A CN 109600308A CN 201910125725 A CN201910125725 A CN 201910125725A CN 109600308 A CN109600308 A CN 109600308A
Authority
CN
China
Prior art keywords
mac
mouthfuls
data
data packet
serial ports
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
CN201910125725.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.)
Centec Networks Suzhou Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201910125725.6A priority Critical patent/CN109600308A/en
Publication of CN109600308A publication Critical patent/CN109600308A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • H04L2012/6445Admission control
    • H04L2012/6448Medium Access Control [MAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

A kind of mac mouthfuls of data send, receive analysis method and device, comprising: binding sends serial ports for the preset field in data packet lead code, replaces with the default mark of corresponding each port;The multiplexing Mux that the binding sends serial ports is packaged scheduling to the data packet of each port, and the data packet for completing to replace the default mark is sent.It, can be while reducing network device hardware cost by the method and device, the loss of balance transmission bandwidth.

Description

Mac mouthfuls of data send, receive analysis method and device
Technical field
The present invention relates to computer network communication technology, more particularly to a kind of mac mouthfuls of data transmission method for uplink and device, And a kind of mac mouthfuls of data receiver analysis method and device.
Background technique
With the rapid development of network communication technology, application field is also gradually permeated to the various aspects of social life, It provides convenience for people's production and life life.The existing network equipment such as interchanger, router etc. are carrying out Layer 2 data turn When hair, need to send or receive data message by corresponding High Speed Serial.And with the enlargement of network topology structure, it is multiple Hydridization, thus bring hardware device cost is also increasing.For example, carrying out message between MAC mouthfuls in conventional coupling arrangement When intercommunication, often there are a kind of applicable cases, passes through the HSSI High-Speed Serial Interface of 10 XG in the flow of 10 XG of transmitting terminal (serdes) it sends, likewise, transmitting data in the direct-connected mode of the HSSI High-Speed Serial Interface of receiving end corresponding number.This Sample just needs to use the HSSI High-Speed Serial Interface of 10 XG, to increase chip cost, and MAC mouthfuls of quantity can also increase therewith Add.
In response to this, in order to reduce hardware cost, the usage amount of HSSI High-Speed Serial Interface is reduced, it will usually 10 XG Port BindingBundling pass through the transmitting terminal of a 100G together and blaze abroad, and the port of this 100G is usually by the height of 4 25G Fast serial line interface composition, has the application of mux and demux in transmitting terminal and receiving end, needs to be inserted into Vlan in unofficial biography and is used for Opposite end distinguishes flow packet is which port is brought from other side.Assuming that packet length is the flow packet of 64B, original message format such as Fig. 1 It is shown, and need to insert the Vlan of 4 Byte under above-mentioned application, therefore the message format really sent out is as shown in Figure 2.This report Bandwidth can be lost in literary transmission mode.
Summary of the invention
The technical problem to be solved is that balance how while reducing network device hardware cost for the embodiment of the present invention The loss of transmission bandwidth.
In order to solve the above technical problems, technical solution provided in an embodiment of the present invention is as follows:
A kind of mac mouthfuls of data transmission method for uplink, comprising: binding sends serial ports for the preset field in data packet lead code, Replace with the default mark of corresponding each port;The multiplexing Mux that the binding sends serial ports is packaged the data packet of each port Scheduling sends the data packet for completing to replace the default mark.
Optionally, the data transmission method for uplink of above-mentioned mac mouth, the default Vlan that is identified as are identified.
Optionally, the data transmission method for uplink of above-mentioned mac mouth, the preset field in the lead code be in lead code after 4 bytes.
Optionally, the data transmission method for uplink of above-mentioned mac mouth, it includes that 4 25G high speed serializations connect that the binding, which sends serial ports, Mouthful.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of mac mouthfuls of data receiver parsing sides Method, after receiving through the data packet as transmitted by above-mentioned data transmission method for uplink, comprising: binding receives the multichannel solution of serial ports It is multiplexed Demux and reads the default mark, and send respective corresponding ports for each data packet.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of mac mouthfuls of data sending device, packets Include: binding sends serial ports, for replacing with the default mark of corresponding each port for the preset field in data packet lead code;Institute Data packet packing scheduling of the multiplexing Mux to each port that binding sends serial ports is stated, will complete to replace the default mark Data packet is sent.
Optionally, the data sending device of above-mentioned mac mouth, the default Vlan that is identified as are identified.
Optionally, the data sending device of above-mentioned mac mouth, the preset field in the lead code be in lead code after 4 bytes.
Optionally, the data sending device of above-mentioned mac mouth, it includes that 4 25G high speed serializations connect that the binding, which sends serial ports, Mouthful.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of parsings of mac mouthfuls of data receiver to fill It sets, including binding receives serial ports, passes through the data packet as transmitted by above-mentioned data sending device for receiving;The binding connects The demultiplexing Demux for receiving serial ports reads the default mark, and sends respective corresponding ports for each data packet.
In the present invention, by the way that the default mark of corresponding each port is added in the lead code of data packet, in favor of each data The identification of packet sending port and subsequent opposite end to destination port, in this way since the lead code in packet transmission process is not true A part of packet is only added in physical layer, and there is no increases for the data so transmitted, therefore any band would not also be lost Width, while increasing the usage amount of HSSI High-Speed Serial Interface not yet, also achieve the effect for reducing hardware cost.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of original message;
Fig. 2 is that message is inserted into the structural schematic diagram after Vlan in the prior art;
Fig. 3 is the flow diagram of mac mouthfuls of data transmission method for uplink in the embodiment of the present invention;
Fig. 4 is the configuration diagram of mac mouthfuls of data transmission method for uplink in the embodiment of the present invention;
Fig. 5 is that the structural schematic diagram after Vlan is inserted into the embodiment of the present invention.
Specific embodiment
Currently, the mode generallyd use includes that transmitting terminal and receiving end use corresponding number in conventional data transmission mode The HSSI High-Speed Serial Interface of amount connects, and is sent using binding, and is inserted into Vlan in the packet to make data packet transmitting terminal Mouth is known otherwise.However both modes, it perhaps increases the hardware cost of equipment or the transmission belt of data has been lost It is wide.
It can be seen that in the prior art, can take into account realization there is presently no one kind reduces network device hardware cost, and The method of transmission bandwidth is not lost.
In the embodiment of the present invention, by the way that the default mark of corresponding each port is added in the lead code of data packet, in favor of The identification of each data packet sending port and subsequent opposite end to destination port, so not due to the lead code in packet transmission process It is a part really wrapped, is only added in physical layer, there is no increase for the data so transmitted, therefore would not also be lost Any bandwidth, while increasing the usage amount of HSSI High-Speed Serial Interface not yet, also achieve the effect for reducing hardware cost.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention Specific embodiment be described in detail.
A kind of mac mouthfuls of data transmission method for uplink of the embodiment of the present invention.As shown in figure 3, mac mouthfuls of the data sender Method may include steps of:
Step S101, binding send serial ports for the preset field in data packet lead code, replace with the pre- of corresponding each port Bidding is known;
Step S102, the multiplexing Mux that the binding sends serial ports are packaged scheduling to the data packet of each port, will complete The data packet for replacing the default mark is sent.
Leader sequence is a series of signal sent before sending useful signal.After targeting signal is sent, stand Send useful signal.Its effect is to keep destination host receiver clock synchronous with source host transmitter clock, is used for synchronometer When, it also include the delimiter that label timing information terminates.Start delimiter byte " 10101011 " followed by frame, is used to indicate Transmission is valid data signal to remind reception chip by the beginning of frame.In general, will have between each Ether frame Frame gap (Interframe Gap), that is, another frame could be sent out again by often distributing to wait for a period of time after a frame, so as to Frame recipient is allowed to make necessary processing (as the pointer of adjustment caching, more New count, notice handle message to received frame Etc.).
The framework of the embodiment of the present invention is as shown in figure 4, specifically, device 101 can be as transmitting terminal by several high The transmission serial ports of fast serial line interface binding composition, the HSSI High-Speed Serial Interface composition of such as 4 25G are responsible for the corresponding each port of insertion Default mark, for example, rear 4 bytes in oneself lead code are replaced with the Vlan of 4 bytes, to be formed as shown in Figure 5 Field structure.Different Vlan has corresponded to the respective port 10G.
After completing the field insertion to the default mark in each port, the mux in transmitting terminal 101 carries out 10 ports 10G It is packaged the multiple access control of scheduling, the port for passing through 100G after the message insertion Vlan of each port is sent, it is complete At mac mouthfuls of data transmission procedure.
A kind of technical principle of mac mouthfuls of data transmission method for uplink of the embodiment of the present invention is: assisting in the transmission process of packet The lead code of view the regulation frame gap for needing to have 12 bytes between packet and packet and 8 bytes, for notifying recipient to have data frame It arrives, but is not actually a part really wrapped, only added in physical layer, as shown in figure 4, being needed in transmitting terminal The Vlan of 4 bytes is inserted into for identifying each flow packet from which port, needs to solve the Vlan of 4 bytes in receiving end It separates out for be sent to which port is gone for telling oneself currently to wrap, the Vlan of 4 bytes can be accounted for during transmission It uses up a part of bandwidth, very big especially for the bandwidth contributions of short packet, the present invention is inserted the Vlan of 4 bytes with the mode of Fig. 5 Enter, so, there is no increases for the data of transmission, therefore any bandwidth would not be lost, and have only borrowed 4 words in lead code The position of section, while increasing the usage amount of serdes not yet, reduce economic cost.
The embodiment of the invention also discloses a kind of mac mouthfuls of data receiver analytic methods, are receiving through aforementioned implementation After data packet transmitted by the data transmission method for uplink of example, further includes:
Step S103, the demultiplexing Demux that binding receives serial ports read the default mark;
Each data packet is sent respective corresponding ports by step S104.
As shown in figure 4, device 102 is used as receiving end, corresponding transmitting terminal 101 can also be by 4 25G HSSI High-Speed Serial Interfaces Composition is responsible for receiving the message transmitted from device 101, and is sent into demultiplexing Demux by the port of itself 100G.
Demultiplexing Demux is responsible for parsing analytic message and obtains Vlan and will be distributed to message according to Vlan respective Channel gets on, and completes a data transmission.
A kind of mac mouthfuls of the data receiver analytic method that the embodiment of the present invention proposes, in no feelings for sacrificing any bandwidth Vlan is inserted under condition, and reduces the usage amount of HSSI High-Speed Serial Interface, while decreasing MAC mouthfuls of quantity and chip area, Reduce economic cost.
In order to solve the above technical problems, a kind of mac mouthfuls of data sending device is also disclosed in the embodiment of the present invention.It is described Mac mouthfuls of data sending device may include:
Binding sends serial ports, for replacing with the pre- bidding of corresponding each port for the preset field in data packet lead code Know;The multiplexing Mux that the binding sends serial ports is packaged scheduling to the data packet of each port, will complete to replace the pre- bidding The data packet of knowledge is sent.
In specific implementation, the default mark can be Vlan mark.
In specific implementation, the preset field in the lead code is rear 4 bytes in lead code.
In specific implementation, it includes 4 25G HSSI High-Speed Serial Interfaces that the binding, which sends serial ports,.
In order to solve the above technical problems, a kind of mac mouthfuls of data receiver resolver is also disclosed in the embodiment of the present invention, Serial ports is received including binding, passes through the data packet as transmitted by the data sending device of above-described embodiment for receiving;The bundle The demultiplexing Demux that bind receives serial ports reads the default mark, and sends respective corresponding ports for each data packet.
A kind of mac mouthfuls of the data sending device and reception resolver of the embodiment of the present invention, with the embodiment of the present invention A kind of mac mouthfuls of data transmission method for uplink and to receive analytic method be based on the same inventive concept.About the specific of the present embodiment Scheme is referred to the corresponding contents of first embodiment and second embodiment, and details are not described herein again.Those skilled in the art can be with Understand, the technology contents disclosed in first embodiment and second embodiment belong to the present embodiment protection scope it It is interior.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute Subject to the range of restriction.

Claims (10)

1. a kind of mac mouthfuls of data transmission method for uplink characterized by comprising
Binding sends serial ports for the preset field in data packet lead code, replaces with the default mark of corresponding each port;
The multiplexing Mux that the binding sends serial ports is packaged scheduling to the data packet of each port, and it is described default will to complete replacement The data packet of mark is sent.
2. mac mouthfuls of data transmission method for uplink as described in claim 1, which is characterized in that the default Vlan that is identified as is identified.
3. mac mouthfuls of data transmission method for uplink as described in claim 1, which is characterized in that the preset field in the lead code For rear 4 bytes in lead code.
4. mac mouthfuls of data transmission method for uplink as described in claim 1, which is characterized in that it includes 4 that the binding, which sends serial ports, 25G HSSI High-Speed Serial Interface.
5. a kind of mac mouthfuls of data receiver analytic method, which is characterized in that receiving through any one of such as Claims 1-4 After data packet transmitted by the data transmission method for uplink, comprising:
The demultiplexing Demux that binding receives serial ports reads the default mark, and send each data packet to it is respective right Answer port.
6. a kind of mac mouthfuls of data sending device characterized by comprising
Binding sends serial ports, for replacing with the default mark of corresponding each port for the preset field in data packet lead code;
The multiplexing Mux that the binding sends serial ports is packaged scheduling to the data packet of each port, and it is described default will to complete replacement The data packet of mark is sent.
7. mac mouthfuls of data sending device as claimed in claim 6, which is characterized in that the default Vlan that is identified as is identified.
8. mac mouthfuls of data sending device as claimed in claim 6, which is characterized in that the preset field in the lead code For rear 4 bytes in lead code.
9. mac mouthfuls of data sending device as claimed in claim 6, which is characterized in that it includes 4 that the binding, which sends serial ports, 25G HSSI High-Speed Serial Interface.
10. a kind of mac mouthfuls of data receiver resolver, which is characterized in that serial ports is received including binding, for receiving by such as Data packet transmitted by the described in any item data sending devices of claim 6 to 9;The multichannel that the binding receives serial ports demultiplexes The default mark is read with Demux, and sends respective corresponding ports for each data packet.
CN201910125725.6A 2019-02-20 2019-02-20 Mac mouthfuls of data send, receive analysis method and device Pending CN109600308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910125725.6A CN109600308A (en) 2019-02-20 2019-02-20 Mac mouthfuls of data send, receive analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910125725.6A CN109600308A (en) 2019-02-20 2019-02-20 Mac mouthfuls of data send, receive analysis method and device

Publications (1)

Publication Number Publication Date
CN109600308A true CN109600308A (en) 2019-04-09

Family

ID=65967401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910125725.6A Pending CN109600308A (en) 2019-02-20 2019-02-20 Mac mouthfuls of data send, receive analysis method and device

Country Status (1)

Country Link
CN (1) CN109600308A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030051052A1 (en) * 2001-09-13 2003-03-13 Koninklijke Philips Electronics N.V. Addressing scheme for wireless mobile clients
US20050128967A1 (en) * 2003-12-16 2005-06-16 Scobbie Donald M. Identifying services provided via IP and similar packet networks, and service usage records for such services
CN1728719A (en) * 2004-07-27 2006-02-01 邓里文 Adaptation method in use for syncretizing plesiochronous digital hierarchy or synchronous optical network
CN102006173A (en) * 2010-10-28 2011-04-06 武汉中元华电科技股份有限公司 Method and device for expanding Ethernet interface
CN106656389A (en) * 2016-10-24 2017-05-10 浙江蓝鸽科技有限公司 Synchronization cloud network data transmission control method and control system thereof
CN107040526A (en) * 2017-03-24 2017-08-11 武汉长光科技有限公司 Increase the method for DHCP Option82 fields in a kind of EPON system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030051052A1 (en) * 2001-09-13 2003-03-13 Koninklijke Philips Electronics N.V. Addressing scheme for wireless mobile clients
US20050128967A1 (en) * 2003-12-16 2005-06-16 Scobbie Donald M. Identifying services provided via IP and similar packet networks, and service usage records for such services
CN1728719A (en) * 2004-07-27 2006-02-01 邓里文 Adaptation method in use for syncretizing plesiochronous digital hierarchy or synchronous optical network
CN102006173A (en) * 2010-10-28 2011-04-06 武汉中元华电科技股份有限公司 Method and device for expanding Ethernet interface
CN106656389A (en) * 2016-10-24 2017-05-10 浙江蓝鸽科技有限公司 Synchronization cloud network data transmission control method and control system thereof
CN107040526A (en) * 2017-03-24 2017-08-11 武汉长光科技有限公司 Increase the method for DHCP Option82 fields in a kind of EPON system

Similar Documents

Publication Publication Date Title
CN103346949B (en) Based on Embedded dual pathways network packet unpack and organize bag method and system
US20060104302A1 (en) Method of configuring system layers for synchronous Ethernet
CN108880722B (en) Clock synchronization method, system and optical transmission equipment
CN100505673C (en) Method and system for detecting path maximal transmission unit
CA2693674C (en) Transmission of data over parallel links
WO2018210169A1 (en) Data transmission methods, devices, apparatuses, and system
KR101498914B1 (en) Method of transmission, user equipment and network equipment
US11799992B2 (en) Data transmission method in flexible ethernet and device
CN104618019A (en) WiFi (wireless fidelity) access system based on visible light transmission and data frame transformation method
KR102450095B1 (en) Data transmission method, transmission device, and reception device
GB2446044A (en) Communication system for transmitting data from a data source to a mobile station
EP2099193B1 (en) Data transport container for transferring data in a high speed internet protocol network
EP2346204B1 (en) Method and apparatus for synchronization processing
CN108696900A (en) A kind of packaging method of data packet, analytic method, device and equipment
KR101131264B1 (en) Super-Frame Construction Method by Using Sub-Frame In Residential Ethernet System
CN113890680A (en) Transmission method applied to fiber channel avionics network DDS
CN102291294A (en) Method and device for realizing line card intercommunication of packet over SONET/SDH / Ethernet (POS/ETH)
CN109600308A (en) Mac mouthfuls of data send, receive analysis method and device
WO2010102453A1 (en) Method, communication system and protocol entity for improving performance of relay network system
US11902172B2 (en) Device and method for transferring identification and/or data flow control information between devices
WO2020181462A1 (en) Clock synchronization message interacting method and apparatus
CN101635668A (en) Method and system for transmitting and controlling ethernet data
CN108632230B (en) Data processing method and network equipment
CN106911545B (en) Method and device for transmitting ST _ BUS data through Ethernet
JP2001251350A (en) Communication unit using universal data link protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province

Applicant after: Suzhou Shengke Communication Co.,Ltd.

Address before: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province

Applicant before: CENTEC NETWORKS (SUZHOU) Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409

RJ01 Rejection of invention patent application after publication