CN104967692A - Host mapping automatic switching method and system - Google Patents

Host mapping automatic switching method and system Download PDF

Info

Publication number
CN104967692A
CN104967692A CN201510401918.1A CN201510401918A CN104967692A CN 104967692 A CN104967692 A CN 104967692A CN 201510401918 A CN201510401918 A CN 201510401918A CN 104967692 A CN104967692 A CN 104967692A
Authority
CN
China
Prior art keywords
outlet
message
network state
mapping
application end
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
CN201510401918.1A
Other languages
Chinese (zh)
Other versions
CN104967692B (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.)
Focus Technology Co Ltd
Original Assignee
Focus 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 Focus Technology Co Ltd filed Critical Focus Technology Co Ltd
Priority to CN201510401918.1A priority Critical patent/CN104967692B/en
Publication of CN104967692A publication Critical patent/CN104967692A/en
Application granted granted Critical
Publication of CN104967692B publication Critical patent/CN104967692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a host mapping automatic switching method. The method includes the following steps that: a local application end transmits network status detection messages to a remote application end with the same frequency through different host mapping, and the remote application end makes a response, the local application end receives statistical results of the remote application end, and therefore, host mapping with an optimal state can be judged, and is automatically adopted to transmit the messages; the local application end requests all host mapping from a local DC to a remote DC, and establishes host mapping network state detectors for the host mapping after acquiring all the host mapping; the host mapping network state detectors of the local application end start host mapping network state detection threads and generate network state detection messages, and notify the message sender of the local application end to send the network state detection messages to the remote application end; and the local application end collects the statistical results of the host mapping, and judges host mapping with an optimal state. The local application end can automatically use the host mapping with the optimal state.

Description

A kind of method and system exporting mapping and automatically switch
Technical field
The invention belongs to network communication field, be specifically related to a kind of method and system mapping automatic switchover across DC network service outlet.
Background technology
In network communication field, application end needs to carry out communicating and data interaction between multiple DC.But due to unstable networks between DC, often there will be between application end temporarily cannot communicate, the problem such as data interaction time delay, this situation sometimes can continue several hours even several days time.In order to address this problem, usual way is for the multiple outlet of local application end configuration maps, the network path that each outlet is mapped to remote application end is different, when certain outlet mapping network is obstructed or out of order, manually be switched to another network state and better export mapping, thus Logistics networks communication, reduce the time delay of data interaction.
There is following two problems in common solution: one is how to judge to export the current network state mapped, if misjudgment, then may be switched to the more bad outlet of network state and map, cause more serious blocking up; Two is how to carry out outlet to map switching, generally when exporting mapping network and causing associated alarm out of order, administrative staff carry out manual switchover, but this mode not only wastes time and energy, and the situation of some artificial operating mistakes also may be caused to occur.
In these problems, patent " method that communication channel automatically switches " is (as China's application: CN201410095295.5) done correlative study, its method proposed is mainly: every the set time (such as one minute) to each communication channel transceiving data test pack (heartbeat packet), the transmission rate of each communication channel is calculated according to transmitting-receiving time and transceiving data gauge, determine current optimal communication channel according to the transmission rate calculated (i.e. assessment result), wait for that communication channel switches.The method that this invention proposes to some extent solves the problem of data transmission pipe state arbitration.But the transmission rate that the method calculates can be subject to the impact that data send pipeline and receiving pipeline simultaneously, such as: when data transmission pipeline is in good shape, may due to receiving pipeline out of order, calculated transmission rate is caused to decline, thus cause pipeline conditions misjudgment, cause the switching of mistake.
Summary of the invention
In order to solve the problem, the present invention seeks to, propose a kind of method and system exporting mapping and automatically switch.When being intended to realize across DC communication and data interaction, application end can the current outlet mapping network used out of order time, automatically switch in time network state optimum outlet map, with significantly improve between application end across DC communication and data interaction time real-time, reliability, consistency etc.
Technical scheme of the present invention is: a kind of method exporting mapping and automatically switch, local application end is mapped by different outlets and sends network state probe message with same frequency to remote application end, after the response of remote application end, local application end receives the statistics of remote application end, and then judge that the outlet of state optimization maps, and automatically use this outlet mapping to carry out message transmission, specifically comprise the following steps:
Step one, for the multiple outlets needing the local application end of accessing across data center DC to create from local DC to long-range DC map, each outlet is mapped to the network path difference of remote application end;
Step 2, local application end request map from local DC to all outlet ports of long-range DC, after obtaining all outlet ports mapping, are that each outlet maps establishment outlet mapping network state detector (status detector);
The outlet mapping network state detector of step 3, local application end starts outlet mapping network state detection thread, generating network state detection message, and notify that the message transmitter (message connection) of local application end sends network state probe message to remote application end;
Step 4, message transmitter (message sender) receives network state probe message, also receive proper communication interaction message simultaneously, interacting message pipeline (message connection) and outlet mapping network state detection pipeline (status detectconnection) is used to transmit message more respectively, specifically: use interacting message pipeline to be connected to the current outlet used and map transmission proper communication interaction message, ensure proper communication, using outlet mapping network state detection pipeline to be connected to each outlet maps with same frequency transmission network state detection message, the transmission not only having ensured network state probe message but also the interference preventing proper communication,
Step 5, remote application end statistics maps by each outlet the network state probe message amount received, every a measurement period, statistics is returned to local application end by all outlet ports mapping, to ensure that local application end can receive statistics, prevent because section port mapping status is not good enough and cannot receive or can not receive in time statistics;
Step 6, local application end collect the statistics that each outlet maps, and judge which outlet mapping status is optimum, concrete steps are:
Step 1: local application end compares the statistics received, if in a measurement period remote application end to map by certain outlet the network state probe message amount that receives maximum, then it be the excellent outlet mapping of state;
Step 2: local application end is compared remote application end in a measurement period and mapped by the current outlet used and map by the outlet that state in step 1 is excellent the network state probe message amount received, and the sensitivity threshold values arranged between comparative quantity, if remote application end is mapped by the current outlet used the network state probe message amount that receives and is less than or equal to sensitivity threshold values with the absolute value being mapped the network state probe message amount difference received by the outlet that state in step 1 is excellent in a measurement period, then the outlet of state optimization maps still for the current outlet used maps, otherwise, it is then that the outlet that in step 1, state is excellent maps that the outlet of state optimization maps,
Step 7, the outlet of the automatic using state optimum of local application end maps, be specially: if judge that the outlet of state optimization is mapped as the excellent outlet of state in the step 1 of step 6 and maps, then notification message conveyer switching interacting message pipeline is connected to this outlet mapping, if judge that the outlet of state optimization maps still as the current outlet used maps, then do not send and switch outlet mapping notice, interacting message pipeline continues to be connected to the current outlet used and maps, so do not need to switch outlet to map, thus reduce the frequent time switching outlet mapping and bring, resource loss.
Export the system mapping and automatically switch, comprise local application end and remote application end.
Described local application end is used for being mapped by different outlets sending network state probe message with same frequency to remote application end, after the response of remote application end, described local application end receives the statistics of remote application end, and then judge that the outlet of state optimization maps, and this outlet mapping is automatically used to carry out message transmission.
Described local application end comprises outlet map manager (host mapping manager), outlet mapping network state collector (statuscollector), outlet mapping network state detector (status detector), message transmitter (message sender), outlet mapping network state detection pipeline (status detect connection), interacting message pipeline (message connection), outlet mapping network state detection message response receiver (status detect response receive handler),
Described outlet map manager (host mapping manager), the multiple outlets of the local application end of accessing across data center DC for managerial demand from local DC to long-range DC map, be responsible for newly-increased, upgrade, to obtain and serializing needs the multiple outlets mappings of local application end from local DC to long-range DC of accessing across data center DC;
Described outlet mapping network state collector (status collector), for mapping to outlet map manager (host mapping manager) request from local DC to all outlet ports of long-range DC, after obtaining all outlet ports mapping, outlet mapping network state detector (status detector) is created for each outlet maps, also for upgrading each outlet mapping network state, and export step 6 in the method mapping and automatically switch judge which outlet mapping network state optimization according to a kind of, if judge that the outlet of state optimization is mapped as the outlet that in the step 1 of above-mentioned steps six, state is excellent and maps, then notification message conveyer (message sender) switch interacting message pipeline (messageconnection) be connected to this outlet map, if judge that the outlet of state optimization maps still as the current outlet used maps, then do not send and switch outlet mapping notice, interacting message pipeline (message connection) continues to be connected to the current outlet used and maps,
Described outlet mapping network state detector (status detector), for starting the detection thread that each outlet maps, and generating network state detection message, and notification message conveyer (message sender) sends network state probe message;
Described message transmitter (message sender), for receiving proper communication interaction message and network state probe message simultaneously, use interacting message pipeline (message connection) to transmit proper communication interaction message more respectively, use outlet mapping network state detection pipeline (status detect connection) to transmit network state detection message.
Described outlet mapping network state detection pipeline (status detect connection), during for exporting mapping status detection, being connected to multiple outlet and mapping, sending network state probe message with same frequency to remote application end.
Described interacting message pipeline (message connection), during for proper communication or the detection of outlet mapping status, is connected to the current outlet used and maps, send and receive the proper communication interaction message with remote application end;
Described outlet mapping network state detection message response receiver (status detect response receive handler), for receiving the network state detection statistics that remote application end returns, and notice outlet mapping network state collector (status collector) upgrades outlet mapping network state.
Described remote application end comprises outlet mapping network state detection message response device (status detect response handler).
Described outlet mapping network state detection message response device (status detect response handler), for receiving the network state probe message that local application end is sent, add up and map by each outlet the network state probe message amount received, every a measurement period, statistics is returned to local application end by all outlet ports mapping, and empty statistics to carry out the statistics in next cycle.
Beneficial effect of the present invention, compared with prior art, its remarkable advantage is:
(1) in intuitive, by contrasting the statistics between different outlet mapping network state, to be switched to certain outlet map after communication efficiency had and comparatively directly contrasted judgement, after not needing to switch according to effect whether be satisfied with judge whether again to switch correct;
(2) in accuracy, only need to add up the network state detection information amount that local application end is sent to remote application end, not by the impact of the outlet mapping status from remote application end to local application end, improve the accuracy that outlet mapping status judges;
(3) in promptness, after not needing administrative staff to receive the bad alarm of outlet mapping status, more manually switch, when certain outlet mapping network state optimization, this outlet can be directly switch to map, decrease switching time, improve and switch promptness;
(4) in reducing costs, outlet maps automatically switches, and does not need manual operation, not only reduces the costs such as the personnel of labor management, wage, decrease the cost of righting the wrong brought because of man-made failure operation.
Accompanying drawing explanation
Fig. 1 is that the multiple outlets from local DC to long-range DC in the embodiment of the present invention map schematic diagram.
Fig. 2 is the system construction drawing of the embodiment of the present invention.
Fig. 3 is the sequential chart of the embodiment of the present invention.
Fig. 4 is that the outlet being switched to state optimization in the embodiment of the present invention maps schematic diagram.
Specific embodiments
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
As shown in Figure 1, for the multiple outlets from local DC to long-range DC in the embodiment of the present invention map schematic diagram, for the multiple outlets needing the local application end of accessing across data center DC to create from local DC to long-range DC map, the network path that each outlet is mapped to remote application end is different.Local DC is domestic in China's Mainland for the invention process example assumes, long-range DC is at United States, three outlets created from local DC to long-range DC for local application end map, they are respectively (1) to the network path of remote application end and are connected to the U.S. from Hong Kong forwarding, (2) the direct-connected U.S., (3) forward from Taiwan and be connected to the U.S., wherein (2) direct-connected U.S. is the network path that outlet that current proper communication is using is mapped to remote application end.
As shown in Figure 2, the system construction drawing for the embodiment of the present invention comprises local application end 20, remote application end 21.
Local application end 20 is for mapping to remote application end transmission network state probe message with certain frequency by different outlets, after remote application end 21 responds, described local application end 20 receives the statistics of remote application end 21, and then judge that the outlet of state optimization maps, and this outlet mapping is automatically used to carry out message transmission.
Local application end 20 comprises outlet map manager (host mapping manager) 201, outlet mapping network state collector (status collector) 202, outlet mapping network state detector (status detector) 203, message transmitter (message sender) 204, outlet mapping network state detection pipeline (status detect connection) 205, interacting message pipeline (message connection) 206, outlet mapping network state detection message response receiver (status detect response receive handler) 207.
Outlet map manager (host mapping manager) 201, the multiple outlets of the local application end 20 of accessing across data center DC for managerial demand from local DC to long-range DC map, be responsible for newly-increased, upgrade, to obtain and serializing needs the multiple outlets mappings of local application end 20 from local DC to long-range DC of accessing across data center DC.
Outlet mapping network state collector (status collector) 202, for mapping to outlet map manager (host mapping manager) 201 request from local DC to all outlet ports of long-range DC, after obtaining all outlet ports mapping, outlet mapping network state detector (status detector) 203 is created for each outlet maps, also for upgrading outlet mapping network state, and export step 6 in the method mapping and automatically switch according to claim 1 one kind and judge which outlet mapping network state optimization, if judge that the outlet of state optimization is mapped as claim 1 one kind and exports the outlet mapping that in the step 1 of step 6 in the method mapping and automatically switch, state is excellent, then notification message conveyer (message sender) 204 switching interacting message pipeline (message connection) 206 is connected to this outlet mapping, if judge that the outlet of state optimization maps still as the current outlet used maps, then do not send and switch outlet mapping notice, interacting message pipeline (message connection) 206 continues to be connected to the current outlet used and maps.
Outlet mapping network state detector (status detector) 203, for starting the detection thread that each outlet maps, and generating network state detection message, and notification message conveyer (message sender) 204 sends network state probe message.
Message transmitter (message sender) 204, for receiving proper communication interaction message and network state probe message simultaneously, use interacting message pipeline (message connection) 206 to transmit proper communication interaction message more respectively, use outlet mapping network state detection pipeline (status detect connection) 205 to transmit network state detection message.
Outlet mapping network state detection pipeline (status detect connection) 205, during for exporting mapping status detection, being connected to multiple outlet and mapping, sending network state probe message with same frequency to remote application end.
Interacting message pipeline (message connection) 206, during for proper communication or the detection of outlet mapping status, is connected to the current outlet used and maps, send and receive the proper communication interaction message with remote application end.
Outlet mapping network state detection message response receiver (status detect response receive handler) 207, for receiving the network state detection statistics that remote application end returns, and notice outlet mapping network state collector (status collector) upgrades outlet mapping network state.
Remote application end 21 comprises outlet mapping network state detection message response device (status detect response handler) 211.
Outlet mapping network state detection message response device (status detect response handler) 211, for receiving the network state probe message that local application end is sent, add up and map by each outlet the network state probe message amount received, every a measurement period, statistics is returned to local application end by all outlet ports mapping, and empty statistics to carry out the statistics in next cycle.
As shown in Figure 3, be the sequential chart of the embodiment of the present invention, idiographic flow is as follows:
Step 301: outlet mapping network state collector (status collector) asks all outlet ports of from DC (China's Mainland) to DC (U.S.) to map to outlet map manager (host mapping manager), and obtains all outlet ports mapping;
Step 302: outlet mapping network state collector (status collector) creates outlet mapping network state detector (status detector) for each outlet maps;
Step 303: outlet mapping network state detector (status detector) starts network state detection thread, generating network state detection message, and send network state probe message by message transmitter (message sender);
Step 304: message transmitter (message sender) uses outlet mapping network state detection pipeline (status detectconnection) to transmit network state detection message;
Step 305: outlet mapping network state detection pipeline (status detect connection) is connected to each outlet and maps with same frequency (the present embodiment is set as 300 milliseconds) remote application end transmission network state detection message;
Step 306: the outlet mapping network state detection message response device (status detect response handler) of remote application end receives network state probe message, add up and map by each outlet the network state probe message amount received, every a measurement period (being set as 1 minute in the present embodiment), statistics is mapped the outlet mapping network state detection message response receiver (status detect response receive handler) returning to local application end by all outlet ports, and empty statistics to carry out the statistics in next cycle,
The present embodiment hypothesis network state detection statistics: in 1 minute, the outlet mapping network state detection message response device (status detect response handler) of remote application end to be forwarded from Hong Kong by (1) and is connected to the U.S. to receive network state probe message amount be 200, receiving network state probe message amount by (2) direct-connected U.S. is 180, and (3) forward from Taiwan and are connected to the U.S. to receive network state probe message amount be 180;
Step 307: outlet mapping network state detection message response receiver (status detect response receive handler) receives network state detection statistics, and notice outlet mapping network state collector (status collector) upgrades outlet mapping network state;
Step 308: outlet mapping network state collector (status collector) upgrades each outlet mapping network state, and judge which outlet mapping network state optimization;
According to the supposition of the present embodiment, judge that concrete steps are:
In step 1:1 minute, the outlet mapping network state detection message response device (status detect responsehandler) of remote application end to be forwarded from Hong Kong by (1) and is connected to the U.S. to receive network state probe message amount maximum, then (1) forwards from Hong Kong and is connected to the U.S. is that the excellent outlet of state maps;
Step 2: the present embodiment supposition sensitivity threshold values is 10, outlet mapping network state detection message response device (status detect response handler) due to remote application end in 1 minute maps (2) direct-connected U.S. by the current outlet used and receives network state probe message amount 180 and pass through (1) and to forward from Hong Kong and be connected to absolute value 20 that the U.S. receives network state probe message amount 200 differences to be greater than sensitivity threshold values be 10, thus the outlet of state optimization maps is then that the outlet that in step 1, state is excellent maps, namely (1) forwards from Hong Kong and is connected to the U.S.,
Step 309: outlet mapping network state collector (status collector) notification message conveyer (message sender) switches interacting message pipeline (message connection);
Step 310: message transmitter (message sender) switches interacting message pipeline (message connection) makes it disconnect current outlet mapping (2) direct-connected U.S. used, and is connected to (1) and is forwarded to u.s. export mapping from Hong Kong.
As shown in Figure 4, for the outlet being switched to state optimization in the embodiment of the present invention maps schematic diagram, local application end disconnects the current outlet used and maps (2) direct-connected U.S., is connected to (1) and is forwarded to u.s. export mapping from Hong Kong.
The foregoing is only a kind of embodiment of patent of the present invention; not in order to limit patent of the present invention; the any amendment made within all spirit in patent of the present invention and principle, equivalently to replace and improvement etc., all with within the protection range being included in patent of the present invention.

Claims (4)

1. one kind exports the method mapping and automatically switch, it is characterized in that local application end is mapped by different outlets and send network state probe message with same frequency to remote application end, after the response of remote application end, described local application end receives the statistics of remote application end, and then judge that the outlet of state optimization maps, and this outlet mapping is automatically used to carry out message transmission;
Comprise the following steps:
Step one, for the multiple outlets needing the local application end of accessing across data center DC to create from local DC to long-range DC map, each outlet is mapped to the network path difference of remote application end;
Step 2, local application end request map from local DC to all outlet ports of long-range DC, after obtaining all outlet ports mapping, are that each outlet maps establishment outlet mapping network state detector (status detector);
The outlet mapping network state detector of step 3, local application end starts outlet mapping network state detection thread, generating network state detection message, and notify that the message transmitter (message connection) of local application end sends network state probe message to remote application end;
Step 4, message transmitter (message sender) receives network state probe message, also receive proper communication interaction message simultaneously, interacting message pipeline (message connection) and outlet mapping network state detection pipeline (status detect connection) is used to transmit message more respectively, specifically: use interacting message pipeline to be connected to the current outlet used and map transmission proper communication interaction message, ensure proper communication, using outlet mapping network state detection pipeline to be connected to each outlet maps with same frequency transmission network state detection message, the transmission not only having ensured network state probe message but also the interference preventing proper communication,
Step 5, remote application end statistics maps by each outlet the network state probe message amount received, every a measurement period, statistics is returned to local application end by all outlet ports mapping, to ensure that local application end can receive statistics, prevent because section port mapping status is not good enough and cannot receive or can not receive in time statistics;
Step 6, local application end collect the statistics that each outlet maps, and judge which outlet mapping status is optimum;
The outlet of the automatic using state optimum of step 7, local application end maps.
2. outlet maps the method automatically switched according to claim 1, it is characterized in that step 6 comprises following two steps:
Step 1: local application end compares the statistics received, if in a measurement period remote application end to map by certain outlet the network state probe message amount that receives maximum, then it be the excellent outlet mapping of state;
Step 2: local application end is compared remote application end in a measurement period and mapped by the current outlet used and map by the outlet that state in step 1 is excellent the network state probe message amount received, and the sensitivity threshold values arranged between comparative quantity, if remote application end is mapped by the current outlet used the network state probe message amount that receives and is less than or equal to sensitivity threshold values with the absolute value being mapped the network state probe message amount difference received by the outlet that state in step 1 is excellent in a measurement period, then the outlet of state optimization maps still for the current outlet used maps, otherwise, it is then that the outlet that in step 1, state is excellent maps that the outlet of state optimization maps.
3. outlet maps the method automatically switched according to claim 2, it is characterized in that step 7 is specially: if judge that the outlet of state optimization is mapped as the excellent outlet of state in the step 1 of step 6 and maps, then notification message conveyer switching interacting message pipeline is connected to this outlet mapping, if judge that the outlet of state optimization maps still as the current outlet used maps, then do not send and switch outlet mapping notice, interacting message pipeline continues to be connected to the current outlet used and maps, so do not need to switch outlet to map, thus reduce the frequent time switching outlet mapping and bring, resource loss.
4. map according to the described outlet of one of claim 1-3 the system automatically switched, it is characterized in that comprising local application end and remote application end;
Described local application end comprises outlet map manager (host mapping manager), outlet mapping network state collector (status collector), outlet mapping network state detector (status detector), message transmitter (messagesender), outlet mapping network state detection pipeline (status detect connection), interacting message pipeline (messageconnection), outlet mapping network state detection message response receiver (status detect response receivehandler),
Described outlet map manager (host mapping manager), the multiple outlets of the local application end of accessing across data center DC for managerial demand from local DC to long-range DC map, be responsible for newly-increased, upgrade, to obtain and serializing needs the multiple outlets mappings of local application end from local DC to long-range DC of accessing across data center DC;
Described outlet mapping network state collector (status collector), for mapping to outlet map manager (host mappingmanager) request from local DC to all outlet ports of long-range DC, after obtaining all outlet ports mapping, outlet mapping network state detector (status detector) is created for each outlet maps, also for upgrading each outlet mapping network state, and export step 6 in the method mapping and automatically switch judge which outlet mapping network state optimization according to a kind of, if judge that the outlet of state optimization is mapped as the outlet that in the step 1 of above-mentioned steps six, state is excellent and maps, then notification message conveyer (messagesender) switch interacting message pipeline (message connection) be connected to this outlet map, if judge that the outlet of state optimization maps still as the current outlet used maps, then do not send and switch outlet mapping notice, interacting message pipeline (message connection) continues to be connected to the current outlet used and maps,
Described outlet mapping network state detector (status detector), for starting the detection thread that each outlet maps, and generating network state detection message, and notification message conveyer (message sender) sends network state probe message;
Described message transmitter (message sender), for receiving proper communication interaction message and network state probe message simultaneously, use interacting message pipeline (message connection) to transmit proper communication interaction message more respectively, use outlet mapping network state detection pipeline (status detect connection) to transmit network state detection message.
Described outlet mapping network state detection pipeline (status detect connection), during for exporting mapping status detection, being connected to multiple outlet and mapping, sending network state probe message with same frequency to remote application end.
Described interacting message pipeline (message connection), during for proper communication or the detection of outlet mapping status, is connected to the current outlet used and maps, send and receive the proper communication interaction message with remote application end;
Described outlet mapping network state detection message response receiver (status detect response receive handler), for receiving the network state detection statistics that remote application end returns, and notice outlet mapping network state collector (statuscollector) upgrades outlet mapping network state.
Described remote application end comprises outlet mapping network state detection message response device (status detect responsehandler).
Described outlet mapping network state detection message response device (status detect response handler), for receiving the network state probe message that local application end is sent, add up and map by each outlet the network state probe message amount received, every a measurement period, statistics is returned to local application end by all outlet ports mapping, and empty statistics to carry out the statistics in next cycle.
CN201510401918.1A 2015-07-09 2015-07-09 Host mapping automatic switching method and system Active CN104967692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510401918.1A CN104967692B (en) 2015-07-09 2015-07-09 Host mapping automatic switching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510401918.1A CN104967692B (en) 2015-07-09 2015-07-09 Host mapping automatic switching method and system

Publications (2)

Publication Number Publication Date
CN104967692A true CN104967692A (en) 2015-10-07
CN104967692B CN104967692B (en) 2017-02-15

Family

ID=54221629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510401918.1A Active CN104967692B (en) 2015-07-09 2015-07-09 Host mapping automatic switching method and system

Country Status (1)

Country Link
CN (1) CN104967692B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512698A (en) * 2018-03-15 2018-09-07 北京奇艺世纪科技有限公司 A kind of network disaster tolerance method, device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079234A (en) * 2012-12-17 2013-05-01 福建师范大学 Multi-network self-adaption toggle selection transmission method and wireless video transmission system
CN103237355A (en) * 2013-04-25 2013-08-07 京信通信系统(中国)有限公司 Method and system for automatically distributing wireless communication channels
CN103826275A (en) * 2014-03-14 2014-05-28 中国人民解放军第三军医大学第二附属医院 Method for automatically switching communication channel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079234A (en) * 2012-12-17 2013-05-01 福建师范大学 Multi-network self-adaption toggle selection transmission method and wireless video transmission system
CN103237355A (en) * 2013-04-25 2013-08-07 京信通信系统(中国)有限公司 Method and system for automatically distributing wireless communication channels
CN103826275A (en) * 2014-03-14 2014-05-28 中国人民解放军第三军医大学第二附属医院 Method for automatically switching communication channel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512698A (en) * 2018-03-15 2018-09-07 北京奇艺世纪科技有限公司 A kind of network disaster tolerance method, device and electronic equipment

Also Published As

Publication number Publication date
CN104967692B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
US8792409B2 (en) Clearing redundant data in wireless mesh network
JP5249950B2 (en) Method and system for utility network outage detection
US8014297B2 (en) Network test apparatus, network test method and network test program
US8242931B2 (en) Mobile meter reading for locating stolen utility meters
CN102984059B (en) Gigabit Ethernet redundancy network interface card and link switching condition criterion output control method thereof
CN102170342B (en) IEC (integrated Ethernet chip) 104 communication host-standby switching method under high redundancy configuration
CN107800554B (en) Data acquisition method, device and system
CA2602289A1 (en) Using a fixed network wireless data collection system to improve utility responsiveness to power outages
CN103516571A (en) System architecture and method for ensuring data communication reliability by means of double CAN buses
CN101882369A (en) Remote real-time monitoring system for electric power system client side meter
NZ588928A (en) Changing frequency channels when acknowledgement of sent packet is not received
WO2017157065A1 (en) Method for managing address of meter device, and acquisition terminal and meter device
CN107888279B (en) Fault self-healing method, system, computer readable storage medium and computer device
CN102387524B (en) Indoor distributed monitoring system for WLAN (Wireless Local Area Network)
US20110153804A1 (en) Method and system for reporting defects within a network
CN104967692A (en) Host mapping automatic switching method and system
CN105897446B (en) A kind of EFM OAM processing method and hardware realization apparatus based on FPGA
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
US8566634B2 (en) Method and system for masking defects within a network
CN104352215A (en) Wireless fetus central monitoring method and system
CN204390224U (en) A kind of fault-tolerant master-slave synchronisation serial communication system based on FPGA
CN111339005B (en) Data acquisition method, device and computer readable storage medium
CN116032355A (en) Method and equipment for acquiring information of optical network system and optical network system
KR102099360B1 (en) Remote meter reading system by using multiple master devices and remote meter reading method by using multiple master devices
CN102149116B (en) Backup method and device for coordinator of wireless private area network

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