CN101282346A - Method for selecting communication channel of double-controller system - Google Patents
Method for selecting communication channel of double-controller system Download PDFInfo
- Publication number
- CN101282346A CN101282346A CNA200810106507XA CN200810106507A CN101282346A CN 101282346 A CN101282346 A CN 101282346A CN A200810106507X A CNA200810106507X A CN A200810106507XA CN 200810106507 A CN200810106507 A CN 200810106507A CN 101282346 A CN101282346 A CN 101282346A
- Authority
- CN
- China
- Prior art keywords
- transmission medium
- transmission
- data
- double
- controller system
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a method of communication path choice of bi-controller system mainly includes: obtaining the size of the transmission data package of the data requirements according to the data requirements transmitted by one controller of the bi-controller system; calculating the turnover of the controller when different transmission media transmit the data package according to the size of the data package; choosing the transmission medium with the maximum turnover from the different transmission media; and transmitting the transmission package of the data requirements to the chosen transmission medium in order to transmit the data requirements and have the communication between the two controllers.
Description
Technical field
The present invention relates to the method for the transfer of data between a kind of controller, relate in particular to a kind of method of communication path selection of double-controller system.
Background technology
Usually, in the environment that double-controller system is applied to data integrality and service continuity are had relatively high expectations.The effect of double-controller system is, when one of them controller as server, when master server is providing service, use the backup server of another controller as master server, therefore, when master server breaks down and can't continue to provide when service, backup server is then taken over the service of master server, so ensure data the complete sum service continuously.
Therefore, need between two controllers of double-controller system, set up the communication link of an inside, as: second too network card be used to transmit data to connecting etc., keep the synchronous regime of two controllers.But each link is owing to the difference of its transmission medium and protocol specification, thereby the usefulness when transmission data of different types bag also is not quite similar.
Therefore, traditional single-pathway internal communication link is subjected to the restriction of transmission medium, and is often only comparatively suitable to the data in certain packet scale scope, in case transmission exceeds the packet of this scope, and the problem that then exists usefulness to reduce.And when the scale of transmission data constantly occurred changing, transmission usefulness also can correspondingly produce very great fluctuation process.
Summary of the invention
For solving above-mentioned middle problem and the defective that exists, the invention provides a kind of method of communication path selection of double-controller system.
The present invention is achieved by the following technical solutions:
The method that the communication path of a kind of double-controller system involved in the present invention is selected comprises: according to the described double-controller system request of data sent of a controller wherein, obtain the size of the data packets for transmission of described request of data; Calculate the circulation of different transmission mediums when transmitting described packet in the described controller according to the size of described packet; From described different transmission medium, select to have the transmission medium of high throughput; The transmission package that sends described request of data is to the described transmission medium of selecting, to transmit described request of data to carry out the communication between described two controllers.
Wherein when the circulation of the described packet of described different some transmission medium is close or identical, select to have in the described different transmission medium transmission medium of the described packet of conduct of low central processing unit occupation rate, wherein said central processing unit occupation rate is the occupation rate of described different transmission medium when transmitting at full capacity.The computing formula of the circulation of the described packet of wherein said some transmission medium is:
CTP=min (MTP, IOPS*PS/ ((PS-1)/MTU+1)), wherein CTP is the circulation of the described packet of described some transmission medium, MTP is the max-flow flux of described transmission medium, IOPS is the transmission frequency of described transmission medium, PS is the size of described packet, and MTU is the transmission unit of described transmission medium maximum.
The beneficial effect of technical scheme provided by the invention is:
According to the data characteristics of system transmissions request, i.e. the size of transmits data packets by the circulation of different medium in the routing algorithm comparison system when the data packets for transmission, and then is selected the highest path of transmission usefulness.Therefore, many communication links complementations that exist in the system can be utilized, select suitable communication links, reach the also maximization of stable transfer usefulness at the packets of different sizes.
Description of drawings
Fig. 1 is the flow chart of steps of data packet transmission routing algorithm of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing:
The method that present embodiment provides a kind of communication path of double-controller system to select.
Referring to Fig. 1, said method comprising the steps of:
Computing formula about circulation is as follows: CTP=min (MTP, IOPS*PS/ ((PS-1)/MTU+1)), wherein CTP is the circulation of the described packet of different some transmission medium, MTP is the max-flow flux of different transmission mediums, IOPS is the transmission frequency of transmission medium, PS is the size of packet, and MTU is the MTU of transmission medium.
But regulation medium transmission circulation differs<and be close during 64KB.When identical or close, execution in step 106.
The medium that step 108 selects wherein to have high throughput is the transmission medium of described packet.
Select suitable transmission medium.
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 claim.
Claims (3)
1, the method for a kind of communication path of double-controller system selection is characterized in that this method mainly comprises:
According to the described double-controller system request of data sent of a controller wherein, obtain the size of the data packets for transmission of described request of data;
Calculate the circulation of different transmission mediums when transmitting described packet in the described controller according to the size of described packet;
From described different transmission medium, select to have the transmission medium of high throughput;
The transmission package that sends described request of data is to the described transmission medium of selecting, to transmit described request of data to carry out the communication between described two controllers.
2, the method for the communication path of double-controller system according to claim 1 selection, it is characterized in that, wherein when the circulation of the described packet of described different some transmission medium is close or identical, select to have in the described different transmission medium transmission medium of the described packet of conduct of low central processing unit occupation rate, wherein said central processing unit occupation rate is the occupation rate of described different transmission medium when transmitting at full capacity.
3, the method for the communication path of double-controller system according to claim 1 selection is characterized in that the computing formula of the circulation of the described packet of wherein said some transmission medium is:
CTP=min (MTP, IOPS*PS/ ((PS-1)/MTU+1)), wherein CTP is the circulation of the described packet of described some transmission medium, MTP is the max-flow flux of described transmission medium, IOPS is the transmission frequency of described transmission medium, PS is the size of described packet, and MTU is the transmission unit of described transmission medium maximum.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200810106507XA CN101282346A (en) | 2008-05-14 | 2008-05-14 | Method for selecting communication channel of double-controller system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200810106507XA CN101282346A (en) | 2008-05-14 | 2008-05-14 | Method for selecting communication channel of double-controller system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101282346A true CN101282346A (en) | 2008-10-08 |
Family
ID=40014620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA200810106507XA Pending CN101282346A (en) | 2008-05-14 | 2008-05-14 | Method for selecting communication channel of double-controller system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101282346A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101834796A (en) * | 2010-05-06 | 2010-09-15 | 中兴通讯股份有限公司 | Double-controller communication system and method |
CN103959724A (en) * | 2011-11-21 | 2014-07-30 | 高通股份有限公司 | Providing path information in mixed communication networks |
-
2008
- 2008-05-14 CN CNA200810106507XA patent/CN101282346A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101834796A (en) * | 2010-05-06 | 2010-09-15 | 中兴通讯股份有限公司 | Double-controller communication system and method |
CN101834796B (en) * | 2010-05-06 | 2015-01-28 | 中兴通讯股份有限公司 | Double-controller communication system and method |
CN103959724A (en) * | 2011-11-21 | 2014-07-30 | 高通股份有限公司 | Providing path information in mixed communication networks |
CN103959724B (en) * | 2011-11-21 | 2018-11-02 | 高通股份有限公司 | Mix networking path selection and load balance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103476062B (en) | Data flow scheduling method, equipment and system | |
CN101668005B (en) | Data transmission accelerating engine method based on multiple access passages of transmitting end | |
US8842618B2 (en) | Reverse power control methods based on multi carrier | |
US8514701B2 (en) | Aggregating multiple radio links from multiple modems in a communication device | |
WO2009010461A3 (en) | Enhancement of quality of service in network endpoint systems | |
US9461804B2 (en) | Link aggregation management system, link aggregation management device, link aggregation management method and computer-readable medium | |
US9912587B2 (en) | Communication apparatus, communication method, and communication system | |
CN101946468A (en) | Constrained dynamic path selection among multiple available communication interfaces | |
CN102802043B (en) | Distributed monitoring system and video on demand method and device | |
CN101202632A (en) | System and method for data transmission of dual controller system and method of communication path selection | |
CN105743816A (en) | Link aggregation method and device | |
CN202218410U (en) | Multi-channel load balancing equipment | |
CN102293041B (en) | Transmission apparatus, transmission-reception apparatus, communication system, and communication method | |
CN102316021A (en) | Method for realizing load sharing of switch aggregation port and switch | |
CN108738079A (en) | A kind of transmission rate machinery of consultation and device | |
CN102624769B (en) | Pipeline network device and related data transmission method | |
CN101282346A (en) | Method for selecting communication channel of double-controller system | |
CN106105282A (en) | Link buffer zone state is utilized to carry out the system and method for traffic engineering | |
US8861529B2 (en) | Ethernet apparatus and method of adjusting transmission rate thereof | |
CN101296183A (en) | Data transmission system of double-controller system | |
CN103516619A (en) | Bandwidth adjusting method and device in network virtualization system | |
US9100945B2 (en) | Communication node apparatus, communication system, and method for selecting destination reception interface used therefor | |
WO2017068746A1 (en) | Wireless communication device, wireless communication system, and wireless communication method | |
CN103595519A (en) | Wireless link aggregation method and wireless communication equipment | |
CN101370017A (en) | Method and device for setting headers in a wireless communications system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20081008 |