CN102833167A - Method and data for transmitting data between local area networks - Google Patents

Method and data for transmitting data between local area networks Download PDF

Info

Publication number
CN102833167A
CN102833167A CN2012103111609A CN201210311160A CN102833167A CN 102833167 A CN102833167 A CN 102833167A CN 2012103111609 A CN2012103111609 A CN 2012103111609A CN 201210311160 A CN201210311160 A CN 201210311160A CN 102833167 A CN102833167 A CN 102833167A
Authority
CN
China
Prior art keywords
special line
network
data
lan
local area
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
Application number
CN2012103111609A
Other languages
Chinese (zh)
Other versions
CN102833167B (en
Inventor
王文海
丁毅
郑荣舜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201210311160.9A priority Critical patent/CN102833167B/en
Publication of CN102833167A publication Critical patent/CN102833167A/en
Application granted granted Critical
Publication of CN102833167B publication Critical patent/CN102833167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a system for transmitting data between local area networks. The system comprises two special routers, wherein the two special routers are connected with an Ethernet network tunnel by a main network special line and a spare network special line, each special router is connected with a local area network router of the local area network and comprises a control device, and the control device is used for controlling the special routers to adopt the main network special line and the spare network special line and controlling data transmitted between two local area networks by the Ethernet network tunnel.

Description

Data transmission method and system between local area network (LAN)
Technical field
The present invention relates to network communication field, relate in particular to data transmission method and system between a kind of local area network (LAN).
Background technology
Fig. 1 is the schematic network structure of enterprise headquarters and enterprise branch in the prior art.Among Fig. 1; The network of same enterprise can have at least two networks because the position of disposing is different, is called enterprise headquarters and enterprise branch; Wherein enterprise branch and enterprise headquarters have respectively disposed an enterprise router; Enterprise has applied for a network special line to operator, just can the enterprise router of general headquarters and branch directly be coupled together, and only needs configuration of IP address to get final product on two routers.The network special line is exactly that the Internet Service Provider provides special-purpose channel to the user, lets the user's data transmission become reliably credible, and the advantage of special line is exactly that fail safe is good, and QoS can be guaranteed.
But along with the increase of branch's head office business reliability requirement, single private line service can not ensure the reliability of network, and enterprise hopes to increase the demand that public network VPN backup link ensures its reliability.The network diagram of Fig. 2 in the prior art network configuration shown in Figure 1 being backed up.In network shown in Figure 2, through linking to each other with public network at two enterprise servers, and this public network transmission realizes the safe transmission of information through VPN technologies.
Existing solution generally all is to utilize the mode of upgrading enterprise router to accomplish, the basic access carrier network of need supporting to dial of the router after the upgrading, and in popular epoch of 3G instantly, router also need be upgraded to 3G router version.
For enterprise router, if support business such as VPN, 3G access simultaneously, just need increase equipment cost, and need each enterprise branch node all to need to update enterprise router, also might destroy the existing network design of enterprise.
Therefore, under satisfying the prerequisite of local area network (LAN) through the demand in the network special line communication process, for the operator of network special line, how guaranteeing legacy network not to be changed is problem demanding prompt solution.
Summary of the invention
The present invention provides data transmission method and system between a kind of local area network (LAN), and the technical problem that solve is under satisfying the prerequisite of local area network (LAN) through the demand in the network special line communication process, how to guarantee legacy network not to be changed.
For solving the problems of the technologies described above, the invention provides following technical scheme:
Data transmission system between a kind of local area network (LAN) comprises two special line routers, and said two special line routers link to each other with the ethernet network tunnel through active and standby network special line each other, and wherein each special line router all links to each other with the LAN router of a local area network (LAN); Wherein said special line router comprises:
Control device is used to control the special line router and adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s.
Preferably, said system also has following characteristics:
Said special line router comprises:
The special line transmitting device is used for transmitting the data between two local area network (LAN)s through the network special line;
The tunnel transmission device is used for through the data between Ethernet tunnel transmission two local area network (LAN)s;
Said control device comprises:
Detection module is used for whether operate as normal detects to the network special line;
Handover module links to each other with said detection module, special line transmitting device and tunnel transmission device, is used for when network special line cisco unity malfunction, starts the tunnel transmission device, and when network special line ability operate as normal, starts the special line transmitting device.
Preferably, said system also has following characteristics: said detection module comprises:
First transmitting element is used for sending the ping bag through the special line router of network special line to network special line opposite end;
Acquiring unit is used to obtain the result that the ping bag sends;
First detecting unit links to each other with said acquiring unit, is used for when the ping bag sends successfully, obtaining the information of network special line operate as normal;
Counting unit links to each other with acquiring unit with said first transmitting element, is used for when ping bag transmission failure, the ping bag is sent successfully preceding ping bag repeating transmission number of times count;
Second detecting unit links to each other with said counting unit, is used for when the count results of counting unit reaches the frequency threshold value that is provided with in advance, obtaining the information of network special line cisco unity malfunction.
Preferably, said system also has following characteristics: said detection module comprises:
Second transmitting element is used for sending heartbeat signal through the special line router of network special line to network special line opposite end;
Timing unit links to each other with acquiring unit with said second transmitting element, is used for sending said heartbeat signal from transmitting element and picks up counting, and when receiving the response signal of said heartbeat signal, stop timing;
The 3rd detecting unit is used for when receiving the response signal of said heartbeat signal, obtaining the information of network special line operate as normal;
The 4th detecting unit links to each other with said timing unit, is used for when the timing result of timing unit reaches the time threshold that is provided with in advance, obtaining the information of network special line cisco unity malfunction.
Preferably, said system also has following characteristics:
Said special line transmitting device is used for carrying out transparent transmission to the data that mail to another local area network (LAN) from a LAN router through this locality and from the data that another special line router receives.
Preferably, said system also has following characteristics: said special line transmitting device comprises:
The bridge unit records the interface that the interface that links to each other with LAN router links to each other with special line router with said network special line opposite end in the bridge joint group of wherein said bridge unit;
Processing unit links to each other with said bridge unit, is used to call bridge unit transmission data.
Preferably, said system also has following characteristics: said tunnel transmission device comprises the special line side tunnel transmission module and the local area network side tunnel transmission module that is used for sending to local area network side data that is used for sending to network special line opposite end data, wherein:
Said special line side tunnel transmission module comprises:
Ciphering unit is used for to before the Ethernet tunnel sends data the data that receive being encrypted;
Second transmitting element is used for sending said data encrypted through the Ethernet tunnel;
Said local area network side tunnel transmission module comprises:
Decryption unit is used for after receiving data encrypted from the Ethernet tunnel, data encrypted being deciphered;
The 3rd transmitting element is used for the data after local area network side sends deciphering.
Preferably, said system also has following characteristics: said special line router also comprises the tunnel apparatus for establishing that is used to set up the Ethernet tunnel, and wherein said tunnel apparatus for establishing comprises:
Launch module, be used to launch an internet interface;
Acquisition module links to each other with the said module of launching, and is used to obtain the public network IP address of said internet interface;
Set up module; Link to each other with said acquisition module; The public network IP address that is used for said internet interface is a source address; With the public network IP address of the internet interface on the special line router of network special line opposite end is destination address; Set up the ethernet network tunnel, the object of wherein said ethernet network tunnel encapsulation for all interfaces that link to each other from this locality and LAN router and destination address be not all ethernet frames of the corresponding media access control layer MAC Address of the local interface that links to each other with LAN router.
Data transmission method between a kind of local area network (LAN), two special line routers link to each other with the ethernet network tunnel after active and standby each other network special line, and wherein each special line router all links to each other with the LAN router of a local area network (LAN); Said special line router adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s.
Preferably, said method also has following characteristics: said special line router adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s, comprising:
Whether operate as normal detects to the network special line;
If network special line cisco unity malfunction then through the data between Ethernet tunnel transmission two local area network (LAN)s, and in network special line ability operate as normal the time, transmits the data between two local area network (LAN)s through the network special line.
Preferably, said method also has following characteristics: said whether operate as normal detects to the network special line, comprising:
Send the ping bag through the special line router of network special line to network special line opposite end;
Obtain the result that the ping bag sends;
If the ping bag sends successfully, obtain the information of network special line operate as normal;
If ping bag transmission failure is then sent successfully preceding ping bag repeating transmission number of times to the ping bag and is counted;
When count results reaches the frequency threshold value that is provided with in advance, obtain the information of network special line cisco unity malfunction.
Preferably, said method also has following characteristics: said whether operate as normal detects to the network special line, comprising:
Send heartbeat signal through the special line router of network special line to network special line opposite end;
Pick up counting from sending said heartbeat signal, and when receiving the response signal of said heartbeat signal, stop timing;
If receive the response signal of said heartbeat signal, then obtain the information of network special line operate as normal; Otherwise, when timing result reaches the time threshold that is provided with in advance, obtain the information of network special line cisco unity malfunction.
Preferably, said method also has following characteristics: the data through between Ethernet tunnel transmission two local area network (LAN)s comprise:
Mail to the data of another local area network (LAN) through this locality and carry out transparent transmission from a LAN router from the data that another special line router receives.
Preferably, said method also has following characteristics: said data between the special line router of the data between this locality and the LAN router and local and said network special line opposite end are carried out transparent transmission, comprising:
Dispose a bridge unit, record the interface that the interface that links to each other with LAN router links to each other with special line router with said network special line opposite end in the bridge joint group of wherein said bridge unit;
Call bridge unit transmission data.
Preferably, said method also has following characteristics: the data through between Ethernet tunnel transmission two local area network (LAN)s comprise::
Before sending data to the Ethernet tunnel, the data that receive are encrypted, and to sending said data encrypted through the Ethernet tunnel; And,
After receiving data encrypted from the Ethernet tunnel, data encrypted is deciphered, and the data after local area network side sends deciphering.
Preferably, said method also has following characteristics: the Ethernet tunnel is set up through following mode, comprising:
Launch an internet interface;
Obtain the public network IP address of said internet interface;
With the public network IP address of said internet interface is source address; With the public network IP address of the internet interface on the special line router of network special line opposite end is destination address; Set up the ethernet network tunnel, the object of wherein said ethernet network tunnel encapsulation for all interfaces that link to each other from this locality and LAN router and destination address be not all ethernet frames of the corresponding MAC Address of the local interface that links to each other with LAN router.
Different with prior art is; Embodiment provided by the invention; LAN router is not directly to link to each other with the network special line, but links to each other with the network special line through the special line router of laying in the LAN router outside, and by the ethernet network tunnel between the two special line routers network special line is backed up; Thereby be implemented in not under the situation that the local networking is changed by device, the backup of network special line.
Description of drawings
Fig. 1 is the schematic network structure of enterprise headquarters and enterprise branch in the prior art;
The network diagram of Fig. 2 in the prior art network configuration shown in Figure 1 being backed up;
Fig. 3 is the structural representation of data transmission system embodiment between local area network (LAN) provided by the invention;
Fig. 4 is the structural representation of data transmission system application example between local area network (LAN) provided by the invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment that the present invention is made further detailed description below.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
Fig. 3 is the structural representation of data transmission system embodiment between local area network (LAN) provided by the invention.In system shown in Figure 3 embodiment, comprise two special line routers, and said two special line routers link to each other with the ethernet network tunnel through active and standby network special line each other, wherein each special line router all links to each other with the LAN router of a local area network (LAN); Wherein said special line router comprises:
Control device is used to control the special line router and adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s.
Different with prior art is; System embodiment provided by the invention; LAN router is not directly to link to each other with the network special line, but links to each other with the network special line through the special line router of laying in the LAN router outside, and by the ethernet network tunnel between the two special line routers network special line is backed up; Thereby be implemented in not under the situation that the local networking is changed by device, realize backup the network special line.
Be described further in the face of system provided by the invention down:
Said special line router comprises:
The special line transmitting device is used for transmitting the data between two local area network (LAN)s through the network special line;
The tunnel transmission device is used for through the data between Ethernet tunnel transmission two local area network (LAN)s;
Said control device comprises:
Detection module is used for whether operate as normal detects to the network special line;
Handover module links to each other with said detection module, special line transmitting device and tunnel transmission device, is used for when network special line cisco unity malfunction, starts the tunnel transmission device, and when network special line ability operate as normal, starts the special line transmitting device.
That is, when the network special line can operate as normal, the special line router selected the network special line to transmit; When network special line cisco unity malfunction, the special line router switches to the ethernet network tunnel with data and transmits; In using ethernet network tunnel transmission process, continue still whether operate as normal detects to the network special line, in case the network special line reverts to operate as normal; Even the ethernet network tunnel still can operate as normal; Also data are switched back the network special line, promptly no matter when, all preferentially to use the network special line to transmit; Because the transmission performance of network special line is better than the transmission performance in ethernet network tunnel; Operator all can use the network special line to be user's transmission performance that offers the best when the network special line can operate as normal, and this also makes the advantage of network special line to give full play of.
What further specify is that checkout gear detects the network special line, and whether operate as normal has following dual mode, describes respectively below:
First kind, said detection module comprises:
First transmitting element is used for sending the ping bag through the special line router of network special line to network special line opposite end;
Acquiring unit is used to obtain the result that the ping bag sends;
First detecting unit links to each other with said acquiring unit, is used for when the ping bag sends successfully, obtaining the information of network special line operate as normal;
Counting unit links to each other with acquiring unit with said first transmitting element, and ping bag repeating transmission number of times is counted before being used for sending successfully to the ping bag;
Second detecting unit links to each other with said counting unit, is used for when the count results of counting unit reaches the frequency threshold value that is provided with in advance, obtaining the information of network special line cisco unity malfunction.
Why retransmit number of times for the ping bag and count, purpose is the repeating transmission of the caused ping bag of the network failure of avoiding temporary transient, and influence guarantees accurately to judge the operating state of network special line to the problem of the accurate judgement of operating state.
Second kind, said detection module comprises:
Second transmitting element is used for sending heartbeat signal through the special line router of network special line to network special line opposite end;
Timing unit links to each other with acquiring unit with said second transmitting element, is used for sending said heartbeat signal from transmitting element and picks up counting, and when receiving the response signal of said heartbeat signal, stop timing;
The 3rd detecting unit is used for when receiving the response signal of said heartbeat signal, obtaining the information of network special line operate as normal;
The 4th detecting unit links to each other with said timing unit, is used for when the timing result of timing unit reaches the time threshold that is provided with in advance, obtaining the information of network special line cisco unity malfunction.
Usually, because whether heartbeat signal and response signal just can use in order quick detection to go out special line, so can be the little message of a data volume.
Transmission for the network special line is right, can know referring to network shown in Figure 1, and data are only through network special line transmission; Be that intermediate conveyor is not passed through any equipment, also just do not have the possibility of data disclosure, if but laid the special line router in the LAN router outside; The possibility that data disclosure just might occur; Therefore, be directed to above-mentioned situation, propose following solution:
Said special line transmitting device is used for mailing to the data of another local area network (LAN) through this locality and carrying out transparent transmission from the data that another special line router receives from a LAN router.
Through this special line transmitting device the data between two LAN routers are carried out transparent transmission; Realize between enterprise router and the special line router and two special line routers between all be transparent transmission, accomplish the transparent transmission of business data being passed through the special line router.Owing to be transparent transmission, thus with Fig. 1 in the result of business data through the transmission of network special line be consistent, promptly under the prerequisite that increases the special line router; Owing to the data between two enterprise servers are transparent transmission; Consistent with the result of network special line transmission among Fig. 1, therefore as far as using the user of this network special line, still be equivalent to one " network special line "; The problem that does not have data disclosure, the multiplexing original special line transfer function of enterprise.
Certainly; Realization has a lot of means to some data transparency transmission; But the present invention is applied to the effect that the special line router is realized transparent transmission for reducing the equipment cost of special line router through the bridge technology with prior art, has also reached the effect that reduces equipment disposition work simultaneously.At first bridge is done with simple declaration below:
Bridge (Bridge) is a kind of store-and-forward unit, be used for connecting local area network (LAN) in data link layer, and between local area network (LAN) Data transmission.In some mininets especially distributed the network that relatively disperses, the use bridge can reduce the cost of network operation, and network terminal user need not be provided with equipment especially.In practical application, mainly contain four types bridge: bridge, source address route-bridge, translating bridge and source address route-translating bridge.In the present invention, will use the bridge technology.Bridge (Transparent Bridging) is exactly to be used to connect the identical local area network (LAN) of physical media type, mainly uses in ethernet environment.
Specifically, said special line transmitting device comprises:
The bridge unit records the interface that the interface that links to each other with LAN router links to each other with special line router with said network special line opposite end in the bridge joint group of wherein said bridge unit;
Processing unit links to each other with said bridge unit, is used to call bridge unit transmission data.
Above-mentioned the special line transmitting device is further specified, describes in the face of the tunnel transmission device down:
Different with the transmission of network special line is that the ethernet network tunnel is not a signal line, but strides the logic communication circuit that public network equipment is set up; Therefore, the security risk that the storage of transmission is certain is therefore when the special line router carries out transfer of data through the ethernet network tunnel; For guaranteeing the safety of tunneling data, can carry out in the encapsulation process data, the data of transmission are encrypted; And it is corresponding; In case receive data encrypted, said transmitting device also need be deciphered enciphered data, therefore; Said tunnel transmission device comprises the special line side tunnel transmission module and the local area network side tunnel transmission module that is used for sending to local area network side data that is used for sending to network special line opposite end data, wherein:
Said special line side tunnel transmission module comprises:
Ciphering unit is used for before sending data to the Ethernet tunnel, the data that receive being encrypted;
Second transmitting element is used for sending said data encrypted through the Ethernet tunnel;
Said local area network side tunnel transmission module comprises:
Decryption unit is used for after receiving data encrypted from the Ethernet tunnel, data encrypted being deciphered;
The 3rd transmitting element is used for the data after local area network side sends deciphering.
Through the encryption and decryption of data being realized the safe transmission in Ethernet tunnel.
Describe in the face of the employed Ethernet of tunnel transmission device tunnel down:
Said special line router also comprises the tunnel apparatus for establishing that is used to set up the Ethernet tunnel, and wherein said tunnel apparatus for establishing comprises:
Launch module, be used to launch an internet interface;
Acquisition module links to each other with the said module of launching, and is used to obtain the public network IP address of said internet interface;
Set up module; Link to each other with said acquisition module; The public network IP address that is used for said internet interface is a source address; With the public network IP address of the internet interface on the special line router of network special line opposite end is destination address, sets up the ethernet network tunnel, the object of wherein said ethernet network tunnel encapsulation for all interfaces that link to each other from this locality and LAN router and destination address be not all ethernet frames of the corresponding MAC Address of the local interface that links to each other with LAN router.
Wherein, launch the internet interface that module launches and can select according to the actual transmissions needs, if the transmission demand of local area network (LAN) is the 3G transmission, the internet interface of then selecting is the 3G interface.
With an application example system embodiment provided by the invention is described further below:
Fig. 4 is the structural representation of data transmission system application example between local area network (LAN) provided by the invention.In the system shown in Figure 4 application example; Enterprise headquarters and enterprise branch are two local area network (LAN)s; Enterprise router at enterprise headquarters and enterprise branch is the said LAN routers of preceding text, wherein lays a router, i.e. special line router respectively in the enterprise router outside; Different with enterprise router is, the special line router is normally provided by the operator that the network private leased circuit service is provided, and enterprise router is to use the enterprise of network private leased circuit service to provide.
Should use in the instance, the special line router is integrated with the bridge technology.Wherein,
An interface E0/0 of each special line router connects enterprise router; An interface E0/1 connects special line; The bridge joint group that then interface E0/0 and interface E0/1 is added bridge on this special line router; Promptly, do not resolve, realize the data transparency transmission of above-mentioned two interfaces from the data of above-mentioned interface E0/0 and interface E0/1 transmission as far as the special line router.
Under the prerequisite of the original special line of multiplexing enterprise, set up the spare line of network special line.Specific as follows:
The technology of EOIP (Ethernet Over IP) has been proposed in RFC3378; Mainly through IP network two Ethernets are carried out bridge joint in logic exactly; Make the both sides network can look like in same local area network (LAN), guarantee that two networks can pass through two layers MAC mutual access on IP network.
Should use in the instance, on the special line route, launch an Internet interface (being the 3G interface in this example), the 3G interface at first obtains public network IP through PPP dial-up access carrier network, please applies for fixed IP addresses to operator in this invention.On the special line router, set up two EOIP logical tunnel interfaces then respectively, the appointment peer IP address is a destination address, and local device 3G interface IP address is a source address; And specify the object of EOIP tunnel encapsulation: all from interface E0/0, target MAC (Media Access Control) address is not all ethernet frames of the MAC Address of interface E0/0, thereby realizes all ethernet frames from interface E0/0 are sent to the opposite end, tunnel through this EOIP tunnel.
For the ease of understanding, the EOIP logical tunnel interface is exactly an Ethernet interface in logic, and the EOIP tunnel is exactly a bridged appearances that is based upon between E0/0 physical interface and the EOIP interface.
Because the EOIP tunnel is as the spare line of enterprise's special line on public network; What transmit on its circuit all is the data of enterprise-essential, sensitivity; Therefore in the present invention; Will be at 3G interface deploy IPSec (Internet protocol safety) VPN, so as to the IP data after the EOIP encapsulation prevent divulging a secret, anti-tampering protection.
After configuring spare line, in the face of how utilizing the logic special line that the network special line is backed up describe down for the network special line:
In special line equipment, there are two circuits at present, a network special line, another is the ethernet network tunnel, the concrete use as follows:
But when the network special line time spent, the special line router will preferentially select E0/0 to carry out message forwarding to the bridge circuit of E0/1, not use the EOIP tunnel;
When the network special line was unavailable, the unavailable incident of special line router response to network special line switched to the EOIP bridge circuit with circuit, i.e. two layers of preferred EOIP circuit of bridge circuit;
After the fault recovery of network special line, two layers of bridges forward module responds special line available event are switched circuit again and to be got back to the network special line and carry out the bridges forward business.
And specifically can realize through following mode the detection of above-mentioned network special line state:
Heartbeat detection message on the configuration network special line detects the special line line status; Its method can arbitrary mode:
Mode one: obtain the corresponding IP address of interface that connects the network special line on the special line router of network special line opposite end; Then, send the ping detective to this IP address and survey, definition number of retries N; Wherein N is a positive integer, if when promptly ping bag sends number of times and reaches N, if result of detection still is failure; Then represent network special line cisco unity malfunction, on the contrary, represent that then the network special line can operate as normal.
Mode two: whether available definition be used to detect network special line heartbeat frame, and dispose one be used to respond this heartbeat frame explore frame; Special line router timed sending heartbeat frame defines time-out time N second, promptly can not receive the opposite end explore frame at N in time second, thinks that then the network special line is unavailable; On the contrary, if receive, think that then the network special line can use.
By on can find out; Enterprise router is not directly to link to each other with the network special line; But link to each other with the network special line through the special line router; And by the ethernet network tunnel between the two special line routers to network special line backup, thereby be implemented in not under the situation that enterprise router is changed, the backup of network special line.
Corresponding with said system; The present invention also provides data transmission method embodiment between a kind of local area network (LAN); Two special line routers link to each other with the ethernet network tunnel through active and standby each other network special line in the wherein said method, and wherein each special line router all links to each other with the LAN router of a local area network (LAN); Wherein:
Said special line router adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s.
Wherein, said special line router adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s, comprising:
Whether operate as normal detects to the network special line;
If network special line cisco unity malfunction then through the data between Ethernet tunnel transmission two local area network (LAN)s, and in network special line ability operate as normal the time, transmits the data between two local area network (LAN)s through the network special line.
Wherein, said whether operate as normal detects to the network special line, comprising:
Send the ping bag through the special line router of network special line to network special line opposite end;
Obtain the result that the ping bag sends;
If the ping bag sends successfully, obtain the information of network special line operate as normal;
If ping bag transmission failure is then sent successfully preceding ping bag repeating transmission number of times to the ping bag and is counted;
When count results reaches the frequency threshold value that is provided with in advance, obtain the information of network special line cisco unity malfunction.
Wherein, said whether operate as normal detects to the network special line, comprising:
Send heartbeat signal through the special line router of network special line to network special line opposite end;
Pick up counting from sending said heartbeat signal, and when receiving the response signal of said heartbeat signal, stop timing;
If receive the response signal of said heartbeat signal, then obtain the information of network special line operate as normal; Otherwise, when timing result reaches the time threshold that is provided with in advance, obtain the information of network special line cisco unity malfunction.
Wherein, the data through between Ethernet tunnel transmission two local area network (LAN)s comprise:
Mail to the data of another local area network (LAN) through this locality and carry out transparent transmission from a LAN router from the data that another special line router receives.
Wherein, saidly mail to the data of another local area network (LAN) through this locality and carry out transparent transmission, comprising from the data that another special line router receives from a LAN router:
Dispose a bridge unit, record the interface that the interface that links to each other with LAN router links to each other with special line router with said network special line opposite end in the bridge joint group of wherein said bridge unit;
Call bridge unit transmission data.
Wherein, the data through between Ethernet tunnel transmission two local area network (LAN)s comprise::
Before the Ethernet tunnel sends data, the data that receive are encrypted, and send said data encrypted through the Ethernet tunnel; And,
After receiving data encrypted from the Ethernet tunnel, data encrypted is deciphered, and the data after sending deciphering to local area network side.
Wherein, the Ethernet tunnel is set up through following mode, comprising:
Launch an internet interface;
Obtain the public network IP address of said internet interface;
With the public network IP address of said internet interface is source address; With the public network IP address of the internet interface on the special line router of network special line opposite end is destination address; Set up the ethernet network tunnel, the object of wherein said ethernet network tunnel encapsulation for all interfaces that link to each other from this locality and LAN router and destination address be not all ethernet frames of the corresponding MAC Address of the local interface that links to each other with LAN router.
Different with prior art is; Method embodiment provided by the invention; LAN router is not directly to link to each other with the network special line, but links to each other with the network special line through the special line router of laying in the LAN router outside, and by the ethernet network tunnel between the two special line routers network special line is backed up; Thereby be implemented in not under the situation that the local networking is changed by device, the backup of network special line.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection range of claim.

Claims (16)

1. data transmission system between a local area network (LAN); It is characterized in that; Comprise two special line routers, and said two special line routers link to each other with the ethernet network tunnel through active and standby network special line each other, wherein each special line router all links to each other with the LAN router of a local area network (LAN); Wherein said special line router comprises:
Control device is used to control the special line router and adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s.
2. data transmission system between local area network (LAN) according to claim 1 is characterized in that:
Said special line router comprises:
The special line transmitting device is used for transmitting the data between two local area network (LAN)s through the network special line;
The tunnel transmission device is used for through the data between Ethernet tunnel transmission two local area network (LAN)s;
Said control device comprises:
Detection module is used for whether operate as normal detects to the network special line;
Handover module links to each other with said detection module, special line transmitting device and tunnel transmission device, is used for when network special line cisco unity malfunction, starts the tunnel transmission device, and when network special line ability operate as normal, starts the special line transmitting device.
3. data transmission system between local area network (LAN) according to claim 2 is characterized in that, said detection module comprises:
First transmitting element is used for sending the ping bag through the special line router of network special line to network special line opposite end;
Acquiring unit is used to obtain the result that the ping bag sends;
First detecting unit links to each other with said acquiring unit, is used for when the ping bag sends successfully, obtaining the information of network special line operate as normal;
Counting unit links to each other with acquiring unit with said first transmitting element, is used for when ping bag transmission failure, the ping bag is sent successfully preceding ping bag repeating transmission number of times count;
Second detecting unit links to each other with said counting unit, is used for when the count results of counting unit reaches the frequency threshold value that is provided with in advance, obtaining the information of network special line cisco unity malfunction.
4. data transmission system between local area network (LAN) according to claim 2 is characterized in that, said detection module comprises:
Second transmitting element is used for sending heartbeat signal through the special line router of network special line to network special line opposite end;
Timing unit links to each other with acquiring unit with said second transmitting element, is used for sending said heartbeat signal from transmitting element and picks up counting, and when receiving the response signal of said heartbeat signal, stop timing;
The 3rd detecting unit is used for when receiving the response signal of said heartbeat signal, obtaining the information of network special line operate as normal;
The 4th detecting unit links to each other with said timing unit, is used for when the timing result of timing unit reaches the time threshold that is provided with in advance, obtaining the information of network special line cisco unity malfunction.
5. data transmission system between local area network (LAN) according to claim 2 is characterized in that:
Said special line transmitting device is used for carrying out transparent transmission to the data that mail to another local area network (LAN) from a LAN router through this locality and from the data that another special line router receives.
6. data transmission system between local area network (LAN) according to claim 5 is characterized in that, said special line transmitting device comprises:
The bridge unit records the interface that the interface that links to each other with LAN router links to each other with special line router with said network special line opposite end in the bridge joint group of wherein said bridge unit;
Processing unit links to each other with said bridge unit, is used to call bridge unit transmission data.
7. data transmission system between local area network (LAN) according to claim 2; It is characterized in that; Said tunnel transmission device comprises the special line side tunnel transmission module and the local area network side tunnel transmission module that is used for sending to local area network side data that is used for sending to network special line opposite end data, wherein:
Said special line side tunnel transmission module comprises:
Ciphering unit is used for to before the Ethernet tunnel sends data the data that receive being encrypted;
Second transmitting element is used for sending said data encrypted through the Ethernet tunnel;
Said local area network side tunnel transmission module comprises:
Decryption unit is used for after receiving data encrypted from the Ethernet tunnel, data encrypted being deciphered;
The 3rd transmitting element is used for the data after local area network side sends deciphering.
8. data transmission system between local area network (LAN) according to claim 1 is characterized in that, said special line router also comprises the tunnel apparatus for establishing that is used to set up the Ethernet tunnel, and wherein said tunnel apparatus for establishing comprises:
Launch module, be used to launch an internet interface;
Acquisition module links to each other with the said module of launching, and is used to obtain the public network IP address of said internet interface;
Set up module; Link to each other with said acquisition module; The public network IP address that is used for said internet interface is a source address; With the public network IP address of the internet interface on the special line router of network special line opposite end is destination address; Set up the ethernet network tunnel, the object of wherein said ethernet network tunnel encapsulation for all interfaces that link to each other from this locality and LAN router and destination address be not all ethernet frames of the corresponding media access control layer MAC Address of the local interface that links to each other with LAN router.
9. data transmission method between a local area network (LAN) is characterized in that two special line routers link to each other with the ethernet network tunnel after active and standby each other network special line, and wherein each special line router all links to each other with the LAN router of a local area network (LAN); Said special line router adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s.
10. data transmission method between local area network (LAN) according to claim 9 is characterized in that, said special line router adopts active and standby each other network special line and the data between ethernet network tunnel transmission two local area network (LAN)s, comprising:
Whether operate as normal detects to the network special line;
If network special line cisco unity malfunction then through the data between Ethernet tunnel transmission two local area network (LAN)s, and in network special line ability operate as normal the time, transmits the data between two local area network (LAN)s through the network special line.
11. data transmission method between local area network (LAN) according to claim 10 is characterized in that, said whether operate as normal detects to the network special line, comprising:
Send the ping bag through the special line router of network special line to network special line opposite end;
Obtain the result that the ping bag sends;
If the ping bag sends successfully, obtain the information of network special line operate as normal;
If ping bag transmission failure is then sent successfully preceding ping bag repeating transmission number of times to the ping bag and is counted;
When count results reaches the frequency threshold value that is provided with in advance, obtain the information of network special line cisco unity malfunction.
12. data transmission method between local area network (LAN) according to claim 10 is characterized in that, said whether operate as normal detects to the network special line, comprising:
Send heartbeat signal through the special line router of network special line to network special line opposite end;
Pick up counting from sending said heartbeat signal, and when receiving the response signal of said heartbeat signal, stop timing;
If receive the response signal of said heartbeat signal, then obtain the information of network special line operate as normal; Otherwise, when timing result reaches the time threshold that is provided with in advance, obtain the information of network special line cisco unity malfunction.
13. data transmission method between local area network (LAN) according to claim 10 is characterized in that, the data through between Ethernet tunnel transmission two local area network (LAN)s comprise:
Mail to the data of another local area network (LAN) through this locality and carry out transparent transmission from a LAN router from the data that another special line router receives.
14. data transmission method between local area network (LAN) according to claim 13 is characterized in that, said data between the special line router of the data between this locality and the LAN router and local and said network special line opposite end is carried out transparent transmission, comprising:
Dispose a bridge unit, record the interface that the interface that links to each other with LAN router links to each other with special line router with said network special line opposite end in the bridge joint group of wherein said bridge unit;
Call bridge unit transmission data.
15. data transmission method between local area network (LAN) according to claim 10 is characterized in that, the data through between Ethernet tunnel transmission two local area network (LAN)s comprise::
Before sending data to the Ethernet tunnel, the data that receive are encrypted, and to sending said data encrypted through the Ethernet tunnel; And,
After receiving data encrypted from the Ethernet tunnel, data encrypted is deciphered, and the data after local area network side sends deciphering.
16. data transmission method between local area network (LAN) according to claim 9 is characterized in that, the Ethernet tunnel is set up through following mode, comprising:
Launch an internet interface;
Obtain the public network IP address of said internet interface;
With the public network IP address of said internet interface is source address; With the public network IP address of the internet interface on the special line router of network special line opposite end is destination address; Set up the ethernet network tunnel, the object of wherein said ethernet network tunnel encapsulation for all interfaces that link to each other from this locality and LAN router and destination address be not all ethernet frames of the corresponding MAC Address of the local interface that links to each other with LAN router.
CN201210311160.9A 2012-08-28 2012-08-28 Data transmission method and system between local area network (LAN) Active CN102833167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210311160.9A CN102833167B (en) 2012-08-28 2012-08-28 Data transmission method and system between local area network (LAN)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210311160.9A CN102833167B (en) 2012-08-28 2012-08-28 Data transmission method and system between local area network (LAN)

Publications (2)

Publication Number Publication Date
CN102833167A true CN102833167A (en) 2012-12-19
CN102833167B CN102833167B (en) 2016-01-20

Family

ID=47336140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210311160.9A Active CN102833167B (en) 2012-08-28 2012-08-28 Data transmission method and system between local area network (LAN)

Country Status (1)

Country Link
CN (1) CN102833167B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532789A (en) * 2013-10-25 2014-01-22 北京直真科技股份有限公司 Inter-network transparent transmission detecting system
CN107257300A (en) * 2017-08-09 2017-10-17 广州市大为通信有限公司 A kind of 4G access devices of wireless backup, system and method
CN108023802A (en) * 2016-11-01 2018-05-11 中国移动通信集团广东有限公司 Data transmission system and method
CN108243101A (en) * 2016-12-23 2018-07-03 中国移动通信集团广东有限公司 Data transmission system and method
CN108512698A (en) * 2018-03-15 2018-09-07 北京奇艺世纪科技有限公司 A kind of network disaster tolerance method, device and electronic equipment
CN110290545A (en) * 2019-06-19 2019-09-27 高新兴科技集团股份有限公司 A kind of online keepalive method of wireless telecom equipment
CN111182022A (en) * 2019-10-31 2020-05-19 腾讯云计算(北京)有限责任公司 Data transmission method and device, storage medium and electronic device
CN114268578A (en) * 2021-12-16 2022-04-01 平安证券股份有限公司 Data transmission method, device and equipment for switching line and storage medium
CN114866466A (en) * 2022-03-29 2022-08-05 深圳会当科技有限公司 Device communication method and device, electronic device and readable storage medium
CN114885115A (en) * 2022-07-06 2022-08-09 杭州峰图信息技术有限责任公司 Automatic switching device for communication line

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003062947A2 (en) * 2002-01-17 2003-07-31 Cisco Technology, Inc. Load balancing for fast reroute backup tunnels
CN1319336C (en) * 2003-05-26 2007-05-30 华为技术有限公司 Method for building special analog network
CN101304346A (en) * 2008-06-27 2008-11-12 北京星网锐捷网络技术有限公司 Method and apparatus for monitoring link
CN101345649A (en) * 2007-07-11 2009-01-14 数位联合电信股份有限公司 Redundant network system and its processing method
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003062947A2 (en) * 2002-01-17 2003-07-31 Cisco Technology, Inc. Load balancing for fast reroute backup tunnels
CN1319336C (en) * 2003-05-26 2007-05-30 华为技术有限公司 Method for building special analog network
CN101345649A (en) * 2007-07-11 2009-01-14 数位联合电信股份有限公司 Redundant network system and its processing method
CN101304346A (en) * 2008-06-27 2008-11-12 北京星网锐捷网络技术有限公司 Method and apparatus for monitoring link
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
秦祥旺,卢小冰: "局域网互连和数据专线备份的ISDN解决方案", 《黑龙江通信技术》 *
秦祥旺,卢小冰: "局域网互连和数据专线备份的ISDN解决方案", 《黑龙江通信技术》, no. 4, 31 December 2000 (2000-12-31) *
郑树平,等: "无线VPN技术在数字前兆台网中的应用", 《大地测量与地球动力学》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532789B (en) * 2013-10-25 2017-02-15 北京直真科技股份有限公司 Inter-network transparent transmission detecting system
CN103532789A (en) * 2013-10-25 2014-01-22 北京直真科技股份有限公司 Inter-network transparent transmission detecting system
CN108023802A (en) * 2016-11-01 2018-05-11 中国移动通信集团广东有限公司 Data transmission system and method
CN108023802B (en) * 2016-11-01 2020-11-10 中国移动通信集团广东有限公司 Data transmission system and method
CN108243101B (en) * 2016-12-23 2021-03-16 中国移动通信集团广东有限公司 Data transmission system and method
CN108243101A (en) * 2016-12-23 2018-07-03 中国移动通信集团广东有限公司 Data transmission system and method
CN107257300A (en) * 2017-08-09 2017-10-17 广州市大为通信有限公司 A kind of 4G access devices of wireless backup, system and method
CN107257300B (en) * 2017-08-09 2018-08-31 广州市大为通信有限公司 A kind of 4G access devices of wireless backup, system and method
CN108512698A (en) * 2018-03-15 2018-09-07 北京奇艺世纪科技有限公司 A kind of network disaster tolerance method, device and electronic equipment
CN110290545A (en) * 2019-06-19 2019-09-27 高新兴科技集团股份有限公司 A kind of online keepalive method of wireless telecom equipment
CN111182022A (en) * 2019-10-31 2020-05-19 腾讯云计算(北京)有限责任公司 Data transmission method and device, storage medium and electronic device
CN111182022B (en) * 2019-10-31 2023-08-29 腾讯云计算(北京)有限责任公司 Data transmission method and device, storage medium and electronic device
CN114268578A (en) * 2021-12-16 2022-04-01 平安证券股份有限公司 Data transmission method, device and equipment for switching line and storage medium
CN114268578B (en) * 2021-12-16 2024-04-02 平安证券股份有限公司 Data transmission method, device, equipment and storage medium for switching line
CN114866466A (en) * 2022-03-29 2022-08-05 深圳会当科技有限公司 Device communication method and device, electronic device and readable storage medium
CN114885115A (en) * 2022-07-06 2022-08-09 杭州峰图信息技术有限责任公司 Automatic switching device for communication line

Also Published As

Publication number Publication date
CN102833167B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN102833167B (en) Data transmission method and system between local area network (LAN)
JP5061748B2 (en) Packet ring network system and packet transfer method
US20120113835A1 (en) Inter-network carrier ethernet service protection
US20050286510A1 (en) Packet transfer apparatus
US7054264B2 (en) Interconnect and gateway protection in bidirectional ring networks
JP4790591B2 (en) Ring node device
JP4862065B2 (en) LAC device and failover method
EP2709314B1 (en) Avoiding data traffic loss in an ethernet ring multihomed, in an active-standby manner, to a virtual private lan service transport network
CN100531136C (en) Method and system for transmitting message in virtual special network link fault
EP1958364B1 (en) Vpls remote failure indication
CN102742222B (en) Method and apparatus for maintaining connectivity of transmission lines
CN102711234A (en) Method for synchronizing ARP (address resolution protocol) tables between master and slave VRRP (virtual router redundancy protocol) devices and VRRP device
CN103026663A (en) Distributed connectivity verification protocol redundancy
CN101834759A (en) Detection method of binding link and distributed equipment
CN101980478B (en) Method and device for detecting and processing equipment failures and network equipment
JP6383232B2 (en) Relay system and switch device
CN102882779A (en) VRRP (Virtual Router Redundancy Protocol) advertisement link protection method and system
RU2562388C2 (en) Hybrid mesh communication network
EP2873206B1 (en) Traffic forwarding
WO2014044088A1 (en) L2tp network protection method, apparatus and system
CN108400892B (en) Switching system and method based on RCPU quick table-refreshing
AU756116B2 (en) Arrangement, system and method relating to data/telecommunication for providing fault tolerant communication
CN102307150B (en) IRF flow protection method and apparatus thereof
CN105721269A (en) Protection method and device for Ethernet ring network
CN113037622A (en) System and method for preventing BFD oscillation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant