CN103929357A - Data transmission method and network equipment - Google Patents

Data transmission method and network equipment Download PDF

Info

Publication number
CN103929357A
CN103929357A CN201310012281.8A CN201310012281A CN103929357A CN 103929357 A CN103929357 A CN 103929357A CN 201310012281 A CN201310012281 A CN 201310012281A CN 103929357 A CN103929357 A CN 103929357A
Authority
CN
China
Prior art keywords
self
network device
destination network
network equipment
mac address
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
CN201310012281.8A
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201310012281.8A priority Critical patent/CN103929357A/en
Publication of CN103929357A publication Critical patent/CN103929357A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a data transmission method and network equipment. The data transmission method comprises the steps that after the network equipment receives a data package carrying a transmission path, whether the network equipment is target network equipment or not is judged; when the network equipment is determined not to be the target network equipment, the next-hop network equipment of the network equipment in the transmission path is determined; the data package is sent to the next-hop network equipment. The data transmission method and the network equipment are used, and the data transmission efficiency is effectively improved.

Description

A kind of data transmission method and the network equipment
Technical field
The present invention relates to the communications field, relate in particular to a kind of data transmission method and the network equipment.
Background technology
Along with developing rapidly of broadband network, each system network architecture also presents the situation of becoming increasingly complex.In the network that is similar to video matrix equipment cascading system, how to complete efficiently transfer of data and become the focus that industry is paid close attention to.
In prior art, transmit data in such network time, in packet, carry the target memory address of data to be stored in next-hop network equipment.In the time that a network equipment in network receives this packet, in this target memory address of this locality, store this data to be stored, judge whether self is destination network device, when determining while self being not destination network device, determine next-hop network equipment according to pre-stored routing iinformation, and the target memory address of definite these data to be stored in next-hop network equipment, the target memory address of carrying in this packet is upgraded, and according to the service condition of self current communication port, determine that the down hop network equipment sends the communication port that packet uses, packet after renewal is sent to next-hop network equipment by this communication port.
Owing to transferring to from source network device the process of destination network device at packet, often all need to carry out the storage of data to be stored, the renewal of entrained target memory address through an intermediary network device, and communication port is definite, cause data transmission efficiency lower, and take more to the processor resource of each network equipment.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method and the network equipment, in order to solve the lower problem of data transmission efficiency existing in prior art.
The embodiment of the present invention provides a kind of data transmission method, comprising:
The network equipment, after receiving the packet that carries transmission path, judges whether self is destination network device;
When determining while self being not described destination network device, determine in described transmission path the next-hop network equipment of self;
Send described packet to described next-hop network equipment.
The embodiment of the present invention provides a kind of network equipment, comprising:
Judging unit, for after receiving the packet that carries transmission path, judges whether self is destination network device;
Determining unit, for when determining while self being not described destination network device, determines in described transmission path the next-hop network equipment of self;
Transmitting element, for sending described packet to described next-hop network equipment.
Beneficial effect of the present invention comprises:
In the method that the embodiment of the present invention provides, when a network equipment receives packet, and determine while self being not destination network device, the next-hop network equipment of self in this transmission path of directly determining carries out the transmission of packet, compared to existing technology, do not need data to be transmitted to store and the renewal of entrained target memory address, do not need to determine communication port yet, therefore can improve data transmission efficiency, and avoid too much taking network equipment processor resource.
Brief description of the drawings
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, is used from explanation the present invention with the embodiment of the present invention one, is not construed as limiting the invention.In the accompanying drawings:
The flow chart of the data transmission method that Fig. 1 provides for the embodiment of the present invention;
The detail flowchart of the data transmission method that Fig. 2 provides for the embodiment of the present invention 1;
The structural representation of the video matrix equipment cascading system that Fig. 3 provides for the embodiment of the present invention 2;
The detail flowchart of the data transmission method that Fig. 4 provides for the embodiment of the present invention 2;
The structural representation of the network equipment that Fig. 5 provides for the embodiment of the present invention.
Embodiment
In order to provide the implementation that improves data transmission efficiency, the embodiment of the present invention provides a kind of data transmission method and the network equipment, below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein only, for description and interpretation the present invention, is not intended to limit the present invention.And in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
The embodiment of the present invention provides a kind of data transmission method, as shown in Figure 1, comprising:
Step 101, the network equipment, after receiving the packet that carries transmission path, judge whether self is destination network device;
Step 102, when determining while self not being this destination network device, determine in this transmission path the next-hop network equipment of self;
Step 103, the down hop network equipment send packet.
Wherein, in step 101, can judge that whether self is destination network device, is specially by the transmission path based on carrying in this packet:
Judge whether self is the network equipment of the least significant end of this transmission path; When determining while self being the network equipment of least significant end of this transmission path, determine it self is destination network device; When determining while self not being the network equipment of least significant end of this transmission path, determine it self is not destination network device.
In the time that packet also carries the media access control MAC address of destination network device, can also judge that whether self is destination network device, is specially based on MAC Address:
Whether the MAC Address and the MAC Address of destination network device that judge self be identical; In the time determining that self MAC Address is identical with the MAC Address of destination network device, determine it self is destination network device; In the time determining that self MAC Address is not identical with the MAC Address of destination network device, determine it self is not destination network device.
The data transmission method with specific embodiment, the embodiment of the present invention being provided is below described in detail.
Embodiment 1:
The detail flowchart that Figure 2 shows that the data transmission method that the embodiment of the present invention 1 provides, specifically comprises:
Arbitrary network equipment in step 201, system receives the packet that carries the MAC Address of transmission path, destination network device, data to be stored and the target memory address of this data to be stored in destination network device.
This packet by source network device based on data to be stored, add the Information generation such as MAC Address and the target memory address of data to be stored in destination network device to the transmission path destination network device, destination network device by source network device, the information such as the MAC Address of transmission path, destination network device and data to be stored target memory address in destination network device can be on the source network device that sends this packet, to arrange in advance.
Step 202, judge that based on MAC Address whether self is destination network device, is specially:
Whether the MAC Address and the MAC Address of destination network device that judge self be identical; In the time determining that self MAC Address is identical with the MAC Address of destination network device, determine it self is destination network device; In the time determining that self MAC Address is not identical with the MAC Address of destination network device, determine it self is not destination network device.
When determining while self being destination network device, enter step 203; When determining while self being not destination network device, enter step 204.
Step 203, in this target memory address of self, store this data to be stored.
Finish this data transmission flow.
Step 204, determine in this transmission path self next-hop network equipment.
After the next-hop network equipment of current network equipment is and is positioned at current network equipment in transmission path, and the network equipment being directly connected with current network equipment.
Step 205, send this packet to this next-hop network equipment.
This next-hop network equipment receives after this packet, carries out the step that this flow process is identical, judges whether self is destination network device.
Visible, the method that adopts the embodiment of the present invention to provide, when a network equipment receives packet, and determine while self being not destination network device, directly determine that the next-hop network equipment of self carries out the transmission of packet in this transmission path, can improve data transmission efficiency, and avoid too much taking network equipment processor resource.
Taking video matrix equipment cascading system as example, using the video matrix equipment in video matrix equipment cascading system as the above-mentioned network equipment, using video data as data to be stored, the data transmission method that the embodiment of the present invention is provided is further described below.
Embodiment 2:
In video matrix equipment cascading system, each video matrix equipment comprises a main frame and at least one subtending board, between main frame and each subtending board, completes transfer of data by PCIE bus interface, in PCIE2.0 bandwidth theory, can reach 40Gbps.
Between each video matrix equipment in system, adopt optical fiber to connect by subtending board, each subtending board disposes 8 optical fiber interfaces, can ensure the bidirectional data transfers bandwidth of 20Gbps.
The transfer of data of the different video channels on each subtending board between PCIE bus interface and optical fiber interface can be passed through the FPGA(field programmable gate array of subtending board, Field Programmable Gate Array) logic realization.
Because the each video matrix equipment in system likely carries out the transmission of data as source video matrix equipment, so need to store the network topology structure of this system in each video matrix equipment.Specifically can determined after the network topology structure of this system by a video matrix equipment, with broadcast mode send carry this system network topology structure inform message, all video matrix equipment in this system all can receive this message, obtain the network topology structure of this system.
Each subtending board is supported the transfer of data of 128 tunnel video channels.Carrying out before data transmission, main frame Wei Mei road video channel as the video matrix equipment of source video matrix equipment configures one group of configuration information, comprise the MAC Address of target video matrix device, transmission path and the target memory address of video data target video matrix device from source video matrix equipment to target video matrix device, a look-up table of 128 tunnel video channel configuration informations compositions.
In video matrix equipment cascading system, this transmission path can be fiber port route chain, and preferably, this fiber port route chain is configured according to the shortest transmission path by the main frame of source video matrix equipment.
The subtending board of source video matrix equipment receives the video data that the main frame of this source video matrix equipment sends by PCIE bus interface, remove to obtain in look-up table corresponding with the video channel of transmitting this video data configuration information, video data and corresponding video channel configuration information are packaged into the packet of presetting form, between matrix, transmit.
Below with in the video matrix equipment cascading system shown in Fig. 3, sending data instance from video matrix equipment 0 to video matrix equipment 20 describes, in this data transfer, video matrix equipment 0 is as source video matrix equipment, video matrix equipment 20 is as target video matrix device, the detailed process that data send as shown in Figure 4, specifically comprises:
Step 401, video matrix equipment 0 main frame send video data to video matrix equipment 0 subtending board.
Step 402, video matrix equipment 0 subtending board receive this video data, obtain the one group configuration information corresponding with the video channel of transmitting this video data, and video data and configuration information are packaged into the packet of presetting form.
Step 403, video matrix equipment 0 subtending board are determined in this transmission path the next-hop network equipment 11 of self.
Step 404, video matrix equipment 0 subtending board send this packet to video matrix equipment 11 subtending boards.
Step 405, video matrix equipment 11 subtending boards receive this packet, judge that whether the MAC Address of the target video matrix device in packet is identical with the MAC Address of video matrix equipment 11.
In the present embodiment, the MAC Address of target video matrix device is the MAC Address of video matrix equipment 20, not identical with the MAC Address of video matrix equipment 11, enters step 406.
Step 406, video matrix equipment 11 subtending boards are determined in this transmission path the next-hop network equipment 20 of self.
Step 407, video matrix equipment 11 subtending boards send this packet to video matrix equipment 20 subtending boards.
Step 408, video matrix equipment 20 subtending boards receive this packet, judge that whether the MAC Address of the target video matrix device in packet is identical with the MAC Address of video matrix equipment 20.
In the present embodiment, the MAC Address of target video matrix device is the MAC Address of video matrix equipment 20, and both are identical, enter step 409.
Step 409, video matrix equipment 20 subtending boards send the video data in this packet to the target memory address of video matrix equipment 20 main frames.
Step 410, video matrix equipment 20 main frames receive this video data, can carry out follow-up storage and demonstration etc.
So far, data are sent completely.
Visible, the method that adopts the embodiment of the present invention to provide, sent in the process of data to target video matrix device 20 by source video matrix equipment 0, do not need through intermediate video matrix device 11 main frames, after intermediate video matrix device 11 subtending boards are determined and self are not target video matrix device, determine down hop video matrix equipment and directly forward, improved data transmission efficiency, take less to middle video matrix device resource.
Based on same inventive concept, the data transmission method providing according to the above embodiment of the present invention, correspondingly, the embodiment of the present invention also provides a kind of network equipment, and its structural representation as shown in Figure 5, specifically comprises:
Judging unit 501, for after receiving the packet that carries transmission path, judges whether self is destination network device;
Determining unit 502, for when determining while self not being this destination network device, determines in this transmission path the next-hop network equipment of self;
Transmitting element 503, for sending this packet to this next-hop network equipment.
Further, judging unit 501 is specifically for judging whether self is the network equipment of the least significant end of this transmission path; When determining while self being the network equipment of least significant end of this transmission path, determine it self is this destination network device; When determining while self not being the network equipment of least significant end of this transmission path, determine it self is not this destination network device.
Further, this packet also carries the media access control MAC address of this destination network device;
Whether judging unit 501 is identical specifically for judging self MAC Address and the MAC Address of this destination network device; In the time determining that self MAC Address is identical with the MAC Address of this destination network device, determine it self is this destination network device; In the time determining that self MAC Address is not identical with the MAC Address of this destination network device, determine it self is not this destination network device.
Further, in this packet, also carry data to be stored, and the target memory address of these data to be stored in this destination network device;
This network equipment also comprises:
Memory cell 504, for when determining while self being this destination network device, in this target memory address of self, stores this data to be stored.
Further, this network equipment is video matrix equipment.
The function of above-mentioned each unit can, corresponding to the respective handling step in flow process shown in Fig. 1-Fig. 3, not repeat them here.
In sum, the scheme that the embodiment of the present invention provides, comprising: the network equipment, after receiving the packet that carries transmission path, judges whether self is destination network device; When determining while self being not destination network device, determine in this transmission path the next-hop network equipment of self; Send this packet to this next-hop network equipment.The scheme that adopts the embodiment of the present invention to provide, has effectively improved data transmission efficiency.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. a data transmission method, is characterized in that, comprising:
The network equipment, after receiving the packet that carries transmission path, judges whether self is destination network device;
When determining while self being not described destination network device, determine in described transmission path the next-hop network equipment of self;
Send described packet to described next-hop network equipment.
2. the method for claim 1, is characterized in that, judges that whether self is destination network device, is specially:
Judge whether self is the network equipment of the least significant end of described transmission path;
When determining while self being the network equipment of least significant end of described transmission path, determine it self is described destination network device;
When determining while self not being the network equipment of least significant end of described transmission path, determine it self is not described destination network device.
3. the method for claim 1, is characterized in that, described packet also carries the media access control MAC address of described destination network device;
Judge that whether self is destination network device, is specially:
Whether the MAC Address and the MAC Address of described destination network device that judge self be identical;
In the time determining that self MAC Address is identical with the MAC Address of described destination network device, determine it self is described destination network device;
In the time determining that self MAC Address is not identical with the MAC Address of described destination network device, determine it self is not described destination network device.
4. the method for claim 1, is characterized in that, also carries data to be stored in described packet, and the target memory address of described data to be stored in described destination network device;
When determining while self being described destination network device, also comprise:
In the described target memory address of self, store described data to be stored.
5. the method for claim 1, is characterized in that, the source network device that sends described packet is on described source network device, to arrange in advance to the described transmission path between described destination network device.
6. a network equipment, is characterized in that, comprising:
Judging unit, for after receiving the packet that carries transmission path, judges whether self is destination network device;
Determining unit, for when determining while self being not described destination network device, determines in described transmission path the next-hop network equipment of self;
Transmitting element, for sending described packet to described next-hop network equipment.
7. the network equipment as claimed in claim 6, is characterized in that, described judging unit is specifically for judging whether self is the network equipment of the least significant end of described transmission path; When determining while self being the network equipment of least significant end of described transmission path, determine it self is described destination network device; When determining while self not being the network equipment of least significant end of described transmission path, determine it self is not described destination network device.
8. the network equipment as claimed in claim 6, is characterized in that, described packet also carries the media access control MAC address of described destination network device;
Whether described judging unit is identical specifically for judging self MAC Address and the MAC Address of described destination network device; In the time determining that self MAC Address is identical with the MAC Address of described destination network device, determine it self is described destination network device; In the time determining that self MAC Address is not identical with the MAC Address of described destination network device, determine it self is not described destination network device.
9. the network equipment as claimed in claim 6, is characterized in that, also carries data to be stored in described packet, and the target memory address of described data to be stored in described destination network device;
The described network equipment also comprises:
Memory cell, for when determining while self being described destination network device, in the described target memory address of self, stores described data to be stored.
10. the network equipment as described in as arbitrary in claim 6-9, is characterized in that, the described network equipment is video matrix equipment.
CN201310012281.8A 2013-01-11 2013-01-11 Data transmission method and network equipment Pending CN103929357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310012281.8A CN103929357A (en) 2013-01-11 2013-01-11 Data transmission method and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310012281.8A CN103929357A (en) 2013-01-11 2013-01-11 Data transmission method and network equipment

Publications (1)

Publication Number Publication Date
CN103929357A true CN103929357A (en) 2014-07-16

Family

ID=51147440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310012281.8A Pending CN103929357A (en) 2013-01-11 2013-01-11 Data transmission method and network equipment

Country Status (1)

Country Link
CN (1) CN103929357A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035036A (en) * 2018-01-12 2019-07-19 中国移动通信有限公司研究院 Data transmission method, device, the network equipment and storage medium
WO2020103736A1 (en) * 2018-11-23 2020-05-28 阿里巴巴集团控股有限公司 Data transmission device, processing system, and message distribution method and apparatus
CN117615398A (en) * 2024-01-23 2024-02-27 国网四川省电力公司电力科学研究院 Data transmission method, system and medium for distribution automation feeder terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355490A (en) * 2007-07-25 2009-01-28 华为技术有限公司 Method, system and node equipment for routing information
CN101714945A (en) * 2009-12-02 2010-05-26 浙江中控技术股份有限公司 System and method for realizing internetwork communication
CN101873273A (en) * 2010-07-08 2010-10-27 华为技术有限公司 Routing forwarding method, routing node and wireless communication network
CN102217253A (en) * 2011-05-05 2011-10-12 华为技术有限公司 Message forwarding method, equipment and network device
CN102916894A (en) * 2012-11-08 2013-02-06 华为技术有限公司 Network traffic forwarding method and source routing equipment
CN103139071A (en) * 2011-11-29 2013-06-05 华为技术有限公司 Method, device and system of message transmitting
CN103259725A (en) * 2012-02-21 2013-08-21 华为技术有限公司 Messaging method and network equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355490A (en) * 2007-07-25 2009-01-28 华为技术有限公司 Method, system and node equipment for routing information
CN101714945A (en) * 2009-12-02 2010-05-26 浙江中控技术股份有限公司 System and method for realizing internetwork communication
CN101873273A (en) * 2010-07-08 2010-10-27 华为技术有限公司 Routing forwarding method, routing node and wireless communication network
CN102217253A (en) * 2011-05-05 2011-10-12 华为技术有限公司 Message forwarding method, equipment and network device
CN103139071A (en) * 2011-11-29 2013-06-05 华为技术有限公司 Method, device and system of message transmitting
CN103259725A (en) * 2012-02-21 2013-08-21 华为技术有限公司 Messaging method and network equipment
CN102916894A (en) * 2012-11-08 2013-02-06 华为技术有限公司 Network traffic forwarding method and source routing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李振银,吴健: "《网络管理与维护》", 29 February 2012, 北京:中国铁道出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035036A (en) * 2018-01-12 2019-07-19 中国移动通信有限公司研究院 Data transmission method, device, the network equipment and storage medium
WO2020103736A1 (en) * 2018-11-23 2020-05-28 阿里巴巴集团控股有限公司 Data transmission device, processing system, and message distribution method and apparatus
CN111224851A (en) * 2018-11-23 2020-06-02 阿里巴巴集团控股有限公司 Data transmission equipment and processing system, and message distribution method and device
CN111224851B (en) * 2018-11-23 2022-09-27 阿里巴巴集团控股有限公司 Data transmission equipment and processing system, and message distribution method and device
CN117615398A (en) * 2024-01-23 2024-02-27 国网四川省电力公司电力科学研究院 Data transmission method, system and medium for distribution automation feeder terminal
CN117615398B (en) * 2024-01-23 2024-04-16 国网四川省电力公司电力科学研究院 Data transmission method, system and medium for distribution automation feeder terminal

Similar Documents

Publication Publication Date Title
US9106711B2 (en) Minimizing mapping and signaling for data path aggregation
US7653056B1 (en) Virtual switching using a provisional identifier to conceal a user identifier
KR101536141B1 (en) Apparatus and method for converting signal between ethernet and can in a vehicle
US9544389B2 (en) Method and device for processing service in software-defined networking system
US8824506B2 (en) Fragmentation of link layer discovery protocol packets
CN102185782B (en) Data transmission method and device of multilink transparent transmission interconnection network
CN104378308A (en) Method and device for detecting message sending rate
WO2021063193A1 (en) Flow control method and apparatus, and node and storage medium
CN103338488B (en) Method for switching network, terminal, controller, gateway and system
US20110292940A1 (en) System and method for establishing a communication path using labels
US8973074B2 (en) Method and system for isochronous communication in audio/video networks
JP2011203871A (en) Communication device and control method therefor
US7760723B1 (en) Relaying a data stream from a data device to a network tunnel
US11418443B2 (en) Method for distributing transmission path information and routing bridges
CN103236975A (en) Message forwarding method and message forwarding device
CN102611632A (en) VPLS (Virtual Private LAN Service) output route filtering method and device based on BGP (Border Gateway Protocol)
CN103929357A (en) Data transmission method and network equipment
KR20210154851A (en) Method, apparatus and system for controlling data radio bearer in multi-connection system
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
US9003466B2 (en) Method and system for isochronous data stream management in high speed audio/video networks
CN103634209A (en) Method and equipment for data transmission
WO2015158127A1 (en) Optical transmission system and transmission method, optical switching device and control method
CN102420766B (en) Routing determination method and routing device
KR20150121115A (en) System and method for enabling g.hn nodes to support 1905.1 relaying (mac relaying) while supporting legacy g.hn relaying according to the g.hn standards
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140716