A kind of 4G access devices of wireless backup, system and method
Technical field
The present invention relates to the communication technologys, more particularly to a kind of 4G access devices of wireless backup, system and method.
Background technology
Private network as a kind of covering specific region, for the communication network of properties object service, because its can meet some industries,
The communications such as department or internal institution organized, are kept the safety in production, dispatch control and widely disposed and used.Mesh
Before, the existing private network disposed is typically by terminal and region aggregation gateway router connection communication, the signal warp of terminal transmission
Private network server, then the network management platform by being connect with private network platform are transmitted to each by region convergence router and private network platform
A equipment is monitored.
To improve the reliability and disaster ability to bear of link, need to increase link backup on the existing private network disposed
Scheme, in the communications field, traditional link backup scheme usually has following two:
1, increase a new wire link.This mode not only needs to expend a large amount of fund cost, but also has additional
It can also be constructed, safeguarded also all highly difficult by limitations such as resource, environment when line circuit.In addition, using double Wirelines be easy because
Dependent failure characteristic and the case where break down simultaneously, improve the ineffective of the reliability of link.
2, the 4G routers for increasing by three layers of networking make circuit backup.This mode is that uplink is logical by Wireline and private network
Letter, and downlink is to provide network access facility, and the communication function with private network is provided for terminal by three-layer routing mode.Due to very
More private network projects, early period, network deployment was directly entered region convergence switch to terminal using two layers of GPON networks, if increased
The 4G routers of three layers of networking make circuit, need to transform front end double layer network as three-layer network, while needing to re-start IP
Address is planned, and completes the configuration modification of all terminals, and workload and cost are very huge.In addition, whole carrying out network
It during transformation, when reconfiguring IP, can not be disposed on demand, then during carrying out the network rebuilding, the same area convergence is handed over
Changing planes down all terminals connect all can not normal use.
Invention content
Based on this, the object of the present invention is to provide a kind of 4G access devices of wireless backup, have existing without transformation
Some private network networks, without changing terminal configuration, infusion of financial resources is few, builds and maintenance workload is few, data have been effectively ensured
The advantages of security and reliability.
A kind of 4G access devices of wireless backup, including Layer2 switching unit, wire link detection unit, link switching list
Member and network management alarm unit;
The Layer2 switching unit, between access terminal and region convergence router, realize successively from terminal, two layers
The wire link connection of crosspoint, region convergence router, private network platform to private network server;
The wire link detection unit, if breaking down, sends event for detecting whether wire link breaks down
Hinder signal to the link switching unit and network management alarm unit;
The link switching unit, the fault-signal sent for receiving the wire link detection unit, and by terminal
Wire link between private network server is isolated, and enables 4G networks, is established with the connection equipment for connecting private network server empty
Quasi- dedicated network, so that terminal realizes the interaction of communication data with private network server by the Virtual Private Network;
The network management alarm unit, for transmitting alarm signal to network management platform by the Virtual Private Network;
When whether detection wire link breaks down, the wire link detection unit is specifically used for obtaining terminal respectively
With the IP-MAC of region convergence router, and the IP-MAC for imitating terminal builds specific icmp packet, and will according to acl rule
The specific icmp packet is sent to private network server via region convergence router and private network platform;The wire link detection
Unit is additionally operable to receive the response message of private network server feedback, and does not receive the response report of private network server transmission in time-out
Fault-signal is sent to the link switching unit and network management alarm unit by Wen Shi.
Compared with the prior art, the present invention is led to by accessing 4G access devices between terminal and region convergence router
Crossing the 4G access devices ensures the Layer2 switching of the communication data of wire link between terminal and private network platform, and by terminal
Specific ICMP detections packet is transmitted between private network platform, accurately to detect whether wire link breaks down, and in wired chain
When road is broken down, the wireless backup that Virtual Private Network realizes terminal and private network platform is established by 4G access devices, is not necessarily to
Existing private network network is transformed, so that it may which to realize wireless backup, and it is few to inject capital into, and builds and maintenance workload is few, effectively protect
The security and reliability of data is demonstrate,proved.
Further, the wire link detection unit is additionally operable to whether detection wire link failure repairs, if wired chain
Road fault restoration then sends repair signal to the link switching unit;The link switching unit is additionally operable to have described in reception
The repair signal that wired link detection unit is sent, and Virtual Private Network and 4G networks are disconnected, and restore to set from terminal, 4G accesses
The wire link connection of standby, region convergence router, private network platform to private network server;
When whether detection wire link failure repairs, the wire link detection unit is specifically used for through former wired link
Specific icmp packet is sent to private network server, and receives the response message of private network server feedback;The wire link inspection
Unit is surveyed when receiving the response message of the private network server transmitted respectively via wire link or Virtual Private Network, is sent
Repair signal is to the link switching unit.
Further, Virtual Private Network and 4G networks are disconnected, when restoring wire link connection, the link switching list
Member is specifically used for first deleting the IP address for being used on connection terminal network interface and connecting equipment connection, and then disconnects Virtual Private Network
Network;It in connection equipment according to the Virtual Private Network of disconnection, is pushed and is route to private network with ospf protocol, deletion terminal is walked wireless
When routing, the link switching unit be additionally operable to disconnect 4G networks, connect from terminal, 4G access devices, region convergence router,
The wire link of private network platform to private network server connects.
The present invention also provides a kind of wireless backup system, including terminal, region convergence router, private network platform, webmaster are flat
Platform and private network server;Terminal is connect with region convergence router;Region convergence router and the downlink of the private network platform connect
It connects, the network management platform and private network server are connect with the uplink of the private network platform respectively, further include 4G access devices and company
Connect equipment;
The 4G access devices are connected between the terminal and region convergence router, are realized successively from terminal, two layers of friendship
Change the wire link connection of unit, region convergence router, private network platform to private network server;The connection equipment connects private network
Platform and 4G wireless networks;
The 4G access devices detect whether the wire link breaks down, if breaking down, the 4G access devices
Wire link between terminal and private network server is isolated, and enables 4G networks, 4G access devices with connect private network service
Virtual Private Network is established between the connection equipment of device, is led to so that terminal is realized with private network server by the Virtual Private Network
The interaction of letter data, and the 4G access devices transmit alarm signal by the Virtual Private Network to network management platform;
When whether detection wire link breaks down, the 4G access devices obtain terminal and region convergence routing respectively
The IP-MAC of device, and the IP-MAC for imitating terminal builds specific icmp packet, and reported the specific ICMP according to acl rule
Text is sent to private network server via the region convergence router and private network platform;The 4G access devices also receive private network clothes
The response message for device feedback of being engaged in, and when time-out does not receive the response message of private network server transmission, judgement is broken down.
Further, the 4G access devices are additionally operable to whether detection wire link failure repairs, if wire link failure
It repairs, then disconnects Virtual Private Network and 4G networks, and restore flat from terminal, 4G access devices, region convergence router, private network
The wire link of platform to private network server connects;
Wherein, when whether detection wire link failure repairs, the 4G access devices are specifically used for passing through original line chain
Road direction private network server sends specific icmp packet, and receives the response message of private network server feedback;If receiving difference
Via the response message for the private network server that wire link or Virtual Private Network transmit, then the 4G access devices judgement is wired
Link failure reparation;Otherwise, it is determined that wire link failure is not repaired.
The present invention also provides a kind of wireless backup methods, include the following steps:
Step 1:A 4G access devices are accessed between terminal and region convergence router, are realized by the 4G access devices
It is connected successively from the wire link of terminal, 4G access devices, region convergence router, private network platform to private network server;
Step 2:Whether 4G access devices detection wire link breaks down, if breaking down, jumps to step 3;
Step 3:4G access devices are isolated by the wire link between terminal and private network server, and enable 4G networks,
Virtual Private Network is established between 4G access devices and the connection equipment for connecting private network server, so that terminal and private network server
The interaction of communication data is realized by the Virtual Private Network;
Step 4:4G access devices transmit alarm signal by the Virtual Private Network to network management platform;
In the step 2, the mode whether 4G access devices detection wire link breaks down includes:
Step 21:4G access devices obtain the IP-MAC of terminal and region convergence router respectively;
Step 22:The IP-MAC that 4G access devices imitate terminal builds specific icmp packet, and should according to acl rule
Specific icmp packet is sent to private network server via region convergence router and private network platform;
Step 23:4G access devices receive the response message of private network server feedback, if time-out does not receive private network service
When the response message that device is sent, then 4G access devices judge that the wire link breaks down.
Further, further comprising the steps of:
Step 5:Whether 4G access devices detection wire link failure repairs, if repairing, jumps to step 6;
Step 6:When 4G access devices detect wire link fault restoration, Virtual Private Network and 4G networks are disconnected, and
Restore to connect from the wire link of terminal, 4G access devices, region convergence router, private network platform to private network server;
In the step 5, the mode whether 4G access devices detection wire link failure repairs includes:
Step 51:4G access devices send specific icmp packet by original wired link to private network server;
Step 52:4G access devices receive the response message of private network server feedback, if receiving respectively via wired chain
Road or Virtual Private Network transmission private network server response message, then 4G access devices judge wire link fault restoration.
Compared with the prior art, the present invention is led to by accessing 4G access devices between terminal and region convergence router
Crossing the 4G access devices ensures the Layer2 switching of the communication data of wire link between terminal and private network platform, and by terminal
Specific ICMP detections packet is transmitted between private network platform, accurately to detect whether wire link breaks down, and in wired chain
When road is broken down, the wireless backup that Virtual Private Network realizes terminal and private network platform is established by 4G access devices, is not necessarily to
Existing private network network is transformed, so that it may which to realize wireless backup, and it is few to inject capital into, and builds and maintenance workload is few, effectively protect
The security and reliability of data is demonstrate,proved.
In order to better understand and implement, the invention will now be described in detail with reference to the accompanying drawings.
Description of the drawings
Fig. 1 is the schematic diagram of wireless backup system in the embodiment of the present invention 1;
Fig. 2 is the flow chart of wireless backup system in the embodiment of the present invention 2;
Fig. 3 is the particular flow sheet of step 2 in Fig. 2;
Fig. 4 is the particular flow sheet of step 5 in Fig. 3;
Fig. 5 is the structural schematic diagram of 4G access devices in embodiment 3;
Fig. 6 is the circuit diagram of 4G access devices in embodiment 3.
Specific implementation mode
Embodiment 1
Referring to Fig. 1, its schematic diagram for wireless backup system in the embodiment of the present invention 1.The wireless backup system, including
Terminal 1, region convergence router 2, private network platform 3, network management platform 4, private network server 5,4G access devices 6 and connection equipment 7.
Terminal 1 is connect with region convergence router 2;Region convergence router 2 is connect with the downlink of the private network platform 3, the webmaster
Platform 4 and private network server 5 are connect with the uplink of the private network platform 3 respectively.The 4G access devices 6 are connected to the terminal 1
Between region convergence router 2, realize successively from terminal 1, Layer2 switching unit, region convergence router 2, private network platform 3
Wire link to private network server 5 connects;The connection equipment 7 connects private network platform 3 and 4G wireless networks 8.
In one embodiment, the connection equipment 7 is wireless network cut-in convergent route.
The 4G access devices 6 are additionally operable to detect whether the wire link breaks down, if breaking down, the 4G connects
Enter equipment 6 wire link between terminal 1 and private network server 5 is isolated, and enable 4G networks, in 4G access devices 6 and even
It connects and establishes Virtual Private Network between the connection equipment 7 of private network server 5, so that terminal 1 is virtual by this with private network server 5
Dedicated network realizes the interaction of communication data, and the 4G access devices 6 are additionally operable to put down to webmaster by the Virtual Private Network
Platform 4 transmits alarm signal.
When whether detection wire link breaks down, the 4G access devices 6 are specifically used for obtaining terminal 1 and area respectively
The IP-MAC of domain convergence router 2;The 4G access devices 6 build specific also particularly useful for the IP-MAC for imitating terminal 1
Icmp packet, and be sent to the specific icmp packet via region convergence router 2 and private network platform 3 according to acl rule
Private network server 5, and receive the response message of 5 feedback of private network server;If time-out does not receive the sound of the transmission of private network server 5
When answering message, then the 4G access devices 6 judge that the wire link breaks down.
The concrete mode for obtaining the IP-MAC of terminal 1 and region convergence router 2 is:The 4G access devices 6 are first distinguished
To the ARP request packet that terminal 1 and 2 transmission source IP of region convergence router are 0.0.0.0, and terminal 1 is received respectively and region is converged
The arp response message that poly- router 2 is fed back, terminal 1 and region convergence router 2 are obtained further according to the arp response message respectively
IP-MAC.
In one embodiment, the 4G access devices 6 are additionally operable to whether detection wire link failure repairs, if failure is repaiied
It is multiple, then Virtual Private Network and 4G networks are disconnected, and restore from terminal 1,4G access devices 6, region convergence router 2, private network
The wire link of platform 3 to private network server 5 connects;
Wherein, when whether detection wire link failure repairs, the 4G access devices 6 are specifically used for passing through original line chain
Road direction private network server 5 sends specific icmp packet, and receives the response message of the feedback of private network server 5;If receiving point
The response message for the private network server 5 not transmitted via wire link or Virtual Private Network, the then judgement of 4G access devices 6
Wire link fault restoration;Otherwise, it is determined that wire link failure is not repaired.
It is in the concrete mode for disconnecting Virtual Private Network and 4G networks by 4G access devices 6:4G access devices 6 are deleted
The IP address for being used on connection 1 network interface of terminal and connecting the connection of equipment 7, and then disconnect Virtual Private Network;Connect 7 basis of equipment
The Virtual Private Network of disconnection is pushed to private network with ospf protocol and is route, and is deleted terminal 1 and is walked wireless routing;Then, 4G is accessed
Equipment 6 disconnects 4G networks, connects from terminal 1,4G access devices 6, region convergence router 2, private network platform 3 to private network server
5 wire link connection.
Compared with the prior art, the present invention is led to by accessing 4G access devices between terminal and region convergence router
Crossing the 4G access devices ensures the Layer2 switching of the communication data of wire link between terminal and private network platform, and by terminal
Specific ICMP detections packet is transmitted between private network platform, accurately to detect whether wire link breaks down, and in wired chain
When road is broken down, the wireless backup that Virtual Private Network realizes terminal and private network platform is established by 4G access devices, is not necessarily to
Existing private network network is transformed, so that it may which to realize wireless backup, and it is few to inject capital into, and builds and maintenance workload is few, effectively protect
The security and reliability of data is demonstrate,proved.
Embodiment 2
Referring to Fig. 2, its flow chart for wireless backup system in the embodiment of the present invention 2.The present invention also provides a kind of nothings
Line backup method, includes the following steps:
Step 1:A 4G access devices are accessed between terminal and region convergence router, are realized by the 4G access devices
It is connected successively from the wire link of terminal, 4G access devices, region convergence router, private network platform to private network server.
Before by 4G access devices access terminal and region convergence router, the 4G for pre-setting the 4G access devices matches
It sets, the address configuration of VPN configurations and terminal and region convergence router, into without changing the connection of existing private network
4G access devices are accessed, realize wireless backup.
After 4G access devices access terminal and region convergence router, the 4G access devices are by terminal and region convergence road
Same VLAN is divided to by device, terminal is made directly to carry out Layer2 switching with private network server.
Step 2:Whether 4G access devices detection wire link breaks down, if breaking down, jumps to step 3.
In one embodiment, if 4G access devices detection wire link does not break down, terminal and private network server
Between or communicated using wire link.
Referring to Fig. 3, its particular flow sheet for step 2 in Fig. 2.
In the step 2, the mode whether 4G access devices detection wire link breaks down includes:
Step 21:4G access devices obtain the IP-MAC of terminal and region convergence router respectively.
The mode for obtaining the IP-MAC of terminal and region convergence router includes:4G access devices are respectively to terminal and region
Convergence router transmission source IP is the ARP request packet of 0.0.0.0;Terminal and region convergence router receive the ARP request respectively
Packet, and respectively arp response message is fed back to 4G access devices;4G access devices obtain terminal respectively according to the arp response message
With the IP-MAC of region convergence router.
Step 22:The IP-MAC that 4G access devices imitate terminal builds specific icmp packet, and should according to acl rule
Specific icmp packet is sent to private network server via region convergence router and private network platform.
In one embodiment, it fills specific mark in the identifier fields of icmp packet and then is formed specific
Icmp packet.
Step 23:4G access devices receive the response message of private network server feedback, if time-out does not receive private network service
When the response message that device is sent, then 4G access devices judge that the wire link breaks down.
When 4G access devices time-out does not receive the response message of private network server transmission, illustrate 4G access devices and area
The link connection between link connection or region convergence router and private network platform between the convergence router of domain is disconnected,
I.e. terminal to the wire link between private network server breaks down.
Step 3:4G access devices are isolated by the wire link between terminal and private network server, and enable 4G networks,
Virtual Private Network is established between 4G access devices and the connection equipment for connecting private network server, so that terminal and private network server
The interaction of communication data is realized by the Virtual Private Network.
In one embodiment, connection equipment is a convergence router.The network interface of terminal will be connected on 4G access devices
On come into force the IP address of convergence router, after starting 4G dialing, 4G access devices just establish the void with convergence router
Quasi- dedicated network.It connects equipment and routing is pushed to private network platform by ospf protocol to the reverse route of Virtual Private Network.
Step 4:4G access devices transmit alarm signal by the Virtual Private Network to network management platform.
Step 5:Whether 4G access devices detection wire link failure repairs, if repairing, jumps to step 6.
In one embodiment, it is still used if wire link failure is not repaired, between terminal and private network server virtual
Dedicated network interacts.
Referring to Fig. 4, its particular flow sheet for step 5 in Fig. 3.
In the step 5, the mode whether 4G access devices detection wire link failure repairs includes:
Step 51:4G access devices send specific icmp packet by original wired link to private network server;
Step 52:4G access devices receive the response message of private network server feedback, if receiving respectively via wired chain
Road or Virtual Private Network transmission private network server response message, then 4G access devices judge wire link fault restoration.
Step 6:When 4G access devices detect wire link fault restoration, Virtual Private Network and 4G networks are disconnected, and
Restore to connect from the wire link of terminal, 4G access devices, region convergence router, private network platform to private network server.
In the step 6, include in such a way that 4G access devices disconnect Virtual Private Network and 4G networks:4G accesses are set
It is standby to delete the IP address for being used on connection terminal network interface and connecting equipment connection, and then disconnect Virtual Private Network;Connect equipment
It according to the Virtual Private Network of disconnection, is pushed and is route to private network with ospf protocol, deleted terminal and walk wireless routing;Then, 4G
Access device disconnects 4G networks, connects from terminal, 4G access devices, region convergence router, private network platform to private network server
Wire link connection.
Compared with the prior art, the present invention is led to by accessing 4G access devices between terminal and region convergence router
Crossing the 4G access devices ensures the Layer2 switching of the communication data of wire link between terminal and private network platform, and by terminal
Specific ICMP detections packet is transmitted between private network platform, accurately to detect whether wire link breaks down, and in wired chain
When road is broken down, the wireless backup that Virtual Private Network realizes terminal and private network platform is established by 4G access devices, is not necessarily to
Existing private network network is transformed, so that it may which to realize wireless backup, and it is few to inject capital into, and builds and maintenance workload is few, effectively protect
The security and reliability of data is demonstrate,proved.
Embodiment 3
Referring to Fig. 5, its structural schematic diagram for 4G access devices in embodiment 3.The present invention also provides a kind of wireless standby
The 4G access devices of part include Layer2 switching unit 01, wire link detection unit 02, link switching unit 03 and network management alarm
Unit 04.
The Layer2 switching unit 01, between access terminal and region convergence router, realizing successively from terminal, two
The wire link connection of layer crosspoint, region convergence router, private network platform to private network server.
The wire link detection unit 02, if breaking down, is sent for detecting whether wire link breaks down
Fault-signal is to the link switching unit 03 and network management alarm unit 04.
When whether detection wire link breaks down, the wire link detection unit 02 is specifically used for obtaining respectively eventually
The IP-MAC at end and region convergence router.
The link switching unit 03, the fault-signal sent for receiving the wire link detection unit 02, and will
Wire link between terminal and private network server is isolated, and enable 4G networks, 4G access devices with connect private network server
Connection equipment between establish Virtual Private Network so that terminal and private network server are communicated by Virtual Private Network realization
The interaction of data.
The network management alarm unit 04, for transmitting alarm signal to network management platform 09 by the Virtual Private Network.Institute
It states network management alarm unit and alarm signal is sent to network management platform using SNMP TRAP agreements, network management platform then by sending barrier automatically
Function sends failure notification to webmaster personnel.
Wherein, when whether detection wire link breaks down, the wire link detection unit 02 is specifically used for difference
The IP-MAC of terminal and region convergence router is obtained, and imitates the specific icmp packet of IP-MAC structures of terminal, and according to
The specific icmp packet is sent to private network server by acl rule via region convergence router and private network platform;It is described to have
Wired link detection unit 02 is additionally operable to receive the response message of private network server feedback, and does not receive private network server in time-out
When the response message of transmission, fault-signal is sent to the link switching unit and 03 and network management alarm unit 04.
The mode for obtaining the IP-MAC of terminal and region convergence router is:The wire link detection unit 02 is first distinguished
To the ARP request packet that terminal and region convergence router transmission source IP are 0.0.0.0, then terminal and region convergence road are received respectively
The arp response message fed back by device, finally obtains the IP- of terminal and region convergence router respectively according to the arp response message
MAC。
In one embodiment, the wire link detection unit 02 is additionally operable to whether detection wire link failure repairs,
If fault restoration, repair signal is sent to the link switching unit 03.Wherein, whether repaired in detection wire link failure
When, the wire link detection unit 02 is specifically used for sending specific ICMP reports to private network server by original wired link
Text, and receive the response message of private network server feedback;The wire link detection unit 02 is receiving respectively via wired
When the response message of link or the private network server of Virtual Private Network transmission, repair signal is sent to the link switching unit
03。
The link switching unit 03 is additionally operable to receive the repair signal that the wire link detection unit 02 is sent, and disconnects
Virtual Private Network and 4G networks, and restore to take from terminal, 4G access devices, region convergence router, private network platform to private network
The wire link connection of business device.
Wherein, it disconnects Virtual Private Network and the mode of 4G networks is, the link switching unit 03 first deletes connection eventually
The IP address for being used on the network interface of end and connecting equipment connection, and then disconnect Virtual Private Network;In connection equipment according to disconnection
Virtual Private Network is pushed to private network with ospf protocol and is route, when deletion terminal walks wireless routing, the link switching unit
03 disconnects 4G networks again, and connection has from terminal, 4G access devices, region convergence router, private network platform to private network server
Wired link connects.
Referring to Fig. 6, its circuit diagram for 4G access devices in embodiment 3.
In one embodiment, the Layer2 switching unit 01 is an exchange chip, model AR8337;Wire link
Detection unit 02, link switching unit 03 and network management alarm unit 04 are integrated in central processing unit, model AR9344;Its
The ports P1 of middle exchange chip are connect with region convergence router, and the ports P2-P5 of exchange chip are separately connected terminal, exchange core
The ports P6 of piece connect SFP interface devices;The ports P0 of exchange chip are connect with central processing unit, and central processing unit passes through MDIO
Interface configures exchange chip.The USB interface of central processing unit connects a 4G modules, and by the 4G modules be separately connected SIM card,
4G antennas and GPS antenna;The RF2G interfaces of central processing unit connect WiFi antennas;Central processing unit is also connected with NOR FLASH moulds
The peripheral equipments such as block, DDR2 modules, power module, reseting module.
Compared with the prior art, the present invention is led to by accessing 4G access devices between terminal and region convergence router
Crossing the 4G access devices ensures the Layer2 switching of the communication data of wire link between terminal and private network platform, and by terminal
Specific ICMP detections packet is transmitted between private network platform, accurately to detect whether wire link breaks down, and in wired chain
When road is broken down, the wireless backup that Virtual Private Network realizes terminal and private network platform is established by 4G access devices, is not necessarily to
Existing private network network is transformed, so that it may which to realize wireless backup, and it is few to inject capital into, and builds and maintenance workload is few, effectively protect
The security and reliability of data is demonstrate,proved.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.