CN104967467B - Ethernet data exchange method and device on a kind of electric power cable - Google Patents
Ethernet data exchange method and device on a kind of electric power cable Download PDFInfo
- Publication number
- CN104967467B CN104967467B CN201510415397.5A CN201510415397A CN104967467B CN 104967467 B CN104967467 B CN 104967467B CN 201510415397 A CN201510415397 A CN 201510415397A CN 104967467 B CN104967467 B CN 104967467B
- Authority
- CN
- China
- Prior art keywords
- data frame
- target device
- mac address
- network data
- source device
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
The invention discloses the Ethernet data exchange methods on a kind of electric power cable, include the following steps:S1, the first network data frame that source device is sent is received from the electric power cable that source device connects;S2, the MAC Address for obtaining data message and target device to be sent is demodulated to the first network data frame;S3, the modulation system for obtaining target device from network mapping table according to the MAC Address of target device, and the data message is modulated to the second network data frame corresponding with the modulation system of the target device, the first network data frame is different with the modulation system of the second network data frame;S4, the second network data frame is sent to target device by the electric power cable that target device connects.The embodiment of the present invention realizes the data exchange between the equipment of different modulating mode.
Description
Technical field
The present invention relates to the Ethernet data exchanges in electric power cable communication technique field more particularly to a kind of electric power cable
Method and apparatus.
Background technology
Electric power cable communication is the technology of a comparative maturity, there is more mature application in every field for many years.
Current electric power cable communication modes are:When can be with there are during multiple devices, between multiple devices in local network
It is communicated by electric power cable, but only when modulation demodulation system is identical between equipment, can just be led between equipment
News.For example, in the home network, the modulation demodulation system of device A demodulates for High Speed Modulation, the only modulation /demodulation as equipment B
When mode also demodulates for High Speed Modulation, can just it be communicated between device A and equipment B, if the modulation demodulation system of equipment B is
During low-speed modulation/demodulation;Or the modulation demodulation system of device A is low-speed modulation/demodulation, the modulation demodulation system of equipment B is height
When rate modulation demodulates, just it cannot be communicated between device A and equipment B.
Exemplified by communication between two equipment (device A and equipment B), when the modulation demodulation system of two equipment is height
When rate modulation demodulates, for device A directly by network signal by being transferred to after High Speed Modulation on electric power cable, equipment B receives the tune
The network signal of system is simultaneously demodulated, and can read the network signal;Equipment B can also in the same way with device A
It is communicated, details are not described herein.
There are following defects for current power cable communication modes:Only when between equipment and equipment modulation demodulation system it is identical
When, it can just be communicated between equipment.
The content of the invention
In view of this, the present invention provides the Ethernet data exchange method on a kind of electric power cable, and solving ought only set
It is standby when modulation demodulation system is identical between equipment, the problem of can just be communicated between equipment.
A kind of Ethernet data exchange method on electric power cable, this method comprises the following steps:
S1, the first network data frame that source device is sent is received from the electric power cable that source device connects;
S2, the MAC for obtaining data message and target device to be sent is demodulated to the first network data frame
Address;
S3, the modulation system for obtaining target device from network mapping table according to the MAC Address of target device, and by the number
It is believed that breath is modulated to the second network data frame corresponding with the modulation system of the target device, the first network data frame and
The modulation system of the second network data frame is different;
S4, the second network data frame is sent to target device by the electric power cable that target device connects.
Further, the method further includes:
Obtain the MAC Address, the electric power cable of source device connection and the modulation system of first network data frame of source device;
The modulation system of the MAC Address of source device, the electric power cable that source device connects and first network data frame is recorded
Into network mapping table, the modulation system of the modulation system of the first network data frame as source device, the network mapping
Record has the correspondence of the modulation system of the MAC Address of each equipment, the electric power cable of each equipment connection and each equipment in table.
Further, the method further includes:
If the MAC Address of the target device is not present in the network mapping table, the data message is modulated
For with the corresponding network data frame of the modulation system of other equipment in addition to source device;
The network data frame is sent to by the corresponding other equipment in addition to source device by electric power cable;
If the MAC Address of the target device is present in cable mapping table, the electric power that target device is connected with source device
Cable is identical, and when target device is identical with the modulation system of source device, abandons the first network data frame.
Further, the method further includes:
It is replied message according to what target device was fed back after the network data frame is received, obtains the MAC of target device
The modulation system of address, the electric power cable of target device connection and target device;
The modulation system of the MAC Address of the target device, the electric power cable that target device connects and target device is remembered
It records in network mapping table.
Further, the method further includes:
The transmission of first network data frame and the second network data frame is blocked by signal interrupter, it is independent to be formed
Collision domain.
The present invention also provides the Ethernet data switch on a kind of electric power cable, which includes following module:
Receiving module, for receiving the first network data frame that source device is sent from the electric power cable that source device connects;
Demodulation module obtains data message and mesh to be sent for being demodulated to the first network data frame
The MAC Address of marking device;
Target device modulation system acquisition module obtains mesh for the MAC Address according to target device from network mapping table
The modulation system of marking device, and the data message is modulated to the second network corresponding with the modulation system of the target device
The modulation system of data frame, the first network data frame and the second network data frame is different;
Sending module, for the second network data frame to be sent to target by the electric power cable that target device connects
Equipment.
Further, described device further includes:
Source device data obtaining module, for obtaining the electric power cable and the first net of the address of source device, source device connection
The modulation system of network data frame;
Source device information logging modle, for the electric power cable and the first net for connecting the MAC Address of source device, source device
The modulation system of network data frame is recorded in network mapping table, and the modulation system of the first network data frame is as source device
Modulation system, record has the MAC Address of each equipment, the electric power cable of each equipment connection and each equipment in the network mapping table
The correspondence of modulation system.
Wherein, which further includes:
Data message modulation module, the MAC Address for working as the target device are not present in the network mapping table,
The data message is modulated to and the corresponding network data frame of the modulation system of other equipment in addition to source device;
Network data frame sending module is sent to for passing through electric power cable by the network data frame corresponding except source is set
Standby outer other equipment.
Target device information acquisition module returns for what is fed back according to target device after the network data frame is received
Multiple message obtains the MAC Address of target device, the electric power cable of target device connection and the modulation system of target device;
Target device information logging modle, for the power line for connecting the MAC Address of the target device, target device
The modulation system of cable and target device is recorded in network mapping table.
Further, which further includes:
Signal interrupter, it is individual to be formed for blocking the transmission of first network data frame and the second network data frame
Collision domain.
Implement the embodiment of the present invention, have the advantages that:
The embodiment of the present invention is demodulated to obtain by receiving the first network data frame of source device to the data frame
The address of target device is so that it is determined that the modulation system of target device, and then according to the modulation system of target device by first network
Data message in data frame is modulated to the second network data frame and is sent to target device, realizes different modulating demodulation mode
Equipment between data exchange.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology describe needed in attached drawing do one and simply introduce, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments, for those of ordinary skill in the art, without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the Ethernet data exchange method on a kind of electric power cable that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the Ethernet data exchange method on a kind of electric power cable provided by Embodiment 2 of the present invention.
Fig. 3 is between the equipment of the Ethernet data exchange method on a kind of electric power cable provided by Embodiment 2 of the present invention
Connection relationship diagram.
Fig. 4 is the structural representation of the Ethernet data switch on a kind of electric power cable that the embodiment of the present invention three provides
Figure.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention
Figure, technical scheme is clearly and completely described by embodiment, it is clear that described embodiment is the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making
Go out all other embodiments obtained under the premise of creative work, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 is the flow chart of the Ethernet data exchange method on a kind of electric power cable that the embodiment of the present invention one provides,
With reference to figure 1, this method specifically comprises the following steps S101-S104:
Step S101, the first network data frame that source device is sent is received from the electric power cable that source device connects.
In the present embodiment, each equipment is connected to form Ethernet with switching equipment by respective electric power cable, the source
Equipment is connected by the electric power cable of source device with switching equipment, and switching equipment receives source device by the electric power cable and sends out
The first network data frame sent modulates later data message and target device in the first network data frame comprising source device
MAC Address, MAC (Media Access Control, the media access control) address is used for defining the position of the network equipment
It puts.
Further, switching equipment obtains the MAC Address of source device, the electric power cable and first network number of source device connection
According to the modulation system of frame, and it is recorded in network mapping table.Wherein, the modulation system conduct of the first network data frame
The modulation system of source device, in the network mapping table record have the MAC Address of each equipment, the connection of each equipment electric power cable and
The correspondence of the modulation system of each equipment.
Step S102, acquisition data message to be sent is demodulated to the first network data frame and target is set
Standby MAC Address.
Switching equipment receives the first network data frame that source device is sent, and utilizes the modulation with the first network data frame
The identical demodulator of mode is demodulated the data frame, and obtains the MAC Address of data message and target device to be sent.
Step S103, the modulation system of target device is obtained from network mapping table according to the MAC Address of target device, and will
The data message is modulated to the second network data frame corresponding with the modulation system of the target device, the first network number
It is different with the modulation system of the second network data frame according to frame.
According to the MAC Address of target device, switching equipment can obtain target device from network mapping table exactly
Modulation system, and the modulation system of the according to target equipment of the data message after demodulation is modulated, generate the second network data frame.
Certainly, the modulation system of source device and target device can be the same or different.In the present embodiment, source device
It is different with the modulation system of target device, that is, refer to the modulation of the first network data frame and the second network data frame
Mode is different.Preferably, the modulation system of equipment can be High Speed Modulation mode or low-rate modulation mode.For example, source device
Modulation system can be High Speed Modulation mode, and the modulation system of target device can be low-rate modulation mode.
Step S104, the second network data frame is sent to target by the electric power cable that target device connects to set
It is standby.
Target device receives the second network data frame that switching equipment is sent, and it is demodulated, and then obtains source and set
The data-message that preparation is sent.
In the present embodiment, the modulation system of source device and target device differs, and switching equipment receives source device and sends
First network data frame, and it is demodulated to obtain the MAC Address of data-message and target device to be sent, switching equipment
The modulation system of target device is obtained according to the MAC Address of target device, according to target the modulation system of equipment is to data to be transmitted
Information is modulated to obtain the second network data frame, and sends it to target device, the method achieve in different modulating solution
Data exchange between the equipment of tune mode.
Embodiment two
In order to which the method that Ethernet data exchanges on the electric power cable of the invention realized is explained in greater detail, this is additionally provided
The another specific embodiment of method.With reference to figure 2, this method specifically comprises the following steps S201-S209:
Step S201, the first network data frame that source device is sent is received from the electric power cable that source device connects.
Step S202, the transmission of network data frame is blocked by signal interrupter, to form individual collision domain.
The individual collision domain refers to blocking the transmission of signal on different electric power cables by signal interrupter.By
It is connected in parallel in circuit in each equipment, if not forming individual collision domain, then the electricity that switching equipment is connected from source device
While the first network data frame that source device is sent is received on line of force cable, the other equipment in Ethernet can also receive this
First network data frame, this will result in interfering with each other between data message, reduce the efficiency of Ethernet data transmission.It is preferred that
, the signal interrupter is low-pass filter.
Step S203, acquisition data message to be sent is demodulated to the first network data frame and target is set
Standby MAC Address.
Step S204, judge that the MAC Address of source device whether there is in the network mapping table, if so, performing step
Otherwise rapid S205 performs step S206.
Step S205, judge that the MAC Address of target device whether there is in the network mapping table, if so, performing
Otherwise step S207 performs step S208-S210.
Step S206, the MAC Address, the electric power cable of source device connection and the tune of first network data frame of source device are obtained
The modulation system of the MAC Address of source device, the electric power cable that source device connects and first network data frame is recorded mode processed
In network mapping table.
Modulation system of the modulation system of the first network data frame as source device is recorded in the network mapping table
There is the correspondence of the modulation system of the MAC Address of each equipment, the electric power cable of each equipment connection and each equipment.
Step S207, judge whether the electric power cable that target device is connected with source device is identical, and target device and source are set
Whether standby modulation system is identical, if so, performing step S211, otherwise performs step S212.
Step S208, the data message is modulated to and the corresponding network of the modulation system of other equipment in addition to source device
Data frame.
Step S209, the network data frame is sent to corresponding other in addition to source device by electric power cable to set
It is standby.
Step S210, replied message according to what target device was fed back after the network data frame is received, obtain target
MAC Address, the electric power cable of target device connection and the modulation system of target device of equipment;By the MAC of the target device
The modulation system of address, the electric power cable of target device connection and target device is recorded in network mapping table.
Step S211, abandon the first network data frame and prepare to receive next network data frame.
For the clearer Ethernet data exchange method illustrated on electric power cable provided in this embodiment, in conjunction with figure
Connection relation between each equipment shown in 3 is illustrated.In this example, the modulation system demodulates for High Speed Modulation
Mode or low-speed modulation/demodulation mode, the signal interrupter be low-pass filter, network mapping table such as 1 institute of table of the formation
Show:
Device address | Electric power cable | Modulation system |
MAC_A | Electric power cable a | High Speed Modulation demodulates |
MAC_B | Electric power cable a | High Speed Modulation demodulates |
MAC_C | Electric power cable b | Low-speed modulation/demodulation |
MAC_D | Electric power cable b | High Speed Modulation demodulates |
MAC_E | Electric power cable b | Low-speed modulation/demodulation |
MAC_F | Electric power cable c | Low-speed modulation/demodulation |
Table 1
When device A needs and equipment B is communicated, device A is sent by electric power cable a by High Speed Modulation first
First network data frame, from figure 3, it can be seen that device A, equipment B and switching equipment three are connected to same electric power cable a
On, and device A is identical with the modulation system of equipment B, so switching equipment and equipment B can receive the of the High Speed Modulation
One network data frame.At least one high speed modem and at least one low-speed modulation/demodulation are integrated in the switching equipment
Device after switching equipment receives the first network data frame of the High Speed Modulation, solves it by high speed modem
It adjusts, and a tune on the MAC Address of device A, the electric power cable that device A connects and device A is added in network mapping table
The record of " the MAC_A-- electric power cables a-High Speed Modulation demodulation mode " of mode processed.If switching equipment is in network mapping table at this time
In the relative recording of equipment B has not been obtained, then switching equipment is by the first network data frame by tune at a high speed and in a manner of low speed
It is separately sent to after system on electric power cable b and electric power cable c, and electric power cable a is sent to after being modulated in a manner of low-rate modulation
On, since electric power cable b and electric power cable c with equipment B there is no being connected, equipment C-F does not respond the data frame, similarly
Although electric power cable a is connected with equipment B, equipment B does not identify the data frame of low-rate modulation, therefore equipment B is to the number
It is not also responded according to frame.
Since equipment B is identical with the modulation system of device A, so equipment B can directly acquire the data of device A transmission
Frame, equally, equipment B can directly be communicated by electric power cable a with device A, and equipment B sends the of High Speed Modulation to device A
Two network data frames, switching equipment can also receive the second network data frame, it is carried out by high speed modem
Demodulation, and one is added on the MAC Address of equipment B, the electric power cable of equipment B connections and equipment B in network mapping table
The record of " the MAC_B-- electric power cables a-High Speed Modulation demodulation mode " of modulation system.
When being communicated again between device A and equipment B, switching equipment receives the high velocity modulation of device A transmission
After the first network data frame of system, it is demodulated by high speed modem, gets the MAC Address of equipment B, according to
Record arrangement known A in network mapping table is electric power cable a with the equipment B electric power cables connected, and modulation system is height
Velocity modulation tries demodulation mode, and switching equipment abandons the first network data frame at this time, is directly led between device A and equipment B
News.
When equipment C needs and equipment D is communicated, equipment C is sent by electric power cable b by low-rate modulation first
3rd network data frame, from figure 3, it can be seen that equipment C, equipment D and switching equipment three are connected to same electric power cable b
On, but the modulation system of equipment C and equipment D is different, so only switching equipment can receive the 3rd network data frame, works as exchange
After equipment receives the 3rd network data frame of the low-rate modulation, it is demodulated by low speed modem, and in net
A modulation system on the MAC Address of equipment C, the electric power cable of equipment C connections and equipment C is added in network mapping table
The record of " MAC_C-- electric power cables b-low-speed modulation/demodulation mode ", at the same switching equipment by the 3rd network data frame with height
Speed and the mode of low speed are separately sent to after modulating on electric power cable a and electric power cable c, and after being modulated in a manner of High Speed Modulation
It is sent on electric power cable b, since electric power cable a and electric power cable c is not connected with equipment D, device A, B and equipment E,
F does not respond the data message, and electric power cable b is connected with equipment D, and can identify the data frame of the High Speed Modulation, because
This equipment D responds to the data frame, and equipment D sends the 4th network data of High Speed Modulation by switching equipment to equipment C
Frame, switching equipment receive the 4th network data frame, it is demodulated by high speed modem, and in network mapping
" the MAC_D-- of a modulation system on the MAC Address of equipment D, the electric power cable of equipment D connections and equipment D is added in table
The record of electric power cable b-low-speed modulation/demodulation mode ", switching equipment are obtained by the MAC Address of equipment C from network mapping table
The network data information is sent to equipment C by the modulation system of equipment C after low-rate modulation again, is completed equipment C and is set
Communication between standby D.
Here, it should be noted that only when the MAC Address and target of source device (such as device A or equipment C) are set
The MAC Address of standby (such as equipment B or equipment D) is all present in network mapping table, and source device and target device are same
On electric power cable, and when source device is identical with the modulation demodulation system of target device, switching equipment can just abandon source device transmission
Network data frame.If the MAC Address of source device and the MAC Address of target device are all present in network mapping table, and source is set
It is standby identical with the modulation demodulation system of target device, but source device and target device be when on same electric power cable, still
The modulation /demodulation by switching equipment is needed, can just be communicated between source device and target device.
Further, it is necessary to explanation, why source device send network data information can only by with source device same
Equipment and switching equipment on one electric power cable receive, and other equipment parallel with one another can not receive, and be because utilizing
Signal interrupter in switching equipment blocks the transmission of network data frame, forms individual collision domain, it is preferred that the signal resistance
Disconnected device is low-pass filter.As shown in Figure 3, every electric power cable is connected on the different cable interfaces of switching equipment,
And it is connected in parallel on the power line between different electric power cables inside switching equipment, therefore every electric power cable is as one
Individual collision domain, network data frame cannot transfer mutually between different collision domains, reach and avoid interfering with each other, and promote ether
The effect of network data efficiency of transmission.
By above-described embodiment, switching equipment receives the modulated network data frame of source device that source device is sent, and utilizes
Different electric power cables is formed individual collision domain by signal interrupter, is reached and is avoided interfering with each other, and is promoted Ethernet data and is passed
The effect of defeated efficiency, and the network data information received is demodulated by switching equipment, and the according to target MAC Address of equipment
It carries out modulation again to send, realizes and carry out data communication between the equipment of different modulating mode.
Embodiment three
The embodiment of the device exchanged below for the Ethernet data on a kind of electric power cable provided in an embodiment of the present invention,
The embodiment of described device and the embodiment of the above method belong to same design, therefore are not retouched in detail in the embodiment of described device
The content stated can refer to above method embodiment.
Referring to Fig. 4, the device of the embodiment of the present invention includes:Receiving module 301, demodulation module 302, equipment modulation system obtain
Modulus block 303, data message modulation module 304 and network data frame sending module 305, wherein,
The receiving module 301, for receiving the first network that source device is sent from the electric power cable that source device connects
Data frame.
Demodulation module 302, for the first network data frame is demodulated obtain data message to be sent and
The address of target device.
Equipment modulation system acquisition module 303 obtains target from network mapping table for the address according to target device and sets
Standby modulation system;
Data message modulation module 304, for the data message to be modulated to the modulation system with the target device
The modulation system of corresponding second network data frame, the first network data frame and the second network data frame is different.
Network data frame sending module 305, for the electric power for connecting the second network data frame by target device
Cable is sent to target device.
Further, the device of the present embodiment further includes:
Apparatus information acquiring module 306, for obtaining the electric power cable and the of the MAC Address of source device, source device connection
The modulation system of one network data frame;
Facility information logging modle 307, for the electric power cable and first for connecting the MAC Address of source device, source device
The modulation system of network data frame is recorded in network mapping table, and the modulation system of the first network data frame is as source device
Modulation system, record has the MAC Address of each equipment, the electric power cable of each equipment connection and each equipment in the network mapping table
Modulation system correspondence.
Preferably, the data message modulation module 304 is additionally operable to be not present in institute when the MAC Address of the target device
It states in network mapping table, the data message is modulated to and the corresponding network number of the modulation system of other equipment in addition to source device
According to frame;
The network data frame sending module 305 is additionally operable to that the network data frame is sent to correspondence by electric power cable
The other equipment in addition to source device.
The apparatus information acquiring module 306 is additionally operable to be fed back after the network data frame is received according to target device
Reply message, obtain the MAC Address of target device, the electric power cable of target device connection and the modulation system of target device;
The facility information logging modle 307 is additionally operable to the MAC Address of the target device, the electricity of target device connection
The modulation system of line of force cable and target device is recorded in network mapping table.
Further, the device of the present embodiment further includes:
Signal interrupter for blocking the transmission of first network data frame and the second network data frame, forms individually punching
Prominent domain, it is preferred that the signal interrupter is low-pass filter.
The Ethernet data switch on electric power cable that above-described embodiment provides, wherein signal interrupter are used to be formed
The independent collision domain of every electric power cable, reaches and avoids interfering with each other, and promotes the effect of Ethernet data efficiency of transmission;Solve mode transfer
Block 302 is demodulated the first network data frame received, gets the MAC Address of target device, when in network mapping table
When preserving the MAC Address of target device, data message modulation module 304 by according to the modulation system of target device to the network
Data frame is modulated, and the network data frame is sent in target device by network data frame sending module 305, works as network
When not having the MAC Address of target device in mapping table, the modulation of target device is obtained using equipment modulation system acquisition module 303
Mode, and target device is sent to after being modulated according to the modulation system of target device to network data frame, realize difference
Data communication between the equipment of modulation system.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various apparent variations,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (6)
1. the Ethernet data exchange method on a kind of electric power cable, which is characterized in that include the following steps:
The first network data frame that source device is sent is received on the electric power cable connected from source device, wherein, the first network
The MAC Address of later data message and target device is modulated in data frame comprising source device, net is blocked by signal interrupter
The transmission of network data frame;
The MAC Address for obtaining data message and target device to be sent is demodulated to the first network data frame;
If the MAC Address of source device and the MAC Address of target device are present in network mapping table, according to target device
MAC Address obtains the modulation system of target device from network mapping table, and the data message is modulated to set with the target
The corresponding second network data frame of standby modulation system, the modulation of the first network data frame and the second network data frame
Mode is different;The second network data frame is sent to target device by the electric power cable that target device connects;
If the MAC Address of source device and the MAC Address of target device are present in the network mapping table, and target device and
The electric power cable of source device connection is identical, and target device is identical with the modulation system of source device, abandons the first network data
Frame;
If the MAC Address of source device is present in network mapping table, and the MAC Address of the target device is not present in the net
In network mapping table, then the data message is modulated to and the corresponding network data of the modulation system of other equipment in addition to source device
Frame;The corresponding network data frame of the modulation system of the other equipment is sent to by electric power cable corresponding in addition to source device
Other equipment;
Wherein, the network mapping token records the modulation of the MAC Address of each equipment, the electric power cable of each equipment connection and each equipment
The correspondence of mode.
2. method for interchanging data according to claim 1, which is characterized in that described to be carried out to the first network data frame
Demodulation further includes after obtaining the MAC Address of data message and target device to be sent:
If the MAC Address of source device is not present in network mapping table, MAC Address, the electricity of source device connection of source device are obtained
The modulation system of line of force cable and first network data frame;
Net is recorded in the modulation system of the MAC Address of source device, the electric power cable that source device connects and first network data frame
In network mapping table, the modulation system of the modulation system of the first network data frame as source device.
3. method for interchanging data according to claim 1, which is characterized in that if the MAC Address of the source device is present in
In network mapping table, and the MAC Address of the target device is not present in the network mapping table, then by the data message
Be modulated to the corresponding network data frame of the modulation system of other equipment in addition to source device, described other are set by electric power cable
The corresponding network data frame of standby modulation system further includes after being sent to the corresponding other equipment in addition to source device:
Disappeared according to the reply that target device is fed back after the corresponding network data frame of modulation system for receiving the other equipment
Breath obtains address, the electric power cable of target device connection and the modulation system of target device of target device;
The modulation system of the MAC Address of the target device, the electric power cable that target device connects and target device is recorded
In network mapping table.
4. the Ethernet data switch on a kind of electric power cable, which is characterized in that including following module:
Receiving module, for receiving the first network data frame that source device is sent from the electric power cable that source device connects, wherein,
The MAC Address of later data message and target device is modulated in the first network data frame comprising source device;
Signal interrupter, for blocking the transmission of network data frame;
Demodulation module sets for being demodulated acquisition data message to be sent and target to the first network data frame
Standby MAC Address;
First network data frame is modulated and sending module, if being deposited for the MAC Address of source device and the MAC Address of target device
The modulation system of target device in network mapping table, is then being obtained from network mapping table according to the MAC Address of target device, and
The data message is modulated to the second network data frame corresponding with the modulation system of the target device, the first network
Data frame is different with the modulation system of the second network data frame;The second network data frame is connected by target device
Electric power cable be sent to target device;
Network data frame discard module, if being present in the net for the MAC Address of source device and the MAC Address of target device
In network mapping table, and the electric power cable that target device is connected with source device is identical, the modulation system phase of target device and source device
Together, the first network data frame is abandoned;
Second network data frame is modulated and sending module, if the MAC Address of source device is present in network mapping table, and the mesh
The MAC Address of marking device is not present in the network mapping table, then by the data message be modulated to in addition to source device its
The corresponding network data frame of modulation system of his equipment;By electric power cable by the corresponding net of the modulation system of the other equipment
Network data frame is sent to the corresponding other equipment in addition to source device;
Wherein, the network mapping token records the modulation of the MAC Address of each equipment, the electric power cable of each equipment connection and each equipment
The correspondence of mode.
5. DEU data exchange unit according to claim 4, which is characterized in that further include:
Apparatus information acquiring module if being not present in for the MAC Address of source device in network mapping table, obtains source device
The modulation system of MAC Address, the electric power cable of source device connection and first network data frame;
Facility information logging modle, for the electric power cable and first network data for connecting the MAC Address of source device, source device
The modulation system of frame is recorded in network mapping table, the modulation methods of the modulation system of the first network data frame as source device
Formula.
6. DEU data exchange unit according to claim 5, it is characterised in that:
The apparatus information acquiring module is additionally operable to the reply fed back according to target device after the network data frame is received
Message obtains the MAC Address of target device, the electric power cable of target device connection and the modulation system of target device;
The facility information logging modle is additionally operable to the MAC Address of the target device, the electric power cable of target device connection
It is recorded with the modulation system of target device in network mapping table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510415397.5A CN104967467B (en) | 2015-07-15 | 2015-07-15 | Ethernet data exchange method and device on a kind of electric power cable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510415397.5A CN104967467B (en) | 2015-07-15 | 2015-07-15 | Ethernet data exchange method and device on a kind of electric power cable |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104967467A CN104967467A (en) | 2015-10-07 |
CN104967467B true CN104967467B (en) | 2018-06-05 |
Family
ID=54221424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510415397.5A Expired - Fee Related CN104967467B (en) | 2015-07-15 | 2015-07-15 | Ethernet data exchange method and device on a kind of electric power cable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104967467B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713625A (en) * | 2004-06-25 | 2005-12-28 | 三星电子株式会社 | Apparatus and method for relay between networks |
CN103152183A (en) * | 2013-01-30 | 2013-06-12 | 国光电器股份有限公司 | Electric modem switching device and method for mutual switching of electric signals and network signals |
CN103475575A (en) * | 2013-05-28 | 2013-12-25 | 南京博立康电力设备有限公司 | PLC-based intelligent household gateway apparatus |
CN103532855A (en) * | 2013-10-23 | 2014-01-22 | 深圳市晟思智能电网有限公司 | Method, carrier equipment and system for realizing Ethernet data exchange of power line |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8364326B2 (en) * | 2011-02-22 | 2013-01-29 | Asoka Usa Corporation | Set of sensor units for communication enabled for streaming media delivery with monitoring and control of power usage of connected appliances |
-
2015
- 2015-07-15 CN CN201510415397.5A patent/CN104967467B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713625A (en) * | 2004-06-25 | 2005-12-28 | 三星电子株式会社 | Apparatus and method for relay between networks |
CN103152183A (en) * | 2013-01-30 | 2013-06-12 | 国光电器股份有限公司 | Electric modem switching device and method for mutual switching of electric signals and network signals |
CN103475575A (en) * | 2013-05-28 | 2013-12-25 | 南京博立康电力设备有限公司 | PLC-based intelligent household gateway apparatus |
CN103532855A (en) * | 2013-10-23 | 2014-01-22 | 深圳市晟思智能电网有限公司 | Method, carrier equipment and system for realizing Ethernet data exchange of power line |
Also Published As
Publication number | Publication date |
---|---|
CN104967467A (en) | 2015-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101075962B (en) | Method and apparatus for realizing DHCP repeater in two-layer network exchanger | |
CN102137007B (en) | Method and system for generating network topology as well as coordinator | |
CN105046928B (en) | A kind of method of Auto-Sensing and management meter archives | |
CN103945539B (en) | A kind of transmission method and device and communication system for strengthening Physical Downlink Control Channel | |
CN102137001B (en) | Routing information exchange method, equipment and system | |
CN104243608B (en) | A kind of communication means, cloud management server and virtual switch | |
CN106788926A (en) | A kind of wireless communications method and device for reducing network delay | |
CN101453413A (en) | Method and apparatus for automatic topology discovery and resource management in PBB network | |
CN103457900A (en) | Multi-frequency networking method and device based on OFDM in power line communication system | |
CN103973569A (en) | Data message forwarding method, customer premises equipment and system | |
CN103927862B (en) | G3 data forwarder and meter recording method for same | |
CN108141427A (en) | A kind of reference signal production method and device | |
CN106911362A (en) | Three-phase meter bandwidth carrier communication module based on high-performance carrier Control technology | |
CN103209125A (en) | Label information transmission method and device | |
CN104967467B (en) | Ethernet data exchange method and device on a kind of electric power cable | |
CN101325531B (en) | Forwarding method and system for virtual LAN | |
CN102143050A (en) | Network connection processing method and device for internet protocol version 6 (IPv6) network | |
CN101924672A (en) | Wireless broadband access system and method | |
CN110291839A (en) | Unicast connects method for building up, device and storage medium | |
CN105656517B (en) | Island information transmission measurement and control system | |
CN109151911A (en) | A kind of interference synergic method in electric power wireless private network hybrid communication service | |
CN102035721B (en) | Method and device for aging processing of media access control table entry | |
CN105594223A (en) | Data transmission method for passive optical network and relevant device and passive optical network | |
CN106961291A (en) | Single-phase meter bandwidth carrier communication module based on high-performance carrier Control technology | |
CN104486408B (en) | A kind of distributed stage multimode cooperative control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180605 Termination date: 20210715 |
|
CF01 | Termination of patent right due to non-payment of annual fee |