CN108924260A - A kind of means of communication between network equipment subsystem based on Ethernet - Google Patents
A kind of means of communication between network equipment subsystem based on Ethernet Download PDFInfo
- Publication number
- CN108924260A CN108924260A CN201810934208.9A CN201810934208A CN108924260A CN 108924260 A CN108924260 A CN 108924260A CN 201810934208 A CN201810934208 A CN 201810934208A CN 108924260 A CN108924260 A CN 108924260A
- Authority
- CN
- China
- Prior art keywords
- subsystem
- data
- subsystems
- coordination subsystems
- coordination
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/03—Protocol definition or specification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/324—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention provides the means of communication between a kind of network equipment subsystem based on Ethernet, including defining the data frame for communication;Subsystem and Coordination subsystems establish communication connection, specifically include:Subsystem actively initiates to establish communication connection with Coordination subsystems and Coordination subsystems actively initiate to establish communication connection with subsystem;The communication connection established to subsystem and Coordination subsystems carries out link keep-alive;Subsystem or Coordination subsystems according to the data frame of definition format encapsulation of data and send;Subsystem or Coordination subsystems receive the data of encapsulation, and the data of encapsulation are decoded and are decompressed and obtain initial data.Advantage of the present invention:It not only can greatly simplify the network settings to subsystems, and may insure that the communication between subsystems is not influenced by external IP configuration, and prevented possibility of the subsystem by external attack of the network equipment, to improve safety.
Description
Technical field
Communication side the present invention relates to communication field, in particular between a kind of network equipment subsystem based on Ethernet
Method.
Background technique
Ethernet (Ethernet) is a kind of communication protocol standard the most general that existing local area network uses, it is defined
The content of line, electric signal and medium access layer protocol including physical layer.Ethernet frame is the encapsulation of data link layer, net
The data packet of network layers, which is coupled with frame head and postamble just, becomes the data frame that can be identified by data link layer.
Broadcast, which refers to, sends message to the node of all connections in network transmission.Broadcast domain, which refers in network, to be received
The set of all devices for the broadcast frame that any equipment issues.The data traffic that broadcast is mainly made of broadcast frame, these
Broadcast frame for purpose address, is reported to computer all in network and connect with broadcast address (each of broadcast address is all " 1 ")
It receives this broadcast frame and is handled, wherein target MAC (Media Access Control) address FF:FF:FF:FF:FF:FF:FF:The ethernet frame of FF is known as
Broadcast frame.Broadcast mode can generate a large amount of flows, and bandwidth availability ratio is caused to reduce, and then influence the performance of whole network.Having
Body is in use, in the case where needing the All hosts in network that can receive identical information and be handled, it will usually use
Broadcast mode;But broadcast mode can generate a large amount of flow, this causes bandwidth availability ratio to reduce, and then influences whole network
Performance.
Unicast refers in network transmission, is led between one sender and one recipient by what network carried out
Letter, i.e., be sent to single destination from single source.Unicast frame is also referred to as " point-to-point " communication, in this case, frame
It receives and transmitting only carries out between the two nodes, the target MAC (Media Access Control) address of frame is exactly the MAC Address of other side.
It can be found after using, there are following defects for the communication between the subsystem of conventional network equipment:
1, the communications protocol of the subsystem of conventional network equipment is typically based on IP, this causes to each of the network equipment
A subsystem requires configuration of IP;
2, due to the particularity of the network equipment, the IP of the subsystem of the network equipment is invisible to user under normal conditions
, belong to internal configuration, user can only the external IP of Configuration network equipment, this causes with being likely to occur internal IP and external IP
The case where location conflicts, and IP address is reconfigured, and will lead to the interaction of the communication between subsystem and interrupt;
3, the network equipment is often in public network environment, and internal subsystem is configured with IP, external network attack
Likely via external IP attack to internal subsystem, this probability for causing subsystem to be attacked is greatly increased.
Summary of the invention
The technical problem to be solved in the present invention is to provide the communication between a kind of network equipment subsystem based on Ethernet
Method not only can greatly be simplified the network settings to subsystems by the means of communication, and may insure each subsystem
Communication between system is not influenced by external IP configuration, and has prevented possibility of the subsystem by external attack of the network equipment, to mention
High safety.
The invention is realized in this way:A kind of means of communication between the network equipment subsystem based on Ethernet, the side
Method need to provide a subsystem, an industry ethernet and a plurality of Coordination subsystems, the subsystem and each institute
Coordination subsystems are stated to connect with the industry ethernet;Described method includes following steps:
Step S1, data frame of the definition for communication;
Step S2, the described subsystem and the Coordination subsystems establish communication connection, specifically include:Master control
System actively initiates to establish communication connection with the Coordination subsystems and the Coordination subsystems are actively initiated and the master control
Subsystem establishes communication connection;
Step S3, the described communication connection established to subsystem and the Coordination subsystems carries out link keep-alive;
Step S4, the described subsystem or the Coordination subsystems according to the data frame of definition format encapsulation of data
And it sends;
Step S5, the described subsystem or the Coordination subsystems receive the data of encapsulation, and to the data of encapsulation
It is decoded and decompresses and obtain initial data.
Further, the data frame is made of target MAC (Media Access Control) address, source MAC, data and Frame Check Sequence FCS;
The data include packet serial number, Packet type, ciphered compressed item, data length, fragment sum, fragment number and data content.
Further, the Packet type include main control end activation notification, cooperation end registration request, cooperation end registration answer
Answer, register list notice, cooperation end activation notification, cooperation end registration permission, heartbeat request, heartbeat response, cooperation end swash again
Notice, general data packet or general data confirmation packet living.
Further, in the ciphered compressed item, cipher mode include do not encrypt, AES, DES, 3DES or negate plus
It is close, compress mode include do not compress, Hofman tree, LZW or LZ77.
Further, in the step S2, the subsystem is actively initiated to establish with the Coordination subsystems logical
News connect:
The subsystem just sends a main control end activation notification after start completion, every a setting time
Broadcasting packet;Each Coordination subsystems obtain the master control subsystem after the broadcasting packet for receiving main control end activation notification
The MAC Address of system, and the cooperation end registration request of unicast is sent to the subsystem;The subsystem is receiving
After the cooperation end registration request that each Coordination subsystems are sent, registration information is first confirmed, then respectively to each cooperation
System replys the unicast message of cooperation end registration reply;
Meanwhile if the Coordination subsystems succeed in registration, the subsystem will send register list in system
It notifies to the Coordination subsystems respectively to succeed in registration;If the Coordination subsystems registration failure, pass through cooperation
System is actively initiated to establish communication connection with the subsystem.
Further, in the step S2, the Coordination subsystems actively initiate to establish with the subsystem
Communication connection is specially:
Each Coordination subsystems broadcast transmission cooperation end reactivates notice;The subsystem is receiving cooperation
After end reactivates notice, the MAC Address of each Coordination subsystems is obtained, and sends the cooperation end registration permission of unicast to each
The Coordination subsystems;Each Coordination subsystems obtain the MAC Address of the subsystem, and send the cooperation end of unicast
Registration request gives the subsystem;The subsystem is infused at the cooperation end for receiving each Coordination subsystems transmission
After volume request, registration information is first confirmed, then reply the unicast report of cooperation end registration reply to each Coordination subsystems respectively
Text;
Meanwhile if the Coordination subsystems succeed in registration, the subsystem will send register list in system
It notifies to the Coordination subsystems respectively to succeed in registration;If the Coordination subsystems registration failure, pass through cooperation
System is actively initiated to establish communication connection with the subsystem again.
Further, the step S3 is specially:
After each Coordination subsystems of the subsystem and registration establish communication connection, the subsystem
Fixed time broadcast sends heartbeat packet to each Coordination subsystems;Each Coordination subsystems reply unicast after receiving heartbeat packet
Heartbeat response give the subsystem, and if the Coordination subsystems have in the time-out time of setting reply heartbeat answer
It answers to the subsystem, then determines that the heartbeat of the Coordination subsystems is back to normal;If the Coordination subsystems are being set
Time-out time in without replying heartbeat response to the subsystem, then it is super to determine that the heartbeat of the Coordination subsystems is replied
When;
Setting allows continuous expired times, each cooperation of subsystem statistics in the subsystem
Continuously there is heartbeat and replys the number of time-out reaching to the reply situation of heartbeat packet, and if counting on a certain Coordination subsystems in system
To the continuous expired times of permission of setting, then broadcast transmission cooperation end reactivates notice, and reactivates at the cooperation end
It include the information for replying the Coordination subsystems of time-out in notice;The Coordination subsystems for replying time-out are receiving cooperation end
After reactivating notice, actively initiate to establish communication connection with the subsystem.
Further, the step S4 is specially:
The subsystem or the Coordination subsystems before transmitting data, the initial data that first will acquire into
Encryption after row first compresses;Then, statistical data size, and fragment processing is carried out to data according to size of data;Then, it presses
Ethernet frame is encapsulated data into according to the data frame format of definition, and all ethernet frames of encapsulation are put into data and are sent
In queue;Finally, the ethernet frame in data transmit queue is sent one by one, just stop until being all sent.
Further, the step S5 is specially:
The subsystem establishes a reception when receiving data, to every kind of Packet type of every Coordination subsystems
Queue, and received data are put into corresponding receiving queue according to the different Packet types of different Coordination subsystems;And
After receiving complete data packet, just stop receiving, and obtain complete data packet from receiving queue;Meanwhile to acquisition
Data packet first carries out decryption oprerations, then carries out decompression operations, to obtain initial data;
The Coordination subsystems establish a receiving queue when receiving data, to every kind of Packet type, and according to different
Received data are put into corresponding receiving queue by Packet type;And after receiving complete data packet, just stop receiving,
And complete data packet is obtained from receiving queue;Meanwhile decryption oprerations are first carried out to the data packet of acquisition, then carry out decompression behaviour
Make, to obtain initial data.
The invention has the advantages that:1, the present invention utilizes the communication modes based on ethernet frame, with conventional network equipment
Subsystem dependent on IP communication mode compare, can greatly simplify the network settings to subsystems;2, in the present invention
It is communicated between subsystems independent of IP, not only can ensure that the communication between subsystems is not influenced by external IP configuration
(the case where avoiding the occurrence of internal IP and external IP address conflict), and prevented the subsystem of the network equipment by external attack
Possibility, to improve safety;3, the data transmission of each subsystem uses the combination of a variety of cipher modes and compress mode,
It can ensure that the safety with higher of the data of transmission.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inner topology figure of the network equipment in the present invention.
Fig. 2 is the form schematic diagram of data frame in the present invention.
Fig. 3 is the execution flow diagram of the means of communication between a kind of network equipment subsystem based on Ethernet of the present invention.
Specific embodiment
It please refers to shown in Fig. 1 to Fig. 3, the means of communication between a kind of network equipment subsystem based on Ethernet of the present invention
Preferred embodiment, network device internal topological diagram as shown in Figure 1, the method need to provide a subsystem, an Ethernet
Bus and a plurality of Coordination subsystems, the subsystem and each Coordination subsystems with the industry ethernet
Connection;It in data frame definition below, is described for convenience, the subsystem is defined as main control end, by institute
It states Coordination subsystems and is defined as cooperation end.
Described method includes following steps:
Step S1, data frame of the definition for communication;
Please emphasis referring to shown in Fig. 2, the data frame is by target MAC (Media Access Control) address, source MAC, data and frame check sequence
Arrange FCS composition, wherein the target MAC (Media Access Control) address occupies 6 bytes, and the source MAC occupies 6 bytes, and the data occupy
46-1500 byte, the Frame Check Sequence FCS occupy 4 bytes.The format for the data frame that the present invention defines and the lattice of ethernet frame
Formula is identical, and customized as this system with frame type, is set to 0x979B at present, while to the data portion of ethernet frame
It has carried out customized.
The data include packet serial number, Packet type, ciphered compressed item, data length, fragment sum, fragment number and number
According to content.Wherein,
Packet serial number:From each subsystem issue same type of packet serial number be it is incremental, the data being fragmented
Packet serial number is all identical, 4 bytes of the packet serial number occupancy;
Packet type:Illustrate the type of data packet, the Packet type occupies 1 byte;
Ciphered compressed item:The compression of data and the combination of Encryption Algorithm, the ciphered compressed item account for 1 byte;
Data length:Show the length of data, the data length occupies 2 bytes;
Fragment sum:In the case where the data of transmission are greater than maximum data physical length, need first to divide data
Piece, and the quantity of fragment is calculated, then fragment sum is filled up in this field;If without fragment, this field
Value be exactly 1;The fragment sum occupies 2 bytes;
Fragment number:Number of the data after fragment is sent, if data do not carry out fragment (i.e. fragment sum is 0),
Then the field can be ignored;The fragment number occupies 2 bytes;
Data content:The data content to be sent, the data content occupy 34-1488 byte.
The Packet type includes that main control end activation notification, cooperation end registration request, cooperation end registration reply, register list are logical
Know, the end activation notification that cooperates, cooperation end registration permission, heartbeat request, heartbeat response, cooperation end reactivate notice, general number
According to packet or general data confirmation packet.The definition of specific Packet type is as shown in table 1:
The related definition of 1 Packet type of table illustrates table
Explanation:The packet serial number of response bag needs consistent with the packet serial number of corresponding request packet.
In the ciphered compressed item, cipher mode includes not encrypting, AES, DES, 3DES or negating encryption, compress mode
Including not compressing, Hofman tree, LZW or LZ77.Certainly, in the specific implementation, can also include other manner of decryption or
The definition of person's compress mode, specific ciphered compressed item is as shown in table 2:
The definition of 2 ciphered compressed item of table illustrates table
Step S2, the described subsystem and the Coordination subsystems establish communication connection, specifically include:Master control
System actively initiates to establish communication connection with the Coordination subsystems and the Coordination subsystems are actively initiated and the master control
Subsystem establishes communication connection;Since system is during starting, the subsystem and each Coordination subsystems
It is different to start speed, (i.e. subsystem is actively initiated to establish connection and cooperation by two kinds of communication connecting methods of design
System is actively initiated to establish connection), may make no matter how boot sequence changes, and may ensure that can establish communication connection.
In the step S2, the subsystem is actively initiated to establish communication connection with the Coordination subsystems specific
For:
The subsystem is after start completion, just every a setting time (for example, setting time can be 1 second)
Send the broadcasting packet of a main control end activation notification (MAN);Each Coordination subsystems are receiving main control end activation notification
(MAN) after broadcasting packet, the MAC Address of the subsystem is obtained, and sends the cooperation end registration request (SRR) of unicast
To the subsystem;The subsystem is in the cooperation end registration request for receiving each Coordination subsystems transmission
(SRR) after, first confirm registration information, then reply the list of cooperation end registration reply (SRA) to each Coordination subsystems respectively
Casting text;
Meanwhile if the Coordination subsystems succeed in registration and (have new Coordination subsystems to succeed in registration), the master control
Subsystem will send register list in system and notify (RLN) to the Coordination subsystems respectively to succeed in registration, each to facilitate
Coordination subsystems will be seen that the login state of other Coordination subsystems, and make corresponding processing;If the cooperation subsystem
System registration failure then actively initiates to establish communication connection with the subsystem by the Coordination subsystems.
In the step S2, the Coordination subsystems are actively initiated to establish communication connection with the subsystem specific
For:
Each Coordination subsystems (specifically refer to the subsystem that cooperates for not establishing communication connection with the subsystem also
System) broadcast transmission cooperation end reactivate notice (SRN);The subsystem receive cooperation end reactivate notice
(SRN) after, the MAC Address of each Coordination subsystems is obtained, and sends the cooperation end registration permission (SRP) of unicast to each described
Coordination subsystems;Each Coordination subsystems obtain the MAC Address of the subsystem, and send the cooperation end registration of unicast
Request (SRR) to the subsystem;The subsystem is at the cooperation end for receiving each Coordination subsystems transmission
After registration request (SRR), registration information is first confirmed, then reply cooperation end registration reply to each Coordination subsystems respectively
(SRA) unicast message;
Meanwhile if the Coordination subsystems succeed in registration, the subsystem will send register list in system
Notice (RLN) gives the Coordination subsystems respectively to succeed in registration, to facilitate each Coordination subsystems to will be seen that other cooperation
The login state of system, and make corresponding processing;If the Coordination subsystems registration failure passes through the cooperation subsystem
System actively initiates to establish communication connection with the subsystem again.
Step S3, the described communication connection established to subsystem and the Coordination subsystems carries out link keep-alive;
The step S3 is specially:
After each Coordination subsystems of the subsystem and registration establish communication connection, the subsystem
Fixed time broadcast sends heartbeat packet (HPB) to each Coordination subsystems;Each Coordination subsystems return after receiving heartbeat packet
The subsystem is given in the heartbeat response (HBA) of multiple unicast, and if the Coordination subsystems setting time-out time (example
Such as, the time-out time set is 5 second) in have and reply heartbeat response (HBA) to the subsystem, then determine the cooperation subsystem
The heartbeat of system is back to normal;If the Coordination subsystems are given in the time-out time of setting without replying heartbeat response (HBA)
The subsystem then determines that time-out is replied in the heartbeat of the Coordination subsystems;
Setting allows continuous expired times (for example, settable allow continuous expired times to be 5 in the subsystem
It is secondary), the subsystem counts each Coordination subsystems to the reply situation of heartbeat packet, and if counts on a certain cooperation
Continuously there is heartbeat and replys the continuous expired times of permission that overtime number reaches setting in subsystem, then broadcast transmission cooperation end weight
New activation notification (SRN), and reactivating at the cooperation end includes the Coordination subsystems for replying time-out in notice (SRN)
Information;Reply time-out the Coordination subsystems receive cooperation end reactivate notice (SRN) after, actively initiation with it is described
Subsystem establishes communication connection.In the specific implementation, each Coordination subsystems can receive cooperation end reactivate it is logical
Know (SRN), and can be reactivated by the end that cooperates the information for replying overtime Coordination subsystems for including in notice (SRN) come
Understand is specifically which Coordination subsystems needs to register to the subsystem again.Certainly, Coordination subsystems are being registered
After success, if allowing to need to continue to lead still without (HPB) for receiving the subsystem in continuous expired times
It is dynamic to initiate to establish communication connection with the subsystem.
Step S4, the described subsystem or the Coordination subsystems according to the data frame of definition format encapsulation of data
And it sends;
The step S4 is specially:
The subsystem or the Coordination subsystems before transmitting data, the initial data that first will acquire into
Encryption after row first compresses;Then, statistical data size, and fragment processing is carried out to data according to size of data, if number
Fragment is not needed according to smaller, that is not with regard to carrying out fragment to data;Then, it is encapsulated data into according to the data frame format of definition
Ethernet frame, and all ethernet frames of encapsulation are put into data transmit queue;Finally, by data transmit queue
Ethernet frame is sent one by one, is just stopped until being all sent.
It should be noted that:For the data being fragmented, when carrying out data encapsulation, need using identical encryption and pressure
Contracting mode, to avoid can not correct restoring data.
Step S5, the described subsystem or the Coordination subsystems receive the data of encapsulation, and to the data of encapsulation
It is decoded and decompresses and obtain initial data.
The step S5 is specially:
The subsystem establishes a reception when receiving data, to every kind of Packet type of every Coordination subsystems
Queue, and received data are put into corresponding receiving queue according to the different Packet types of different Coordination subsystems;And
After receiving complete data packet, just stop receiving, and obtain complete data packet from receiving queue;Meanwhile to acquisition
Data packet first carries out decryption oprerations, then carries out decompression operations, to obtain initial data;
The Coordination subsystems establish a receiving queue when receiving data, to every kind of Packet type, and according to different
Received data are put into corresponding receiving queue by Packet type;And after receiving complete data packet, just stop receiving,
And complete data packet is obtained from receiving queue;Meanwhile decryption oprerations are first carried out to the data packet of acquisition, then carry out decompression behaviour
Make, to obtain initial data.
It should be noted that:For the fragment data of a certain Packet type, if not new point in a certain time interval
Sheet data, will empty the receiving queue of the type packet, and subsequent data (the i.e. late fragment number if there is identical packet serial number
According to), it will also be simply discarded.Since important information has required confirmation packet, so transmitting terminal is if it find that send failure, so that it may
To request to retransmit.
In conclusion the invention has the advantages that:1, the present invention utilizes the communication modes based on ethernet frame, and existing
The subsystem of the network equipment is compared dependent on the mode of IP communication, can greatly simplify the network settings to subsystems;2,
It is communicated between subsystems independent of IP in the present invention, not only can ensure that the communication between subsystems not by external IP
Configuration influences (the case where avoiding the occurrence of internal IP and external IP address conflict), and has prevented the subsystem quilt of the network equipment
The possibility of external attack, to improve safety;3, the data transmission of each subsystem uses a variety of cipher modes and compression side
The combination of formula, it can be ensured that the data of transmission safety with higher.
Although specific embodiments of the present invention have been described above, those familiar with the art should be managed
Solution, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, it is familiar with this
The technical staff in field should be covered of the invention according to modification and variation equivalent made by spirit of the invention
In scope of the claimed protection.
Claims (9)
1. the means of communication between a kind of network equipment subsystem based on Ethernet, it is characterised in that:The method need to provide one
Subsystem, an industry ethernet and a plurality of Coordination subsystems, the subsystem and each cooperation subsystem
System is connect with the industry ethernet;Described method includes following steps:
Step S1, data frame of the definition for communication;
Step S2, the described subsystem and the Coordination subsystems establish communication connection, specifically include:The subsystem
It actively initiates to establish communication connection with the Coordination subsystems and the Coordination subsystems is actively initiated and the master control subsystem
Communication connection is found in construction in a systematic way;
Step S3, the described communication connection established to subsystem and the Coordination subsystems carries out link keep-alive;
Step S4, the described subsystem or the Coordination subsystems are concurrent according to the format encapsulation of data of the data frame of definition
It send;
Step S5, the described subsystem or the Coordination subsystems receive the data of encapsulation, and carry out to the data of encapsulation
Decoding and decompression obtain initial data.
2. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 1, feature exist
In:The data frame is made of target MAC (Media Access Control) address, source MAC, data and Frame Check Sequence FCS;The data include packet
Serial number, Packet type, ciphered compressed item, data length, fragment sum, fragment number and data content.
3. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 2, feature exist
In:The Packet type includes main control end activation notification, cooperation end registration request, cooperation end registration reply, register list notice, association
Make end activation notification, cooperation end registration permission, heartbeat request, heartbeat response, cooperation end reactivate notice, general data packet or
Person's general data confirmation packet.
4. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 2, feature exist
In:In the ciphered compressed item, cipher mode includes not encrypting, AES, DES, 3DES or negating encryption, and compress mode includes
It does not compress, Hofman tree, LZW or LZ77.
5. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 1, feature exist
In:In the step S2, the subsystem active initiation establishes communication connection with the Coordination subsystems and is specially:
The subsystem just sends the broadcast of a main control end activation notification after start completion, every a setting time
Message;Each Coordination subsystems obtain the subsystem after the broadcasting packet for receiving main control end activation notification
MAC Address, and the cooperation end registration request of unicast is sent to the subsystem;The subsystem is receiving each institute
After the cooperation end registration request for stating Coordination subsystems transmission, registration information is first confirmed, then give each Coordination subsystems respectively
Reply the unicast message of cooperation end registration reply;
Meanwhile if the Coordination subsystems succeed in registration, the subsystem will send register list notice in system
To the Coordination subsystems respectively to succeed in registration;If the Coordination subsystems registration failure, pass through the Coordination subsystems
It actively initiates to establish communication connection with the subsystem.
6. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 5, feature exist
In:In the step S2, the Coordination subsystems active initiation establishes communication connection with the subsystem and is specially:
Each Coordination subsystems broadcast transmission cooperation end reactivates notice;The subsystem is receiving cooperation end weight
After new activation notification, the MAC Address of each Coordination subsystems is obtained, and sends the cooperation end registration permission of unicast to each described
Coordination subsystems;Each Coordination subsystems obtain the MAC Address of the subsystem, and send the cooperation end registration of unicast
It requests to the subsystem;The subsystem is asked in the cooperation end registration for receiving each Coordination subsystems transmission
After asking, registration information is first confirmed, then reply the unicast message of cooperation end registration reply to each Coordination subsystems respectively;
Meanwhile if the Coordination subsystems succeed in registration, the subsystem will send register list notice in system
To the Coordination subsystems respectively to succeed in registration;If the Coordination subsystems registration failure, pass through the Coordination subsystems
It actively initiates to establish communication connection with the subsystem again.
7. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 1, feature exist
In:The step S3 is specially:
After each Coordination subsystems of the subsystem and registration establish communication connection, the subsystem timing
Broadcast transmission heartbeat packet gives each Coordination subsystems;Each Coordination subsystems reply the heart of unicast after receiving heartbeat packet
Jump response give the subsystem, and if the Coordination subsystems have in the time-out time of setting reply heartbeat response to
The subsystem then determines that the heartbeat of the Coordination subsystems is back to normal;If the Coordination subsystems are in the super of setting
When the time in without reply heartbeat response give the subsystem, then determine the Coordination subsystems heartbeat reply time-out;
Setting allows continuous expired times in the subsystem, and the subsystem counts each Coordination subsystems
Continuously there is heartbeat and reply the number of time-out reaching and set to the reply situation of heartbeat packet, and if counting on a certain Coordination subsystems
The continuous expired times of the permission set, then broadcast transmission cooperation end reactivates notice, and reactivates notice at the cooperation end
In include reply time-out Coordination subsystems information;The Coordination subsystems for replying time-out are receiving cooperation end again
After activation notification, actively initiate to establish communication connection with the subsystem.
8. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 1, feature exist
In:The step S4 is specially:
Before transmitting data, the initial data that first will acquire carries out first for the subsystem or the Coordination subsystems
Encryption after compression;Then, statistical data size, and fragment processing is carried out to data according to size of data;Then, according to fixed
The data frame format of justice encapsulates data into ethernet frame, and all ethernet frames of encapsulation are put into data transmit queue
In;Finally, the ethernet frame in data transmit queue is sent one by one, just stop until being all sent.
9. the means of communication between a kind of network equipment subsystem based on Ethernet according to claim 1, feature exist
In:The step S5 is specially:
The subsystem establishes a reception team when receiving data, to every kind of Packet type of every Coordination subsystems
Column, and received data are put into corresponding receiving queue according to the different Packet types of different Coordination subsystems;And it is connecing
After receiving complete data packet, just stop receiving, and obtain complete data packet from receiving queue;Meanwhile to the number of acquisition
Decryption oprerations are first carried out according to packet, then carry out decompression operations, to obtain initial data;
The Coordination subsystems establish a receiving queue when receiving data, to every kind of Packet type, and according to different packet classes
Received data are put into corresponding receiving queue by type;And after receiving complete data packet, just stop receiving, and from
Complete data packet is obtained in receiving queue;Meanwhile decryption oprerations are first carried out to the data packet of acquisition, then carry out decompression operations,
To obtain initial data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810934208.9A CN108924260A (en) | 2018-08-16 | 2018-08-16 | A kind of means of communication between network equipment subsystem based on Ethernet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810934208.9A CN108924260A (en) | 2018-08-16 | 2018-08-16 | A kind of means of communication between network equipment subsystem based on Ethernet |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108924260A true CN108924260A (en) | 2018-11-30 |
Family
ID=64406058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810934208.9A Pending CN108924260A (en) | 2018-08-16 | 2018-08-16 | A kind of means of communication between network equipment subsystem based on Ethernet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924260A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7948992B1 (en) * | 2001-12-12 | 2011-05-24 | At&T Intellectual Property Ii, Lp | Ethernet-to-ATM interworking technique |
CN102148735A (en) * | 2010-02-10 | 2011-08-10 | 成都市华为赛门铁克科技有限公司 | Virtual link establishing method, communication network element and Ethernet network system |
CN102238080A (en) * | 2011-01-18 | 2011-11-09 | 北京中京创原通信技术有限公司 | Method for bearing Internet protocol (IP) telecommunication network in superposition way by utilizing Ethernet |
CN203204760U (en) * | 2013-01-25 | 2013-09-18 | 深圳市泛海三江电子有限公司 | Building intercom system with fire alarm function |
CN107483279A (en) * | 2017-10-10 | 2017-12-15 | 福建星网智慧软件有限公司 | A kind of method for the local batch operation network equipment detectd based on Ethernet |
-
2018
- 2018-08-16 CN CN201810934208.9A patent/CN108924260A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7948992B1 (en) * | 2001-12-12 | 2011-05-24 | At&T Intellectual Property Ii, Lp | Ethernet-to-ATM interworking technique |
CN102148735A (en) * | 2010-02-10 | 2011-08-10 | 成都市华为赛门铁克科技有限公司 | Virtual link establishing method, communication network element and Ethernet network system |
CN102238080A (en) * | 2011-01-18 | 2011-11-09 | 北京中京创原通信技术有限公司 | Method for bearing Internet protocol (IP) telecommunication network in superposition way by utilizing Ethernet |
CN203204760U (en) * | 2013-01-25 | 2013-09-18 | 深圳市泛海三江电子有限公司 | Building intercom system with fire alarm function |
CN107483279A (en) * | 2017-10-10 | 2017-12-15 | 福建星网智慧软件有限公司 | A kind of method for the local batch operation network equipment detectd based on Ethernet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100334788B1 (en) | Method and apparatus for connecting a node to a wireless network using standard protocols | |
CN106850140B (en) | Data communication method, device and system | |
EP3852403A1 (en) | Communication method and apparatus | |
EP2753117B1 (en) | Apparatus and method for transmitting and receiving data in NFC | |
US11672046B2 (en) | Data receiving status reporting method and apparatus | |
WO2020063707A1 (en) | Ethernet data-based communication method and apparatus | |
US11477306B2 (en) | Wireless communication methods and devices | |
WO2011137783A1 (en) | Data processing method, apparatus and system | |
US10455641B2 (en) | Protocol data unit management | |
WO2016141793A1 (en) | Air-interface protocol stack configuration method, and data transmission method and device | |
SG187780A1 (en) | Method, device and system for transmitting data | |
EP3413533B1 (en) | Data transmission method and system | |
CN114208137A (en) | Method and device for compressing and decompressing Ethernet frame header | |
WO2011079785A1 (en) | Method and apparatus for transmitting data packets | |
Choi et al. | Efficient streaming over CoAP | |
CN113796057A (en) | User data compression method and apparatus for preventing data loss in wireless communication system | |
WO2017041534A1 (en) | Power line network communication method and device, and computer storage media | |
CN112566180B (en) | Method for improving packet data transmission rate of TETRA system | |
WO2013135158A1 (en) | Ieee oam-based management message encapsulation method, and c-docsis radio-frequency interface module and system control module | |
CN111262845B (en) | Communication end-oriented mobile end communication framework, system and method | |
CN107104813B (en) | Information transmission method, gateway and controller | |
CN108924260A (en) | A kind of means of communication between network equipment subsystem based on Ethernet | |
WO2022237279A1 (en) | Data transmission method and apparatus | |
CN115669019A (en) | Method and apparatus for signaling network coding capabilities | |
CN104219178A (en) | Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181130 |
|
WD01 | Invention patent application deemed withdrawn after publication |