CN100442791C - Method for improving data communication reliability using floating IP address - Google Patents
Method for improving data communication reliability using floating IP address Download PDFInfo
- Publication number
- CN100442791C CN100442791C CNB2005100000943A CN200510000094A CN100442791C CN 100442791 C CN100442791 C CN 100442791C CN B2005100000943 A CNB2005100000943 A CN B2005100000943A CN 200510000094 A CN200510000094 A CN 200510000094A CN 100442791 C CN100442791 C CN 100442791C
- Authority
- CN
- China
- Prior art keywords
- network card
- address
- floating
- card adapter
- data communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a method for improving the reliability of data communication by using a floating IP address, which comprises: at least two network card adapters are configured in a signalling access gateway; the information of the configured floating IP address is bound with a selected network card adapter for initiating connection to an application server end and carrying out data communication. If communication disorder occurs, the information of the floating IP address is deleted from the current bound network card adapter; meanwhile, the other network card adapter is selected for binding the information of the floating IP address to the current selected network card adapter for continuing the data communication. The adoption of the present invention can not only decrease the occupation of limited IP address resources, but also improve the reliability of the data communication.
Description
Technical field
The present invention relates to network data communication, refer to that especially a kind of floating IP address that uses improves the method for data communication reliability between intelligent network, short message service center and HLR signaling IAD and application server based on tcp/ip communication
Background technology
Between signaling IAD and application server, normally adopt TCP/IP to be connected to communicate.The M3UA interface conversion that the signaling IAD is responsible for the MTP message of arrowband No.7 signaling network or broadband SIGTRAN is a TCAP message, its concrete connection diagram as shown in Figure 1, send to application server by the TCP/IP network again, as shown in Figure 2, the hardware of getting in touch both network card adapter (NIC) normally.
On the networking situation, the position of signaling IAD on network is extremely important, connects core net plane and Business Processing plane, is supporting professional operation.
Critical role in view of the signaling IAD, the backup of hardware is carried out in requirement on the Network Transmission reliability, especially the TCP network of signaling IAD and application server must have the reliable redundancy backup, guarantee the stable operation of system, after communication network is unusual, must within a short period of time recovery system normally move.So on using, signaling IAD of the prior art can dispose the polylith network card adapter, each network adapter possesses independent IP address.
The shortcoming of prior art:
1, in the IPv4 stage, the IP address resource is limited, especially under the large-scale application situation, can consume a lot of IP address resources, causes the difficulty of operator in address assignment and networking.
2, IP address of equipment is too much, causes troublesome maintenance.
Summary of the invention
The invention provides a kind of mode of floating IP address binding of using and improve the method for network data communication reliability, and reduce the IP address resource that takies.
The inventive method comprises the following steps:
A) at least two network card adapters of configuration in the signaling IAD; The state of all network card adapters of device management module periodic scanning in the gateway reports Service Processing Module in the gateway with normally functioning network card adapter, and upgrades the network card status information table;
B) after the signaling IAD starts, Service Processing Module is selected a network card adapter from the network card status information table, and floating IP address information and this network card adapter of choosing of configuration are bound, after the success, initiate to connect to the application server end, carry out data communication;
C) if communication abnormality occurs, Service Processing Module is deleted floating IP address information from the network card adapter of current binding, from the network card status information table, select an other network card adapter simultaneously, floating IP address information is tied on the network card adapter of current selection, after the success, initiate to connect to the application server end, continue data communication.
Described floating IP address information comprises floating IP address and subnet mask.
According to said method of the present invention,, then routing iinformation is tied among described step B and the described step C on the selected network card adapter with floating IP address information if signaling IAD and application server be in a subnet.
According to said method of the present invention, among the described step C floating IP address information is tied to before the network card adapter of current selection, judge whether the network card adapter of current selection has bound the IP address earlier, if then delete the IP address of binding.
According to said method of the present invention, be a second level blanking time of described all network card adapters of device management module periodic scanning.According to said method of the present invention, the signaling IAD is connected with the TCP that is connected between the application server.
Adopt the inventive method to reduce and take limited IP address resource, can improve reliability of data communication again.
Description of drawings
Fig. 1 is the position view of signaling IAD in signaling network.
Fig. 2 is the networking schematic diagram of signaling IAD and application server.
Fig. 3 is the signaling IAD networking schematic diagram that two network card adapters are shared an IP address.
Fig. 4 is main communication path schematic diagram with network card adapter.
Fig. 5 is the process schematic diagram of IP address relocation to the second network card adapter.
Embodiment
The present invention adopts the mode of floating IP address binding, it realizes that principle is: an IP address is only used in the connection of an equity, and in a plurality of network card adapters, have only one to be the main work of using, other are as standby, though from physically also being connected on the network, binding IP address not on it is in idle condition.Mode by this Floating IP address, the signaling IAD externally is equivalent to have only a network address, and outside application server need not be concerned about it specifically is with which network card adapter to communicate by letter yet, as shown in Figure 3, be the signaling IAD networking schematic diagram that two network card adapters are shared an IP address.Among the figure, the signaling IAD has NIC_1 and two network card adapters of NIC_2, communicates by letter with network card adapter NIC_0 (its IP address the is IP_0) realization in the application server by a floating IP address IP_1.
The core that realizes Floating IP address is dynamically to carry out the maintenance of the equipment control of network card adapter, IP address and routing iinformation in running.
In the inventive method, need to guarantee that the network card adapter that possesses at least more than two in the signaling IAD is available.
The state of all network card adapters of device management module periodic scanning in the gateway after the availability of network interface card judged, reports Service Processing Module in the gateway with normally functioning network card adapter, upgrades a network card status information table.After the signaling IAD started, device management module selected an available network interface card to carry out the network connection from the network card status information table
System dynamics IP address and routing iinformation are tied on the selecteed network interface card after the success, created SOCKET and initiated connection to the application server end, carries out data communication.
In communication process, may occur unusually, for example, hardware faults such as switch ports themselves fault, netting twine damage, network interface card fault.When fault takes place, the signaling accessing gateway equipment is found can't guarantee and the application server proper communication, after surpassing certain hour, think that promptly this path can't use, the IP address is deleted from the network card adapter of original binding, from the network card status information table, select an other available network interface card simultaneously, IP address and routing iinformation are tied on this network interface card, initiate to connect to the application server side then, proceed communication, as Fig. 4, shown in Figure 5.Fig. 4 is main communication path schematic diagram with network card adapter (network interface card 1).As shown in the figure, the IP address of network interface card 1 is 10.10.10.2, and the IP address of application server is 10.10.10.3; After network interface card 1 breaks down, as shown in Figure 5, should interrupt communicating to connect of network interface card 1 and application server, set up communicating to connect of network interface card 2 and application server simultaneously.According to said method of the present invention, earlier with IP address 10.10.10.2 from network interface card 1 deletion, with this IP address and network interface card 2 bindings, the IP address that network interface card 2 promptly is set is 10.10.10.2 again, be provided with successfully after, initiate to connect to application server, proceed to communicate by letter.
The concrete grammar of Floating IP address binding of the present invention is: after the signaling IAD starts, Service Processing Module is obtained the equipment handle of first available network interface card from the network card status information table, the IP address information that sets in advance is set in the network interface card, and wherein the IP address information comprises IP address and subnet mask.
Wherein, link control module information is as follows:
struct?netinfo
{
_ UC module_no; // module No.
_ UL float_ip; // floating IP address
_ UL remote_ip; // application server IP address
_ US port; // application server listening port
_ UL router; // gateway
_ UL mask; // subnet mask
};
If signaling IAD and application server in a subnet, also do not need to be provided with routing iinformation, routing iinformation is set in the network interface card.
The program of binding floating IP address and routing iinformation is as follows:
START
The IF database configuration IP address information AND address effective
THEN record IP address information is to Service Processing Module;
ELSE
RETURN;
There is available network interface card in IF
Whether THEN checks this network interface card binding IP address;
The IF network card binding IP address
The IP address that deletion has been bound;
The binding floating IP address is to this network interface card
ELSE
RETURN;
IF local address and application server be not at same subnet
Routing iinformation is set;
END
Device management module periodic scanning network card adapter program is as follows:
START
Per 1 second scanning network card status;
Upgrade the network card status information table;
END
The inventive method realizes the floating IP address binding, and equipment control is simple, and IP address and routing iinformation are clear, and data communication reliability improves, and has reached the dual purpose of simplifying interface and guaranteeing data transmission credibility.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily 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 protection range of claims.
Claims (6)
1, a kind of method of using floating IP address to improve data communication reliability comprises the following steps:
A) at least two network card adapters of configuration in the signaling IAD; The state of all network card adapters of device management module periodic scanning in the gateway reports Service Processing Module in the gateway with normally functioning network card adapter, and upgrades the network card status information table;
B) after the signaling IAD starts, Service Processing Module is selected a network card adapter from the network card status information table, and floating IP address information and this network card adapter of choosing of configuration are bound, after the success, initiate to connect to the application server end, carry out data communication;
C) if communication abnormality occurs, Service Processing Module is deleted floating IP address information from the network card adapter of current binding, from the network card status information table, select an other network card adapter simultaneously, floating IP address information is tied on the network card adapter of current selection, after the success, initiate to connect to the application server end, continue data communication.
2, the method for claim 1 is characterized in that: described floating IP address information comprises floating IP address and subnet mask.
3, method as claimed in claim 2, it is characterized in that:, then routing iinformation is tied among described step B and the described step C on the selected network card adapter with floating IP address information if signaling IAD and application server be in a subnet.
4, method as claimed in claim 3, it is characterized in that: among the described step C floating IP address information is tied to before the network card adapter of current selection, earlier judge whether the network card adapter of current selection has bound the IP address, if then delete the IP address of binding.
5, method as claimed in claim 4 is characterized in that: be a second level blanking time of described all network card adapters of device management module periodic scanning.
6, as claim 1,2,3,4 or 5 described methods, it is characterized in that: the signaling IAD is connected with the TCP that is connected between the application server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100000943A CN100442791C (en) | 2005-01-07 | 2005-01-07 | Method for improving data communication reliability using floating IP address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100000943A CN100442791C (en) | 2005-01-07 | 2005-01-07 | Method for improving data communication reliability using floating IP address |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1801790A CN1801790A (en) | 2006-07-12 |
CN100442791C true CN100442791C (en) | 2008-12-10 |
Family
ID=36811552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100000943A Expired - Fee Related CN100442791C (en) | 2005-01-07 | 2005-01-07 | Method for improving data communication reliability using floating IP address |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100442791C (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102651711B (en) * | 2012-04-28 | 2016-09-28 | 华为技术有限公司 | A kind of methods, devices and systems set up and use the floating network segment |
CN102833591B (en) * | 2012-08-09 | 2015-08-12 | 中兴通讯股份有限公司 | The unbroken method of order program service and device in interactive Web TV system |
US20170171150A1 (en) * | 2015-12-14 | 2017-06-15 | Le Holdings (Beijing) Co., Ltd. | Method and apparatus for processing public ip |
CN105872120A (en) * | 2015-12-14 | 2016-08-17 | 乐视云计算有限公司 | Public network IP processing method and device |
CN107241460B (en) * | 2017-06-30 | 2020-06-23 | 联想(北京)有限公司 | Floating address processing method and electronic equipment |
CN107968851B (en) * | 2017-12-06 | 2021-04-09 | 深信服科技股份有限公司 | Floating IP binding method and device based on k8s platform |
CN109507866A (en) * | 2018-12-07 | 2019-03-22 | 天津津航计算技术研究所 | A kind of double-machine redundancy system and method based on network address drift technology |
CN114584608B (en) * | 2022-02-09 | 2024-05-24 | 北信源系统集成有限公司 | Network switching method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000183905A (en) * | 1998-12-16 | 2000-06-30 | Nec Corp | Fail over device for nic |
CN1505334A (en) * | 2002-12-04 | 2004-06-16 | 联想(北京)有限公司 | Dynamic resolution method of a single IP address multiple hardware address |
-
2005
- 2005-01-07 CN CNB2005100000943A patent/CN100442791C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000183905A (en) * | 1998-12-16 | 2000-06-30 | Nec Corp | Fail over device for nic |
CN1505334A (en) * | 2002-12-04 | 2004-06-16 | 联想(北京)有限公司 | Dynamic resolution method of a single IP address multiple hardware address |
Non-Patent Citations (2)
Title |
---|
软交换系统信令网关的关键技术研究与设计. 王彦敏,孙纪敏.RADIO COMMUNICATIONS TECHNOLOGY,Vol.29 No.2. 2001 |
软交换系统信令网关的关键技术研究与设计. 王彦敏,孙纪敏.RADIO COMMUNICATIONS TECHNOLOGY,Vol.29 No.2. 2001 * |
Also Published As
Publication number | Publication date |
---|---|
CN1801790A (en) | 2006-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100442791C (en) | Method for improving data communication reliability using floating IP address | |
CN1266882C (en) | A management method of network device | |
CN101282276B (en) | Method and apparatus for protecting Ethernet tree service | |
CN101572709B (en) | Switching method, system, server and client device of socket connection | |
CN1536819A (en) | Method for implementing dual home in next network | |
CN112532452B (en) | Method, device, equipment and storage medium for switching main server and standby server of communication terminal | |
CN1741665A (en) | System for double-attaching grouping network in communication network and method thereof | |
CN101437175B (en) | Method, apparatus and system for processing disaster-tolerating switch | |
CN101772007B (en) | Improved total network signalling tracing system and method | |
CN101145972B (en) | A disaster tolerance network management system and login method of network management clients | |
CN101299893A (en) | Method for automatically exchanging emigration based on status transition in optical network | |
CN101217293B (en) | Media operation trusteeship switching system and method | |
EP1271969A2 (en) | Signaling gateway system and network management method | |
CN102571383B (en) | Access control method and system | |
CN101540699A (en) | Method and device for realizing remote maintenance of network equipment | |
CN101102231B (en) | An automatic discovery method and device of PPP link routing device | |
EP1796284B1 (en) | System, apparatus and method for testing line | |
CN100499500C (en) | Method for realizing management for multistage communication device | |
CN101114929B (en) | Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment | |
WO2012097604A1 (en) | Method, system and gateway for processing messages when gateway has failed | |
CN100344111C (en) | Method and device for guaranteeing call connection in intelligent net system | |
CN108923537B (en) | Intelligent substation maintenance method based on link switching | |
CN100563393C (en) | A kind of method of automatic revisal when sending message | |
CN1832468A (en) | Method for notifying coupling state between signalling point and soft exchange to signalling point by signalling gateway | |
KR100726573B1 (en) | Control Information Remote Control System in Communication Network Management System Using DCS Sever, and Method for Controlling Thereof |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081210 Termination date: 20180107 |
|
CF01 | Termination of patent right due to non-payment of annual fee |