CN108650101A - A kind of method and apparatus of data transmission - Google Patents
A kind of method and apparatus of data transmission Download PDFInfo
- Publication number
- CN108650101A CN108650101A CN201810287715.8A CN201810287715A CN108650101A CN 108650101 A CN108650101 A CN 108650101A CN 201810287715 A CN201810287715 A CN 201810287715A CN 108650101 A CN108650101 A CN 108650101A
- Authority
- CN
- China
- Prior art keywords
- interface
- relay
- network
- electric signal
- connect
- 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.)
- Granted
Links
Classifications
-
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer And Data Communications (AREA)
- Alarm Systems (AREA)
Abstract
The present invention provides a kind of method and apparatus of data transmission, it is related to field of computer technology, this method is applied to passive connection equipment PFC, the PFC includes the first interface being connect with first network, third interface and the 4th interface with the second interface of the second network connection and for connecting safety equipment, the safety equipment respectively powers to third interface and the 4th interface by way of interface power supply, and this method includes:Acquire the electric signal of the electric signal and the 4th interface of third interface, if the electric signal of the electric signal of third interface and/or the 4th interface is low level electric signal, then first interface is connected to second interface, when the business datum that the network equipment for receiving first network by first interface is sent, the network equipment that is sent to business datum by second interface in the second network.When using certain link failure that can be between PFC and safety equipment of the invention, avoid the business datum of the chain road that from can not transmitting.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus of data transmission.
Background technology
Currently, technical staff deployment secure equipment would generally ensure the safety of applied business in a local network, for example, peace
Full equipment can be intrusion prevention system (Intrusion Prevention System, IPS) or Application control gateway
(Application Control Gateway, ACG).Network interruption, technology caused by safety equipment Single Point of Faliure in order to prevent
Personnel usually connect safety equipment and passive connection equipment (Power Free Connector, PFC), in this way, ought set safely
When standby failure, business datum is transmitted by PFC.
In the prior art, as shown in Figure 1, PFC includes multiple interface groups and the first universal serial bus (Universal
Serial Bus, USB) interface, each interface group includes outer network interface, interior network interface, the first outside domain interface, the first interior fields
Interface;Safety equipment includes the second outside domain interface, the second inside domain interface and secondary USB interface.The first external domain of PFC connects
Mouth and the first inside domain interface are connect with the second outside domain interface of safety equipment and the second inside domain interface respectively, for receiving
With transmission business datum.Wherein, PFC can establish multilink by multiple interface groups and safety equipment.The of safety equipment
Two USB interfaces are connected with the first USB interface of PFC, for powering to PFC.The server that outer net is accessed with the host of Intranet is
The processing procedure of example, PFC and safety equipment can be as follows:When safety equipment works normally, safety equipment can be connect by USB
Mouth is powered to PFC.At this point, the outer network interface of PFC and the first external domain orifice, interior network interface and the first inside domain interface connect
It is logical.The business datum that host is sent is sent to safety equipment by PFC and is detected.Safety equipment detects business datum and completes
Afterwards, business datum is sent to the server of outer net by PFC, to realize that host accesses server.
As safety equipment failure (such as safety equipment power-off or restart), safety equipment can not by USB interface to
PFC powers.At this point, the USB interface of PFC can power off, each outer network interface and corresponding Intranet orifice are triggered.What host was sent
Business datum is directly sent to the server of outer net by PFC equipment.In this way, caused by safety equipment Single Point of Faliure can be prevented
Network interruption.
Based on the prior art, only when safety equipment can not be powered by USB interface to PFC, PFC can just connect outer net
Mouth and Intranet orifice, and when certain link failure in PFC and safety equipment, PFC will not be by the outer net in the link
Interface and Intranet orifice, cause the business datum of the chain road that can not transmit.
Invention content
The embodiment of the present invention is designed to provide a kind of method and apparatus of data transmission, can work as PFC and be set with safety
When certain link failure in standby, prevent the business datum of the chain road from can not transmit.Specific technical solution is as follows:
On the one hand, a kind of method of data transmission is provided, the method is applied to passive connection equipment PFC, the PFC
Include the first interface being connect with first network, with the second interface of the second network connection and for connecting safety equipment
Third interface and the 4th interface, the safety equipment is by way of interface power supply respectively to the third interface and the described 4th
Interface is powered, the method includes:
Acquire the electric signal of the electric signal and the 4th interface of the third interface;
If the electric signal of the electric signal of the third interface and/or the 4th interface is low level electric signal,
The first interface is connected to the second interface;
When the business datum that the network equipment for receiving the first network by the first interface is sent, pass through institute
State the network equipment that the business datum is sent in second network by second interface.
Second aspect, provides a kind of passive connection equipment PFC, and the PFC includes control module, connect with first network
First interface, third interface and the 4th interface with the second interface of the second network connection and for connecting safety equipment,
The safety equipment respectively powers to the third interface and the 4th interface by way of interface power supply, wherein:
The control module, the electric signal of electric signal and the 4th interface for acquiring the third interface;
The control module, if being additionally operable to the electric signal of the third interface and/or the electric signal of the 4th interface
For low level electric signal, then the first interface is connected to the second interface;
The first interface, the business datum that the network equipment for receiving the first network is sent, passes through described the
The business datum is sent to the network equipment in second network by two interfaces.
The third aspect provides a kind of passive connection equipment PFC, including processor and machine readable storage medium, described
Machine readable storage medium is stored with the machine-executable instruction that can be executed by the processor, and the processor is by the machine
Device executable instruction promotes:Realize the method and step described in first aspect.
Fourth aspect provides a kind of machine readable storage medium, is stored with machine-executable instruction, by processor tune
When with executing, the machine-executable instruction promotes the processor:Realize the method and step described in first aspect.
An embodiment of the present invention provides a kind of method of data transmission, this method can be applied to PFC, and PFC can be acquired
The electric signal of the electric signal of third interface and the 4th interface, if the electric signal of the electric signal of third interface and/or the 4th interface
For low level electric signal, then first interface is connected to second interface, when the net for receiving first network by first interface
When the business datum that network equipment is sent, the network equipment that is sent to business datum by second interface in the second network.In this way,
PFC can detect certain link failure between safety equipment, and by by the corresponding first interface of the link and second
Orifice can not be transmitted with forwarding the data of the chain road to avoid the business datum of the chain road.
In the embodiment of the present invention, for each of the links between PFC and safety equipment, PFC can be by acquiring the link
Third interface electric signal and the 4th interface electric signal, to detect whether the link breaks down, if the third interface
Electric signal and/or the electric signal of the 4th interface be low level electric signal, then illustrate the link failure, PFC is by the link
First interface be connected to second interface, and when by the first interface receive first network the network equipment transmission business
When data, business datum is sent to by the network equipment in the second network by the second interface, to realize for the link
Bypass functions.Based on above-mentioned processing, PFC can detect whether each of the links between safety equipment break down, and needle
Bypass (i.e. on-demand bypass) is carried out to the single link to break down, the flow detection without influencing other links, enhancing
Network reliability and safety.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the network system exemplary plot of the prior art;
Fig. 2 is network system exemplary plot provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the method for data transmission provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of the method for data transmission provided in an embodiment of the present invention;
Fig. 5 is a kind of connection diagram of PFC and safety equipment provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of PFC provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of PFC provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of PFC provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of method of data transmission, this method can be applied in PFC.As shown in Fig. 2,
For network system exemplary plot provided in an embodiment of the present invention, the network system include first network, the second network, PFC and
Safety equipment.PFC includes one or more interface groups and Complex Programmable Logic Devices (Complex Programmable
Logic Device, CPLD).Wherein, each interface group includes the first interface being connect with first network and the second network connection
Second interface and third interface and the 4th interface for connecting safety equipment;CPLD can respectively with third interface and
4th interface connects, to acquire the electric signal of the electric signal and the 4th interface of third interface in real time.Fig. 2 is connect with PFC including one
It is shown for mouth group, PFC includes that the structure of multiple interface groups is similar therewith.In addition, PFC can also including relay etc. portions
Part.
Similar, safety equipment can also include multiple interface groups, wherein each interface group includes the 5th interface and the 6th
Interface.Wherein, the third interface connection in a certain interface group of the 5th interface and PFC, the in the 6th interface and the interface group
Four interfaces connect.In this way, PFC can realize multi link communications with safety equipment by multiplex roles group.
In the embodiment of the present invention, safety equipment supports Power over Ethernet (Power Over Ethernet, POE) function, the
Five interfaces and the 6th interface respectively can power to third interface and the 4th interface by way of POE power supplies.Of the invention real
Apply in example, can be first network be Intranet, the second network be outer net, correspondingly, first interface be interior network interface, second interface
For outer network interface, third interface is the first inside domain interface, and the 4th interface is the first outside domain interface, and the 5th interface is in second
Portion's domain interface, the 6th interface are the second outside domain interface;Alternatively, can also be first network be outer net, the second network be Intranet,
Correspondingly, first interface is outer network interface, second interface is interior network interface, and third interface is the first outside domain interface, and the 4th connects
Mouth is the first inside domain interface, and the 5th interface is the second outside domain interface, and the 6th interface is the second inside domain interface, and the present invention is real
Example is applied to be not construed as limiting.However, it is to be understood that safety equipment can also meet third interface, the 4th with other power supply modes
Confession electricity, the present embodiment are not particularly limited.
When the host of Intranet needs to access the server of outer net, the processing procedure of PFC and safety equipment can be as follows:When
When link between PFC and safety equipment is normal, the outer network interface of PFC and the first external domain orifice, interior network interface and the
One interior fields orifice.Then the business datum that PFC is sent by Intranet interface host passes through the first inside domain interface
The business datum is transmitted to safety equipment.Safety equipment is by the second interior fields interface business datum, and to the industry
Data of being engaged in carry out safety detection, and after the completion of safety detection, the business datum is sent to PFC by the second outside domain interface.PFC
The business datum sent by the first external domain interface safety equipment, is then sent the business datum by outer network interface
To the server of outer net.
When the link between PFC and safety equipment sends failure, outer network interface and the Intranet orifice of PFC.PFC is logical
The business datum, is then transmitted to the service of outer net by the business datum for crossing the transmission of Intranet interface host by outer network interface
Device.
An embodiment of the present invention provides a kind of method of data transmission, link that can be between PFC and safety equipment is former
When barrier, ensure that the business datum of the chain road can continue to transmit, as shown in figure 3, specific process flow is as follows.
Step 301, the electric signal of the electric signal and the 4th interface of acquisition third interface.
In force, when the link between safety equipment and PFC is normal, the 5th interface of safety equipment and the 6th interface
(i.e. external domain interface and internal domain interface) can be powered by POE power supply modes to the third interface of PFC and the 4th interface.
PFC can acquire the electric signal of the electric signal and the 4th interface of third interface in real time by CPLD.Wherein, work as safety
When link between equipment and PFC is normal, the electric signal of the collected third interfaces of the CPLD and the electric signal of the 4th interface are equal
For the electric signal of high level;When the link between safety equipment and PFC breaks down, the collected third interfaces of the CPLD
In the electric signal of electric signal and the 4th interface, at least one electric signal is low level electric signal.
Step 302, if the electric signal of the electric signal of third interface and/or the 4th interface is low level electric signal,
First interface is connected to second interface.
In force, after CPLD collects the electric signal of third interface and the electric signal of the 4th interface, can further sentence
Whether it is low level telecommunications that whether the electric signal of disconnected third interface is the electric signal of low level electric signal and the 4th interface
Number.
If the electric signal of the electric signal of third interface and/or the 4th interface be low level electric signal, illustrate PFC with
Link between safety equipment breaks down, and first interface can be connected to by CPLD with second interface.For example, the electricity of third interface
Signal is low level, and the electric signal of the 4th interface is high level, and first interface is connected to by CPLD with second interface.For another example, third
The electric signal of interface is low level, and the electric signal of the 4th interface is also low level, and first interface is connected to by CPLD with second interface.
In addition, the case where for including multigroup interface group, CPLD can first determine the first interface that the third interface is correspondingly connected with and
Then the first interface is connected to by the second interface that the 4th interface is correspondingly connected with the second interface.
Step 303, when the business datum that the network equipment for receiving first network by first interface is sent, by the
Business datum is sent to the network equipment in the second network by two interfaces.
In force, after first interface is connected to by CPLD with second interface, when PFC receives the first net by first interface
When the business datum that the network equipment of network is sent, business datum can be transmitted to the net in the second network by PFC by second interface
Network equipment.In this way, when the link between PFC and safety equipment breaks down, PFC can send out the network equipment of first network
The business datum sent is directly forwarded to the network equipment in the second network.
In the embodiment of the present invention, for each of the links between PFC and safety equipment, PFC can be acquired by CPLD should
The electric signal of the electric signal and the 4th interface of the third interface of link, to detect whether the link breaks down, if the third
The electric signal of the electric signal of interface and/or the 4th interface is low level electric signal, then illustrates that the link failure, PFC should
The first interface of link is connected to second interface, and sent when the network equipment for receiving first network by the first interface
When business datum, business datum is sent to by the network equipment in the second network by the second interface, the chain is directed to realize
The bypass functions on road.Based on above-mentioned processing, PFC can detect whether each of the links between safety equipment break down,
And bypass (i.e. on-demand bypass) is carried out for the single link to break down, the flow detection without influencing other links,
Enhance network reliability and safety.
With reference to Fig. 2, when the link between PFC and safety equipment sends failure, the outer network interface of PFC connects with interior network interface
It is logical.By taking the host of Intranet accesses the server of outer net as an example, the processing procedure of PFC can be:PFC passes through Intranet interface master
The business datum, is then transmitted to the server of outer net by the business datum that machine is sent by outer network interface.
Optionally, as shown in figure 4, when PFC detects that the link between safety equipment is normal, PFC can be by the chain
The business datum of road is sent to safety equipment and carries out safety detection, correspondingly, the above method further includes:
It step 304, will if the electric signal of the electric signal of third interface and the 4th interface is the electric signal of high level
Third interface is connected to first interface, and the 4th interface is connected to second interface.
In force, the link between PFC and safety equipment breaks down, and first interface is connected to by CPLD with second interface
Afterwards, CPLD will continue to the electric signal of the electric signal and the 4th interface of acquisition third interface.Subsequently, when between PFC and safety equipment
Link-recovery it is normal when, the electric signal of the electric signal of third interface and the 4th interface is the electric signal of high level.At this point,
CPLD can detect that the electric signal of third interface and the electric signal of the 4th interface are the electric signal of high level, then connect third
Mouth is connected to first interface, and the 4th interface is connected to second interface.In addition, the case where for including multigroup interface group,
CPLD can first determine the first interface that the third interface is correspondingly connected with and the second interface that the 4th interface is correspondingly connected with,
Then the third interface is connected to again with the first interface, and the 4th interface is connected to the second interface.
Step 305, when the business datum that the network equipment for receiving first network by first interface is sent, by the
Business datum is sent to safety equipment by three interfaces.
In force, after third interface is connected to by CPLD with first interface, when PFC receives the first net by first interface
When the business datum that the network equipment of network is sent, business datum can be sent to safety equipment by PFC by third interface, be set safely
It is standby then can by the 5th interface to the business datum, then to the business datum carry out safety detection.
Step 306, when the business datum sent to safety equipment by the 4th interface, by second interface by industry
Business data are sent to the network equipment in the second network.
In force, after safety equipment carries out safety detection to the business datum that PFC is sent, if it is determined that the business datum
Safety detection passes through, then the business datum can be sent to PFC by the 6th interface.PFC can then be arrived by the 4th interface
The business datum that safety equipment is sent, the network equipment being then sent to business datum by second interface in the second network.
If safety equipment judges that the business datum safety detection does not pass through, the business datum can be abandoned.
In this way, when the link between PFC and safety equipment is normal, PFC can send the network equipment of first network
Business datum be sent to safety equipment carry out safety detection, and by safety equipment send detection pass through after business datum hair
Give the network equipment in the second network.
With reference to Fig. 2, when the link between PFC and safety equipment is normal, the outer network interface of PFC and the first outside domain interface
Connection, interior network interface and the first interior fields orifice.For server for the host access outer net of Intranet, PFC and safety
The processing procedure of equipment can be:The business datum that PFC is sent by Intranet interface host, then passes through the first interior fields
The business datum is transmitted to safety equipment by interface.Safety equipment is and right by the second interior fields interface business datum
The business datum carries out safety detection, after the completion of safety detection, is sent to the business datum by the second outside domain interface
PFC.The business datum that PFC is sent by the first external domain interface safety equipment, then by outer network interface by the business
Data are sent to the server of outer net.
Optionally, as shown in figure 5, PFC further includes the first relay and the second relay, the first of the first relay is dynamic tactile
Point can be connect with first interface, and the first stationary contact of the first relay can be connect with third interface, and the of the second relay
Two movable contacts can be connect with second interface, and the second stationary contact of the second relay can be connect with the 4th interface, the first relay
The third stationary contact of device can be connect with the 4th stationary contact of the second relay.It can so be arranged in PFC and be connect with CPLD
The first relay and the second relay, CPLD sends control electric signal to first relay and the second relay, with control
The connection of interface.Correspondingly, the above-mentioned concrete processing procedure for being connected to first interface with second interface can be as follows:By first after
First movable contact of electric appliance is connect with third stationary contact, and the second movable contact of the second relay is connect with the 4th stationary contact.
In force, if the electric signal of the electric signal of third interface and/or the 4th interface is low level electric signal,
Illustrate that the link between PFC and safety equipment breaks down.CPLD sends low level to the first relay and the second relay
Control electric signal.After first relay receives low level control electric signal, the first movable contact is connect with third stationary contact.
Similar, after the second relay receives low level control electric signal, the second movable contact is connect with the 4th stationary contact.
In this way, when the link between PFC and safety equipment breaks down, PFC can send out the network equipment of first network
The business datum sent is transmitted to the network equipment in the second network, avoids the case where business data transmission is interrupted.
It is above-mentioned to be connected to third interface with first interface based on PFC shown in fig. 5, and by the 4th interface and second interface
The concrete processing procedure of connection can be as follows:First movable contact of the first relay is connect with the first stationary contact, and by second
Second movable contact of relay is connect with the second stationary contact.
In force, if the electric signal of the electric signal of third interface and the 4th interface is the electric signal of high level,
Illustrate that the link between PFC and safety equipment is normal.CPLD sends the control of high level to the first relay and the second relay
Electric signal.After first relay receives the control electric signal of high level, the first movable contact is connect with the first stationary contact.It is similar
, after the second relay receives the control electric signal of high level, the second movable contact is connect with the second stationary contact.
In this way, when the link between PFC and safety equipment is normal, what PFC can send the network equipment of first network
Business datum be sent to safety equipment carry out safety detection, and by safety equipment send detection pass through after business datum transmission
To the network equipment in the second network, the safety of transmission services data is improved.
It should be noted that the link between PFC and safety equipment is normal, the first movable contact of the first relay and first
Stationary contact connects, and the second movable contact of the second relay is connect with the second stationary contact.CPLD will continue to acquire third interface in real time
Electric signal and the 4th interface electric signal, if the electric signal of the electric signal of third interface and the 4th interface is high level
Electric signal, the first relay and the second relay are then without processing.If the electric signal of third interface and/or the 4th interface
Electric signal is low level electric signal, and CPLD can send low level control electric signal to the first relay and the second relay,
First movable contact of the first relay is connect with third stationary contact, and the second movable contact of the second relay and the 4th stationary contact connect
It connects.
It should be noted that for the ease of controlling at any time business datum, technical staff can also be arranged in PFC
The switch control module being connected with the first relay and the second relay, so that technical staff is manually controlled by switch control module
The movable contact of the first relay and the second relay is made, realizes manual control orifice.
An embodiment of the present invention provides a kind of methods of data transmission, and the electric signal and the 4th by acquiring third interface connects
The electric signal of mouth, if the electric signal of the electric signal of third interface and/or the 4th interface is low level electric signal, by first
Interface is connected to second interface, and when the business datum that the network equipment for receiving first network by first interface is sent,
The network equipment being sent to business datum by second interface in the second network.In this way, can be between PFC and safety equipment
Certain link failure when, avoid the business datum of the chain road that from can not transmitting.
Based on the same technical idea, as shown in fig. 6, the embodiment of the present invention additionally provides a kind of PFC, which includes control
Molding block 610, the first interface 620 being connect with first network, with the second interface 630 of the second network connection and for connecting
The third interface 640 and the 4th interface 650 of safety equipment are connect, the safety equipment is by way of interface power supply respectively to described
Third interface 640 and the 4th interface 650 power supply, wherein:
The control module 610, the electricity of electric signal and the 4th interface 650 for acquiring the third interface 640
Signal;
The control module 610, if being additionally operable to the electric signal of the third interface 640 and/or the 4th interface 650
Electric signal be low level electric signal, then the first interface 620 is connected to the second interface 630;
The first interface 620, the business datum that the network equipment for receiving the first network is sent, by described
The business datum is sent to the network equipment in second network by second interface 630.
Wherein, the control module 610 can be Complex Programmable Logic Devices (Complex Programmable
Logic Device, CPLD).
Optionally, the control module 610, is additionally operable to:If the electric signal of the third interface 640 and the described 4th connects
The electric signal of mouth 650 is the electric signal of high level, then is connected to the third interface 640 with the first interface 620, and will
4th interface 650 is connected to the second interface 630;
The first interface 620 is additionally operable to receive the business datum that the network equipment of the first network is sent, passes through institute
It states third interface 640 and the business datum is sent to the safety equipment, so that the safety equipment is to the business datum
Carry out safety detection;
4th interface 650, the business datum sent for receiving the safety equipment, connects by described second
The business datum is sent to the network equipment in second network by mouth 630.
Optionally, as shown in fig. 7, the PFC further includes the first relay 660 and the second relay 670, described first after
First movable contact of electric appliance 660 can be connect with the first interface 620, the first stationary contact energy of first relay 660
Enough to be connect with the third interface 640, the second movable contact of second relay 670 can connect with the second interface 630
It connects, the second stationary contact of second relay 670 can be connect with the 4th interface 650, first relay 660
Third stationary contact can be connect with the 4th stationary contact of second relay 670;
The control module 610, is specifically used for:
First movable contact of first relay 660 is connect with the third stationary contact, and by second relay
Second movable contact of device 670 is connect with the 4th stationary contact.
Optionally, based on the PFC as shown in Figure 7, the control module 610 is specifically used for:
First movable contact of first relay 660 is connect with first stationary contact, and by second relay
Second movable contact of device 670 is connect with second stationary contact.
An embodiment of the present invention provides a kind of PFC, can acquire the electric signal of the electric signal and the 4th interface of third interface,
If the electric signal of the electric signal of third interface and/or the 4th interface is low level electric signal, by first interface and second
Orifice, and when the business datum that the network equipment for receiving first network by first interface is sent, connect by second
Business datum is sent to the network equipment in the second network by mouth.In this way, certain link that can be between PFC and safety equipment
When failure, avoid the business datum of the chain road that from can not transmitting.
The embodiment of the present invention additionally provides a kind of passive connection equipment PFC, as shown in figure 8, including processor 801 and the
The first interface 802 of one network connection, with the second interface 803 of the second network connection and for connecting safety equipment
Three interfaces 804 and the 4th interface 805 and memory 806 and communication bus 807, wherein processor 801, first interface 802,
Second interface 803, third interface 804, the 4th interface 805, memory 806 complete mutual communication by communication bus 807,
Memory 806, for storing computer program;
Processor 801, when for executing the program stored on memory 806, so that the PFC executes following steps, it should
Step includes:
Acquire the electric signal of the electric signal and the 4th interface 805 of the third interface 804;
If the electric signal of the electric signal of the third interface 804 and/or the 4th interface 805 is low level telecommunications
Number, then the first interface 802 is connected to the second interface 803;
When the business datum that the network equipment for receiving the first network by the first interface 802 is sent, lead to
Cross the network equipment that the business datum is sent in second network by the second interface 803.
Optionally, the method further includes:
If the electric signal of the electric signal of the third interface 804 and the 4th interface 805 is the telecommunications of high level
Number, then the third interface 804 is connected to the first interface 802, and by the 4th interface 805 and the second interface
803 connections;
When the business datum that the network equipment for receiving the first network by the first interface 802 is sent, lead to
It crosses the third interface 804 and the business datum is sent to the safety equipment, so that the safety equipment is to the business
Data carry out safety detection;
When receiving the business datum that the safety equipment is sent by the 4th interface 805, by described
The business datum is sent to the network equipment in second network by second interface 803.
Optionally, the PFC further includes the first relay and the second relay, the first movable contact of first relay
It can be connect with the first interface 802, the first stationary contact of first relay can connect with the third interface 804
It connects, the second movable contact of second relay can be connect with the second interface 803, and the second of second relay is quiet
Contact can be connect with the 4th interface 805, and the third stationary contact of first relay can be with second relay
The 4th stationary contact connection;
It is described to be connected to the first interface 802 with the second interface 803, including:
First movable contact of first relay is connect with the third stationary contact, and by second relay
Second movable contact is connect with the 4th stationary contact.
Optionally, described to be connected to the third interface 804 with the first interface 802, and by the 4th interface 805
It is connected to the second interface 803, including:
First movable contact of first relay is connect with first stationary contact, and by second relay
Second movable contact is connect with second stationary contact.
Machine readable storage medium may include RAM (Random Access Memory, random access memory), also may be used
To include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.In addition, machine
Device readable storage medium storing program for executing can also be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing
Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processing,
Digital signal processor), ASIC (Application Specific Integrated Circuit, application-specific integrated circuit),
FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of method of data transmission, which is characterized in that the method is applied to passive connection equipment PFC, and the PFC includes
The first interface that is connect with first network, the third with the second interface of the second network connection and for connecting safety equipment
Interface and the 4th interface, the safety equipment is by way of interface power supply respectively to the third interface and the 4th interface
Power supply, the method includes:
Acquire the electric signal of the electric signal and the 4th interface of the third interface;
If the electric signal of the electric signal of the third interface and/or the 4th interface is low level electric signal, by institute
First interface is stated to be connected to the second interface;
When the business datum that the network equipment for receiving the first network by the first interface is sent, pass through described the
The business datum is sent to the network equipment in second network by two interfaces.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
It, will be described if the electric signal of the electric signal of the third interface and the 4th interface is the electric signal of high level
Third interface is connected to the first interface, and the 4th interface is connected to the second interface;
When the business datum that the network equipment for receiving the first network by the first interface is sent, pass through described the
The business datum is sent to the safety equipment by three interfaces, so that the safety equipment carries out safety to the business datum
Detection;
When the business datum sent to the safety equipment by the 4th interface, pass through the second interface
The business datum is sent to the network equipment in second network.
3. according to the method described in claim 1, it is characterized in that, the PFC further includes the first relay and the second relay,
First movable contact of first relay can be connect with the first interface, the first stationary contact energy of first relay
Enough to be connect with the third interface, the second movable contact of second relay can be connect with the second interface, and described the
Second stationary contact of two relays can be connect with the 4th interface, and the third stationary contact of first relay can be with institute
State the 4th stationary contact connection of the second relay;
It is described to be connected to the first interface with the second interface, including:
First movable contact of first relay is connect with the third stationary contact, and by the second of second relay
Movable contact is connect with the 4th stationary contact.
4. according to the method described in claim 2, it is characterized in that, the PFC further includes the first relay and the second relay,
First movable contact of first relay can be connect with the first interface, the first stationary contact energy of first relay
Enough to be connect with the third interface, the second movable contact of second relay can be connect with the second interface, and described the
Second stationary contact of two relays can be connect with the 4th interface, and the third stationary contact of first relay can be with institute
State the 4th stationary contact connection of the second relay;
It is described to be connected to the third interface with the first interface, and the 4th interface is connected to the second interface,
Including:
First movable contact of first relay is connect with first stationary contact, and by the second of second relay
Movable contact is connect with second stationary contact.
5. a kind of passive connection equipment PFC, which is characterized in that the PFC includes control module, connect with first network first
Interface, third interface and the 4th interface with the second interface of the second network connection and for connecting safety equipment, the peace
Full equipment respectively powers to the third interface and the 4th interface by way of interface power supply, wherein:
The control module, the electric signal of electric signal and the 4th interface for acquiring the third interface;
The control module, if the electric signal of the electric signal and/or the 4th interface that are additionally operable to the third interface is low
The first interface is then connected to by the electric signal of level with the second interface;
The first interface, the business datum that the network equipment for receiving the first network is sent, connects by described second
The business datum is sent to the network equipment in second network by mouth.
6. PFC according to claim 5, which is characterized in that the control module, if being additionally operable to the third interface
The electric signal of electric signal and the 4th interface is the electric signal of high level, then by the third interface and the first interface
Connection, and the 4th interface is connected to the second interface;
The first interface is additionally operable to receive the business datum that the network equipment of the first network is sent, passes through the third
The business datum is sent to the safety equipment by interface, so that the safety equipment carries out safe inspection to the business datum
It surveys;
4th interface, the business datum sent for receiving the safety equipment, by the second interface by institute
State the network equipment that business datum is sent in second network.
7. PFC according to claim 5, which is characterized in that the PFC further includes the first relay and the second relay,
First movable contact of first relay can be connect with the first interface, the first stationary contact energy of first relay
Enough to be connect with the third interface, the second movable contact of second relay can be connect with the second interface, and described the
Second stationary contact of two relays can be connect with the 4th interface, and the third stationary contact of first relay can be with institute
State the 4th stationary contact connection of the second relay;
The control module, is specifically used for:
First movable contact of first relay is connect with the third stationary contact, and by the second of second relay
Movable contact is connect with the 4th stationary contact.
8. PFC according to claim 6, which is characterized in that the PFC further includes the first relay and the second relay,
First movable contact of first relay can be connect with the first interface, the first stationary contact energy of first relay
Enough to be connect with the third interface, the second movable contact of second relay can be connect with the second interface, and described the
Second stationary contact of two relays can be connect with the 4th interface, and the third stationary contact of first relay can be with institute
State the 4th stationary contact connection of the second relay;
The control module, is specifically used for:
First movable contact of first relay is connect with first stationary contact, and by the second of second relay
Movable contact is connect with second stationary contact.
9. a kind of passive connection equipment PFC, which is characterized in that including processor and machine readable storage medium, the machine can
It reads storage medium and is stored with the machine-executable instruction that can be executed by the processor, the processor can be held by the machine
Row instruction promotes:Realize any method and steps of claim 1-5.
10. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, by processor call and
When execution, the machine-executable instruction promotes the processor:Realize any method and steps of claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810287715.8A CN108650101B (en) | 2018-03-30 | 2018-03-30 | Data transmission method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810287715.8A CN108650101B (en) | 2018-03-30 | 2018-03-30 | Data transmission method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108650101A true CN108650101A (en) | 2018-10-12 |
CN108650101B CN108650101B (en) | 2021-01-15 |
Family
ID=63745362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810287715.8A Active CN108650101B (en) | 2018-03-30 | 2018-03-30 | Data transmission method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108650101B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781111A (en) * | 2019-10-23 | 2020-02-11 | 北京计算机技术及应用研究所 | But real-time supervision's dual-redundancy USB port extension device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1392732A (en) * | 2001-06-15 | 2003-01-22 | 张学斌 | Cable TV HFC network transmission link management system |
US20090113234A1 (en) * | 2007-10-30 | 2009-04-30 | Fujitsu Limited | Virtualization switch and method for controlling a virtualization switch |
CN101841408A (en) * | 2010-05-07 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Primary/standby route equipment switching method and route equipment |
CN203119929U (en) * | 2013-01-17 | 2013-08-07 | 研华股份有限公司 | A network connecting device capable of switching paths |
CN203352595U (en) * | 2013-07-11 | 2013-12-18 | 北京立华莱康平台科技有限公司 | Bypass device and network system |
CN104915271A (en) * | 2015-06-12 | 2015-09-16 | 山东超越数控电子有限公司 | Method for redundancy of multi-screen display function of display-control console |
CN105101159A (en) * | 2014-05-13 | 2015-11-25 | 三星电子株式会社 | Apparatus and method for accessing wireless network |
CN105591906A (en) * | 2015-07-02 | 2016-05-18 | 杭州华三通信技术有限公司 | Path switching device and path switching method |
CN107645502A (en) * | 2017-09-20 | 2018-01-30 | 新华三信息安全技术有限公司 | A kind of message detecting method and device |
-
2018
- 2018-03-30 CN CN201810287715.8A patent/CN108650101B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1392732A (en) * | 2001-06-15 | 2003-01-22 | 张学斌 | Cable TV HFC network transmission link management system |
US20090113234A1 (en) * | 2007-10-30 | 2009-04-30 | Fujitsu Limited | Virtualization switch and method for controlling a virtualization switch |
CN101841408A (en) * | 2010-05-07 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Primary/standby route equipment switching method and route equipment |
CN203119929U (en) * | 2013-01-17 | 2013-08-07 | 研华股份有限公司 | A network connecting device capable of switching paths |
CN203352595U (en) * | 2013-07-11 | 2013-12-18 | 北京立华莱康平台科技有限公司 | Bypass device and network system |
CN105101159A (en) * | 2014-05-13 | 2015-11-25 | 三星电子株式会社 | Apparatus and method for accessing wireless network |
CN104915271A (en) * | 2015-06-12 | 2015-09-16 | 山东超越数控电子有限公司 | Method for redundancy of multi-screen display function of display-control console |
CN105591906A (en) * | 2015-07-02 | 2016-05-18 | 杭州华三通信技术有限公司 | Path switching device and path switching method |
CN107645502A (en) * | 2017-09-20 | 2018-01-30 | 新华三信息安全技术有限公司 | A kind of message detecting method and device |
Non-Patent Citations (4)
Title |
---|
MARKUS A. VOGELSBERGER; THOMAS WIESINGER; HANS ERTL: "《Life-Cycle Monitoring and Voltage-Managing Unit for DC-Link Electrolytic Capacitors in PWM Converters》", 《IEEE TRANSACTIONS ON POWER ELECTRONICS( VOLUME: 26, ISSUE: 2, FEB. 2011)》 * |
王金新: "《利用网络监控发现供电故障》", 《安徽冶金科技职业学院学报》 * |
赵玺: "《一个校园无线局域网的设计与实施》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
陈建明曹文思邱道尹: "《应用无线传感网络的分布式电力系统接地状态监测》", 《高电压技术》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781111A (en) * | 2019-10-23 | 2020-02-11 | 北京计算机技术及应用研究所 | But real-time supervision's dual-redundancy USB port extension device |
Also Published As
Publication number | Publication date |
---|---|
CN108650101B (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9841142B2 (en) | Single-wire industrial safety system with safety device diagnostic communication | |
US9786157B2 (en) | Bus system and method for operating such a bus system | |
US9846423B2 (en) | Smart taps for a single-wire industrial safety system | |
US9797552B2 (en) | Diagnostics and enhanced functionality for single-wire safety communication | |
CN101094121B (en) | Method, system and device for detecting Ethernet links among not direct connected devices | |
CN101753284A (en) | 10/100M Ethernet double interface switching method based upon carrier detect and device thereof | |
CN103957138B (en) | A kind of method for monitoring network, device and its system | |
KR101185971B1 (en) | Communication system, test device, communication device, communication method, and test method | |
CN105140886A (en) | Protective relaying system and method for gathering data using thereof | |
CN109194744A (en) | A kind of data transmission method, device, storage medium and monitoring device | |
CN106154071B (en) | A kind of device and method detecting intelligent electric energy meter RS485 bus failure | |
CN108650101A (en) | A kind of method and apparatus of data transmission | |
CN104796287A (en) | Method for detecting faults of looped EPON (Ethernet passive optical networks) | |
CN101980478A (en) | Method and device for detecting and processing equipment failures and network equipment | |
CN110213402B (en) | Electronic data distribution control device and method for operating such a control device | |
CN207992997U (en) | I2C bus systems | |
CN105425780B (en) | A kind of bus failure self-diagnosis system | |
CN112822039B (en) | Main and standby mode switching method for dual-machine hot standby system | |
CN105774590B (en) | battery management system and electric vehicle | |
CN206237406U (en) | Cable's Fault monitoring system based on OTDR | |
CN104301145A (en) | Network device and console configuration method for network device | |
CN113009246B (en) | PSE device detection device and PSE device detection method | |
CN107347003A (en) | The method and apparatus and wind power generating set of automatic switchover communication line | |
CN103684719A (en) | Network dual-redundancy hot swap method independent of platforms | |
CN106304241A (en) | A kind of data transmission method, transponder and gateway |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |