CN100479423C - Point-to-point communication method on Ethernet - Google Patents

Point-to-point communication method on Ethernet Download PDF

Info

Publication number
CN100479423C
CN100479423C CNB2004100864715A CN200410086471A CN100479423C CN 100479423 C CN100479423 C CN 100479423C CN B2004100864715 A CNB2004100864715 A CN B2004100864715A CN 200410086471 A CN200410086471 A CN 200410086471A CN 100479423 C CN100479423 C CN 100479423C
Authority
CN
China
Prior art keywords
message
line
equipment
sign
service message
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.)
Expired - Fee Related
Application number
CNB2004100864715A
Other languages
Chinese (zh)
Other versions
CN1764152A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2004100864715A priority Critical patent/CN100479423C/en
Publication of CN1764152A publication Critical patent/CN1764152A/en
Application granted granted Critical
Publication of CN100479423C publication Critical patent/CN100479423C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a p-to-p communication method in Ethernet used to transparent data treatment with upper and lower connection devices. Wherein, the lower-connection device uses special bites of Ethernet message as its label, and timed send state message to upper-connection device; the latter monitors the received data quantity, if less than expected value, decides that there is communication fault to the lower-connection device. This invention uses p-to-p private communication method to satisfy the demand of transparent system and ensure special system security, and realizes the inform for data communication states.

Description

The communication means of point-to-point on the Ethernet
Technical field
The present invention relates to the communication means on the Ethernet, particularly the communication means of point-to-point on the Ethernet.
Background technology
In some data handling system of forming by a plurality of equipment, adopt Ethernet interface to connect between each equipment, because special user demand, require all equipment necessary transparent, and need point-to-point to connect, can not move various existing procotols (as TC/IP, ARP etc.), so the data communication between the equipment and state circular just can't utilize present procotol to communicate, must set up one and overlap new communication means and satisfy this demand.
Summary of the invention
The technical problem to be solved in the present invention provides the communication means of point-to-point on a kind of Ethernet, adopts the privately owned communication means of point-to-point to realize data communication and state circular.
In order to solve the problems of the technologies described above, the invention provides the communication means of point-to-point on a kind of Ethernet, be applied to comprise in the data handling system of not moving general procotol of some first line of a couplet and second line of a couplet equipment, may further comprise the steps:
(a) second line of a couplet equipment is with specific several the signs as state message in the state message, to first line of a couplet equipment timed sending state message;
(b) quantity of the state message received of first line of a couplet monitoring of equipment if be lower than desired value, is then thought and the second line of a couplet equipment room generation communication failure that sends this state message;
(c) with in the service message specific several as Directional Sign, realize record to each service message direction.
Further, above-mentioned communication means also can have following characteristics: also comprise step (d): with in the service message specific several as device identification, realize record to each service message source.
Further, above-mentioned communication means also can have following characteristics: be by in the protocol fields of revising the Ethernet message each self-corresponding specific several as described state message sign, Directional Sign and device identification.
Further, above-mentioned communication means also can have following characteristics: be by in the bed course that in Ethernet heading and IP message, increases each self-corresponding specific several as described state message sign, Directional Sign and device identification.
Further, above-mentioned communication means also can have following characteristics: in the described step (b), described first line of a couplet equipment is the state message received in the continuous time during less than desired value, thinks and the second line of a couplet equipment room generation communication failure that sends this state message.
Another technical problem that the present invention will solve provides a kind of communication means of data handling system, can connect at Ethernet, at least comprise that Business Stream holds back in the system of forwarding unit and service message treatment facility, adopt the privately owned communication means of point-to-point to realize data communication and state circular.
In order to solve the problems of the technologies described above, the invention provides a kind of communication means of data handling system, be applied to the data handling system of not moving general procotol by the Ethernet connection, what this system comprised Business Stream at least holds back forwarding unit and service message treatment facility, and this communication means may further comprise the steps:
(A) after the system start-up, second line of a couplet equipment begins to its first line of a couplet equipment transmit status message, with specific several the signs as state message in the ether network packet;
(B) quantity of the state message received of first line of a couplet monitoring of equipment if be lower than desired value, is then thought and the second line of a couplet equipment room generation communication failure that sends this state message;
(C) hold back forwarding unit and receive the service message of given traffic streams after, with in the ether network packet specific several as Directional Sign, service message encapsulation back is sent;
(D) after described service message treatment facility is received the service message of sending, the IP section content of service message is carried out analyzing and processing, transmit, send according to original encapsulation as need;
(E) described hold back forwarding unit and receive treated service message after, therefrom remove Directional Sign, recover its normal encapsulation again, send to the direction of service message Directional Sign appointment then.
Further, above-mentioned communication means also can have following characteristics: described transparent system also comprises shunting device, described step (C) also comprises step afterwards: after this shunting device is received the service message of sending, with in the ether network packet specific several as source device sign, service message encapsulation back is sent; Simultaneously, also comprise step afterwards: after this shunting device is received treated service message, remove the source device sign in this message, send to corresponding source device then in described step (D).
Further, above-mentioned communication means also can have following characteristics: be by in the protocol fields of revising the Ethernet message each self-corresponding specific several as described state message sign, Directional Sign and source device sign.
Further, above-mentioned communication means also can have following characteristics: be by in the bed course that in Ethernet heading and IP message, increases each self-corresponding specific several as described state message sign, Directional Sign and source device sign.
Further, above-mentioned communication means also can have following characteristics: in the described step (B), described first line of a couplet equipment is the state message received in the continuous time during less than desired value, thinks and the second line of a couplet equipment room generation communication failure that sends this state message.
As from the foregoing, communication means of the present invention can satisfy the transparent requirement of dedicated system, does not move various general procotols, adopts the privately owned communication means of point-to-point, guarantee the fail safe of dedicated system, also realized the communication of data between the equipment and the circular of state simultaneously.
Description of drawings
Fig. 1 is to use the structural representation of the dedicated system of the inventive method;
Fig. 2 is the flow chart of the inventive method.
Embodiment
Be the exclusive data treatment system of present embodiment as shown in Figure 1, this system blocks the given traffic streams on the internet, judges then, the business that meets some condition is held back, and other professional continuation are transmitted.Detailed process is:
RTA equipment (RTA, RTB are the equipment code names) blocks the given traffic streams on the internet, sends to RTB equipment; RTB equipment is according to the port of service message, and characteristics such as address are carried out the equilibrium shunting, send to the service message processing server; After the service message processing server is judged service message, continue if desired to transmit, then send to RTB equipment; RTB equipment is issued RTA equipment after receiving the message that the service message processing server sends out, and RTA equipment is forwarded on the internet again.
According to the flow process of the data packet messages of equipment, RTB equipment is the second line of a couplet equipment of RTA equipment, and the service message processing server is the second line of a couplet equipment of RTB equipment.Correspondingly, RTA equipment is the first line of a couplet equipment of RTB equipment, and RTB equipment is the first line of a couplet equipment of service message processing server.A RTB equipment in the present embodiment can connect a plurality of RTA equipment, also connects a plurality of Service Process Server simultaneously, and RTA equipment and Service Process Server only are connected to a RTB equipment.Adopt Ethernet interface to realize that point-to-point connects between each equipment, the point here is meant RTA equipment, the concrete port of RTB equipment or service server.
This system is a transparent system, and so-called transparent this system that is meant does not move general procotol, and therefore the equipment that is connected with this system can't utilize general procotol to find the existence of this system.Adopt the method for present embodiment to communicate between the equipment in this system.
As shown in Figure 2, above-mentioned data handling system adopts following steps to realize data communication and state circular when work:
Step 110, system normally starts, this moment, the service message processing server was not to RTB equipment transmit status message, RTB equipment is not also to RTA equipment transmit status message, the overseas message of all Internet that RTA equipment is received sees through RTA equipment and delivers in the Internet, and the message in all Internet territories that RTA equipment is received sees through RTA equipment and delivers to outside the Internet.
After step 120, service message processing server started normally, beginning was to RTB equipment transmit status message; The form of present embodiment state circular message is as follows:
Figure C20041008647100071
Wherein, Ethernet message protocol field " 0800 " is revised as " 0000 " sign as state message, can certainly be revised as " 1111 " or other data.Other field of state message can arbitrarily be specified.
Step 130, the RTB device start normal and receive the state message that the service message processing server sends here after, beginning is to RTA equipment transmit status message; The form of state message is identical, as follows with the transmission of service message processing server:
The form of state circular message is as follows:
Step 140, RTB equipment and RTA equipment are monitored the state message of receiving, if in the continuous time, in for example continuous 6 seconds, the quantity of the state message of receiving is less than desired value, just thinks and transmit between the second line of a couplet equipment of this state message communication failure has taken place;
After step 150, RTA equipment are received the service message of given traffic streams from Internet, send to RTB equipment after service message encapsulated Directional Sign, the data message form between RTA equipment and the RTB equipment is as follows:
Figure C20041008647100082
MAC_DA wherein refers to the target MAC (Media Access Control) address that exists in the former message, and MAC_SA refers to corresponding source MAC.And with preceding 4 Directional Signs that are revised as service message in the Ethernet message protocol field (0x0800).Directional Sign be used to indicate this service message come to and whereabouts, promptly receive and send two ports of this service message.
Step 160, RTB equipment have been received encapsulation that RTA equipment sends behind the service message of Directional Sign, and the device numbering of encapsulation RTA equipment is distributed to (as the principle according to load balancing) corresponding business message processing server on message; Data message form between RTB equipment and the service message processing server is:
Figure C20041008647100083
Wherein further with the 5th in the Ethernet message protocol field (0x0800) to the 8th numbering that is revised as the RTA equipment of handling this service message.
Step 170, service message processing server are carried out analyzing and processing to the IP section content of service message after receiving the service message of RTB equipment transmission, transmit as need, send to RTB equipment according to original encapsulation then; Data message form between RTB equipment and the service message processing server is:
Figure C20041008647100084
After step 180, RTB equipment are received the service message of service message processing server transmission, from service message, remove the RTA device numbering of this message, send to corresponding RTA equipment then; Wherein the data message form between RTB equipment and the RTA equipment is:
Figure C20041008647100091
Step 190, RTA equipment are removed Directional Sign after receiving the service message of RTB equipment transmission from service message, be encapsulated as two layers of encapsulation of the corresponding message of normal Internet interface again, send to the direction of service message Directional Sign appointment.
As can be seen, data communication and the state circular of the foregoing description in order to have realized point-to-point in data handling system, adopted following privately owned communication means:
Second line of a couplet equipment such as service message processor, RTB equipment are with specific several the signs as state message in the ether network packet, to first line of a couplet equipment timed sending state messages such as RTB equipment, RTA equipment; The quantity of the state message that first line of a couplet monitoring of equipment is received if be lower than desired value, is then thought and the second line of a couplet equipment room generation communication failure that sends this state message; And
When RTA equipment sends service message to RTB equipment, with in the ether network packet specific several as Directional Sign, realize record to each data message direction; When RTB equipment sends service message to the service message processing server, with in the ether network packet specific several as device identification, realize record to each data message source.
Therefore, the foregoing description is to increase Directional Sign and device numbering in general Ethernet data message, and revises protocol fields as privately owned communication meanss such as state messages, has realized the data communication and the state circular of point-to-point in data handling system.Need to prove, the concrete data handling system that above-mentioned communication means is not limited to provide among the embodiment, the transparent system that adopts private method to carry out point to point link for needs can adopt, and this moment, concrete treatment step may be different with the foregoing description.
Communication means in the foregoing description can also be done some conversion, for example, realizes above-mentioned functions by other Bit positions of revising protocol fields.Perhaps, also can realize above-mentioned function by between Ethernet heading and IP message, increasing bed course (as increasing a field).
And for example, if when the first line of a couplet in the system and second line of a couplet equipment adopt One-to-one communication, do not need the source of record data message.
And for example, the transparent data treatment system also can have only two-stage, promptly may not comprise the RTB equipment that is used to shunt among the embodiment.Correspondingly,, need only encapsulate the direction sign, issue corresponding service message processing server, beam back source device by former encapsulation again after the service message processing server is finished dealing with and get final product for pending service message.

Claims (10)

1, the communication means of point-to-point on a kind of Ethernet is applied to comprise in the data handling system of not moving general procotol of some first line of a couplet and second line of a couplet equipment, may further comprise the steps:
(a) second line of a couplet equipment is with specific several the signs as state message in the state message, to first line of a couplet equipment timed sending state message;
(b) quantity of the state message received of first line of a couplet monitoring of equipment if be lower than desired value, is then thought and the second line of a couplet equipment room generation communication failure that sends this state message;
(c) with in the service message specific several as Directional Sign, realize record to each service message direction.
2, communication means as claimed in claim 1 is characterized in that, also comprises step (d): with in the service message specific several as device identification, realize record to each service message source.
3, communication means as claimed in claim 2 is characterized in that, be by in the protocol fields of revising the Ethernet message each self-corresponding specific several as described state message sign, Directional Sign and device identification.
4, communication means as claimed in claim 2 is characterized in that, be by in the bed course that in Ethernet heading and IP message, increases each self-corresponding specific several as described state message sign, Directional Sign and device identification.
5, communication means as claimed in claim 2 is characterized in that, in the described step (b), described first line of a couplet equipment is the state message received in the continuous time during less than desired value, thinks and the second line of a couplet equipment room generation communication failure that sends this state message.
6, a kind of communication means of data handling system, be applied to the data handling system of not moving general procotol by the Ethernet connection, what this system comprised Business Stream at least holds back forwarding unit and service message treatment facility, and this communication means may further comprise the steps:
(A) after the system start-up, second line of a couplet equipment begins to its first line of a couplet equipment transmit status message, with specific several the signs as state message in the ether network packet;
(B) quantity of the state message received of first line of a couplet monitoring of equipment if be lower than desired value, is then thought and the second line of a couplet equipment room generation communication failure that sends this state message;
(C) hold back forwarding unit and receive the service message of given traffic streams after, with in the ether network packet specific several as Directional Sign, service message encapsulation back is sent;
(D) after described service message treatment facility is received the service message of sending, the IP section content of service message is carried out analyzing and processing, transmit, send according to original encapsulation as need;
(E) described hold back forwarding unit and receive treated service message after, therefrom remove Directional Sign, recover its normal encapsulation again, send to the direction of service message Directional Sign appointment then.
7, communication means as claimed in claim 6, it is characterized in that, described transparent system also comprises shunting device, described step (C) also comprises step afterwards: after this shunting device is received the service message of sending, with in the ether network packet specific several as source device sign, service message encapsulation back is sent; Simultaneously, also comprise step afterwards: after this shunting device is received treated service message, remove the source device sign in this message, send to corresponding source device then in described step (D).
8, communication means as claimed in claim 7 is characterized in that, be by in the protocol fields of revising the Ethernet message each self-corresponding specific several as described state message sign, Directional Sign and source device sign.
9, communication means as claimed in claim 7 is characterized in that, be by in the bed course that in Ethernet heading and IP message, increases each self-corresponding specific several as described state message sign, Directional Sign and source device sign.
10, communication means as claimed in claim 7 is characterized in that, in the described step (B), described first line of a couplet equipment is the state message received in the continuous time during less than desired value, thinks and the second line of a couplet equipment room generation communication failure that sends this state message.
CNB2004100864715A 2004-10-21 2004-10-21 Point-to-point communication method on Ethernet Expired - Fee Related CN100479423C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100864715A CN100479423C (en) 2004-10-21 2004-10-21 Point-to-point communication method on Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100864715A CN100479423C (en) 2004-10-21 2004-10-21 Point-to-point communication method on Ethernet

Publications (2)

Publication Number Publication Date
CN1764152A CN1764152A (en) 2006-04-26
CN100479423C true CN100479423C (en) 2009-04-15

Family

ID=36748109

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100864715A Expired - Fee Related CN100479423C (en) 2004-10-21 2004-10-21 Point-to-point communication method on Ethernet

Country Status (1)

Country Link
CN (1) CN100479423C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123072B (en) * 2010-01-11 2016-03-02 中兴通讯股份有限公司 The implementation method of Packet Classification process, network and terminal
CN102123083B (en) * 2011-01-17 2016-05-25 广州中道电子科技有限公司 A kind of intelligent use network
CN102333101A (en) * 2011-10-31 2012-01-25 杭州华三通信技术有限公司 Lawful interception method and equipment
CN103019792A (en) * 2012-12-21 2013-04-03 北京经纬恒润科技有限公司 Application reprogramming method and application reprogramming system

Also Published As

Publication number Publication date
CN1764152A (en) 2006-04-26

Similar Documents

Publication Publication Date Title
CN100471180C (en) Method, device and system for transfer news
CN101057483B (en) Reception of redundant and non-redundant frames
CN102096405B (en) Remote industrial network monitoring method and system based on S-Link and VLAN (Virtual Local Area Network) technique
CN101160850B (en) Method and device for forwarding packet
CN102077194B (en) Network controller based pass-through communication mechanism between local host and management controller
CN101675346A (en) Pseudowire load balancing
CN102724030A (en) Stacking system with high reliability
CN102025646A (en) Link switching method and device thereof
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN103401773A (en) Method and network equipment realizing interboard communication
CN102857956A (en) Master-slave communication method and device
CN101542980A (en) Method for the operation of an Ethernet-compatible field bus device
CN1937782B (en) Frame device and its message transmitting method
CN102571559A (en) Time-triggered network message transmission method
CN107124393B (en) Remote host management over a network
CN108881302A (en) Industrial Ethernet and BLVDS bus bar communication device and industrial control system
CN101262366A (en) Debugging method, system and distributed device for target single board
CN102811174A (en) Method for processing monitor service and network video recorder (NVR)
US6909717B1 (en) Real time ethernet protocol
CN103532863A (en) Method and device for realizing software stacking
CN107948217B (en) Switch system and communication method
CN1203714A (en) Agent, system and method for supervision of objects
CN101997767B (en) Method and device for acquiring protocol messages by nodes on ring network
CN100479423C (en) Point-to-point communication method on Ethernet
CN104539539A (en) Multi-service-board data forwarding method for AC 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090415

Termination date: 20141021

EXPY Termination of patent right or utility model