CN106230641A - The wireless transmitting system of a kind of automatic switching line and method - Google Patents
The wireless transmitting system of a kind of automatic switching line and method Download PDFInfo
- Publication number
- CN106230641A CN106230641A CN201610784449.0A CN201610784449A CN106230641A CN 106230641 A CN106230641 A CN 106230641A CN 201610784449 A CN201610784449 A CN 201610784449A CN 106230641 A CN106230641 A CN 106230641A
- Authority
- CN
- China
- Prior art keywords
- transmitting device
- frame
- wireless
- self
- normal data
- 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
- 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
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/70—Routing based on monitoring results
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
- H04L49/254—Centralised controller, i.e. arbitration or scheduling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of wireless transmitting system and the method for automatic switching line, according to the Frame that controls received, wireless spread-spectrum technology unit judges whether the transmitting device with the distant terminal side self carrying out data interaction line fault occurs, status information always according to self judges whether the circuit of self breaks down, either there is line fault in the transmitting device of distant terminal side or the circuit of self breaks down, wireless spread-spectrum technology unit all can disconnect and being connected with layer 2-switched, selected a wireless spread-spectrum technology unit to set up again from the wireless spread-spectrum technology unit of backup to connect by Layer 2 switch.The present invention is being wirelessly transferred main line generation exception when, it is possible to automatically finding fault, automatically switch to extension wire, relatively low to the network configuration level requirement using field engineering personnel, price economy, practicality is preferable.
Description
Technical field
The present invention relates to wireless communication technology field, be specifically related to wireless transmitting system and the side of a kind of automatic switching line
Method.
Background technology
In the region that wire communication and cellular mobile communication can not cover, when communication distance is within the scope of tens kilometers
Time, Radio-Frequency Wireless Communication is the communication mode of a kind of convenience and economy, typically by multiple terminals by, after network equipment networking, making
With the radio transmission apparatus transmitting network data such as radio station or wireless bridge.In fields such as military affairs, safety, traffic, monitoring, due to
The data of transmission are extremely important, and equipment is often in forceful electric power gas or electromagnetic interference, severe high temperature or low temperature, violent difference variation
Deng under harsh environments, therefore typically require data transmission link is designed redundancy backup, when a link occurs abnormal
Time, it is possible to it is switched to another link to maintain proper communication.
If using Layer 2 switch that multiple terminals is carried out networking, being connected to radio station or wireless bridge etc. and being wirelessly transferred
Equipment, owing to these equipment are all operated in data link layer, when the radio transmission apparatus such as radio station or wireless bridge occurs abnormal
Time, the transmitting-receiving of its Frame yet suffers from, and now send is empty or the Frame of exception, and Layer 2 switch None-identified arrives
Exception and handoff links.For solving this problem, at present general use have NQA (Network Quality Analysis) function router or
Three-tier switch networking, the method using Network Quality Analysis, after abnormal generation, select reserve link.This scheme can realize
The function of chain circuit heat backup, but there is the router of NQA function or the expensive of three-tier switch, and the skill to networking personnel
Art Capability Requirement is higher.
Summary of the invention
The technical problem to be solved is to provide a kind of wireless transmitting system and the method for automatic switching line, energy
Enough when circuit breaks down, disconnection of wireless transmission equipment is connected with layer 2-switched, and automatically switches that other are standby wireless
Transmission equipment, it is achieved the automatic switchover of wireless transmission link, safe ready, and network configuration require low, cheap.
The technical scheme is that
On the one hand, the invention provides the wireless transmitting system of a kind of automatic switching line, including first terminal, the second end
End, the first transmitting device and second transmitting device identical with the first transmitting device, wherein first terminal and second is eventually
Hold first terminal and the second terminal each other;
Described second terminal, is connected with described second transmitting device, for sending the second normal data frame to the most described the
Two transmitting devices;
Described second transmitting device, with described first transmitting device wireless connections, is used for the line status according to self raw
Become the second control Frame, and it is sent to described first transmitting device together with described second normal data frame received;
Described first transmitting device, is connected with described first terminal, for described second normal data frame that will receive
Control Frame with second to separate, and described second normal data frame is sent to described first terminal, and according to institute
Current connection when stating the circuit exception that the second control Frame judges current connection in described second transmitting device, to self
Circuit switches over;And be used for line state information generation the first control Frame according to self and send it to described
Second transmitting device, and when judging that self circuit occurs abnormal, the current connection line of self is switched over;
Described first terminal, for receiving the second normal data frame of described first transmitting device transmission.
Beneficial effects of the present invention: the wireless transmitting system of a kind of automatic switching line that the present invention provides, the second transmission
Device according to network condition generate control Frame, and it is sent together with the second normal data frame of the second terminal transmission to
Described first transmitting device, the second normal data frame received and second are controlled Frame and separate by the first transmitting device,
And the second normal data frame is transferred to first terminal, the first transmitting device also judges the second control data separated simultaneously
Frame indicates whether that in the second transmitting device, the current circuit connected breaks down, if breaking down, and the most described first transmitting device
The current connection line of self is switched over;It addition, described first transmitting device generates according to the line state information of self
First controls Frame, and transmits it to the second transmitting device, and is judging that self circuit goes out according to the status information of self
During existing fault, the current connection line of self is switched over.In the present invention, the first transmitting device passes according to the second transmitting device
The second defeated control Frame judges in the second transmitting device, whether the current circuit connected breaks down, always according to the shape of self
State information judges whether the circuit that self currently connects breaks down, and the circuit that either the second transmitting device currently connects occurs
The circuit of line fault or self current connection breaks down, and described first transmitting device all can be to the current connecting line of self
Road switches over, and the present invention is being wirelessly transferred main line generation exception when, it is possible to automatically finds fault, automatically switches to standby
With circuit, it is not necessary to use the three-layer network appliance that relative price is expensive, it is only necessary to use the relatively inexpensive spanning tree that has to assist
The Layer 2 switch networking of view function, relatively low to the network configuration level requirement using field engineering personnel, price economy, practical
Property is preferable.
Further, described first transmitting device specifically includes mutually redundant first transport module that multiple structure is identical
With first Layer 2 switch, described first layer 2-switched one end is connected with one of them first transport module foundation,
The other end is set up with first terminal and is connected;Described second transmitting device specifically includes mutually redundant second that multiple structure is identical
Transport module and second Layer 2 switch, described second layer 2-switched one end is built with one of them second transport module
Vertical connection, the other end and the second terminal are set up and are connected;
Described first transport module, separates for the second normal data frame received and second are controlled Frame,
And transmit the second normal data frame to the first Layer 2 switch, and judging that the second control Frame represents that described second passes
During corresponding in defeated device the second transport module circuit exception, disconnect be connected layer 2-switched with first;And for basis
Self line state information generates the first control Frame, and transmits it in described second transmitting device corresponding second
Transport module, and when judging that self circuit occurs abnormal according to the line state information of self, disconnect and the first Layer2 switching
The connection of machine;
Described first Layer 2 switch, for described second normal data frame received is sent to described first terminal,
And when described first transport module disconnects the connection with self, from other backup the first transport module, select one first
Transport module is set up and is connected;
Described first terminal, for receiving described second normal data frame that described first Layer 2 switch sends.
Use the beneficial effect of above-mentioned further scheme: the second control that the first transport module transmits according to the second transmitting device
Frame processed judges whether the circuit that the second transmitting device currently connects line fault occurs, and the status information always according to self is sentenced
Whether self circuit disconnected breaks down, and the circuit that either the second transmitting device currently connects breaks down or the line of self
Breaking down in road, the first transport module all can disconnect be connected layer 2-switched with first, by the first Layer 2 switch again from standby
Part the first transport module in select first transport module to set up to connect, when being wirelessly transferred main line and occurring abnormal
Waiting, the first Layer 2 switch automatically switches to extension wire, price economy, and practicality is preferable.
Further, other backup the first transport module being connected is not set up with the first Layer 2 switch respectively with the
Corresponding backup the second transport module in two transmitting devices is controlled the transmission of Frame.
Use the beneficial effect of above-mentioned further scheme: backup transmission line road is checked by the moment, it is ensured that at main line
When breaking down, it is possible to be switched to circuit normal backup transmission line road at once.
Further, described first transport module specifically includes the first transmission antenna, the first wireless transmission unit and
One wireless spread-spectrum technology unit;Described second transport module specifically include the second transmission antenna, the second wireless transmission unit and
Second wireless spread-spectrum technology unit;
Described first transmission antenna, for common by the second of the second transmission antenna transmission corresponding in the second transmitting device
Frame and second controls Frame and sends to described first wireless transmission unit, and for the first wireless transmission unit is sent out
The the first control data frame transfer sent is to the second transmission antenna corresponding in described second transmitting device;
Described first wireless transmission unit, for the second normal data frame and second sent by described first transmission antenna
Control Frame and the line state information of self sends to described first wireless spread-spectrum technology unit, and for by described the
The first control data frame transfer that one wireless spread-spectrum technology unit sends is to described first transmission antenna;
Described first wireless spread-spectrum technology unit, second for sending the first wireless transmission unit received commonly counts
Control Frame according to frame and second to separate, isolated second normal data frame is transmitted to described first Layer2 switching
Machine, and judging that described second control Frame represents that the second wireless transmission unit circuit corresponding in the second transmitting device is different
Chang Shi, disconnects and layer 2-switched being connected with described first;And for the described line according to the first wireless transmission unit transmission
Line state information generates the first control Frame, sends it to described first wireless transmission unit, and according to described circuit
When status information judges described first wireless transmission unit circuit exception, disconnect be connected layer 2-switched with first.
Use the beneficial effect of above-mentioned further scheme: in conventional radio transmission equipment, add wireless spread-spectrum technology list
Unit, wireless spread-spectrum technology unit adds control frame in wirelessly transmitting data, and wireless spread-spectrum technology unit is according to the number of control frame
According to, when circuit occurs abnormal, disconnection of wireless transmission equipment and the connection of the network equipment, trigger the STP (Spanning of switch
Tree Protocol, Spanning-Tree Protocol) function, thus realize circuit switching, it is only necessary to use and relatively inexpensive there is STP merit
The Layer 2 switch networking of energy, has price economy, and network configuration requires low beneficial effect.
Further, the second normal data frame and the second transmission controlling Frame are transmitted according to preset ratio N:1,
After transmitting N number of second normal data frame, transmit 1 second control Frame;
First normal data frame and the first transmission controlling Frame are transmitted according to preset ratio N:1, N number of in transmission
Transmit 1 first after first normal data frame and control Frame.
Use the beneficial effect of above-mentioned further scheme: the ratio value N:1 adjusting Frame and control frame can be in bandwidth
And between switch speed, make balance, N value I obtains switch speed faster, but takies bandwidth greatly;N value is big then to band
Wide impact is less, but switching time when breaking down is longer, can adjust ratio value N according to actual needs.
Further, described first wireless spread-spectrum technology unit, it is additionally operable to be not received by second exceeding Preset Time
When controlling Frame, disconnect self and layer 2-switched be connected with described first.
Use the beneficial effect of above-mentioned further scheme: exceed Preset Time when being not received by the second control Frame,
Showing that the circuit that the second transmitting device currently connects goes wrong, the first wireless spread-spectrum technology unit just can disconnect and the automatically
One layer 2-switched connection, automatic switching line, it is to avoid data cannot be transmitted.
Further, described first terminal, it is additionally operable to send the first normal data frame to described first Layer 2 switch;
Described first Layer 2 switch, the first normal data frame transmission being additionally operable to send first terminal is to described first
Wireless spread-spectrum technology unit;
Described first wireless spread-spectrum technology unit, is additionally operable to described first normal data frame received and self generation
First controls Frame sends together to described first wireless transmission unit;
Described first wireless transmission unit, is additionally operable to the first normal data frame received together with first controls Frame
Send to described first transmission antenna;
Described first transmission antenna, is additionally operable to send the first normal data frame received together with first controls Frame
The second corresponding transmission antenna to the transmitting device of described opposite end.
Above-mentioned further scheme is used to provide the benefit that: first terminal can also be passed to second by the first transmitting device
Defeated device transmits the first normal data frame, then is transferred to the second terminal by the second transmitting device, it is achieved first terminal and second
Data interaction between terminal.
Further, described Layer 2 switch has Spanning-Tree Protocol;
Described wireless transmission unit specifically includes wireless bridge or radio station;
Described wireless link unit specifically includes main control chip, program storage, data storage and power supply circuits.
Use the beneficial effect of above-mentioned further scheme: the Layer 2 switch with Spanning-Tree Protocol function can be automatically real
Existing circuit switching.
Further, described first transmitting device and the second transmitting device are all operated in data link layer.
On the other hand, the invention provides the radio transmitting method of a kind of automatic switching line, described method includes:
S1, the first transmitting device receive the second normal data frame and the second control Frame that the second transmitting device sends,
And the two is separated, wherein, described second normal data frame is the data that the second terminal is sent to the second transmitting device, institute
Stating the second control Frame is the data that the second transmitting device generates according to the line status of self;
S2, described second normal data frame is sent to described first terminal, and controlling Frame according to described second
When judging the circuit exception of current connection in described second transmitting device, the current connection line of self is switched over;
S3, generate the first control Frame according to self line state information and send it to described second transmission dress
Put, and when judging that self circuit occurs abnormal, the current connection line of self is switched over.
Beneficial effects of the present invention: the radio transmitting method of a kind of automatic switching line that the present invention provides, the second transmission
Device according to network condition generate control Frame, and it is sent together with the second normal data frame of the second terminal transmission to
Described first transmitting device, the second normal data frame received and second are controlled Frame and separate by the first transmitting device,
And the second normal data frame is transferred to first terminal, the first transmitting device also judges the second control data separated simultaneously
Frame indicates whether that in the second transmitting device, the current circuit connected breaks down, if breaking down, and the most described first transmitting device
The current connection line of self is switched over;It addition, described first transmitting device generates according to the line state information of self
First controls Frame, and transmits it to the second transmitting device, and is judging that self circuit goes out according to the status information of self
During existing fault, the current connection line of self is switched over.In the present invention, the first transmitting device passes according to the second transmitting device
The second defeated control Frame judges in the second transmitting device, whether the current circuit connected breaks down, always according to the shape of self
State information judges whether the circuit that self currently connects breaks down, and the circuit that either the second transmitting device currently connects occurs
The circuit of line fault or self current connection breaks down, and described first transmitting device all can be to the current connecting line of self
Road switches over, and the present invention is being wirelessly transferred main line generation exception when, it is possible to automatically finds fault, automatically switches to standby
With circuit, it is not necessary to use the three-layer network appliance that relative price is expensive, it is only necessary to use the relatively inexpensive spanning tree that has to assist
The Layer 2 switch networking of view function, relatively low to the network configuration level requirement using field engineering personnel, price economy, practical
Property is preferable.
Accompanying drawing explanation
Fig. 1 is the structural representation of the wireless transmitting system of a kind of automatic switching line of the embodiment of the present invention 1;
Fig. 2 be a kind of automatic switching line of the embodiment of the present invention 1 wireless transmitting system in the structure of transmitting device show
It is intended to;
Fig. 3 is the radio transmitting method flow chart of a kind of automatic switching line of the embodiment of the present invention 2;
Fig. 4 is the radio transmitting method detail flowchart of a kind of automatic switching line of the embodiment of the present invention 2.
Detailed description of the invention
Being described principle and the feature of the present invention below in conjunction with accompanying drawing, example is served only for explaining the present invention, and
Non-for limiting the scope of the present invention.
Embodiment 1, the wireless transmitting system of a kind of automatic switching line.Below in conjunction with Fig. 1 and Fig. 2, the present embodiment is provided
System be described in detail.
Seeing Fig. 1 and Fig. 2, the wireless transmitting system of a kind of automatic switching line that the present invention provides, described system includes
First terminal, the second terminal, the first transmitting device and second transmitting device identical with the first transmitting device, Qi Zhong
One terminal and the second terminal local terminal each other and distant terminal.
Described second terminal, is connected with described second transmitting device, for sending the second normal data frame to the most described the
Two transmitting devices.
Described second transmitting device, with described first transmitting device wireless connections, is used for the line status according to self raw
Become the second control Frame, and it is sent to described first transmitting device together with described second normal data frame received.
Described first transmitting device, is connected with described first terminal, for described second normal data frame that will receive
Control Frame with second to separate, and described second normal data frame is sent to described first terminal, and according to institute
Current connection when stating the circuit exception that the second control Frame judges current connection in described second transmitting device, to self
Circuit switches over;And be used for line state information generation the first control Frame according to self and send it to described
Second transmitting device, and when judging that self circuit occurs abnormal, the current connection line of self is switched over.
Described first terminal, for receiving the second normal data frame of described first transmitting device transmission.
Concrete, described first transmitting device specifically include identical mutually redundant first transport module of multiple structure and
One the first Layer 2 switch, described first layer 2-switched one end is set up with one of them first transport module and is connected, separately
One end is set up with first terminal and is connected.Described second transmitting device specifically includes mutually redundant second biography that multiple structure is identical
Defeated module and second Layer 2 switch, described second layer 2-switched one end is set up with one of them second transport module
Connecting, the other end and the second terminal are set up and are connected.In first transmitting device, the first transport module has n, n > 1, the second transmission dress
In putting, the second transport module also has n, with n in the first transmitting device the first transport module one_to_one corresponding.
Described first transport module, separates for the second normal data frame received and second are controlled Frame,
And transmit the second normal data frame to the first Layer 2 switch, and judging that the second control Frame represents that described second passes
During corresponding in defeated device the second transport module circuit exception, disconnect be connected layer 2-switched with first;And for basis
Self line state information generates the first control Frame, and transmits it in described second transmitting device corresponding second
Transport module, and when judging that self circuit occurs abnormal according to the line state information of self, disconnect and the first Layer2 switching
The connection of machine.
Described first Layer 2 switch, for described second normal data frame received is sent to described first terminal,
And when described first transport module disconnects the connection with self, from other backup the first transport module, select one first
Transport module is set up and is connected.The circuit being connected to switch is set to disconnect by wireless spread-spectrum technology unit, thus triggers exchange
The STP function of machine, is switched to spare line by transmission line.
Described first terminal, for receiving described second normal data frame that described first Layer 2 switch sends.
Concrete, described first transport module specifically includes the first transmission antenna, the first wireless transmission unit and first
Wireless spread-spectrum technology unit;Described second transport module specifically includes the second transmission antenna, the second wireless transmission unit and
Two wireless spread-spectrum technology unit.
Described first transmission antenna, for common by the second of the second transmission antenna transmission corresponding in the second transmitting device
Frame and second controls Frame and sends to described first wireless transmission unit, and for the first wireless transmission unit is sent out
The the first control data frame transfer sent is to the second transmission antenna corresponding in described second transmitting device.
Described first wireless transmission unit, for the second normal data frame and second sent by described first transmission antenna
Control Frame and the line state information of self sends to described first wireless spread-spectrum technology unit, and for by described the
The first control data frame transfer that one wireless spread-spectrum technology unit sends is to described first transmission antenna.Described status information is concrete
Including signal to noise ratio, receive the information such as power and line lockout state.
Described first wireless spread-spectrum technology unit, second for sending the first wireless transmission unit received commonly counts
Control Frame according to frame and second to separate, isolated second normal data frame is transmitted to described first Layer2 switching
Machine, and judging that described second control Frame represents that the second wireless transmission unit circuit corresponding in the second transmitting device is different
Chang Shi, disconnects and layer 2-switched being connected with described first;And for the described line according to the first wireless transmission unit transmission
Line state information generates the first control Frame, sends it to described first wireless transmission unit, and according to described circuit
When status information judges described first wireless transmission unit circuit exception, disconnect be connected layer 2-switched with first.Described control
Frame processed is the valid data frame being different from normal data frame, and its content representation is line status.Described wireless link control
Control Frame that unit processed is capable of identify that in data link layer and normal data frame.
Pass with second respectively it addition, do not set up other backup the first transport module being connected with the first Layer 2 switch
Corresponding backup the second transport module in defeated device is controlled the transmission of Frame.Backup transmission line road is carried out by the moment
Check, it is ensured that when main line breaks down, it is possible to be switched to circuit normal backup transmission line road at once.
It addition, the second normal data frame and the second transmission controlling Frame are transmitted according to preset ratio N:1, passing
Transmit 1 second after defeated N number of second normal data frame and control Frame;First normal data frame and first controls the biography of Frame
Defeated it is transmitted according to preset ratio N:1, after transmitting N number of first normal data frame, transmits 1 first control Frame.Adjust
The ratio value N of Frame and control frame can make balance between bandwidth and switch speed, and N value I obtains and switches faster
Speed, but bandwidth is taken greatly;The big the most then impact on bandwidth of N value is less, but switching time when breaking down is longer, can
Adjust ratio value N according to actual needs.
Described first wireless spread-spectrum technology unit, is additionally operable to be not received by the second control Frame exceeding Preset Time
Time, disconnect self and layer 2-switched be connected with described first.Described first wireless spread-spectrum technology unit exceedes Preset Time not to be had
When receiving the second control Frame, show that the circuit that the second transmitting device currently connects goes wrong, the first wireless link
Control unit just can disconnect be connected layer 2-switched with first automatically, by the first Layer 2 switch automatic switching line, cuts
Change to circuit and back up in the first transmission line normally, it is to avoid data cannot be transmitted.
First terminal can also send the first normal data frame by the first transmitting device to the second transmitting device, and by
Two transmitting devices by the first Common data transmission to the second terminal, it is achieved data two-way between first terminal and the second terminal pass
Defeated.Between first terminal and the second terminal by described first transmitting device and the second transmitting device can with mutual data transmission,
First terminal both can receive the second normal data frame that the second terminal sends, it is also possible to sends first to the second terminal and commonly counts
According to frame.
Concrete, described first terminal, it is additionally operable to send the first normal data frame to described first Layer 2 switch.
Described first Layer 2 switch, the first normal data frame transmission being additionally operable to send first terminal is to described first
Wireless spread-spectrum technology unit.
Described first wireless spread-spectrum technology unit, is additionally operable to described first normal data frame received and self generation
First controls Frame sends together to described first wireless transmission unit.
Described first wireless transmission unit, is additionally operable to the first normal data frame received together with first controls Frame
Send to described first transmission antenna.
Described first transmission antenna, is additionally operable to send the first normal data frame received together with first controls Frame
The second corresponding transmission antenna to the transmitting device of described opposite end.
Described second transmitting device, is additionally operable to send to described second terminal the first normal data frame received.
Described second terminal, is additionally operable to receive the first normal data frame that the second transmitting device sends.
Described Layer 2 switch has Spanning-Tree Protocol function, and described Spanning-Tree Protocol function ensure that Layer 2 switch
When being disconnected the connection with self by wireless link unit, the normal connection automatically switching to and backing up.Described wireless
Transmission unit specifically includes wireless bridge or radio station.Described wireless link unit specifically include main control chip, program storage,
Data storage and power supply circuits.Concrete, described program storage uses Flash Rom ST25P16, is used for storing program;
Described data storage use DDR Ram NT5CB64M16, for cache the second data of reception, the first normal data frame with
And the first control Frame generated;Described power supply circuits are used for powering;Described Master control chip specifically uses FPGA
XC6SLX45, for receiving the second data that wireless transmission unit sends, and therefrom isolates the second normal data frame and second
Control Frame, the second normal data frame is transmitted to described Layer 2 switch, and is judging that described second controls Frame
When representing the second transmitting device circuit exception, disconnect and layer 2-switched being connected with described;And for according to being wirelessly transferred list
The described status information of unit's transmission generates the first control Frame, sends it to described wireless transmission unit, and according to institute
State status information when judging described wireless transmission unit circuit exception, disconnect and being connected with layer 2-switched.
Described first transmitting device and the second transmitting device are all operated in data link layer.
Embodiment 2, the radio transmitting method of a kind of automatic switching line.Below in conjunction with Fig. 3 to Fig. 4, the present embodiment is provided
Method be described in detail.
See Fig. 3 to Fig. 4, the radio transmitting method of a kind of automatic switching line that the present embodiment provides, described method bag
Include following steps:
S1, the first transmitting device receive the second normal data frame and the second control Frame that the second transmitting device sends,
And the two is separated, wherein, described second normal data frame is the data that the second terminal is sent to the second transmitting device, institute
Stating the second control Frame is the data that the second transmitting device generates according to the line status of self.
S2, described second normal data frame is sent to described first terminal, and controlling Frame according to described second
When judging the circuit exception of current connection in described second transmitting device, the current connection line of self is switched over.
S3, generate the first control Frame according to self line state information and send it to described second transmission dress
Put, and when judging that self circuit occurs abnormal, the current connection line of self is switched over.
It addition, described first transmitting device exceed Preset Time be not received by second transmitting device send second control
During Frame processed, disconnect self and layer 2-switched be connected with described first.
Concrete, comprise the following steps:
Step 1.1, wireless receiving and dispatching antenna are connected to wireless transmission unit;Wireless transmission unit is connected to wireless spread-spectrum technology
Unit;Wireless spread-spectrum technology unit is connected to Layer 2 switch;Layer 2-switched network interface externally connects various terminal.
Step 1.2, wireless spread-spectrum technology unit, according to the particular data of agreement in advance, separate from data in link layer
Normal data frame and control frame, normal data frame is directly forwarded to Layer 2 switch, and control frame is used for judging transmission line state;
If the content circuit in control frame is abnormal, or does not receives control frame in a period of time, then jump to step 1.3, no
Then continue to repeat step 1.2.
Step 1.3, wireless spread-spectrum technology unit will be connected to layer 2-switched interface and be set to off-state.
Step 1.4, Layer 2 switch find that this circuit disconnects, and start STP function, select extension wire to start against logical
Letter connects.
By above-mentioned steps, being wirelessly transferred main line generation exception when, it is possible to automatically find fault, automatically switch
To extension wire.The ratio value N adjusting Frame and control frame can make balance between bandwidth and switch speed;N value is little
Switch speed faster can be obtained, but bandwidth is taken greatly;The big the most then impact on bandwidth of N value is less, but when breaking down
Switching time longer.
The wireless transmitting system of a kind of automatic switching line that the present invention provides and method, the second transmitting device is according to network
Situation generates the second control Frame, and sends it to described first together with the second normal data frame of the second terminal transmission
Transmitting device, the second normal data frame received and second are controlled Frame and carry out point by the transport module in the first transmitting device
From, and the second normal data frame is transmitted to the first Layer 2 switch, in order to the first Layer 2 switch is by the second normal data frame
Being transferred to first terminal, the first transport module also judges that the separate second control Frame indicates whether the second transmission simultaneously
In device, whether the current circuit connected breaks down, if breaking down, the most described first transport module disconnects and the one or two layer
The connection of switch, the first Layer 2 switch selects first transport module to set up even again from the first transport module of backup
Connect;It addition, the first transport module generates the first control Frame according to the status information of self, and transmit it to the second transmission
Device, and when judging that self circuit breaks down according to the status information of self, described first transport module also can disconnect with
First layer 2-switched connection, is selected one first transmission mould by the first Layer 2 switch from the first transport module of backup
Block is set up and is connected.The second control Frame that in the present invention, the first transmitting device transmits according to the second transmitting device judges that second passes
Whether the circuit that defeated device currently connects there is line fault, and the status information always according to self judges whether the circuit of self goes out
Existing fault, either there is line fault in the second transmitting device or the circuit of self breaks down, and the first transport module all can
Disconnect be connected layer 2-switched with first, the first Layer 2 switch from the first transport module of backup, select one the again
One transport module is set up and is connected, and the present invention is being wirelessly transferred main line generation exception when, it is possible to automatically find fault, automatically
It is switched to extension wire, it is not necessary to use the three-layer network appliance that relative price is expensive, it is only necessary to use relatively inexpensive having
The Layer 2 switch networking of Spanning-Tree Protocol function, relatively low to the network configuration level requirement using field engineering personnel, price
Economy, practicality is preferable.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (10)
1. the wireless transmitting system of an automatic switching line, it is characterised in that described system includes first terminal, the second end
End, the first transmitting device and second transmitting device identical with the first transmitting device, wherein first terminal and second is eventually
Hold first terminal and the second terminal each other;
Described second terminal, is connected with described second transmitting device, passes to described second for sending the second normal data frame
Defeated device;
Described second transmitting device, and described first transmitting device wireless connections, generate for the line status according to self
Two control Frame, and it are sent to described first transmitting device together with described second normal data frame received;
Described first transmitting device, is connected with described first terminal, for described second normal data frame and that will receive
Two control Frames separates, and described second normal data frame sent extremely described first terminal, and according to described the
When two control Frames judge the circuit exception of current connection in described second transmitting device, the current connection line to self
Switch over;And control Frame for the line state information generation first according to self and send it to described second
Transmitting device, and when judging that self circuit occurs abnormal, the current connection line of self is switched over;
Described first terminal, for receiving the second normal data frame of described first transmitting device transmission.
The wireless transmitting system of a kind of automatic switching line the most as claimed in claim 1, it is characterised in that described first transmission
Device specifically includes identical mutually redundant first transport module of multiple structure and first Layer 2 switch, and described first
Layer 2-switched one end is set up with one of them first transport module and is connected, and the other end is set up with first terminal and is connected;Described
Second transmitting device specifically includes identical mutually redundant second transport module of multiple structure and second Layer 2 switch,
Described second layer 2-switched one end is set up with one of them second transport module and is connected, and the other end and the second terminal are set up even
Connect;
Described first transport module, separates for the second normal data frame received and second are controlled Frame, and will
Second normal data frame is transmitted to the first Layer 2 switch, and is judging that the second control Frame represents described second transmission dress
When putting the second transport module circuit exception of middle correspondence, disconnect be connected layer 2-switched with first;And for according to self
Line state information generate the first control Frame, and transmit it in described second transmitting device the second corresponding transmission
Module, and when judging that self circuit occurs abnormal according to the line state information of self, disconnect layer 2-switched with first
Connect;
Described first Layer 2 switch, for described second normal data frame received is sent to described first terminal, and
When described first transport module disconnects the connection with self, from other backup the first transport module, select one first transmission
Module is set up and is connected;
Described first terminal, for receiving described second normal data frame that described first Layer 2 switch sends.
The wireless transmitting system of a kind of automatic switching line the most as claimed in claim 2, it is characterised in that also include:
Do not set up with the first Layer 2 switch other backup the first transport module being connected respectively with in the second transmitting device
Corresponding backup the second transport module be controlled the transmission of Frame.
The wireless transmitting system of a kind of automatic switching line the most as claimed in claim 3, it is characterised in that described first transmission
Module specifically includes the first transmission antenna, the first wireless transmission unit and the first wireless spread-spectrum technology unit;Described second passes
Defeated module specifically includes the second transmission antenna, the second wireless transmission unit and the second wireless spread-spectrum technology unit;
Described first transmission antenna, for the second general data by the second transmission antenna transmission corresponding in the second transmitting device
Frame and second controls Frame and sends to described first wireless transmission unit, and for by the first wireless transmission unit transmission
First controls data frame transfer to the second transmission antenna corresponding in described second transmitting device;
Described first wireless transmission unit, for controlling the second normal data frame and second that described first transmission antenna sends
Frame and the line state information of self send to described first wireless spread-spectrum technology unit, and for by described first nothing
The first control data frame transfer that wired link control unit sends is to described first transmission antenna;
Described first wireless spread-spectrum technology unit, for the second normal data frame sending the first wireless transmission unit received
Control Frame with second to separate, isolated second normal data frame is transmitted to described first Layer 2 switch, and
When judging that described second controls the second wireless transmission unit circuit exception that Frame represents corresponding in the second transmitting device,
Disconnect and layer 2-switched being connected with described first;And for the described line status according to the first wireless transmission unit transmission
Information generates the first control Frame, sends it to described first wireless transmission unit, and is believing according to described line status
When breath judges described first wireless transmission unit circuit exception, disconnect be connected layer 2-switched with first.
The wireless transmitting system of a kind of automatic switching line the most as claimed in claim 4, it is characterised in that the second general data
Frame and the second transmission controlling Frame are transmitted according to preset ratio N:1, transmit after transmitting N number of second normal data frame
1 second controls Frame;
First normal data frame and the first transmission controlling Frame are transmitted according to preset ratio N:1, in transmission N number of first
Transmit 1 first after normal data frame and control Frame.
The wireless transmitting system of a kind of automatic switching line the most as claimed in claim 5, it is characterised in that described first wireless
Link control unit, is additionally operable to when exceeding Preset Time and being not received by the second control Frame, disconnects self with described the
One layer 2-switched connection.
The wireless transmitting system of a kind of automatic switching line the most as claimed in claim 6, it is characterised in that described first eventually
End, is additionally operable to send the first normal data frame to described first Layer 2 switch;
Described first Layer 2 switch, the first normal data frame transmission being additionally operable to send first terminal is to the most described first wireless
Link control unit;
Described first wireless spread-spectrum technology unit, is additionally operable to described first normal data frame received and self generate first
Control Frame to send together to described first wireless transmission unit;
Described first wireless transmission unit, is additionally operable to send the first normal data frame received together with first controls Frame
To described first transmission antenna;
Described first transmission antenna, is additionally operable to send to institute the first normal data frame received together with first controls Frame
State the second corresponding transmission antenna in the second transmitting device.
The wireless transmitting system of a kind of automatic switching line the most as claimed in claim 7, it is characterised in that described Layer2 switching
Facility have Spanning-Tree Protocol function;
Described wireless transmission unit specifically includes wireless bridge or radio station;
Described wireless link unit specifically includes main control chip, program storage, data storage and power supply circuits.
9. the wireless transmitting system of a kind of automatic switching line as described in any one of claim 1 to 8, it is characterised in that institute
State the first transmitting device and the second transmitting device is all operated in data link layer.
10. the radio transmitting method of an automatic switching line, it is characterised in that comprise the following steps:
S1, the first transmitting device receive the second normal data frame and the second control Frame that the second transmitting device sends, and will
The two separates, and wherein, described second normal data frame is the data that the second terminal is sent to the second transmitting device, and described the
Two control Frames are the data that the second transmitting device generates according to the line status of self;
S2, described second normal data frame is sent to described first terminal, and judge controlling Frame according to described second
When going out the circuit exception of current connection in described second transmitting device, the current connection line of self is switched over;
S3, generate the first control Frame according to self line state information and send it to described second transmitting device,
And when judging that self circuit occurs abnormal, the current connection line of self is switched over.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610784449.0A CN106230641B (en) | 2016-08-31 | 2016-08-31 | A kind of wireless transmitting system and method for automatic switching line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610784449.0A CN106230641B (en) | 2016-08-31 | 2016-08-31 | A kind of wireless transmitting system and method for automatic switching line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106230641A true CN106230641A (en) | 2016-12-14 |
CN106230641B CN106230641B (en) | 2019-05-14 |
Family
ID=58071842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610784449.0A Active CN106230641B (en) | 2016-08-31 | 2016-08-31 | A kind of wireless transmitting system and method for automatic switching line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230641B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267285A (en) * | 2019-06-28 | 2019-09-20 | 京信通信系统(中国)有限公司 | Active/standby link switchover method, apparatus and digital switch |
CN113946141A (en) * | 2020-07-16 | 2022-01-18 | 青岛海尔工业智能研究院有限公司 | Network system for production demonstration line and control method |
CN114745422A (en) * | 2022-04-02 | 2022-07-12 | 阿里云计算有限公司 | Line switching method for data transmission, data transmission system, line management interface and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1568044A (en) * | 2003-07-01 | 2005-01-19 | 株式会社日立制作所 | Method of seamless home agent switching of mobile IPv6 |
US20050165960A1 (en) * | 2004-01-23 | 2005-07-28 | Fredrik Orava | Tandem node system and a method thereor |
CN1913399A (en) * | 2006-07-31 | 2007-02-14 | 华为技术有限公司 | Data communication switchover method and system |
CN101299703A (en) * | 2008-06-12 | 2008-11-05 | 中兴通讯股份有限公司 | Elastic packet ring as well as link condition transference method for the same |
CN102394787A (en) * | 2011-12-14 | 2012-03-28 | 重庆邮电大学 | Dual-link redundancy control method based on EPA switch |
CN102420768A (en) * | 2011-12-15 | 2012-04-18 | 北京星网锐捷网络技术有限公司 | Link switching method and device, data transmission method and device, and network equipment |
CN102984014A (en) * | 2012-12-18 | 2013-03-20 | 北京华为数字技术有限公司 | Data transmission method and network system |
CN103095600A (en) * | 2013-02-07 | 2013-05-08 | 杭州华三通信技术有限公司 | Loading balancing method based on Trill network and routing device |
CN103095540A (en) * | 2013-01-18 | 2013-05-08 | 武汉迈威光电技术有限公司 | Industrial Ethernet data distribution and link redundancy design |
-
2016
- 2016-08-31 CN CN201610784449.0A patent/CN106230641B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1568044A (en) * | 2003-07-01 | 2005-01-19 | 株式会社日立制作所 | Method of seamless home agent switching of mobile IPv6 |
US20050165960A1 (en) * | 2004-01-23 | 2005-07-28 | Fredrik Orava | Tandem node system and a method thereor |
CN1913399A (en) * | 2006-07-31 | 2007-02-14 | 华为技术有限公司 | Data communication switchover method and system |
CN101299703A (en) * | 2008-06-12 | 2008-11-05 | 中兴通讯股份有限公司 | Elastic packet ring as well as link condition transference method for the same |
CN102394787A (en) * | 2011-12-14 | 2012-03-28 | 重庆邮电大学 | Dual-link redundancy control method based on EPA switch |
CN102420768A (en) * | 2011-12-15 | 2012-04-18 | 北京星网锐捷网络技术有限公司 | Link switching method and device, data transmission method and device, and network equipment |
CN102984014A (en) * | 2012-12-18 | 2013-03-20 | 北京华为数字技术有限公司 | Data transmission method and network system |
CN103095540A (en) * | 2013-01-18 | 2013-05-08 | 武汉迈威光电技术有限公司 | Industrial Ethernet data distribution and link redundancy design |
CN103095600A (en) * | 2013-02-07 | 2013-05-08 | 杭州华三通信技术有限公司 | Loading balancing method based on Trill network and routing device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267285A (en) * | 2019-06-28 | 2019-09-20 | 京信通信系统(中国)有限公司 | Active/standby link switchover method, apparatus and digital switch |
CN113946141A (en) * | 2020-07-16 | 2022-01-18 | 青岛海尔工业智能研究院有限公司 | Network system for production demonstration line and control method |
CN114745422A (en) * | 2022-04-02 | 2022-07-12 | 阿里云计算有限公司 | Line switching method for data transmission, data transmission system, line management interface and storage medium |
CN114745422B (en) * | 2022-04-02 | 2024-07-26 | 阿里云计算有限公司 | Line switching method for data transmission, data transmission system, line management interface and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106230641B (en) | 2019-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102694713B (en) | Network communication multi-channel selection method and system | |
CN103780365B (en) | dynamic multi-link redundancy data transmission method | |
CN102014019B (en) | Aggregated link switching method and device | |
CN107071840A (en) | Netsurfing switching method and device | |
CN106230641A (en) | The wireless transmitting system of a kind of automatic switching line and method | |
CN105072021B (en) | A kind of message forwarding method of dispatch automated system cross-network segment | |
CN107911847A (en) | Parallel WLAN and LTE system and application method in train-ground communication | |
CN107769984B (en) | Low-cost active/standby hot switching system and method based on gateway | |
CN111162985B (en) | Rail transit terminal backup system and method | |
CN108055163A (en) | A kind of dual-homed equipment and its protection switching method | |
CN105591846A (en) | Driving control method and device | |
CN103634209B (en) | Method and equipment for data transmission | |
CN109511099B (en) | TAU master-slave switching method | |
CN108243021A (en) | A kind of disaster tolerance emergency set and system | |
CN101232402A (en) | Wireless network system and communication method thereof | |
US20100165831A1 (en) | Load balancing and fault protection in aggregation networks | |
CN107959921A (en) | A kind of positioning via network system and method based on BLE technologies | |
CN101252497A (en) | Mesh digital microwave communication system architecture and traffic transferring method | |
WO2024131244A1 (en) | Rru link control method, and rru, bbu, electronic device and computer-readable medium | |
CN105323124A (en) | Information exchange method of big-data inter-network information chain system | |
WO2015096432A1 (en) | Method and system for controlling network topology structure | |
KR20150083362A (en) | Apparatus and method for base tranceiver redundancy in a wireless communication system | |
CN109218998B (en) | Rail transit broadband cluster backup method and device | |
CN101193409B (en) | System and method for locating interruption failure type of base station in cascaded base station | |
KR20190091866A (en) | Base Station Apparatus with Redundancy in Wireless Communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |